Sample code here http://svn.openstreetmap.org/applications/rendering/pyrender/OsmMerge.py
that expects files where the nodes in a way already contain position information though, so may need modifying to work with standard OSM files On Fri, Jun 20, 2008 at 5:58 AM, Karl Newman <[EMAIL PROTECTED]> wrote: > On Thu, Jun 19, 2008 at 6:55 PM, <[EMAIL PROTECTED]> wrote: >> >> Hi all, >> Does anyone have any solutions to auto-magically simplify the ways with an >> '.osm' file? I am looking at simplifying both to ease rendering and also >> to reduce the overall size of the file, prior to converting to a >> downloadable GPS map. >> >> GPS-babel was suggested on the IRC as it now supports '.osm', however the >> simplify option does not respect shared nodes, where ways intersect. >> >> Obviously for maps we don't want to be adjust these.... >> >> It also strips all of the tags it does not understand, so the map would >> lose all of it's mapness and become a collection of blank ways. >> >> Any thoughts? >> Simon. > > I think JOSM has a simplify ways function. It might be in one of the > plugins; not sure. If you're planning to use cgpsmapper to compile the maps, > it already has a built-in simplification algorithm. You just need to enable > it in the .mp file (and I think it's on by default anyway). > > Karl > > _______________________________________________ > talk mailing list > [email protected] > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk > > _______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk

