[geos-devel] C API and Coordinates

David Turner novalis at novalis.org
Thu Aug 20 16:35:05 EDT 2009


I have decided to do a fairly minimal C API, on the theory that it's
better to do too little than to do too much.  The one wrinkle I added
was normalized versions of interpolate and project, for compatibility
with postgis's st_line_locate_point.

http://trac.osgeo.org/geos/ticket/285#comment:1

Does that look good?

On Fri, 2009-08-14 at 09:57 -0700, Paul Ramsey wrote:
> Speaking from the PostGIS side, the CAPI is mostly an outgrowth of
> meeting our use cases, which are build-geometries-and-run-a-test and
> build-geometries-and-get-a-new-geometry. All our fine-grained access
> to geometry internals is done back in PostGIS land, not against the
> GEOS objects. Hence, no CAPI infrastructure for that.
> 
> Basically, if the CAPI doesn't already support use-case-x then you are
> in open ground and will be the primary user of said use case if you
> add it to the CAPI.




More information about the geos-devel mailing list