Unfortunately, the links below and my earlier research indicates that the "preserve shared boundaries" feature may not be available outside of proprietary tools. Still, for many purposes, it will be fine to not have this, especially at low levels of simplification (resulting in larger GeoJSON files, which will of course be heavier to get over the internet and for the browser to handle). It is largely an empirical question - I noticed the cracks when trying to create GeoJSON that was small enough for world maps, which was a true struggle. One option would be to provide users with a choice of whether the shapefile they upload should be simplified or not, and hardcode a reasonable simplification. Their other option would be to use Mapshaper (or ask someone with a proprietary tool) to simplify before uploading.
Knut ---------- Forwarded message ---------- From: Johan Lemarchand <[email protected]> Date: Fri, May 21, 2010 at 3:15 PM Subject: Douglas-Peuker and Simplification Program To: Knut Staring <[email protected]> http://www.cartoweb.org/downloads/vertexsimplification/documentation.html http://groups.google.com/group/Google-Maps-API/browse_thread/thread/e5e865ddeeaa81ea?pli=1 -- Cheers, Knut Staring _______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

