Commit: r3076: Merge from the sort branch.

Version mkgmap-r3076 was committed by steve on Tue, 04 Mar 2014 Merge from the sort branch. This solves multiple problems searching for addresses when the default ascii character set is used, or when many characters cannot be represented in the target character set and have to be transliterated. Complete sort tables for code-pages: 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257 and 1258. A few corrections to the sorting algorithm so that sorting by sort-keys always gives the same result as sorting using the Collator. If anyone uses there own sort descriptions, then there is one change: everything is in terms of unicode. The file itself should be in utf-8 as before, but all characters with numeric references should be in unicode, rather than the target character set. There are numerous internal changes that are the beginnings of unicode support, but these changes are not visible, so unicode maps will still not be searchable.

El 04/03/14 23:44, svn commit escribió:
Version mkgmap-r3076 was committed by steve on Tue, 04 Mar 2014
Merge from the sort branch.
This solves multiple problems searching for addresses when the default ascii character set is used, or when many characters cannot be represented in the target character set and have to be transliterated.
Complete sort tables for code-pages: 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257 and 1258.
A few corrections to the sorting algorithm so that sorting by sort-keys always gives the same result as sorting using the Collator.
If anyone uses there own sort descriptions, then there is one change: everything is in terms of unicode. The file itself should be in utf-8 as before, but all characters with numeric references should be in unicode, rather than the target character set.
There are numerous internal changes that are the beginnings of unicode support, but these changes are not visible, so unicode maps will still not be searchable. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Using r3076 I get the following error both with my own style and with default style Exception in thread "main" java.lang.AssertionError at uk.me.parabola.imgfmt.app.mdr.Mdr20.buildFromStreets(Mdr20.java:70) 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)

El 05/03/14 10:00, Carlos Dávila escribió:
El 04/03/14 23:44, svn commit escribió:
Version mkgmap-r3076 was committed by steve on Tue, 04 Mar 2014
Merge from the sort branch.
This solves multiple problems searching for addresses when the default ascii character set is used, or when many characters cannot be represented in the target character set and have to be transliterated.
Complete sort tables for code-pages: 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257 and 1258.
A few corrections to the sorting algorithm so that sorting by sort-keys always gives the same result as sorting using the Collator.
If anyone uses there own sort descriptions, then there is one change: everything is in terms of unicode. The file itself should be in utf-8 as before, but all characters with numeric references should be in unicode, rather than the target character set.
There are numerous internal changes that are the beginnings of unicode support, but these changes are not visible, so unicode maps will still not be searchable. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Using r3076 I get the following error both with my own style and with default style Exception in thread "main" java.lang.AssertionError at uk.me.parabola.imgfmt.app.mdr.Mdr20.buildFromStreets(Mdr20.java:70) 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) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
My command: java -Xmx2000m -enableassertions -Dlog.config=logging.properties -jar mkgmap.jar --output-dir=../mapas/spain --max-jobs --bounds=bounds --precomp-sea=sea --route --latin1 --code-page=1252 --tdbfile --country-name=ESPAÑA --country-abbr=ESP --area-name=España --family-name="OpenStreetMap España" --family-id=114 --product-id=1 --series-name="OSM-España" --overview-mapname=ESP-114 --overview-mapnumber=55114000 --index --process-destination --process-exits --housenumbers --remove-short-arcs=0 --reduce-point-density=4 --reduce-point-density-polygon=8 --add-pois-to-areas --adjust-turn-headings --report-similar-arcs --link-pois-to-ways --location-autofill=is_in --drive-on-right --check-roundabouts --check-roundabout-flares --license-file=license_ODbL.txt --copyright-message="OpenStreetMap contributors, ODbL. See: http://www.openstreetmap.org/copyright" --check-styles -c spain.args -- Por favor, no me envíe documentos con extensiones .doc, .docx, .xls, .xlsx, .ppt, .pptx, .mdb, mdbx Instale LibreOffice desde http://es.libreoffice.org/descarga/ LibreOffice es libre: se puede copiar, modificar y redistribuir libremente. Gratis y totalmente legal. LibreOffice está en continuo desarrollo y no tendrá que pagar por las nuevas versiones.

Hi Carlos, I am able to reproduce the problem with a single tile from spain. @Steve: I've uploaded the tile: http://files.mkgmap.org.uk/download/182/63240018.o5m Options: java -ea -Xmx6800m -jar d:\mkgmap_tr\dist\mkgmap.jar --route --latin1 --code-page=1252 --bounds=f:\osm\bounds_20121118.zip --index --location-autofill=is_in 63240018.o5m It seems to be related to the bounds file, if I remove the option bounnds (with my old bounds file) the assertion doesn't catch. Gerd -- View this message in context: http://gis.19327.n5.nabble.com/Commit-r3076-Merge-from-the-sort-branch-tp579... Sent from the Mkgmap Development mailing list archive at Nabble.com.

On 05/03/14 11:17, GerdP wrote:
I am able to reproduce the problem with a single tile from spain. @Steve: I've uploaded the tile:
Thanks Gerd, I hadn't been able to reproduce or see how it could happen. The solution is probably just to ignore it instead of asserting, but I would like to understand a bit more first. ..Steve

Hi Carlos
Using r3076 I get the following error both with my own style and with default style Exception in thread "main" java.lang.AssertionError at uk.me.parabola.imgfmt.app.mdr.Mdr20.buildFromStreets(Mdr20.java:70)
Thanks for reporting this. It should be fixed with r3080 Best wishes ..Steve

El 05/03/14 16:50, Steve Ratcliffe escribió:
Hi Carlos
Using r3076 I get the following error both with my own style and with default style Exception in thread "main" java.lang.AssertionError at uk.me.parabola.imgfmt.app.mdr.Mdr20.buildFromStreets(Mdr20.java:70)
Thanks for reporting this. It should be fixed with r3080
Best wishes ..Steve
Thanks for the fix
participants (4)
-
Carlos Dávila
-
GerdP
-
Steve Ratcliffe
-
svn commit