本文主要介绍目前为止最新版本 PostGIS 及 PostgreSQL 的安装、配置及使用。
Windows 下安装及配置
Windows 下 Postgresql 安装包提供 Application Stack Builder 方式安装插件(包括 PostGIS 插件),所以 Windows 下安装仅需下载 Postgresql 并进行相关操作
Postgresql 下载地址:http://www.postgresql.org/download
Linux 下安装及配置
从 shape 文件中将数据导入 PostGIS。
需要注意,shape 文件目录不能包含中文名,shape 文件的编码一般设置为 GBK。