[geos-devel] "self intersecting" polys

Paul Ramsey pramsey at refractions.net
Thu Sep 2 19:02:06 EDT 2004


Yes, we all look forward to the magical MakeValid() method :)
For the relatively simple case of Zero-Width-Corridor polygons, it 
should be easy to write a function that separates out the holes from 
hulls, yes?
P.

Martin Davis wrote:
> Unfortunately I can't think of an easy way to convert self-intersecting
> polygons to valid JTS/GEOS polygons using the current API.  This might
> be a useful function to have in the future, however.
> 
> Martin Davis, Senior Technical Architect
> Vivid Solutions Inc.      www.vividsolutions.com
> Suite #1A-2328 Government Street Victoria, B.C. V8T 5G5
> Phone: (250) 385 6040 - Local 308 Fax: (250) 385 6046
> 
> 
> 
>>-----Original Message-----
>>From: Chris G. Nicholas [mailto:cgn at globexplorer.com] 
>>Sent: September 2, 2004 3:37 PM
>>To: geos-devel at geos.refractions.net
>>Subject: [geos-devel] "self intersecting" polys
>>
>>
>>How difficult would it be for GEOS to support so-called "self 
>>intersecting" polygons - i.e. those with a common vertex. 
>>Must we explode this sort of thing into a huge number of 
>>overlapping polygons?
>>
>>thanks!
>>
>>Chris Nicholas
>>GlobeXplorer
>>
>>
>>
> 
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel




More information about the geos-devel mailing list