logo separator

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

From chris66 chris66nrw at gmx.de on Sat Mar 9 16:23:00 GMT 2013

Hi

Even with a simple style rule for service

highway=service {add mkgmap:check_connected = true}
  [0x07 road_class=0 road_speed=2 resolution 24]

way 98294931 is reported as unconnected while way
98294932 is *not* reported unconnected, both tagged
as highway=service.

So way A is connected to B but B not connected to A.

Chris


Am 09.03.2013 14:48, schrieb chris66:
> 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