Roundabouts causes crashing devices

Hi list, Many users of my Openfietsmap are reporting crashes when approaching roundabouts. Some notice it before they enter the roundabout, others report that the device dies on the roundabout itself. In many cases those roundabouts are with cycle routes, so I have removed the bicycle routes from those roundabouts. Some report this fix works, others still complain of crashing the device. There are also cases without any cycle route involved so I wonder if this happens only with my maps. It happens with recent GPS devices like the Oregon 6xx series, Garmin Edge Touring and 8xx, GPS map 62 and 64. It does not happen with older devices. I cannot find any roundabout in my vicinty to reproduce it so it does not happen all the time with every firmware. The only thing that all those reports have in common is that it happens near a roundabout, the device is dying slowly, turning it back on will make it work again. Did anyone here have seen the same behaviour?

Hi Minko, for my trip to Sicilia I used a map from http://garmin.openstreetmap.nl/using the Openfietsmap Lite style. I also noticed quite a lot of crashes (maybe one per day) on my Oregon 600. I did not relate that to roundabouts but in Italy a roundabout is never far away. Most of the time I followed a track, so I think they were not related to routes. BUT in one case the device crashed two times within a short time, and yes, I was aproaching a roundabout and using a route calculated by the device. I still have the recorded gpx files and the img file for the map in case these can help you. Gerd ________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Minko <ligfietser@online.nl> Gesendet: Freitag, 8. Juli 2016 10:49:53 An: Development list for mkgmap Betreff: [mkgmap-dev] Roundabouts causes crashing devices Hi list, Many users of my Openfietsmap are reporting crashes when approaching roundabouts. Some notice it before they enter the roundabout, others report that the device dies on the roundabout itself. In many cases those roundabouts are with cycle routes, so I have removed the bicycle routes from those roundabouts. Some report this fix works, others still complain of crashing the device. There are also cases without any cycle route involved so I wonder if this happens only with my maps. It happens with recent GPS devices like the Oregon 6xx series, Garmin Edge Touring and 8xx, GPS map 62 and 64. It does not happen with older devices. I cannot find any roundabout in my vicinty to reproduce it so it does not happen all the time with every firmware. The only thing that all those reports have in common is that it happens near a roundabout, the device is dying slowly, turning it back on will make it work again. Did anyone here have seen the same behaviour? _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Gerd, Interesting to hear because on Sicily there are hardly any cycle routes, if any, on OSM, so it could be also associated with something else. Can you give just the location of that particular roundabout on the osm.org map so I can see if there are similarities with other roundabouts? I think about too many OSM nodes, the roundabouts on the mkgmap maps are sometimes distorted if drawn with a lot of nodes. Maybe this could cause crashing of the device? Another more likely cause could be that I use an invisible line type for 0x0c: junction=roundabout [0x0c road_class=1 road_speed=1 resolution 24 continue with_actions] junction=roundabout {set access=no} The line that is rendered on my map is not accessible, for instance an unclassified 'white' road with 0x06 is drawn on top of this invisible 0x0c. Possible problem is that it still has routable parameters (road_class and road_speed), maybe this causes the crashes? A solution would be to replace all highway=* & junction=roundabout with a non routable line type on top of this 0x0c for rendering the correct line type. In the default mkgmap style this problem does not occur because all roundabouts are rendered with the same style and just one line (0x0c).

Hi Minko, I looked at the recorded GPX tracks now and noticed that the 1st crash happened while I was approaching one roundabout, I stopped after the rb to switch the device on again and the 2nd crash happened maybe ten m later aproaching the next rb. I am not sure about the timing, I just noticed that the device was off again. I've uploaded the part of the recorded track http://files.mkgmap.org.uk/download/298/2016-06-29%2006.49.55%20Tag.gpx The related rb ways: https://www.openstreetmap.org/way/274709979 and east of it https://www.openstreetmap.org/way/179620014 Both ways are part of a bus route. Hope this helps. Gerd ________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Minko <ligfietser@online.nl> Gesendet: Freitag, 8. Juli 2016 11:32:19 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Roundabouts causes crashing devices Hi Gerd, Interesting to hear because on Sicily there are hardly any cycle routes, if any, on OSM, so it could be also associated with something else. Can you give just the location of that particular roundabout on the osm.org map so I can see if there are similarities with other roundabouts? I think about too many OSM nodes, the roundabouts on the mkgmap maps are sometimes distorted if drawn with a lot of nodes. Maybe this could cause crashing of the device? Another more likely cause could be that I use an invisible line type for 0x0c: junction=roundabout [0x0c road_class=1 road_speed=1 resolution 24 continue with_actions] junction=roundabout {set access=no} The line that is rendered on my map is not accessible, for instance an unclassified 'white' road with 0x06 is drawn on top of this invisible 0x0c. Possible problem is that it still has routable parameters (road_class and road_speed), maybe this causes the crashes? A solution would be to replace all highway=* & junction=roundabout with a non routable line type on top of this 0x0c for rendering the correct line type. In the default mkgmap style this problem does not occur because all roundabouts are rendered with the same style and just one line (0x0c).

Thanks Gerd, I can't open your track but both roundabouts don't look too complicated with too many nodes and I don't render bus routes, so I think it could be caused with the two routable lines on top of each other in my styles. In the NL's many roundabouts have cycle routes on them I thought at first it was only caused by this routable cycle route line (0x02). After that I have removed this 0x02 I got some positive feedbacks, but now you and someone else also reported it could happen with other roundabouts as well I think other routable lines like 0x06, 0x05 etc on top of 0x0c could crash some devices (not all, at least not mine, which makes it very complicated to reproduce) too...Workaround is to remove all routable lines on top of each other or at least remove the routing parameters (but in the past this lead to other issues with routing via address search). Gerd wrote I looked at the recorded GPX tracks now and noticed that the 1st crash happened while I was approaching one roundabout, I stopped after the rb to switch the device on again and the 2nd crash happened maybe ten m later aproaching the next rb. I am not sure about the timing, I just noticed that the device was off again. I've uploaded the part of the recorded track http://files.mkgmap.org.uk/download/298/2016-06-29%2006.49.55%20Tag.gpx The related rb ways: https://www.openstreetmap.org/way/274709979 and east of it https://www.openstreetmap.org/way/179620014 Both ways are part of a bus route. Hope this helps. Gerd

Hi Minko, I#m not completly sure, but I remember, there were long time ago problems with 2 routable lines on same position. So in my map I changed all routeable lines to transparent and used for showing highways etc. non-routable lines. But maybe this particular problem was solved later. Henning

I think that was solved later, however those issues proof it would be better not use more routable lines on top of each other. With some workarounds I have fixed it mostly I hope, but it would be better to use transparent route lines. Which means rebuilding my whole line style and typ file from scratch... Henning wrote:
Hi Minko,
I#m not completly sure, but I remember, there were long time ago problems with 2 routable lines on same position. So in my map I changed all routeable lines to transparent and used for showing highways etc. non-routable lines. But maybe this particular problem was solved later.
Henning
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Am Freitag, 8. Juli 2016, 11:32:19 CEST schrieb Minko:
A solution would be to replace all highway=* & junction=roundabout with a non routable line type on top of this 0x0c for rendering the correct line type. In the default mkgmap style this problem does not occur because all roundabouts are rendered with the same style and just one line (0x0c)
No crashes here with roundabouts, too. I'm using rules like this for every routable way... #-------------------------------------------------------------------------------------- # secondary highway=secondary [0x12004 resolution 21-20 continue] highway=secondary [0x11004 resolution 24-22 continue] highway=secondary & junction=roundabout \ [0x0c resolution 24 road_class=2 road_speed=2] highway=secondary \ [0x04 resolution 24 road_class=3 road_speed=4] ... and every routable ways is an invisible line with overlay [_line] Type=0x0C String1=0x02,Kreisverkehr String2=0x04,Roundabout UseOrientation=N Xpm="32 1 2 1" "0 c #FFFFFF" "1 c none" "11111111111111111111111111111111" [end] BTW: there isn't any special access rule for roundabouts in our style

Thanks Bernd, I think your method of "every routable ways is an invisible line with overlay" will prevent those crashes. With my style I have used in case of roundabouts two routable lines on top of each other that might have caused those occasional crashes. The same with bike routes on top of other roads, I am using line type 0x02 to render dashed lines in all cases on top of other routable lines. Until now I haven't found any non-routable line type that displays on top of every other line. I can make 0x02 unroutable by removing the road parameters but this leads to another issue: When searching for a specific address on that particular road, the device will draw a straight line to that address without using roads. So I either have to accept an occaisonal crash or bad address routing. Don't know what is worse?

On Fri, Jul 08, Minko wrote:
It happens with recent GPS devices like the Oregon 6xx series, Garmin Edge Touring and 8xx, GPS map 62 and 64. It does not happen with older devices. I cannot find any roundabout in my vicinty to reproduce it so it does not happen all the time with every firmware. The only thing that all those reports have in common is that it happens near a roundabout, the device is dying slowly, turning it back on will make it work again.
Did anyone here have seen the same behaviour?
I have roundabouts nearly at the front of my home, so I'm routing through it nearly every day (in cycle mode). But I never saw any crash in the near of a roundabout on my GPSMap 62 with my own maps. I think I had this year only one crash of my 62, and here I'm not sure if the fault was not a broken battery. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
participants (5)
-
Bernd Weigelt
-
Gerd Petermann
-
Henning Scholland
-
Minko
-
Thorsten Kukuk