PostGIS 1.4.2 Manual

Abstract

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 analysis and processing of GIS objects.

This is the manual for version 1.4.2


Table of Contents

1. Introduction
1.1. Project Steering Committee
1.2. Contributors Past and Present
1.3. More Information
2. Installation
2.1. Short Version
2.2. Requirements
2.3. Getting the Source
2.4. Installation
2.4.1. Configuration
2.4.2. Building
2.4.3. Testing
2.4.4. Installation
2.5. Create a spatially-enabled database
2.6. Create a spatially-enabled database from a template
2.7. Upgrading
2.7.1. Soft upgrade
2.7.2. Hard upgrade
2.8. Common Problems
2.9. JDBC
2.10. Loader/Dumper
3. Frequently Asked Questions
4. Using PostGIS: Data Management and Queries
4.1. GIS Objects
4.1.1. OpenGIS WKB and WKT
4.1.2. PostGIS EWKB, EWKT and Canonical Forms
4.1.3. SQL-MM Part 3
4.2. Using OpenGIS Standards
4.2.1. The SPATIAL_REF_SYS Table and Spatial Reference Systems
4.2.2. The GEOMETRY_COLUMNS Table
4.2.3. Creating a Spatial Table
4.2.4. Manually Registering Geometry Columns in geometry_columns
4.2.5. Ensuring OpenGIS compliancy of geometries
4.3. Loading GIS Data
4.3.1. Using SQL
4.3.2. Using the Loader
4.4. Retrieving GIS Data
4.4.1. Using SQL
4.4.2. Using the Dumper
4.5. Building Indexes
4.5.1. GiST Indexes
4.5.2. Using Indexes
4.6. Complex Queries
4.6.1. Taking Advantage of Indexes
4.6.2. Examples of Spatial SQL
5. Using PostGIS: Building Applications
5.1. Using Mapserver
5.1.1. Basic Usage
5.1.2. Frequently Asked Questions
5.1.3. Advanced Usage
5.1.4. Examples
5.2. Java Clients (JDBC)
5.3. C Clients (libpq)
5.3.1. Text Cursors
5.3.2. Binary Cursors
6. Performance tips
6.1. Small tables of large geometries
6.1.1. Problem description
6.1.2. Workarounds
6.2. CLUSTERing on geometry indices
6.3. Avoiding dimension conversion
6.4. Tuning your configuration
6.4.1. Startup
6.4.2. Runtime
7. PostGIS Reference
7.1. Management Functions
7.2. Geometry Constructors
7.3. Geometry Accessors
7.4. Geometry Editors
7.5. Geometry Outputs
7.6. Operators
7.7. Spatial Relationships and Measurements
7.8. Geometry Processing Functions
7.9. Linear Referencing
7.10. Long Transactions Support
7.11. Miscellaneous Functions
7.12. Exceptional Functions
8. PostGIS Special Functions Index
8.1. PostGIS Aggregate Functions
8.2. PostGIS SQL-MM Compliant Functions
8.3. PostGIS Functions that support 3D
8.4. PostGIS Curved Geometry Support Functions
8.5. New PostGIS Functions
8.5.1. PostGIS Functions new in 1.4
8.5.2. PostGIS Functions new in 1.3
9. Reporting Problems
9.1. Reporting Software Bugs
9.2. Reporting Documentation Issues
A. Appendix
A.1. Release 1.4.2
A.2. Release 1.4.1
A.3. Release 1.4.0
A.4. Release 1.3.6
A.5. Release 1.3.5
A.6. Release 1.3.4
A.7. Release 1.3.3
A.8. Release 1.3.2
A.9. Release 1.3.1
A.10. Release 1.3.0
A.11. Release 1.2.1
A.12. Release 1.2.0
A.13. Release 1.1.6
A.14. Release 1.1.5
A.15. Release 1.1.4
A.16. Release 1.1.3
A.17. Release 1.1.2
A.18. Release 1.1.1
A.19. Release 1.1.0
A.20. Release 1.0.6
A.21. Release 1.0.5
A.22. Release 1.0.4
A.23. Release 1.0.3
A.24. Release 1.0.2
A.25. Release 1.0.1
A.26. Release 1.0.0
A.27. Release 1.0.0RC6
A.28. Release 1.0.0RC5
A.29. Release 1.0.0RC4
A.30. Release 1.0.0RC3
A.31. Release 1.0.0RC2
A.32. Release 1.0.0RC1