logo separator

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

From Gerd Petermann gpetermann_muenchen at hotmail.com on Mon Mar 4 09:47:17 GMT 2013

Hi Marko,

looking at the source in HighwayHooks.java I think the tag shoud be "fixme"  or "FIXME", not "fixme=continue".

Does that work?
Ciao,
Gerd

> Date: Tue, 26 Feb 2013 11:17:23 +0200
> From: marko.makela at iki.fi
> To: mkgmap-dev at lists.mkgmap.org.uk
> Subject: [mkgmap-dev] Suppressing dead-end-checks for parking entrance/exit
> 
> Hi,
> 
> I would like to suppress warnings for oneways leading to or from 
> underground parking when the entrance and exit are not connected by  
> underground lines. One of these two parking sites is using a relation to 
> group the entrance and exit together.
> 
> 2013/02/26 10:33:43 WARNING (RouteNode): 63240005.osm.pbf: Oneway road 
> (http://www.openstreetmap.org/browse/way/187642343) goes nowhere at 
> http://www.openstreetmap.org/?mlat=60.86977&mlon=26.70146&zoom=17
> 2013/02/26 10:33:43 WARNING (RouteNode): 63240005.osm.pbf: Oneway road 
> (http://www.openstreetmap.org/browse/way/135634060) comes from nowhere 
> at http://www.openstreetmap.org/?mlat=60.86846&mlon=26.70092&zoom=17
> 2013/02/26 10:33:43 WARNING (RouteNode): 63240005.osm.pbf: Oneway road 
> (http://www.openstreetmap.org/browse/way/207169562) goes nowhere at 
> http://www.openstreetmap.org/?mlat=60.86960&mlon=26.70261&zoom=17
> 
> I tried adding fixme=continue in the points file:
> 
> resources/styles/default/points Index: resources/styles/default/points
> ===================================================================
> --- resources/styles/default/points	(revision 2498)
> +++ resources/styles/default/points	(working copy)
> @@ -79,7 +79,10 @@
>   amenity=library [0x2c03 resolution 24]
>   amenity=nightclub [0x2d02 resolution 24]
>   amenity=nursing_home [0x2b04 resolution 24]
> -amenity=parking [0x2f0b resolution 24 default_name 'Parking']
> +# Disable dead-end-checks for parking entrance/exit
> +entrance=* | amenity=parking_exit { add fixme=continue }
> +amenity=parking | amenity=parking_entrance | parking=*
> +{add fixme=continue} [0x2f0b resolution 24 default_name 'Parking']
>   amenity=pharmacy [0x2e05 resolution 24]
>   amenity=place_of_worship [0x2c0b resolution 24]
>   amenity=police [0x3001 resolution 24]
> 
> It did not suppress the warnings, because the way parser would interpret 
> the original tags for nodes, not processed ones. Any ideas how to 
> resolve this? I do not feel like adding checks for the parking and 
> entrance tags to the way parser.
> 
> Best regards,
> 
> 	Marko
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130304/c80cb38f/attachment.html 


More information about the mkgmap-dev mailing list