[geos-devel] (not) Empty geometry

Mateusz Loskot mateusz at loskot.net
Sun Aug 2 16:57:47 EDT 2009


Jo wrote:
> Hi, I am having some troubles with a polygon, that is seen by geos as
> empty (and thus returning GetNumPoints()=0);
> I dont understand what might be wrong with this polygon, since the
> output of geos::io::WKTWriter shows a polygon with many
> coordinates...

It's impossible to judge unless you show a snippet of code
that presents how you construct a polygon object using GEOS?
What's the source data?

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org


More information about the geos-devel mailing list