我正在尝试使用以下命令将 shapefile 导入 Postgres:
shp2pgsql c:\location\water_areas.shp water > water.sql
我收到以下消息:
c:\location\water_areas.shp: shape (.shp) or index file (.shx) can not be opened, will just import attribute data.
不幸的是,我需要的不仅仅是属性数据。我需要几何列。请帮忙。为什么它不会打开 shapefile 进行转换。