添加地理位置控件后保存报错

问题描述
苍穹版本V5.0.011,数据库为PostgreSQL,开发平台添加地理位置控件后保存报错,报错如下:
ERROR: type "geography" does not exist
解决方法
type “geography” does not exist 。这是由于pgsql没有安装支持geography类型数据的扩展。
postgresql安装postgis扩展模块
为postgresql安装postgis扩展模块:
1、安装postgis
#为CentOS7安装EPEL仓库(repo) yum -y install epel-release #yum在线安装postgis yum -y install postgis31_12.x86_64 postgis31_12-client.x86_64 postgis31_12-devel.x86_64 postgis31_12-docs.x86_64 postgis31_12-gui.x86_64 postgis31_12-utils.x86_64
2、在指定数据库下执行下面语句
#pgsql添加postgis拓展 CREATE EXTENSION po
添加地理位置控件后保存报错
问题描述苍穹版本V5.0.011,数据库为PostgreSQL,开发平台添加地理位置控件后保存报错,报错如下:ERROR: type "geography" does not exist...
点击下载文档文档为doc格式
声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。如若本站内容侵犯了原著者的合法权益,可联系本站删除。
上一篇
已经是第一篇



