logo separator

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

From GerdP gpetermann_muenchen at hotmail.com on Sat Mar 9 16:43:13 GMT 2013

Hi Chris,

I think this is not possible, but I will try to reproduce the problem
tomorrow.
I noticed that way 98294932 is rather short. Maybe you use the length()
function to filter those?

Gerd


Chris66 wrote
> 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
>> 
>> 
>> 
> 
> 
> _______________________________________________
> mkgmap-dev mailing list

> mkgmap-dev at .org

> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev





--
View this message in context: http://gis.19327.n5.nabble.com/Patch-v1-check-if-road-is-connected-tp5751822p5752557.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list