
Happens on Canada for me - also somehow style related I guess... Exception in thread "main" java.lang.AssertionError: mdr20 value changed f=365176 t=365180 count=21030 at uk.me.parabola.imgfmt.app.mdr.Mdr5Record.setMdr20(Mdr5Record.java:129) at uk.me.parabola.imgfmt.app.mdr.Mdr20.buildFromStreets(Mdr20.java:116) at uk.me.parabola.imgfmt.app.mdr.MDRFile.writeSections(MDRFile.java:312) at uk.me.parabola.imgfmt.app.mdr.MDRFile.write(MDRFile.java:252) at uk.me.parabola.mkgmap.combiners.MdrBuilder.onFinish(MdrBuilder.java:338) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:537) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128) at uk.me.parabola.mkgmap.main.Main.main(Main.java:117) -- keep on biking and discovering new trails Felix openmtbmap.org & www.velomap.org

Hi Felix, that one might be caused by boundary data or the latest changes from the sort branch. I hope Steve knows more. Gerd
Date: Fri, 7 Mar 2014 09:45:20 +0100 From: extremecarver@gmail.com To: mkgmap-dev@lists.mkgmap.org.uk Subject: [mkgmap-dev] another bug...
Happens on Canada for me - also somehow style related I guess...
Exception in thread "main" java.lang.AssertionError: mdr20 value changed f=365176 t=365180 count=21030 at uk.me.parabola.imgfmt.app.mdr.Mdr5Record.setMdr20(Mdr5Record.java:129) at uk.me.parabola.imgfmt.app.mdr.Mdr20.buildFromStreets(Mdr20.java:116) at uk.me.parabola.imgfmt.app.mdr.MDRFile.writeSections(MDRFile.java:312) at uk.me.parabola.imgfmt.app.mdr.MDRFile.write(MDRFile.java:252) at uk.me.parabola.mkgmap.combiners.MdrBuilder.onFinish(MdrBuilder.java:338) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:537) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128) at uk.me.parabola.mkgmap.main.Main.main(Main.java:117)
-- keep on biking and discovering new trails
Felix openmtbmap.org & www.velomap.org
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

okay - well I retried using the newest trunk (3089) with the boundary fix - but as expected it also breaks. And it also seems to be style related... On 07.03.2014 10:31, Gerd Petermann wrote:
Hi Felix,
that one might be caused by boundary data or the latest changes from the sort branch. I hope Steve knows more.
Gerd
Date: Fri, 7 Mar 2014 09:45:20 +0100 From: extremecarver@gmail.com To: mkgmap-dev@lists.mkgmap.org.uk Subject: [mkgmap-dev] another bug...
Happens on Canada for me - also somehow style related I guess...
Exception in thread "main" java.lang.AssertionError: mdr20 value changed f=365176 t=365180 count=21030 at uk.me.parabola.imgfmt.app.mdr.Mdr5Record.setMdr20(Mdr5Record.java:129) at uk.me.parabola.imgfmt.app.mdr.Mdr20.buildFromStreets(Mdr20.java:116) at uk.me.parabola.imgfmt.app.mdr.MDRFile.writeSections(MDRFile.java:312) at uk.me.parabola.imgfmt.app.mdr.MDRFile.write(MDRFile.java:252) at uk.me.parabola.mkgmap.combiners.MdrBuilder.onFinish(MdrBuilder.java:338) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:537) at
uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128)
at uk.me.parabola.mkgmap.main.Main.main(Main.java:117)
-- keep on biking and discovering new trails
Felix openmtbmap.org & www.velomap.org
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- keep on biking and discovering new trails Felix openmtbmap.org & www.velomap.org

On 07/03/14 08:45, Felix Hartmann wrote:
Happens on Canada for me - also somehow style related I guess...
Exception in thread "main" java.lang.AssertionError: mdr20 value changed f=365176 t=365180 count=21030 at uk.me.parabola.imgfmt.app.mdr.Mdr5Record.setMdr20(Mdr5Record.java:129) at uk.me.parabola.imgfmt.app.mdr.Mdr20.buildFromStreets(Mdr20.java:116)
I believe that this is a bug that has always existed, although recent changes may have made it a bit more likely to happen. The attached patch should fix the problem if I've understood it properly. If not then I am going to need the .img files that cause it (no need for osm or style). There are a lot of similar problems that don't cause visible problems although may affect search results. I planned to fix these as part of the upgrade to support unicode. ..Steve

Hi Steve, well sorry - the patch doesn't solve it. It would be good if mkgmap says on which .img files it hangs up. I don't know therefore I uploaded you all .img files you can get them (till this problem is solved, then I'll delete them) here: http://openmtbmap.org/maps.7z On 07.03.2014 12:31, Steve Ratcliffe wrote:
On 07/03/14 08:45, Felix Hartmann wrote:
Happens on Canada for me - also somehow style related I guess...
Exception in thread "main" java.lang.AssertionError: mdr20 value changed f=365176 t=365180 count=21030 at uk.me.parabola.imgfmt.app.mdr.Mdr5Record.setMdr20(Mdr5Record.java:129) at uk.me.parabola.imgfmt.app.mdr.Mdr20.buildFromStreets(Mdr20.java:116)
I believe that this is a bug that has always existed, although recent changes may have made it a bit more likely to happen.
The attached patch should fix the problem if I've understood it properly. If not then I am going to need the .img files that cause it (no need for osm or style).
There are a lot of similar problems that don't cause visible problems although may affect search results. I planned to fix these as part of the upgrade to support unicode.
..Steve
-- keep on biking and discovering new trails Felix openmtbmap.org & www.velomap.org

Hi Steve, please review the patch. It passes a new parameter collator to isSameByName(), but that parm is not used? Gerd Felix Hartmann-2 wrote
Hi Steve,
well sorry - the patch doesn't solve it. It would be good if mkgmap says on which .img files it hangs up. I don't know therefore I uploaded you all .img files
you can get them (till this problem is solved, then I'll delete them) here: http://openmtbmap.org/maps.7z
On 07.03.2014 12:31, Steve Ratcliffe wrote:
On 07/03/14 08:45, Felix Hartmann wrote:
Happens on Canada for me - also somehow style related I guess...
Exception in thread "main" java.lang.AssertionError: mdr20 value changed f=365176 t=365180 count=21030 at uk.me.parabola.imgfmt.app.mdr.Mdr5Record.setMdr20(Mdr5Record.java:129) at uk.me.parabola.imgfmt.app.mdr.Mdr20.buildFromStreets(Mdr20.java:116)
I believe that this is a bug that has always existed, although recent changes may have made it a bit more likely to happen.
The attached patch should fix the problem if I've understood it properly. If not then I am going to need the .img files that cause it (no need for osm or style).
There are a lot of similar problems that don't cause visible problems although may affect search results. I planned to fix these as part of the upgrade to support unicode.
..Steve
-- keep on biking and discovering new trails
Felix openmtbmap.org & www.velomap.org
_______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
-- View this message in context: http://gis.19327.n5.nabble.com/another-bug-tp5798951p5799003.html Sent from the Mkgmap Development mailing list archive at Nabble.com.

On 07/03/14 13:29, GerdP wrote:
Hi Steve,
please review the patch. It passes a new parameter collator to isSameByName(), but that parm is not used?
Yes I didn't write the main part of the patch! Attached patch fixes this and has been verified against the failing files supplied by Felix. ..Steve

thanks. I can confirm it compiled without error now. On 07.03.2014 14:32, Steve Ratcliffe wrote:
On 07/03/14 13:29, GerdP wrote:
Hi Steve,
please review the patch. It passes a new parameter collator to isSameByName(), but that parm is not used?
Yes I didn't write the main part of the patch!
Attached patch fixes this and has been verified against the failing files supplied by Felix.
..Steve
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- keep on biking and discovering new trails Felix openmtbmap.org & www.velomap.org
participants (4)
-
Felix Hartmann
-
Gerd Petermann
-
GerdP
-
Steve Ratcliffe