
Hi all, r3177 should fix the reported crashes. It still prints error messages for restriction relations, e.g. Schwerwiegend (RestrictionRelation): e:\osm_out_work\germany\20140205_071837\63240003.o5m: Turn restriction (only_right_turn) http://www.openstreetmap.org/browse/relation/2456606 (at http://www.openstreetmap.org/?mlat=51.296499&mlon=6.925914&zoom=17) way http://www.openstreetmap.org/browse/way/184456457 doesn't have required node or Schwerwiegend (RestrictionRelation): e:\osm_out_work\germany\20140205_071837\63240054.o5m: Turn restriction (only_straight_on) http://www.openstreetmap.org/browse/relation/3310817 (at http://www.openstreetmap.org/?mlat=51.480335&mlon=12.018367&zoom=17) via node is not a routing node I am not sure what to do in these cases. The typical reason is that the restriction is valid, but one of the ways is not a road (style doesn't assign road_speed or road_class). I guess I should change the level to warning in such a case? The alternative would be to add a tag like highway=unclassified to the ways used in restriction relations if they don't have a highway=* tag. Gerd

Hi, On Thu, Apr 10, Gerd Petermann wrote:
Hi all,
r3177 should fix the reported crashes.
Thanks, I will test later.
I am not sure what to do in these cases. The typical reason is that the restriction is valid, but one of the ways is not a road (style doesn't assign road_speed or road_class).
I guess I should change the level to warning in such a case?
If it is because one of the ways is not routeable: yes, please.
The alternative would be to add a tag like highway=unclassified to the ways used in restriction relations if they don't have a highway=* tag.
I doubt that this will help at all. I checked some of this restrictions: they contain a highway=* tag, but for some reasons I decided in my style to make them non-routeable or don't add them at all, for example if it is highway=construction or highway=proposed. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)

Hi Thorsten, Thorsten Kukuk wrote
The alternative would be to add a tag like highway=unclassified to the ways used in restriction relations if they don't have a highway=* tag.
I doubt that this will help at all. I checked some of this restrictions: they contain a highway=* tag, but for some reasons I decided in my style to make them non-routeable or don't add them at all, for example if it is highway=construction or highway=proposed.
I came to the same conclusion :-) With r3178 only warnings are produced for these cases. Gerd -- View this message in context: http://gis.19327.n5.nabble.com/r3177-and-open-question-tp5802875p5802899.htm... Sent from the Mkgmap Development mailing list archive at Nabble.com.
participants (3)
-
Gerd Petermann
-
GerdP
-
Thorsten Kukuk