安装环境 Windows 2019 Standard Server
安装PostgreSQL
安装PostgreSQL 16
安装PostGIS
用PostgreSQL 16对应的PostGIS
https://download.osgeo.org/postgis/windows/pg16/
https://download.osgeo.org/postgis/windows/pg16/postgis-bundle-pg16x64-setup-3.4.1-1.exe
创建数据库,比如gisdb
关键的一步:
数据库右键单击 【查询工具】输入以下
CREATE EXTENSION POSTGIS;
参考下文安装PostgreSQL和PostGIS https://blog.csdn.net/qq_39381024/article/details/121787433