logo separator

[mkgmap-dev] [PATCH v1] remove bogus nodes

From Mark Burton markb at ordern.com on Sat Nov 28 11:07:52 GMT 2009


Another thought:

The current code will probably not work as expected if you generate
any lines (most likely routable lines, but could also be long
non-routable line) that are split and you then go on to generate more
lines (routable or not) from the same way.

The problem is that once the way is split, the original way only has
the points from the beginning to the split point, all the other points
will be missing.

This is not a new issue, it's always been like that. So, trying to
generate multiple routable ways from the same way is currently doomed
to failure unless the way is very short/simple.

Perhaps we should copy the list of points in the way before processing
it so the original list doesn't get modified.



More information about the mkgmap-dev mailing list