[mkgmap-dev] Drive-on-left
From Colin Smale colin.smale at xs4all.nl on Tue Aug 6 21:01:33 BST 2013
Hi Steve, thanks for the patch... any chance of a jar file please? Then I can check it out. Will this find its way into the standard code? As I mentioned I am not a java programmer although I can read and understand it well enough. Thanks again, Colin On 2013-08-06 16:21, Steve Ratcliffe wrote: > On 05/08/13 19:30, Colin Smale wrote: > >> I took a look at the code and saw that the drive-on-left and drive-on-right flags are only used to set a flag in NODHeader.java. However I just discovered ImgTool[1] which exposes the "TRE parameters", a sequence of four numbers which, I noticed, include a flag for "drive-on-left". This was not being set on my UK maps (despite using the drive-on-left option for mkgmap) so they all appeared to be drive-on-right. With ImgTool I was able to simply set this bit in my img file - and then the problems with the roundabout direction disappeared! > > Very interesting. > > I've created a patch based on your discovery which is attached. > > It only works when there is an explicit --drive-on-left flag and not > when mkgmap infers it by looking at the direction of roundabouts. > How important do you think that is? I think it is much safer to > give the flag than letting mkgmap guess which can be wrong for all > kinds of reasons. > > Cheers, > > ..Steve > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev [1] Links: ------ [1] http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130806/9ff18af6/attachment.html
- Previous message: [mkgmap-dev] Drive-on-left
- Next message: [mkgmap-dev] Drive-on-left
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list