
I have a question about the link-pois-to-ways option: In the NL's traffic signs are being mapped. http://wiki.openstreetmap.org/wiki/Overzicht_Nederlandse_Verkeersborden#C:_G... On this node, http://www.openstreetmap.org/node/2644156384 there is a traffic sign C6 (motorcar=no) in one direction. traffic_sign:backward = NL:C6 Tagging the whole road with oneway=yes is not the correct situation, because it is not a oneway street. Only entering this street by car is not allowed. Does mkgmap support motorcar:backward = no on a node (like barriers)? And how about the direction, does it look to the direction of the way? Does traffic_sign=NL:C6 {set mkgmap:car=no} in the points file work? A workaround is to tag a small part of the way with motorcar:backward = no or this restriction: http://www.openstreetmap.org/relation/3478910 but a routing node would be better.

Hi Minko, the tag traffic_sign=* is ignored by the link-pois-to-ways option, so the first problem is that no POI is created for this node, and you can't change that in the style, because the processing happens before style rules are processed. If we would change that somethow, the 2nd problem would be the direction. The current implementation in trunk creates short way with the access restrictions, and it would be quite complicated to change that so that e.g. two oneways are created, one with a restiriction, the other without. In the high-prec-branch this looks easier, as it creates a route restriction for each direction by default. We would just need an additional tag to tell mkgmap that only one direction is needed. Gerd
Date: Sat, 1 Feb 2014 10:18:34 +0100 From: ligfietser@online.nl To: mkgmap-dev@lists.mkgmap.org.uk Subject: [mkgmap-dev] link-pois-to-ways
I have a question about the link-pois-to-ways option: In the NL's traffic signs are being mapped. http://wiki.openstreetmap.org/wiki/Overzicht_Nederlandse_Verkeersborden#C:_G...
On this node, http://www.openstreetmap.org/node/2644156384 there is a traffic sign C6 (motorcar=no) in one direction. traffic_sign:backward = NL:C6
Tagging the whole road with oneway=yes is not the correct situation, because it is not a oneway street. Only entering this street by car is not allowed.
Does mkgmap support motorcar:backward = no on a node (like barriers)?
And how about the direction, does it look to the direction of the way?
Does traffic_sign=NL:C6 {set mkgmap:car=no} in the points file work?
A workaround is to tag a small part of the way with motorcar:backward = no or this restriction: http://www.openstreetmap.org/relation/3478910 but a routing node would be better.
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Thanks Gerd, So if I understand it right, technically it is not impossible, only mkgmap is not ready for this, right? Thats no problem, since the traffic sign tags are still experimental phase too.
the tag traffic_sign=* is ignored by the link-pois-to-ways option, so the first problem is that no POI is created for this node, and you can't change that in the style, because the processing happens before style rules are processed.
If we would change that somethow, the 2nd problem would be the direction. The current implementation in trunk creates short way with the access restrictions, and it would be quite complicated to change that so that e.g. two oneways are created, one with a restiriction, the other without.
In the high-prec-branch this looks easier, as it creates a route restriction for each direction by default. We would just need an additional tag to tell mkgmap that only one direction is needed.
Gerd

Hi Minko, yes, I think it is possible. I think about how you can pass the information about the direction. Maybe a new tag mkgmap:dir with the values mkgmap:dir=forward, mkgmap:dir=backward and mkgmap:dir=both, the last being the default? Gerd
Date: Sat, 1 Feb 2014 10:49:19 +0100 From: ligfietser@online.nl To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] link-pois-to-ways
Thanks Gerd, So if I understand it right, technically it is not impossible, only mkgmap is not ready for this, right? Thats no problem, since the traffic sign tags are still experimental phase too.
the tag traffic_sign=* is ignored by the link-pois-to-ways option, so the first problem is that no POI is created for this node, and you can't change that in the style, because the processing happens before style rules are processed.
If we would change that somethow, the 2nd problem would be the direction. The current implementation in trunk creates short way with the access restrictions, and it would be quite complicated to change that so that e.g. two oneways are created, one with a restiriction, the other without.
In the high-prec-branch this looks easier, as it creates a route restriction for each direction by default. We would just need an additional tag to tell mkgmap that only one direction is needed.
Gerd
mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

yes, I think it is possible. I think about how you can pass the information about the direction. Maybe a new tag mkgmap:dir with the values mkgmap:dir=forward, mkgmap:dir=backward and mkgmap:dir=both, the last being the default?
Gerd
Yes that's the question we are wondering about on the forum too. If the node is part of one way it would get the direction of that way. See this node http://www.openstreetmap.org/node/2644156384 It is part of two ways. Both have the same direction. So for the tag traffic_sign:backward or motorcar:backward=no this would imply the node should get the same direction. If both ways have different directions, or if the node shares more ways, backward and forward doesnt seem to make sense to me?

yes, I think it is possible. I think about how you can pass the information about the direction. Maybe a new tag mkgmap:dir with the values mkgmap:dir=forward, mkgmap:dir=backward and mkgmap:dir=both, the last being the default?
Gerd
Yes that's the question we are wondering about on the forum too. If the node is part of one way it would get the direction of that way.
See this node http://www.openstreetmap.org/node/2644156384 It is part of two ways. Both have the same direction. So for the tag traffic_sign:backward or motorcar:backward=no this would imply the node should get the same direction.
If both ways have different directions, or if the node shares more ways, backward and forward doesnt seem to make sense to me?
I agree. Another problem that I see is that mkgmap might create redundant route restrictions for this example, but that would just blow up the img size. On the other hand, the link-poi-to-ways code somehow assumes that a POI is only used in one way, I am not even sure that it really works well if this is not the case. Gerd
participants (2)
-
Gerd Petermann
-
Minko