The PostGIS Development Group
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 3.0.11
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 License
.
Feel free to use this material any way you like, but we ask that you attribute credit to the PostGIS Project
and wherever possible, a link back to
http://postgis.net
.
- 1. Introduction
- 2. PostGIS Installation
-
- 2.1. Short Version
- 2.2. Configuring raster
- 2.3. Install Requirements
- 2.4. Getting the Source
- 2.5. Compiling and Install from Source: Detailed
- 2.6. Creating a spatial database using EXTENSIONS
- 2.7. Create a spatially-enabled database without using extensions
- 2.8. Installing and Using the address standardizer
- 2.9. Installing, Upgrading Tiger Geocoder and loading data
- 2.10. Create a spatially-enabled database from a template
- 2.11. Upgrading
- 2.12. Common Problems during installation
- 2.13. Loader/Dumper
- 3. PostGIS Frequently Asked Questions
- 4. Using PostGIS: Data Management and Queries
-
- 4.1. GIS Objects
- 4.2. PostGIS Geography Type
- 4.3. Using OpenGIS Standards
-
- 4.3.1. The SPATIAL_REF_SYS Table and Spatial Reference Systems
- 4.3.2. The GEOMETRY_COLUMNS VIEW
- 4.3.3. Creating a Spatial Table
- 4.3.4. Manually Registering Geometry Columns in geometry_columns
- 4.3.5. Ensuring OpenGIS compliancy of geometries
- 4.3.6. Dimensionally Extended 9 Intersection Model (DE-9IM)
- 4.4. Loading GIS (Vector) Data
- 4.5. Retrieving GIS Data
- 4.6. Building Indexes
- 4.7. Complex Queries
- 5. Raster Data Management, Queries, and Applications
-
- 5.1. Loading and Creating Rasters
- 5.2. Raster Catalogs
- 5.3. Building Custom Applications with PostGIS Raster
-
- 5.3.1. PHP Example Outputting using ST_AsPNG in concert with other raster functions
- 5.3.2. ASP.NET C# Example Outputting using ST_AsPNG in concert with other raster functions
- 5.3.3. Java console app that outputs raster query as Image file
- 5.3.4. Use PLPython to dump out images via SQL
- 5.3.5. Outputting Rasters with PSQL
- 6. Using PostGIS Geometry: Building Applications
- 7. Performance tips
- 8. PostGIS Reference
-
- 8.1. PostGIS Geometry/Geography/Box Data Types
- 8.2. Table Management Functions
- 8.3. Geometry Constructors
- 8.4. Geometry Accessors
- 8.5. Geometry Editors
- 8.6. Geometry Validation
- 8.7. Spatial Reference System Functions
- 8.8. Geometry Input
- 8.9. Geometry Output
- 8.10. Operators
- 8.11. Spatial Relationships
- 8.12. Measurement Functions
- 8.13. Geometry Processing
- 8.14. Affine Transformations
- 8.15. Clustering Functions
- 8.16. Bounding Box Functions
- 8.17. Linear Referencing
- 8.18. Trajectory Functions
- 8.19. SFCGAL Functions
- 8.20. Long Transaction Support
- 8.21. Version Functions
- 8.22. Grand Unified Custom Variables (GUCs)
- 8.23. Troubleshooting Functions
- 9. Raster Reference
-
- 9.1. Raster Support Data types
- 9.2. Raster Management
- 9.3. Raster Constructors
- 9.4. Raster Accessors
- 9.5. Raster Band Accessors
- 9.6. Raster Pixel Accessors and Setters
- 9.7. Raster Editors
- 9.8. Raster Band Editors
- 9.9. Raster Band Statistics and Analytics
- 9.10. Raster Inputs
- 9.11. Raster Outputs
- 9.12. Raster Processing
- 9.13. Raster Operators
- 9.14. Raster and Raster Band Spatial Relationships
- 9.15. Raster Tips
- 10. PostGIS Raster Frequently Asked Questions
- 11. Topology
-
- 11.1. Topology Types
- 11.2. Topology Domains
- 11.3. Topology and TopoGeometry Management
- 11.4. Topology Constructors
- 11.5. Topology Editors
- 11.6. Topology Accessors
- 11.7. Topology Processing
- 11.8. TopoGeometry Constructors
- 11.9. TopoGeometry Editors
- 11.10. TopoGeometry Accessors
- 11.11. TopoGeometry Outputs
- 11.12. Topology Spatial Relationships
- 12. Address Standardizer
- 13. PostGIS Extras
- 14. PostGIS Special Functions Index
-
- 14.1. PostGIS Aggregate Functions
- 14.2. PostGIS Window Functions
- 14.3. PostGIS SQL-MM Compliant Functions
- 14.4. PostGIS Geography Support Functions
- 14.5. PostGIS Raster Support Functions
- 14.6. PostGIS Geometry / Geography / Raster Dump Functions
- 14.7. PostGIS Box Functions
- 14.8. PostGIS Functions that support 3D
- 14.9. PostGIS Curved Geometry Support Functions
- 14.10. PostGIS Polyhedral Surface Support Functions
- 14.11. PostGIS Function Support Matrix
- 14.12. New, Enhanced or changed PostGIS Functions
-
- 14.12.1. PostGIS Functions new or enhanced in 3.0
- 14.12.2. PostGIS Functions new or enhanced in 2.5
- 14.12.3. PostGIS Functions new or enhanced in 2.4
- 14.12.4. PostGIS Functions new or enhanced in 2.3
- 14.12.5. PostGIS Functions new or enhanced in 2.2
- 14.12.6. PostGIS functions breaking changes in 2.2
- 14.12.7. PostGIS Functions new or enhanced in 2.1
- 14.12.8. PostGIS functions breaking changes in 2.1
- 14.12.9. PostGIS Functions new, behavior changed, or enhanced in 2.0
- 14.12.10. PostGIS Functions changed behavior in 2.0
- 14.12.11. PostGIS Functions new, behavior changed, or enhanced in 1.5
- 14.12.12. PostGIS Functions new, behavior changed, or enhanced in 1.4
- 14.12.13. PostGIS Functions new in 1.3
- 15. Reporting Problems
- A. Appendix
-
- A.1. Release 3.0.11
- A.2. Release 3.0.10
- A.3. Release 3.0.9
- A.4. Release 3.0.8
- A.5. Release 3.0.7
- A.6. Release 3.0.6
- A.7. Release 3.0.5
- A.8. Release 3.0.4
- A.9. Release 3.0.3
- A.10. Release 3.0.2
- A.11. PostGIS 3.0.1
- A.12. Release 3.0.0
- A.13. Release 3.0.0rc2
- A.14. Release 3.0.0rc1
- A.15. Release 3.0.0beta1
- A.16. Release 3.0.0alpha4
- A.17. Release 3.0.0alpha3
- A.18. Release 3.0.0alpha2
- A.19. Release 3.0.0alpha1
- A.20. Release 2.5.0
- A.21. Release 2.4.5
- A.22. Release 2.4.4
- A.23. Release 2.4.3
- A.24. Release 2.4.2
- A.25. Release 2.4.1
- A.26. Release 2.4.0
- A.27. Release 2.3.3
- A.28. Release 2.3.2
- A.29. Release 2.3.1
- A.30. Release 2.3.0
- A.31. Release 2.2.2
- A.32. Release 2.2.1
- A.33. Release 2.2.0
- A.34. Release 2.1.8
- A.35. Release 2.1.7
- A.36. Release 2.1.6
- A.37. Release 2.1.5
- A.38. Release 2.1.4
- A.39. Release 2.1.3
- A.40. Release 2.1.2
- A.41. Release 2.1.1
- A.42. Release 2.1.0
- A.43. Release 2.0.5
- A.44. Release 2.0.4
- A.45. Release 2.0.3
- A.46. Release 2.0.2
- A.47. Release 2.0.1
- A.48. Release 2.0.0
- A.49. Release 1.5.4
- A.50. Release 1.5.3
- A.51. Release 1.5.2
- A.52. Release 1.5.1
- A.53. Release 1.5.0
- A.54. Release 1.4.0
- A.55. Release 1.3.6
- A.56. Release 1.3.5
- A.57. Release 1.3.4
- A.58. Release 1.3.3
- A.59. Release 1.3.2
- A.60. Release 1.3.1
- A.61. Release 1.3.0
- A.62. Release 1.2.1
- A.63. Release 1.2.0
- A.64. Release 1.1.6
- A.65. Release 1.1.5
- A.66. Release 1.1.4
- A.67. Release 1.1.3
- A.68. Release 1.1.2
- A.69. Release 1.1.1
- A.70. Release 1.1.0
- A.71. Release 1.0.6
- A.72. Release 1.0.5
- A.73. Release 1.0.4
- A.74. Release 1.0.3
- A.75. Release 1.0.2
- A.76. Release 1.0.1
- A.77. Release 1.0.0
- A.78. Release 1.0.0RC6
- A.79. Release 1.0.0RC5
- A.80. Release 1.0.0RC4
- A.81. Release 1.0.0RC3
- A.82. Release 1.0.0RC2
- A.83. Release 1.0.0RC1