[geos-devel] Perhaps a stupid question about polygons...
mbdavis at VividSolutions.com
Mon Jun 28 18:26:14 EDT 2004
This shouldn't be too much of a showstopper tho. It's easy to write
code to detect which is the outer shell. I think the easiest algorithm
would just be to take the ring with the largest x or y extent.
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: Stephen Lime [mailto:sdlime at comcast.net]
> Sent: June 28, 2004 3:20 PM
> To: geos-devel at geos.refractions.net
> Subject: [geos-devel] Perhaps a stupid question about polygons...
> Hi all: The recent thread about polygons and holes got me thinking.
> Does building polygons in geos require the client to know if
> a ring in
> a particular polygon is inner vs. outer? MapServer makes no provision
> for this since it's not necessary for rendering features nor simple
> intersection tests.
> geos-devel mailing list
> geos-devel at geos.refractions.net
More information about the geos-devel