Fake warnings in log

Since yesterday the number of similar arcs warnings has increased very much, but when you look at the supposed wrong data, they are correct and there are no recent changes. May be recent commits have introduced some bug in this regard. You can have a look at this one for example: 2010/01/21 09:14:35 ADVERTENCIA (RouteNode): Similar arcs ((N-630 Carretera de Gijón a Sevilla, http://www.openstreetmap.org/browse/way/34954325) and (N-630 Carretera de Gijón a Sevilla, http://www.openstreetmap.org/browse/way/34954325)) from http://www.openstreetmap.org/?mlat=38.32804&mlon=-6.32094&zoom=17 Regards, Carlos

Carlos Dávila escribió:
Since yesterday Sorry, it was day before yesterday when it started to happen, so mp merge may be related. the number of similar arcs warnings has increased very much, but when you look at the supposed wrong data, they are correct and there are no recent changes. May be recent commits have introduced some bug in this regard. You can have a look at this one for example: 2010/01/21 09:14:35 ADVERTENCIA (RouteNode): Similar arcs ((N-630 Carretera de Gijón a Sevilla, http://www.openstreetmap.org/browse/way/34954325) and (N-630 Carretera de Gijón a Sevilla, http://www.openstreetmap.org/browse/way/34954325)) from http://www.openstreetmap.org/?mlat=38.32804&mlon=-6.32094&zoom=17 Regards, Carlos

Carlos Dávila escribió:
Since yesterday Sorry, it was day before yesterday when it started to happen, so mp merge may be related. the number of similar arcs warnings has increased very much, but when you look at the supposed wrong data, they are correct and there are no recent changes. May be recent commits have introduced some bug in this regard. You can have a look at this one for example: 2010/01/21 09:14:35 ADVERTENCIA (RouteNode): Similar arcs ((N-630 Carretera de Gijón a Sevilla, http://www.openstreetmap.org/browse/way/34954325) and (N-630 Carretera de Gijón a Sevilla, http://www.openstreetmap.org/browse/way/34954325)) from http://www.openstreetmap.org/?mlat=38.32804&mlon=-6.32094&zoom=17 Regards, Carlos
I don't know what an arc warning is. But I can say something about the mp code. The mp code should not modify any original way from OSM. The posted warnings link to original OSM ways so mp should not be the reason. WanMil

Hello Carlos,
Since yesterday the number of similar arcs warnings has increased very much, but when you look at the supposed wrong data, they are correct and there are no recent changes. May be recent commits have introduced some bug in this regard. You can have a look at this one for example: 2010/01/21 09:14:35 ADVERTENCIA (RouteNode): Similar arcs ((N-630 Carretera de Gijón a Sevilla, http://www.openstreetmap.org/browse/way/34954325) and (N-630 Carretera de Gijón a Sevilla, http://www.openstreetmap.org/browse/way/34954325)) from http://www.openstreetmap.org/?mlat=38.32804&mlon=-6.32094&zoom=17
That warning occurs when you have multiple arcs that have the same start and end points and the same length. It could occur when there are duplicate ways in the map data but also it could occur if the style rules you are using generate multiple routable lines from the same way. I notice that in the above message the OSM ids are the same. That implies that you are generating two roads from one way. It's either a bug in mkgmap or in your style rules. Mark

Mark Burton escribió:
Hello Carlos,
Since yesterday the number of similar arcs warnings has increased very much, but when you look at the supposed wrong data, they are correct and there are no recent changes. May be recent commits have introduced some bug in this regard. You can have a look at this one for example: 2010/01/21 09:14:35 ADVERTENCIA (RouteNode): Similar arcs ((N-630 Carretera de Gijón a Sevilla, http://www.openstreetmap.org/browse/way/34954325) and (N-630 Carretera de Gijón a Sevilla, http://www.openstreetmap.org/browse/way/34954325)) from http://www.openstreetmap.org/?mlat=38.32804&mlon=-6.32094&zoom=17
That warning occurs when you have multiple arcs that have the same start and end points and the same length. It could occur when there are duplicate ways in the map data but also it could occur if the style rules you are using generate multiple routable lines from the same way.
I notice that in the above message the OSM ids are the same. That implies that you are generating two roads from one way. It's either a bug in mkgmap or in your style rules.
OK, I see. It's due to bridges I have introduced recently in my maps. In some of my attempts to get bridges working I had to add road_class and road_speed to the bridges lines. I suppose removing them will solve the problem, won't it? Thanks for you clarification

Hi Carlos,
OK, I see. It's due to bridges I have introduced recently in my maps. In some of my attempts to get bridges working I had to add road_class and road_speed to the bridges lines. I suppose removing them will solve the problem, won't it?
Yes, adding class or speed makes a way into a road as far as mkgmap is concerned. What I have done for bridges/tunnels is this: highway=* & bridge=yes { delete 'ref'; delete 'name'; } [0x010107 continue resolution 24] railway=* & bridge=yes { delete 'ref'; delete 'name'; } [0x010107 continue resolution 24] highway=* & tunnel=yes { delete 'ref'; delete 'name'; } [0x010108 continue resolution 24] those types are lines that look like this: ----------------- ----------------- and the end result looks like this: -------------- ****************************** -------------- The Baltic map has bridges/tunnels like that.
Thanks for you clarification
You're welcome. Mark
participants (3)
-
Carlos Dávila
-
Mark Burton
-
WanMil