1. 91地图等软件导出的xml文件,先要在mapus里用工具将kml文件转为geojson文件,然后才能将geojson文件导入mapus。
  2. 到mapus中,导入前选好颜色
  3. 先用文本工具打开geojson文件,确认"name": "工程名称",导入后的图元以这里的名字来命名。选择颜色,如果不选,默认是蓝色。当然,可以导入后再编辑左侧导航栏中的图元名称和描述。然后到mapus中,点击导入geojson格式数据
    {
    "type": "FeatureCollection",
    "name": "北江引水——这里是工程名称",
    "features": [
    {
     "type": "Feature",
     "properties":
     {
       "Layer": "主干线——这里是图层1名称",
       "Name": "主干线——这里是图层1名称",
       "description": "这里是特性描述,比如流量,洞径等",
       "PaperSpace": null,
       "SubClasses": "AcDbEntity:AcDb3dPolyline",
       "Linetype": "Continuous",
       "EntityHandle": "D4",
       "Text": null
     },
     "geometry":
     {
       "type": "Point",
       "coordinates": [112.59549, 23.89696]
     }
    },
    {
     "type": "Feature",
     "properties":
     {
       "Layer": "分干线——这里是图层2名称",
       "PaperSpace": null,
       "SubClasses": "AcDbEntity:AcDb3dPolyline",
       "Linetype": "Continuous",
       "EntityHandle": "D4",
       "Text": null
     },
     "geometry":
     {
       "type": "LineString",
       "coordinates": [
         [113.151798, 23.66315],
         [113.151801, 23.66311]
       ]
     }
    }]
    }
    91地图软件导出的kml,可能出现的问题:
作者:秦晓川  创建时间:2024-11-18 09:38
最后编辑:秦晓川  更新时间:2024-11-18 15:42