[geos-devel] GEOS C api and C++ api
strk at keybit.net
Wed Jul 17 06:00:21 PDT 2013
On Wed, Jul 17, 2013 at 10:37:56AM +0200, Tereza Fiedlerová wrote:
> I has written a library in C++ which uses GEOS C++ api (I know, that C
> api is recommended, but there is not enough functionality for me). Now
> I want to make it work with QGIS or GRASS GIS, but they use C api of
> GEOS. Is there any way, how to make it compatible?
> The point is, that I need to take GEOSGeometry from QGIS or GRASS and
> use it in my library as geos::geom::Geometry. But it is not possible
> to convert easily between these two formats.
It's actually easy if you use WKB as an interchange format.
http://www.cartodb.com - Map, analyze and build applications with your data
More information about the geos-devel