How It Works
PostGIS adds extra types (geometry, geography, raster and others) to the PostgreSQL database. It also adds functions and indexes that apply to those types. It does this by:
- Building a C library that PostgreSQL can load into a
- Binding the functions and structures in that library to SQL types and functions.
Since PostGIS is in C, it can make use of other libraries in C and C++, and it does so liberally. PostGIS depends on:
- GEOS for many geometry processing algorithms
- Proj.4 for coordinate re-projection functions
- GDAL for raster processing and format support
- LibXML2 for XML parsing
- JSON-C for JSON parsing
- SFCGAL for extended 3D support and additional geoprocessing algorithms
PostGIS is an open source development community of people, so the best way to get involved is to get to know the people while building useful things for the community:
PostGIS project accepts patches for bugs as well as new features. All patches must be submitted via our ticket tracking
as mentioned in Reporting Problems section. Key things we need:
- When you submit, please make sure to set type to patch.
- For enhancements and new features we expect CUnit tests and PostgreSQL test included. Non-lwgeom patches don’t need CUnit tests.
- For new features we expect a documentation patch.
- Make sure your code has copyright info and is GPLv2 compatible.