PostGIS Manual

Edited by

Paul Ramsey

PostGIS is an extension to the PostgreSQL object-relational database system which allows GIS (Geographic Information Systems) objects to be stored in the database. PostGIS includes support for GiST-based R-Tree spatial indexes, and functions for basic analysis of GIS objects.


Table of Contents
1. Introduction
Credits
More Information
2. Installation
Requirements
PostGIS
Upgrading
JDBC
Loader/Dumper
3. Frequently Asked Questions
4. Using PostGIS
GIS Objects
Standard versus Canonical Forms
Using OpenGIS Standards
The SPATIAL_REF_SYS Table
The GEOMETRY_COLUMNS Table
Creating a Spatial Table
Loading GIS Data
Using SQL
Using the Loader
Retrieving GIS Data
Using SQL
Using the Dumper
Using Minnesota Mapserver
Building Indexes
GiST Indexes
Using Indexes
Complex Queries
Java Clients (JDBC)
C Clients (libpq)
Text Cursors
Binary Cursors
5. PostGIS Reference
OpenGIS Functions
Other Functions