
Hi, thats interesting news. Is there any info what has to be changed ? I just did a quick compare in some of the img headers between the following maps: http://www.malfreemaps.net/MFMv150.exe http://www.malfreemaps.com/download/MFM-Litev146.zip I didn't found a download link for MFMv145.exe so I just used the lite version. - The NET header has grown from 55 to 100 bytes. Some 1 have been added there. - In the NOD Header I noticed that the static 0x27 flag changed to 0x0303 I added this stuff to mkgmap but at least in simulation mode I think calculation speed is just the same like before on my nuvi 360. Anyway I have attached the patch. Maybe I have just made a small mistake ... Thanks Berni.
This behavior is "correct" with maps created with cgpsmapper (including those at mapcenter2). Only last week they found a breakthrough on this - http://malfreemaps.com/viewtopic.php?p=22936#p22936. I'm not sure if Stan has released the updated version of cgpsmapper yet.
Index: mkgmap/src/uk/me/parabola/imgfmt/app/net/NETHeader.java =================================================================== --- mkgmap/src/uk/me/parabola/imgfmt/app/net/NETHeader.java (revision 314) +++ mkgmap/src/uk/me/parabola/imgfmt/app/net/NETHeader.java (working copy) @@ -29,7 +29,7 @@ * @author Steve Ratcliffe */ public class NETHeader extends CommonHeader { - public static final int HEADER_LEN = 55; // Other lengths are possible + public static final int HEADER_LEN = 100; //55; // Other lengths are possible private static final char SORTED_ROAD_RECSIZE = 3; @@ -89,6 +89,9 @@ writer.putInt(0); writer.put((byte) 1); writer.put((byte) 0); + writer.putInt(0); + writer.put((byte) 1); + writer.putInt(0x01000000); } ImgFileWriter makeRoadWriter(ImgFileWriter writer) { Index: mkgmap/src/uk/me/parabola/imgfmt/app/net/NODHeader.java =================================================================== --- mkgmap/src/uk/me/parabola/imgfmt/app/net/NODHeader.java (revision 314) +++ mkgmap/src/uk/me/parabola/imgfmt/app/net/NODHeader.java (working copy) @@ -62,7 +62,8 @@ nodes.writeSectionInfo(writer); // now sets 0x02 (enable turn restrictions?) - writer.putInt(0x27); + //writer.putInt(0x27); + writer.putInt(0x0303); writer.putChar(align); writer.putChar((char) (align - 1));