[mkgmap-dev] Fwd: Wrong routing in some closed roundabount
From Alexandre Loss alexandre.loss at gmail.com on Thu Jul 7 17:05:41 BST 2016
Hi Gerd, Analyzing and comparing the syntax of your test osm file with my test one, I found an error in my syntax. The roundabout where I get the unexpected behavior, the first and the last nodes aren't the same. I mean, the wrong syntax was the one below: <node id="3" lat="-20.4545397" lon="-40.4486877" visible="true" version="1"/> <node id="15" lat="-20.4566083" lon="-40.4487237" visible="true" version="1"/> <node id="20" lat="-20.4540903" lon="-40.4498724" visible="true" version="1"/> <node id="18" lat="-20.4544979" lon="-40.4510719" visible="true" version="1"/> <node id="21" lat="-20.4555235" lon="-40.4515836" visible="true" version="1"/> <node id="19" lat="-20.4565664" lon="-40.4511078" visible="true" version="1"/> <node id="22" lat="-20.4570158" lon="-40.4499232" visible="true" version="1"/> <node id="23" lat="-20.4555826" lon="-40.4482119" visible="true" version="1"/> <node id="24" lat="-20.4540903" lon="-40.4498724" visible="true" version="1"/> <way id="17" visible="true" version="1"> <nd ref="20"/> <nd ref="18"/> <nd ref="21"/> <nd ref="19"/> <nd ref="22"/> <nd ref="15"/> <nd ref="23"/> <nd ref="3"/> <nd ref="24"/> <tag k='highway' v='unclassified' /> <tag k='junction' v='roundabout' /> <tag k="oneway" v="yes"/> <tag k="name" v="ROTATÓRIA"/> </way> ...when should be: <node id="3" lat="-20.4545397" lon="-40.4486877" visible="true" version="1"/> <node id="15" lat="-20.4566083" lon="-40.4487237" visible="true" version="1"/> <node id="20" lat="-20.4540903" lon="-40.4498724" visible="true" version="1"/> <node id="18" lat="-20.4544979" lon="-40.4510719" visible="true" version="1"/> <node id="21" lat="-20.4555235" lon="-40.4515836" visible="true" version="1"/> <node id="19" lat="-20.4565664" lon="-40.4511078" visible="true" version="1"/> <node id="22" lat="-20.4570158" lon="-40.4499232" visible="true" version="1"/> <node id="23" lat="-20.4555826" lon="-40.4482119" visible="true" version="1"/> <way id="17" visible="true" version="1"> <nd ref="20"/> <nd ref="18"/> <nd ref="21"/> <nd ref="19"/> <nd ref="22"/> <nd ref="15"/> <nd ref="23"/> <nd ref="3"/> <nd ref="20"/> <tag k='highway' v='unclassified' /> <tag k='junction' v='roundabout' /> <tag k="oneway" v="yes"/> <tag k="name" v="ROTATÓRIA"/> </way> Thank you very much by your time. Your analysis showed me the way so I could diagnose my problem. Regards, Alexandre 2016-07-07 4:09 GMT-03:00 Gerd Petermann <GPetermann_muenchen at hotmail.com>: > Hi Alexandandre, > > > I tried to reproduce the problem using the attached input file. Routing > works for both cases. > > So there is probably more to it. If you can reproduce the problem, please > let me know how. > > > Gerd > ------------------------------ > *Von:* Gerd Petermann > *Gesendet:* Mittwoch, 6. Juli 2016 18:12:22 > *An:* Development list for mkgmap > *Betreff:* AW: [mkgmap-dev] Fwd: Wrong routing in some closed roundabount > > > Hi Alexandre, > > > seems that you have test data. Please post a link to it. > > > Gerd > ------------------------------ > *Von:* mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von > Alexandre Loss <alexandre.loss at gmail.com> > *Gesendet:* Mittwoch, 6. Juli 2016 12:08:11 > *An:* Development list for mkgmap > *Betreff:* [mkgmap-dev] Fwd: Wrong routing in some closed roundabount > > Hi Gerd, > > Now you are back, please take a look at this problem when you have time. > Thanks. > > Alexandre Loss > > ---------- Forwarded message ---------- > From: Alexandre Loss <alexandre.loss at gmail.com> > Date: 2016-06-06 13:35 GMT-03:00 > Subject: Wrong routing in some closed roundabount > To: Development list for mkgmap <mkgmap-dev at lists.mkgmap.org.uk> > > > Hi guys, > > We note in our group a strange behavior in some roundabounts that are > complete loops. Investigating, we discovered that when the starting and > ending points of a roundabout coincides with a routable node, we are able > to route through this roundabout. However, if the starting and ending > points of a roundabout don't match a rountable node, we have problem to > route through this roundabout. > > The example bellow shows this clearly when trying to create a route em > Mapsource from point A to B: > > [image: Imagem inline 2] > > Thank you for your time. > > Alexandre Loss > > > _______________________________________________ > 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/20160707/fcb4e5a8/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 207555 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160707/fcb4e5a8/attachment-0001.png>
- Previous message: [mkgmap-dev] Fwd: Wrong routing in some closed roundabount
- Next message: [mkgmap-dev] Fwd: Wrong routing in some closed roundabount
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list