logo separator

[mkgmap-dev] Patch v1: check if road is connected

From chris66 chris66nrw at gmx.de on Sat Mar 9 13:48:22 GMT 2013

Am 09.03.2013 14:24, schrieb GerdP:

> I assume you style doesn't add way 98294932 as a road.

It should because it's a normal highway=service.


highway=service {add mkgmap:check_connected = true}

# 0x07 = routable line (invisible via TYP)

highway=service & area!=yes
   [0x07 road_class=0 road_speed=2 resolution 24 continue]

# render different lines depending on service type

highway=service & area!=yes & (access=no|access=private)
   [0x10e17 resolution 24]

highway=service & area!=yes & (service=parking_aisle|service=driveway)
   [0x10e16 resolution 24]

highway=service & area!=yes [0x10e16 resolution 24-23 continue]
highway=service & area!=yes [0x10e15 resolution 22]

highway=service & area=yes
           [0x07 road_class=0 road_speed=2 resolution 24 continue]

highway=service & area=yes [0x10e18 resolution 24 continue]
     # continue to polygons to render the area

Chris





More information about the mkgmap-dev mailing list