logo separator

[mkgmap-dev] Suppressing dead-end-checks for parking entrance/exit

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sun Mar 10 08:51:11 GMT 2013

Hi Marko,

> 
> I wrote the code to suppress the dead-end warnings if one of the oneway 
> endpoints carries a key FIXME or fixme. fixme=continue is key='fixme', 
> value='continue'. It would qualify if it existed in the source data. I 
> routinely suppress warnings by adding fixme=continue to the node, for 
> example when the error cannot be fixed without survey (e.g., recently 
> started highway=construction would not show in aerial images).

okay, got it.

> 
> The problem is that style rules cannot suppress the dead-end warnings by 
> setting a tag on the node. If the 'points' file were able to set tags in 
> the ways (lines or polygons) connected to the points, then that would 
> solve the problem. We could simply set the magic 
> mkgmap:dead-end-checks=false on all ways connected to a point such as an 
> underground or multi-storey parking lot entrance.

Hmm, looks easy to me. The points file is used before the lines file,
so all nodes are converted before the ways are converted.
If I got that right, we have to check all nodes of oneway roads
for the fixme tag? This would just mean to move the corresponding code 
from HighwayHooks to StyledConverter.
Do you agree?

Gerd

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130310/7005b78f/attachment.html 


More information about the mkgmap-dev mailing list