PostGIS is a spatial database extension for PostgreSQL that enables geographical information to be stored, queried and analysed using SQL. It introduces spatial data types for representing locations, lines, polygons and more complex geometries, together with functions for calculating distances, identifying spatial relationships and manipulating geographical features. These capabilities allow applications to combine conventional relational data with geographical information in the same database.
The extension supports both planar geometry and geographic calculations that account for the Earth’s curved surface. This distinction is important when working with coordinates expressed as latitude and longitude, particularly for distance and area measurements. PostGIS also provides spatial indexing, allowing geographical queries to locate relevant features without examining every record in a dataset. Its functionality extends into raster processing, three-dimensional geometry and topology, making it useful for spatial data infrastructures, geographical analysis and applications requiring efficient location-based queries.
This is free and open source software.
Key Features
- Geometry and geography data types for storing spatial information.
- Support for points, lines, polygons and geometry collections.
- Spatial indexes using GiST and additional PostgreSQL indexing methods.
- Efficient bounding-box searches and spatial relationship queries.
- Calculate distances, areas, lengths and perimeters.
- Determine intersections, containment, overlap and proximity.
- Create buffers around geographical features.
- Perform geometry intersection, union, difference and clipping operations.
- Transform geometries between coordinate reference systems.
- Support spatial reference identifiers and coordinate system metadata.
- Handle three-dimensional geometries and supported measurement operations.
- Analyse and validate geometry structure.
- Provide topology functions for connected geographical features.
- Store and process raster datasets inside PostgreSQL.
- Raster map algebra, reclassification and statistical analysis.
- Combine raster and vector processing through SQL functions.
- Import and export GeoJSON, WKT, WKB, GML and other spatial representations.
- Generate vector map tiles using supported encoding functions.
- Support GeoPackage-related spatial workflows through compatible tools.
- Provide TIGER/Line geocoding and reverse geocoding functions for US addresses.
- Support linear referencing and location calculations along routes.
- Extend functionality with SFCGAL geometry operations.
- Work with standard PostgreSQL transactions, views and security controls.
- Expose spatial functionality to applications through ordinary SQL connections.
Website: postgis.net
Support:
Developer: PostGIS Development Group
License: GNU General Public License v2.0
PostGIS is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| GIS: Earth Science Software | |
|---|---|
| GRASS | Geographic Resources Analysis Support System |
| Quantum GIS | User friendly Geographic Information System |
| SAGA | System for Automated Geoscientific Analyses |
| GMT | Collection of tools that allow users to manipulate data sets |
| GeoServer | Server written in Java that allows users to share and edit geospatial data |
| OpenJUMP | Geographic Information System written in Java |
| gvSIG Desktop | Powerful, user-friendly Geographic Information System |
| PostGIS | Database extender for PostgreSQL object-relational database |
| WhiteboxTools | Advanced geospatial data analysis platform |
| MapServer | System for developing web-based GIS applications |
| uDig | Spatial data viewer/editor |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.