Hi all,

I am not sure how I should interpret a restriction relation with 
restriction=only_* and a via way.  AFAIK the Garmin format
doesn't have such kind of restriction, so we have to translate it 
into one or more no_* restrictions for the other possible ways.
This was rather easy for restrictions with a via node, but how 
should I do it for via ways?
Examples:
http://www.openstreetmap.org/relation/67571 
http://www.openstreetmap.org/relation/1745548

I assume I have to create a restriction that contains the node on the  from 
way, the two nodes 
on the via way and finally any node that can be reached from the 2nd via node 
which doesn't lie on the to road.
OK?

I probably can code support for multiple via ways as Garmin seems to support 
that as well,
but only if I find that in the OSM data.

@Steve: Did you see anything in your original maps which might 
also be a only_* restriction?

Gerd

From: [email protected]
To: [email protected]
Date: Wed, 19 Mar 2014 17:32:47 +0100
Subject: Re: [mkgmap-dev] Turn restrictions with role=via ways




Hi Andrzej,

thanks, that will help me.

Gerd

Date: Wed, 19 Mar 2014 17:20:23 +0100
From: [email protected]
To: [email protected]
Subject: Re: [mkgmap-dev] Turn restrictions with role=via ways

Hi Gerd,
 
 > Does anybody have a valid mp file that contains 4 node restrictions
 
here is attached a small sample with a restriction, this example comes 
from http://ump.waw.pl/en/index.html
 
If you'd like to test a real piece of mp source, I have uploaded full 
region form UMP, it include img compiled by cgpsmapper:
http://files.mkgmap.org.uk/download/185/UMP-PL-Warszawa.7z
 
-- 
Best regards,
Andrzej

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev                            
          

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev                            
          
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to