是否可以在 PostGIS 中从地理转换为几何?
我有一个包含地理类型的 shp 文件,我可以使用 shp2pgsql 等工具对其进行转换吗?或者有没有 postgis 函数可以做到这一点?
I have a shp file that has geography types, Can I convert it with a tool like shp2pgsql? or is there a postgis function to do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
应该能够直接从命令行使用 shp2pgsql,尽管我不确定语法……我们已经在我现有的环境中做到了这一点,尽管其他人写了这个,我不确定。
还有 GIS 工具可以帮助解决这个问题... http://www.safe.com/ 是提供另一条路线的第三方程序。
一些 ETL 工具(例如 Pentaho)似乎也很有能力做到这一点。
Should be able to use shp2pgsql direct from the command line though I am unsure on syntax off-hand...we've done this in my existing environment, though someone else wrote that and I'm not sure.
There are also GIS tools that can assist with this... http://www.safe.com/ is a 3rd party program that gives another route.
Some ETL tools such as Pentaho seem to be quite capable of doing this as well.