Search code examples
c++geospatialpolygonspatial

What are some recommended frameworks for manipulating spatial data in C++?


What are some recommended frameworks for manipulating spatial data in C++?

I'm looking for a polygon object, point object, and some operations like union, intersection, distance, and area. I need to enter coordinates in WGS84 (lon,lat) and get area in square km.

I would prefer a free/open source framework, but am open to suggestions.

Edit: Unfortunately I need a non-GPL solution. LGPL is alright.


Solution

  • GEOS is an open source (LGPL) C++ geometry / topology engine. Might suit you?

    Useful places to look for this stuff are this useful article on the O'Reilly website and also OSGeo which is a collaboration to support open source geospatial stuff.