postgresql和postgis版本对应查询网址:
https://trac.osgeo.org/postgis/wiki/UsersWikiPostgreSQLPostGIS
安装postgis:
1 安装 PostGIS
yum -y install epel-release
yum install postgis24_10 postgis24_10-client -y
2 安装ogrfdw(PostgreSQL foreign data wrapper for OGR)
yum install ogr_fdw10 -y
3 安装pgRouting(Routing functionality for PostGIS)
yum install pgrouting_95 -y (95为版本号,通过yum search pgrouting查询可安装版本号)
4 启用postgis扩展
CREATE EXTENSION postgis;
CREATE EXTENSION postgis_topology;
CREATE EXTENSION ogr_fdw;
SELECT postgis_full_version();
Centos6安装Postgis
最新推荐文章于 2024-09-05 09:54:33 发布