[geos-devel] Is empty LinearRing closed?

Mateusz Łoskot mateusz at loskot.net
Thu Mar 30 18:07:44 EST 2006


Martin Davis wrote:
> I'm not sure why strk is making this comment.  JTS/GEOS supports
> empty geometries of all types (as per the OGC SFS).

Yup.

> That said, what kind of empty geometry is returned from various
> methods is open to interpretation, I think.  

I think it's correct interpretation.

> In some cases I think
> the best you can do is to return an empty GC.

Yes, I'm convinced. As in this example with empty intersection
of different geometries. Thanks for guiding me to this conclusion :-)

> In other cases a more
> precise kind of empty geometry can be returned  (and as I noted,
> JTS/GEOS could probably improve it's semantics in a few cases. )

Yes.

Cheers
-- 
Mateusz Łoskot
http://mateusz.loskot.net



More information about the geos-devel mailing list