logo separator

[mkgmap-dev] Commit: r906: Change handling of oneway/dirindicator.

From Mark Burton markb at ordern.com on Wed Feb 18 15:11:24 GMT 2009

On Wed, 18 Feb 2009 14:57:24 +0000 (GMT)
svn commit <svn at mkgmap.org.uk> wrote:

> Version 906 was commited by robert on 2009-02-18 14:57:24 +0000 (Wed, 18 Feb 2009)
> 
> Change handling of oneway/dirindicator.
> 
> The DirIndicator-field in .mp-files now corresponds to Polyline.FLAG_DIR,
> while the flags in NET and NOD both correspond to oneway-ness.
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

StyledConverter now has this:

		// set road parameters.
		road.setRoadClass(gt.getRoadClass());
		if (way.isBoolTag("oneway")) {
			line.setDirection(true);
			road.setOneway();
		}

Surely, that should be road.setDirection(true) because line isn't used again?




More information about the mkgmap-dev mailing list