[mkgmap-dev] oneway reverse patch
From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Apr 19 16:42:46 BST 2014
Hi WanMil, okay, I agree that this would be the best solution. I've started a new refactoring branch today, I'd like to finish this work first. Maybe you can look at it: I plan to evaluate all tags used in RoadMerger once in ConvertedWay and place them in fields (most of them are booleans). RoadMerger should then call ConvertedWay.isSimilar() which will implement most of the compare routines now implemented in RoadMerger.Road. Does that sound okay for you? Gerd > Date: Sat, 19 Apr 2014 16:12:06 +0200 > From: wmgcnfg at web.de > To: mkgmap-dev at lists.mkgmap.org.uk > Subject: Re: [mkgmap-dev] oneway reverse patch > > Hi Gerd, > > I think this is also not a clean solution. What happens if the road > itself uses a directed symbol? AFAIK your patch handles only non-roads? > > From my point of view the only clean solution is to reverse all tags. > That should not be too complicated copying some parts from the JOSM class. > > WanMil > > > Hi all, > > > > did anybody try this patch attached to this post regarding reversed oneways? > > > > http://gis.19327.n5.nabble.com/mkgmap-ToDo-list-tp5803388p5803456.html > > > > If anybody is interested in this, I'll create a version that checks the > > style version file. > > Idea: > > If the version is 2 or higher, use the code in the patch, else not. > > > > Gerd > > > > > > > > _______________________________________________ > > mkgmap-dev mailing list > > mkgmap-dev at lists.mkgmap.org.uk > > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > > > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140419/6ab88373/attachment.html>
- Previous message: [mkgmap-dev] oneway reverse patch
- Next message: [mkgmap-dev] oneway reverse patch
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list