作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正尝试通过 QGIS 中的数据库管理器将 shapefile 导入我的 POSTGIS 数据库,但出现错误,我不知道如何解决:
ERROR: function addgeometrycolumn(unknown, unknown, unknown, integer, unknown, integer) does not exist
LINE 1: SELECT AddGeometryColumn('demoschema','Bomen',NULL,31370,'MU...
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
那我需要做什么呢?
最佳答案
在 postgresSQL 中没有 postgis 扩展,如果您尝试向 postgresSQL 添加任何空间层,则会出现上述错误。
在 pgadmin 中右键单击扩展并检查是否保存了 postgis 扩展。如果扩展 postgis 选项不存在,您可以按照以下步骤操作在 postgres 中安装 postgis https://www.youtube.com/watch?v=afK8GWpb8RU
关于postgresql - 错误 : function addgeometrycolumn does not exist: When trying to import file into POSTGIS database by QGIS DB Manager,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44618374/
我是一名优秀的程序员,十分优秀!