[mkgmap-dev] [PATCH v1] Merge road network
From Felix Hartmann extremecarver at gmail.com on Fri Aug 30 07:19:36 BST 2013
Seems to work fine so far (also using maxspeed patch), however I get quite a lot of theese (between 0 to 20 per country): SEVERE (MapBuilder): c:\openmtbmap\maps\64180000.osm.pbf: possible routing problem: road end-points not both coordNodes: ((M5), http://www.openstreetmap.org/browse/way/152908991) (serbia from geofabrik). Dunno really what to do with it.... On 27.08.2013 21:31, WanMil wrote: > mkgmap has a LineMergeFilter but that does not merge the road network. > > Attached patch performs a merging in the OSM data just before the road > network is created. This has the advantage that the source code for > the merging is quite easy. Turn restrictions and through routes are > considered. > > I tested some data in germany and got a reduction of 5% to 12% (number > of roads). I did not find any improvements but also no downgrades in > routing. But I did not test long distance routing (> 600km). > > I think the merge results can be improved if the access handling and > some other parts are moved from source code to the style files. This > makes it easier for the merger to say that two roads have the same > attributes and can be merged without problems. But that's a task for > the future... > > I have already uploaded a compiled version: > http://files.mkgmap.org.uk/detail/148 > > For anyone who is interested in the code: Please check the tag list > (variable flatCompareTags) in the new RoadMerger. This taglist gives > all tags that must be equal so that two roads can be merged. Is this > list complete? Can I remove some tags from it? > > Have fun! > WanMil > > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -- keep on biking and discovering new trails Felix openmtbmap.org & www.velomap.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130830/2a387586/attachment.html
- Previous message: [mkgmap-dev] [PATCH v1] Merge road network
- Next message: [mkgmap-dev] [PATCH v1] Merge road network
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list