logo separator

[mkgmap-dev] Auto-Merge

From Mark Burton markb at ordern.com on Mon Sep 7 20:50:45 BST 2009

Hi Chris,m
 
> >> does mkgmap auto-merge points which have exactly the same coords?
> >>
> >> I though the remove-short-arcs option would do this, but last week
> >> I found a routing problem on a netherland motorway which
> >> was caused by such a double node and the map was created
> >> with the remove-short-arcs....
> 
> > Well, given that I have just found (and fixed) a bug in the line
> > clipping code, I can't say for sure that it was working correctly
> > before. It would be interesting to see if your example is OK with the
> > fix in place (shortly to be committed).
> 
> I tested with v1180. mgkmap don't seems to automerge points
> on the same coord.
> 
> A----------way1------------XY--------------------way2----------------B
> 
> X (endpoint of way1) and Y (startpoint of way2) having the
> same coordinate.
> 
> Mapsource is not able to route from A to B directly.

Sorry, I misinterpreted what you were saying. No, mkgmap does not merge
points that have the same coordinates but belong to different ways.

Personally, I don't think mkgmap should auto-connect ways, so I
certainly won't be writing the code to do that. If the OSM data is
wrong, tough!

Cheers,

Mark



More information about the mkgmap-dev mailing list