
Hi Gerd, yes I think that should be possible. AFAIK in method end() of class StyledConverter the first lines Collection<List<RestrictionRelation>> lists = restrictions.values(); for (List<RestrictionRelation> l : lists) { for (RestrictionRelation rr : l) { rr.addRestriction(collector); } } must be changed in such a way that it is processed in a definite order. WanMil
Hi WanMil,
okay, so let's assume the hook is working as it should. Do you see a simple way to change the identical_output.patch so that the turn restrictions are processed in a fixed order?
Gerd
Date: Sun, 8 Apr 2012 21:51:45 +0200 From: wmgcnfg@web.de To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] Small holes in boundary coverage
Hi Gerd,
I see a difference in the turn restrictions. It seems that they are not added in sorted order.
I've printed out all elements passing the style converter. When printing out the restrictions in a sorted order there is no more difference (in my printout). So I assume that the binary output is also the same.
I am not sure why the difference does not appear in other tiles.
WanMil
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev