A Free and Open-Source Software library implementing OGC Common Query Language (CQL2), including extensions introduced in OGC Cartographic Symbology 2.0.
libCartoSym's libCQL2 dependency provides support for parsing and writing CQL2-Text and CQL2-JSON expressions, which themselves imply support for parsing and writing geometries defined in Well-Known Text (WKT) and GeoJSON which is provided by libSFGeometry and libSFCollections. The ability to perform spatial relation queries based on the Dimensionally Extended-9 Intersection Model is provided by libDE9IM. The libGeoExtents library provides the foundational basic data structures for geographic points and extents.
Additional functionality includes run-time evaluation of expressions.
Object-oriented bindings for libCQL2 automatically generated using Ecere's binding generating tool (bgen) from the eC library will be available for the C, C++ and Python programming languages, with eventual support for Java, Rust and JavaScript planned as well.