Felix,

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.

Cheers,

Mark
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to