What is GEOS?
GEOS stands for Geometry Engine - Open Source, and is a C++ port of the Java Topology Suite, implementing the OpenGIS Simple Features for SQL spatial predicate functions and spatial operators.
Why the new API?
- The GEOS SWIG wrapper is no longer maintained, and requires the installation of SWIG.
- The PCL implementation is over 2K+ lines of C and would make PCL a requisite package for the GeoDjango application stack.
- Cross-platform compatibility.
Thus, the Python ctypes package was used to wrap the GEOS C API to bring the rich capabilities of GEOS to Python and GeoDjango.
Spatial Predicate Properties
Spatial Predicate Methods