logo separator

[mkgmap-dev] motorway_link not always oneway

From Marko Mäkelä marko.makela at iki.fi on Thu Oct 28 09:13:49 BST 2010

On Thu, Oct 28, 2010 at 03:45:07PM +0800, maning sambale wrote:
>One more question,  the line you added is only for reporting missing
>oneway tags?
>highway=motorway_link & oneway!=yes & oneway!=no { echo "motorway_link
>lacks oneway" }
>
>Therefore, I still need the existing style parameters?
>highway=motorway_link {add oneway = yes; add bicycle = no; add foot =
>no } [0x09 road_class=3 road_speed=2 resolution 16]

Yes, the line would have to be specified before the add oneway=yes. Note 
that I did not test it. You might want to display some diagnostics such 
as the way id or the lat/lon there, but I do not know how.  (Strings 
such as ${id}, ${lat}, ${lon} would refer to user attributes, not to the 
internal attributes, as far as I understand.)

>> Therefore I guess I should not add this to the default style, unless 
>> there is a strong proposition for it.
>+1, this should be for debugging only.

Like I wrote a couple of days ago, for bulk editing, you'd better 
extract the oneway-less motorway_links from your map extract with 
Osmosis and loading the result in JOSM. That is, if the above echo rule 
complains anything, use Osmosis and JOSM to fix it.

	Marko



More information about the mkgmap-dev mailing list