PostGIS type: LINESTRING[2] We have a Multilinestring with 2 parts, can't use -S switch!解决方案

 

在使用导入工具勾选下图最后一个选项将MultiLineString类型的线要素转换成LineString要素,出现Shapefile type: Arc PostGIS type: LINESTRING[2] We have a Multilinestring with 2 parts, can’t use -S switch!错误,具体原因不太清楚,应该相交线的问题,解决方案:打断相交线,在arcmap中将MultiLineString转LineString,具体做法如下:
在这里插入图片描述

一、具体流程
1、数据管理工具→要素→要素转线
2、目录结构
在这里插入图片描述
3、操作页面
在这里插入图片描述
点击确定,然后将存储的数据,从新导入postgresql数据库,不用在勾选最后一项
4、数据查看geom类型
在这里插入图片描述

 

posted @ 2019-04-02 15:04  HPUGIS  阅读(1506)  评论(0编辑  收藏  举报