基于SVG格式进行MapGIS图形转换
杨金政, 邱崇涛, 陈鹏

The graphics conversion of MapGIS format based on SVG
Jin-Zheng YANG, Chong-Tao QIU, Peng CHEN
表1 SVG中的部分图元属性示例表
属性 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注释角度 角度值(°)