# GEOS

> C/C++ computational geometry library behind PostGIS, QGIS, GDAL and Shapely

Source: https://talira.ai/catalog/geos-hp60fk20
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [location / spatial analysis](https://talira.ai/categories/location/spatial-analysis), [languages / c cpp](https://talira.ai/categories/languages/c-cpp)
- Licence: LGPL-2.1-or-later[^2][^3]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [OSGeo](https://talira.ai/orgs/osgeo.md)

GEOS (Geometry Engine, Open Source) is a C/C++ library for computational geometry on two-dimensional vector geometries, focused on the algorithms GIS software needs. It started as a port of the JTS Topology Suite and implements the OGC Simple Features geometry model: predicates such as intersects, contains and within; operations such as union, buffer, simplify and convex hull; an STR packed R-tree index; and WKT and WKB input and output. PostGIS, QGIS, GDAL and [Shapely](https://talira.ai/catalog/shapely-g91vg3hg.md) are built on it. It is a project of OSGeo, run by a Project Steering Committee.

## Links

- Website: https://libgeos.org/
- GitHub: https://github.com/libgeos/geos

## Problems it solves

- compute intersections, unions and buffers of map geometries in C or C++
- test whether a point lies inside a polygon in my GIS code
- a geometry engine to embed for spatial predicates and operations

## Features

- OGC Simple Features geometry model: points, lines, polygons and their multi-part forms
- spatial predicates such as intersects, touches, within, contains and covers
- operations such as union, intersection, buffer, simplify, convex hull and polygon assembly
- STR packed R-tree spatial index and prepared geometries
- WKT and WKB readers and writers
- a C API with long-term API and ABI stability, plus a C++ API

## Limitations

- Only the C API is stable across releases; the C++ API may change between versions.[^1]

## Trust

Overall: 0.63 out of 1.
Signals: maintenance 1.00, adoption 0.64, momentum 0.29, community 0.82, backing 0.30, extensibility 0.00.

- last commit 6 days ago
- 71 commits in the last 90 days
- latest release 3.15.1 6 days ago
- 1.5k GitHub stars
- 110 contributors
- backed by OSGeo

## Sources

[^1]: https://github.com/libgeos/geos/blob/main/README.md (checked 28 Nov 2026)
[^2]: https://github.com/libgeos/geos/blob/main/COPYING (checked 28 Nov 2026)
[^3]: https://github.com/libgeos/geos/blob/main/src/geom/Geometry.cpp (checked 28 Nov 2026)
