|
|
The graphics conversion of MapGIS format based on SVG |
Jin-Zheng YANG1,2, Chong-Tao QIU1,2, Peng CHEN1,2 |
1. Airborne Survey and Remote Sensing Center of Nuclear Industry,Shijiazhuang 050002,China 2. CNNC Key Laboratory for Geophysical Exploration Technology Center of Uranium Resource,Shijiazhuang 050002,China |
|
|
Abstract Map drawing is one of the important means for researching geological science with multidisciplinary and multipurpose.It has drawn up a solution that the graphics exchange is carried out between the different kinds of mapping software used by SVG.Structures and attributes of graphic entities are described in comparison with MapGIS.Conversion and comparison between various color spaces and processing between SVG and MapGis are described in detail.The related codes of Python are partly presented.Practice shows that the conversion method has the advantages of higher precision,strong commonality and higher efficiency.
|
Received: 13 December 2017
Published: 24 October 2018
|
|
|
|
|
属性 | path(路径) | polygon(区) | polyline(线) | text(注释) | stroke颜色
| none(默认值) “Hex颜色值” | none(默认值) “Hex颜色值” | none(默认值) “Hex颜色值” | none(默认值)
| fill填充色 | “Hex颜色值” | “Hex颜色值” | none | none“Hex颜色值” | stroke-width宽度 | “数值” | “数值” | “数值” | | 位置坐标 | d=“x,y坐标值” | points=“x,y坐标值” | points=“x,y坐标值” | x=“x坐标值” y=“y坐标值” | stroke-dasharray虚线 | | | “数值, 数值” | | font-family注释字体 | | | | 字体名称,如:“Arial” “宋体” | font-size注释大小 | | | | “数值” | rotate注释角度 | | | | 角度值(°) |
|
|
MapGis专用颜色值 | Hex颜色值 | RGB颜色值 | 1 | #000000 | (0,0,0) | 2 | #00ffff | (0,255,255) | 3 | #ff00ff | (255,0,255) | 4 | #ffff00 | (255,255,0) | 5 | #0000ff | (0,0,255) | 6 | #ff0000 | (255,0,0) | 7 | #00ff00 | (0,255,0) | 9 | #ffffff | (255,255,255) | … | … | … |
|
|
|
|
偏差值(diffVaule)/10-4 | MapGisCode | RGB | CMYK | 备注 | 0.244283 | 3245 | (151,255,69) | (40.784,0.0,72.941,0.0) | | 0.0 | 1810 | (255,203,0) | (0.0,20.392,100.0,0.0) | | 0.207552 | 3235 | (87,146,255) | (65.882,42.745,0.0,0.0) | | 0.427186 | 1014 | (147,255,102) | (42.353,0.0,60.0,0.0) | | 20.0170 | 1301 | (255,79,0) | (0.0,69.02,100.0,0.0) | 需添加色值 |
|
|
|
|
|
|
|
|
[1] |
黎华, 崔振昂, 李方林 . MapGis在地质学中的应用[J]. 物探化探计算技术, 2003,25(1):50-53.
|
[2] |
唐朝永, 易慧 . VBA和MapGis在化探异常解释评价中的应用[J]. 物探与化探, 2008,32(4):392-396.
|
[3] |
孙中任, 甄凡玉, 赵雪娟 . MapGis数据与Surfer数据相互转换的实现[J]. 地质与资源, 2008,17(1):77-80.
|
[4] |
秦林江 . Surfer与MapGis图件相互转换的几个问题[J]. 物探与化探, 2010,34(5):677-680.
|
[5] |
欧阳宇望, 段晓君 . MapGis与Surfer软件在绘制化探图件中的应用[J]. 中国西部科技, 2009,33(8):14-15.
|
[6] |
刘宜, 周浩 . Surfer图件转换成MapGis图件的方法[J]. 矿产勘查, 2011,2(5):612-614.
|
[7] |
王身龙, 夏训银, 王建新 , 等. Surfer 转MapGis图形文件格式的方法技术[J]. 矿产勘查, 2011,2(4):434-437.
|
[8] |
赵改善 . SVG:一种前景光明的地学绘图技术[J]. 勘探地球物理进展, 2002,25(6):47-54.
|
[9] |
尹章才, 李霖 . 基于XML的地图表达机制研究[J]. 武汉大学学报:信息科学版, 2007,32(2):135-137.
|
[10] |
Bill Lubanovic. Python 语言及其应用[M]. 丁嘉瑞, 梁杰, 禹常隆,译.北京:人民邮电出版社, 2016.
|
[11] |
吴金华, 杨瑾 . 地图学[M]. 北京: 地质出版社, 2011.
|
[12] |
蒋红燕, 杨哲海 . 地理信息从SHP格式向SVG格式的转换[J]. 测绘通报, 2011,2:73-80.
|
[13] |
邱崇涛, 武永强, 字勇 . 江西省全南县响坝、贵溪县浪港地区物探测量[R]. 核工业航测遥感中心, 2010.
|
[14] |
叶春, 隋振民 . 基于CorelDRAW软件的地质图制作[J]. 世界地质, 2008,27(2):233-238.
|
[15] |
张璐, 周新鹏, 靳职斌 , 等. MapGis、Surfer数据到CorelDRAW数据的转换技巧[J]. 工程地球物理学报, 2015,12(4):561-570.
|
[16] |
Chad A. Learning Python data visualization [M]. Birmingham: Packt Publishing Ltd, 2014.
|
[17] |
邱崇涛, 全旭东, 郭兴红 , 等. 地质花纹的生成与应用[J]. 物探与化探, 2014,38(3):595-00.
|
[1] |
ZHANG Wei, QIU Chong-Tao, XIE Ming-Hong, ZHAO Cong. Automatic drawing of geological interpretation map by Python[J]. Geophysical and Geochemical Exploration, 2021, 45(1): 186-191. |
[2] |
HE Hai-Yang, SHEN Zheng-Xin, AN Zheng-Wei, QIU Chong-Tao. Automatic clipping of maps and producing of legends based on secondary development of MapGIS[J]. Geophysical and Geochemical Exploration, 2017, 41(3): 550-555. |
|
|
|
|