Hi

because in general creating several routable lines on top of each other
is perfectly okay. Are they maybe not correctly connected?

The 'continue' is making *more* lines on top of each other, its not
preventing lines being on top of each other.

I do not see the routing failure with my small extract of the area or
version of mapsource. However I do see one strange difference in the
NOD file with and without the 'continue'

Does the attached patch make any difference?

..Steve
Index: src/uk/me/parabola/imgfmt/app/net/RoadDef.java
===================================================================
--- src/uk/me/parabola/imgfmt/app/net/RoadDef.java	(revision 2429)
+++ src/uk/me/parabola/imgfmt/app/net/RoadDef.java	(working copy)
@@ -467,6 +467,10 @@
 		int nbits = nnodes;
 		if (!startsWithNode)
 			nbits++;
+		if (nbits == 0) {
+			System.out.println(toString());
+			nbits=2;
+		}
 		writer.putChar((char) nbits);
 		boolean[] bits = new boolean[nbits];
 		for (int i = 0; i < bits.length; i++)
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to