How about looking at it another way?

If you simplify your polygons using Douglas-Peucker, you could do
exactly the same thing. Mark McClur used a slightly different
simplification routine in his example but D-P works fine as well.
There are several flavors of polygon/polyline simplification that
eliminate redundant points yet leave the essential shape of the
geometry.

Here's a D-P routine in Perl:

http://www.usnaviguide.com/douglas-peucker.htm

-John Coryat

http://maps.huge.info

http://www.usnaviguide.com

http://www.zipmap.net

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to