[mkgmap-dev] Turn restrictions with role=via ways
From Gerd Petermann gpetermann_muenchen at hotmail.com on Sun Mar 23 08:52:53 GMT 2014
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: gpetermann_muenchen at hotmail.com To: mkgmap-dev at lists.mkgmap.org.uk 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: popej at poczta.onet.pl To: mkgmap-dev at lists.mkgmap.org.uk 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 mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140323/4f456fad/attachment.html>
- Previous message: [mkgmap-dev] Turn restrictions with role=via ways
- Next message: [mkgmap-dev] Turn restrictions with role=via ways
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list