
Hi programmers, the StyledConverter.addRoadAfterSplittingLoops seems to splits each roundabout at least into two MapRoad objects because they contain the same point twice (start and end point). I wonder if that's the desired function? The comment says: // check each point in the way to see if it is the same // point as a following point in the way (actually the // same object not just the same coordinates) But I think it's curious that Garmin would not allow that for roundabouts. WanMil

Hi WanMil, sounds reasonable, but how can we try? If you skip the split of roundabouts: are the network routines prepared for roads that have a closed loop? Gerd
Date: Sun, 28 Apr 2013 22:45:01 +0200 From: wmgcnfg@web.de To: mkgmap-dev@lists.mkgmap.org.uk Subject: [mkgmap-dev] StyledConverter.addRoadAfterSplittingLoops and roundabouts
Hi programmers,
the StyledConverter.addRoadAfterSplittingLoops seems to splits each roundabout at least into two MapRoad objects because they contain the same point twice (start and end point). I wonder if that's the desired function?
The comment says: // check each point in the way to see if it is the same // point as a following point in the way (actually the // same object not just the same coordinates)
But I think it's curious that Garmin would not allow that for roundabouts.
WanMil _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

I simply tried to exclude roundabouts from splitting in addRoadAfterSplittingLoops. But it did not work. When routing over the start/end-point of a roundabout the driving direction was changed. Maybe you can keep that in mind while reimplementing the routing stuff. WanMil
Hi WanMil,
sounds reasonable, but how can we try? If you skip the split of roundabouts: are the network routines prepared for roads that have a closed loop?
Gerd
Date: Sun, 28 Apr 2013 22:45:01 +0200 From: wmgcnfg@web.de To: mkgmap-dev@lists.mkgmap.org.uk Subject: [mkgmap-dev] StyledConverter.addRoadAfterSplittingLoops and roundabouts
Hi programmers,
the StyledConverter.addRoadAfterSplittingLoops seems to splits each roundabout at least into two MapRoad objects because they contain the same point twice (start and end point). I wonder if that's the desired function?
The comment says: // check each point in the way to see if it is the same // point as a following point in the way (actually the // same object not just the same coordinates)
But I think it's curious that Garmin would not allow that for roundabouts.
WanMil _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (2)
-
Gerd Petermann
-
WanMil