I'm wondering, do you need something like this? http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/encodeForm.html
It generates encoded polygons/polylines, and there's a setting called "verySmall" that adjusts the appearance of points at various zoom levels. So if you're zoomed all the way in on one section of a polygon, you see all the points, but if you zoom out they are simplified. The encoded polygons are much smaller than listing all the points, though with very large shapefiles they can still be significant. I have pretty complex polygons made into KML with ogr2ogr then encoded with that utility and they work well at the defaults. They wouldn't really be simplified at all, but the number of vertices displayed at wide zoom would be much lower, and adjustable with the "verySmall" parameter. -Brian On May 7, 9:03 pm, thomfriedel <[email protected]> wrote: > I have giant shape files that I believe I need to simplify. I can use > ogr2ogr to convert them to gpx or KML or other formats. I can not > find a version of the KML Reduce Program or algorithm by Douglas > Peucker that is referenced everywhere, in C. > Map Simplification Program converts to Postgresql, which is not > convenient. > > A solution that maps a shapefile to a static map would also work for > me, does that exist? Apparently not in the Google Static Map API. > > thank you in advance, > tom friedel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
