
Hi all, I have build a map with version 1247 and the following options: --latin1 --route --tdbfile --remove-short-arcs --add-pois-to-areas --link-pois-to-ways Mapsource and my Etrex routes me through the bollards on "Marktstraße" (setting was for motorcar). http://www.openstreetmap.org/?lat=51.3877&lon=6.71077&zoom=17&layers=B000FTF Is it possible to fix it? Ralf

Hi Ralf,
Hi all,
I have build a map with version 1247 and the following options: --latin1 --route --tdbfile --remove-short-arcs --add-pois-to-areas --link-pois-to-ways
Mapsource and my Etrex routes me through the bollards on "Marktstraße" (setting was for motorcar). http://www.openstreetmap.org/?lat=51.3877&lon=6.71077&zoom=17&layers=B000FTF
Is it possible to fix it?
Ralf
You need to have access tags added to the bollard so that they can be transferred to the way. Does your points file have lines like these in it? barrier=bollard {add access = no; add bicycle = yes; add foot = yes} [0x660f resolution 20] barrier=cycle_barier {add access = no; add bicycle = yes; add foot = yes} [0x660f resolution 20] Cheers, Mark

Hi Mark, You need to have access tags added to the bollard so that they can be
transferred to the way. Does your points file have lines like these in it? barrier=bollard {add access = no; add bicycle = yes; add foot = yes} [0x660f resolution 20] barrier=cycle_barier {add access = no; add bicycle = yes; add foot = yes} [0x660f resolution 20]
I used the the default style file included. The last entries in points are: barrier=bollard | barrier=bus_trap {add access = no; add bicycle = yes; add foot = yes} [0x660f resolution 21] barrier=block | barrier=cycle_barier | barrier=stile | barrier=kissing_gate {add access = no; add foot = yes} [0x660f resolution 21] Ralf

Hi Ralf,
I used the the default style file included. The last entries in points are: barrier=bollard | barrier=bus_trap {add access = no; add bicycle = yes; add foot = yes} [0x660f resolution 21] barrier=block | barrier=cycle_barier | barrier=stile | barrier=kissing_gate {add access = no; add foot = yes} [0x660f resolution 21]
That looks OK, can you tell me where you were routing from/to? Cheers, Mark

Hi Mark, That looks OK, can you tell me where you were routing from/to?
http://www.openstreetmap.org/?lat=51.38611&lon=6.7088&zoom=17&layers=B000FTF starting at "Dahlingstraße" (bottom left), setting a routing point to the crossing "Wilhelmstr./Bachstr." and ending after the two bollards on "Marktstraße" near by the parking place. Ralf

Ralf Reimann wrote:
Hi Mark,
You need to have access tags added to the bollard so that they can be transferred to the way. Does your points file have lines like these in it? barrier=bollard {add access = no; add bicycle = yes; add foot = yes} [0x660f resolution 20] barrier=cycle_barier {add access = no; add bicycle = yes; add foot = yes} [0x660f resolution 20]
I used the the default style file included. The last entries in points are: barrier=bollard | barrier=bus_trap {add access = no; add bicycle = yes; add foot = yes} [0x660f resolution 21] barrier=block | barrier=cycle_barier | barrier=stile | barrier=kissing_gate {add access = no; add foot = yes} [0x660f resolution 21]
Ralf
------------------------------------------------------------------------
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev put them first not last in your points file. Otherwise if there is another entry higher up on the same point, it will not work.

Hi Felix,
put them first not last in your points file. Otherwise if there is another entry higher up on the same point, it will not work.
it is the default style and there is no other entry with a bollard. But I tested your advice and cut the line and placed it to the first line of points. This has in Mapsource no effect, the routing goes through the bollards. Ralf

Hi Ralf, I know what the problem is. The code currently checks for the access tag before the style file is processed so if the bollard doesn't have an access tag already, the POI isn't linked to the way as it needs to be for this to work. Sorry for the hassle, I shall dream up a fix. In the meantime, if you give the bollard's access tags, it should work as expected. Mark

2009/10/4 Mark Burton <markb@ordern.com>:
Hi Ralf,
I know what the problem is. The code currently checks for the access tag before the style file is processed so if the bollard doesn't have an access tag already, the POI isn't linked to the way as it needs to be for this to work.
Sorry for the hassle, I shall dream up a fix. In the meantime, if you give the bollard's access tags, it should work as expected.
Cool! I also noticed this behavior at a bollard in my area. Since about the same time(~2 weeks ago), there also were problems with some turn restrictions being ignored. It seems to me that only "no_left_turn" Relations are affected(or no_*?). Example 1: http://www.openstreetmap.org/browse/relation/91270 from Luxemburger Straße to Moselstraße Example 2: http://www.openstreetmap.org/browse/relation/215954 from Vorgebirgsstraße to Volksgartenstraße Does someone know what's going on here? Thanks! -Martin

Hi Martin,
I also noticed this behavior at a bollard in my area. Since about the same time(~2 weeks ago), there also were problems with some turn restrictions being ignored.
If there are problems, it will be something else that's wrong because they are not related.
It seems to me that only "no_left_turn" Relations are affected(or no_*?).
Example 1: http://www.openstreetmap.org/browse/relation/91270 from Luxemburger Straße to Moselstraße
Just tried that one and mapsource respected the no left turn. Cheers, Mark

2009/10/4 Mark Burton <markb@ordern.com>:
Hi Martin,
I also noticed this behavior at a bollard in my area. Since about the same time(~2 weeks ago), there also were problems with some turn restrictions being ignored.
If there are problems, it will be something else that's wrong because they are not related.
It seems to me that only "no_left_turn" Relations are affected(or no_*?).
Example 1: http://www.openstreetmap.org/browse/relation/91270 from Luxemburger Straße to Moselstraße
Just tried that one and mapsource respected the no left turn.
Hmm, strange! I rebuilt my map with yesterday's germany-extract from geofabrik (using r1240) and it worked. Then I rebuilt it with today's geofabrik extract of my state (nordrhein-westfalen) and r1260 - the restrictions were broken again. Trying it again with yesterday's germany extract and r1260, everything is fine... I'll talk to Frederik and see what he thinks about this. Btw, back to the bollard topic: do you think it is possible to extend the add-pois-to-roads functionality to include other poi types and modify other values of the way? This way we could build rules that tweak routing by setting a lower road_speed or road_class around pois like traffic lights, pedestrian crossings or traffic calmings. this could help to for example favor right turns (left turns in britain) on crossings with traffic lights and a "right-turn-bypass". :-) -Martin

Hello Martin,
2009/10/4 Mark Burton <markb@ordern.com>:
Hi Martin,
I also noticed this behavior at a bollard in my area. Since about the same time(~2 weeks ago), there also were problems with some turn restrictions being ignored.
If there are problems, it will be something else that's wrong because they are not related.
It seems to me that only "no_left_turn" Relations are affected(or no_*?).
Example 1: http://www.openstreetmap.org/browse/relation/91270 from Luxemburger Straße to Moselstraße
Just tried that one and mapsource respected the no left turn.
Hmm, strange!
I rebuilt my map with yesterday's germany-extract from geofabrik (using r1240) and it worked. Then I rebuilt it with today's geofabrik extract of my state (nordrhein-westfalen) and r1260 - the restrictions were broken again. Trying it again with yesterday's germany extract and r1260, everything is fine...
I'll talk to Frederik and see what he thinks about this.
Yes, that is odd.
Btw, back to the bollard topic: do you think it is possible to extend the add-pois-to-roads functionality to include other poi types and modify other values of the way? This way we could build rules that tweak routing by setting a lower road_speed or road_class around pois like traffic lights, pedestrian crossings or traffic calmings. this could help to for example favor right turns (left turns in britain) on crossings with traffic lights and a "right-turn-bypass". :-)
Actually, we're almost there in that my recent "exit road names" patch does attach all POIs with "highway" tags to the respective ways and so it just needs some code very much like the bollard handling code to frig the road speed (or whatever is deemed appropriate for the tag) to be added. I will look at that this week. Cheers, Mark
participants (4)
-
Felix Hartmann
-
Mark Burton
-
Martin Simon
-
Ralf Reimann