logo separator

[mkgmap-dev] Style file tester

From Steve Ratcliffe steve at parabola.me.uk on Mon Jan 25 11:39:15 GMT 2010


>> * Ways are created with two points (1,1) and (2,2) so you can see
>> reversals
> I don't really understand what is ment here. In an ideal world we would
> have three results. 1. oneway!=*; 2. oneway=yes; 3. oneway=-1

WAY 1
highway=primary
oneway=reverse

WAY 2
highway=primary

<<<lines>>>
highway=primary [0x01 road_class=1]

<<<results>>>
WAY 1:
     Road 0x1, name=<null>, ref=<null>, res=24-24 oneway (2/2),(1/1), 
road class=1 speed=0

WAY 2:
     Road 0x1, name=<null>, ref=<null>, res=24-24 (1/1),(2/2), road 
class=1 speed=0

You can see that WAY1 has been reversed (and marked as oneway) whereas 
WAY2 is in its original direction.  The correct behaviour.

..Steve



More information about the mkgmap-dev mailing list