logo separator

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

From Marko Mäkelä marko.makela at iki.fi on Tue Feb 26 09:17:23 GMT 2013

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


More information about the mkgmap-dev mailing list