[geos-devel] What do GEOSSymDifference and GEOSIntersection (CAPI) do?

strk strk at keybit.net
Wed Feb 10 06:02:51 EST 2010


On Wed, Feb 10, 2010 at 12:00:31PM +0100, Roger Bivand wrote:
> On Wed, 10 Feb 2010, strk wrote:
> 
> >On Wed, Feb 10, 2010 at 10:46:33AM +0100, Roger Bivand wrote:
> >>Continuing to try to interface R and GEOS (CAPI), I am puzzled that
> >>GEOSSymDifference() and GEOSIntersection() seem to require input objects
> >>to be "Geometry must be a Point or LineString".
> >
> >Sounds like an horrible bug, if confirmed.
> >Could you file a ticket with accompaining smallest C testcase showing it ?
> 
> Sorry, as before, I'm working on interfacing to R, so GEOM objects are 
> created and validated from there. If there is a workhorse main() providing 
> a way of reading input or taking input from hardcoded WKT strings, I'll 
> use it, but I'd prefer not to write it - last time the testcase I wrote 
> was worse than and did not cover the problem. Just a simple boilerplate so 
> that my coding of it isn't the problem, if you see what I mean.

Sure, we have an XML format for testcases targetting the C++ interface
(xmltester), and a framework for C-API too (see tests/unit/capi/*).

--strk; 

  ()   Free GIS & Flash consultant/developer
  /\   http://foo.keybit.net/~strk/services.html


More information about the geos-devel mailing list