[geos-devel] Reducing GEOS API (was: Coordinate copy removal in ElevationMatrix)

Frank Warmerdam warmerdam at pobox.com
Sat Dec 10 23:05:12 EST 2005


On 12/10/05, strk at refractions.net <strk at refractions.net> wrote:
>
> This is where the C-API interface came in, but I'm afraid
> that would not be enough, as C++ applications will still
> be able to link to the C++ library and access ALL of
> the most intimate interfaces of GEOS trhough the huge
> collection of header files installed.

Strk,

In my opinion it should be sufficient to make it clear that
the C++ ABI will be unstable, and that applications wanting
a stable ABI should stick to the C API.  This is the reasoning
under which I modified GDAL/OGR to use the C API.  I
think Steve Lime is doing the same thing for MapServer.

But there will still be applications that need more intimate
access to GEOS.  As long as they can live with ABI instability
I don't think you ought to interfere with their ability to do this.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the geos-devel mailing list