I've been searching for a lightweight library for geospatial analysis, with low overhead. Yesterday I found TurfJS, looks great, simple and fast, yet, its made in JS.

Does anyone know similar libraries, also lightweight, but for C++? I tried searching, but I'm fairly new to GIS so I have no clue on how to refer to such libs.

closed as too broad by PolyGeo Nov 11 '18 at 7:50

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    What sort of geospatial analysis? – user2856 Aug 8 '18 at 9:51

GEOS? I'm not sure what your definition of "lightweight" is, or whether anything can be both "lightweight" and "advanced" but GEOS is the main open-source geographical data analysis package, used in QGIS and R:


Has C++ bindings.

If you're after geometry operations, then maybe CGAL: https://www.cgal.org/

Not the answer you're looking for? Browse other questions tagged or ask your own question.