
3 Dec
2014
3 Dec
'14
10:02 p.m.
@Steve, WanMil: I've added methods getDriveOnLeft() to MapperBasedMapDataSource and use it in MapBuilder before a TREFile or NODFile is written to configure the corresponding flags. Classes that are able to detect the dr I think this is a bit cleaner compared to v3 and to trunk.
Hi Gerd, I couldn't test the patch. The trunk implementation is a hack to pipe the drive-on-left flag to the NodHeader using a ThreadLocal. This was just a bugfix to fix random drive-on-left flags when mkgmap uses more than one thread and the tiles have different drive-on-left-flags. Your implementation seems to be much cleaner. Good :-) WanMil