logo separator

[mkgmap-dev] Diagnostic warnings for dead-end oneway highway=service

From Marko Mäkelä marko.makela at iki.fi on Thu Jan 2 17:29:52 GMT 2014

Hi Gerd,

>>I figured out that it would be nice to display all tags of the 
>>dead-end oneway, like we do in MultiPolygonRelation, so that my mkgmap 
>>wrapper script could filter out any oneway warnings for highway=service.
>
>I am not sure if I got that right. If you want to suppress the 
>dead-end-check for all ways with specific tags, you can do it in the 
>style (add the tag mkgmap:dead-end-check=false to the way)

I do not want to suppress dead-end-checks altogether. I do it on a 
case-by-case basis, either by adding fixme=continue to the endpoint 
(this will set mkgmap:dead-end-check=false on the way; I wrote the code 
to do that), or by filtering out messages.

Here is a slightly different example:

... Motorway exit 67 
(http://www.openstreetmap.org/?mlat=60.47712&mlon=26.27170&zoom=17) has 
no motorway!

This is for node 1909615887. The message fails to mention the tags of 
the attached way 181498435 (highway=construction, construction=motorway, 
...).

I have a file that I pass to "grep -vf" for suppressing known warnings.  
I would not want to add a suppression for this message as it is now, 
because it would remain suppressed after the construction is completed 
and the way gets tagged highway=motorway. If my suppression regexp were 
something like

Motorway exit 67 .*mlat=60\.47712&mlon=26\.27170.*highway=construction

then it would no longer suppress the warning if the way is changed to 
highway=motorway and some map editor breaks something. (Even better than 
coordinates would be the ID of the highway=motorway_exit node.)

	Marko


More information about the mkgmap-dev mailing list