
Hi all, I've added addr:place support with r3527. Please note that this required some hacks like duplicating roads where the copies are not routable and adding/changing labels. I did not find routing or rendering problems, but I would not be surprised to hear about them. Please test and let me know. TODO : cleanup and improve code that splits intervals and the methods to find close objects. Gerd

Hi, I've found one problem: When some houses in a hamlet have addr:street=* and other have addr:place=hamlet the address search can find a good hit but maybe also wrong positives. Consider it as work in progress. From: gpetermann_muenchen@hotmail.com To: mkgmap-dev@lists.mkgmap.org.uk Date: Wed, 8 Apr 2015 12:25:34 +0200 Subject: [mkgmap-dev] r3527 Hi all, I've added addr:place support with r3527. Please note that this required some hacks like duplicating roads where the copies are not routable and adding/changing labels. I did not find routing or rendering problems, but I would not be surprised to hear about them. Please test and let me know. TODO : cleanup and improve code that splits intervals and the methods to find close objects. Gerd _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi, with the housenumber2 branch (r3529) + the changes from trunk (r3531), I get the following: java.lang.ArrayIndexOutOfBoundsException at uk.me.parabola.mkgmap.osmstyle.housenumber.ExtNumbers.splitLargeGaps(ExtNumbers.java:1577) at uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberRoad.improveSearchResults(HousenumberRoad.java:539) at uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberGenerator.improveSearchResults(HousenumberGenerator.java:1223) at uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberGenerator.buildNumberIntervals(HousenumberGenerator.java:1163) at uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberGenerator.matchCluster(HousenumberGenerator.java:717) at uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberGenerator.generate(HousenumberGenerator.java:506) at uk.me.parabola.mkgmap.osmstyle.StyledConverter.end(StyledConverter.java:607) at uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:250) at uk.me.parabola.mkgmap.reader.osm.bin.OsmBinMapDataSource.load(OsmBinMapDataSource.java:67) at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:130) at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:167) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:63) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:253) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:249) at java.util.concurrent.FutureTask.run(FutureTask.java:274) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627) at java.lang.Thread.run(Thread.java:863) -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)

Hi Thorsten, please provide the input file. Gerd
Date: Fri, 10 Apr 2015 15:05:27 +0200 From: kukuk@suse.de To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] ArrayIndexOutOfBoundsException with housenumber2
Hi,
with the housenumber2 branch (r3529) + the changes from trunk (r3531), I get the following:
java.lang.ArrayIndexOutOfBoundsException at uk.me.parabola.mkgmap.osmstyle.housenumber.ExtNumbers.splitLargeGaps(ExtNumbers.java:1577) at uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberRoad.improveSearchResults(HousenumberRoad.java:539) at uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberGenerator.improveSearchResults(HousenumberGenerator.java:1223) at uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberGenerator.buildNumberIntervals(HousenumberGenerator.java:1163) at uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberGenerator.matchCluster(HousenumberGenerator.java:717) at uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberGenerator.generate(HousenumberGenerator.java:506) at uk.me.parabola.mkgmap.osmstyle.StyledConverter.end(StyledConverter.java:607) at uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:250) at uk.me.parabola.mkgmap.reader.osm.bin.OsmBinMapDataSource.load(OsmBinMapDataSource.java:67) at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:130) at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:167) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:63) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:253) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:249) at java.util.concurrent.FutureTask.run(FutureTask.java:274) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627) at java.lang.Thread.run(Thread.java:863)
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

On Fri, Apr 10, Gerd Petermann wrote:
Hi Thorsten,
please provide the input file.
http://osm.thkukuk.de/tmp/71200003.osm.pbf -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)

On Fri, Apr 10, Thorsten Kukuk wrote:
On Fri, Apr 10, Gerd Petermann wrote:
Hi Thorsten,
please provide the input file.
And here are the last SEVERE log messages: 2015/04/10 15:27:16 SEVERE (ExtNumbers): 71200003.osm.pbf: internal error, house has wrong segment id=22766185, Mrsche house 10(1) http://www.openstreetmap.org/way/272520329 2015/04/10 15:27:16 SEVERE (ExtNumbers): 71200003.osm.pbf: internal error, house has wrong segment id=22766185, Mrsche house 8(1) http://www.openstreetmap.org/way/272520280 2015/04/10 15:27:16 SEVERE (ExtNumbers): 71200003.osm.pbf: internal error, house has wrong segment id=22766185, Mrsche house 9(1) http://www.openstreetmap.org/way/272520282 2015/04/10 15:27:16 SEVERE (ExtNumbers): 71200003.osm.pbf: internal error, house has wrong segment id=22766185, Mrsche house 19(4) http://www.openstreetmap.org/way/272520345 2015/04/10 15:27:16 SEVERE (ExtNumbers): 71200003.osm.pbf: internal error, house has wrong segment id=22766185, Mrsche house 20(4) http://www.openstreetmap.org/way/272520357 2015/04/10 15:27:16 SEVERE (ExtNumbers): 71200003.osm.pbf: internal error, house has wrong segment id=22766185, Mrsche house 21(4) http://www.openstreetmap.org/way/272520341 2015/04/10 15:27:16 SEVERE (ExtNumbers): 71200003.osm.pbf: internal error, house has wrong segment id=22766185, Mrsche house 25(7) http://www.openstreetmap.org/way/272520348 2015/04/10 15:27:16 SEVERE (ExtNumbers): 71200003.osm.pbf: lost houses 2015/04/10 15:27:16 SEVERE (ExtNumbers): 71200003.osm.pbf: lost houses -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)

Hi Thorsten, yes, got that as well with r3529 and default style using java -Xmx6800m -jar d:\mkgmap\dist\mkgmap_r3529.jar --route --housenumbers 71200003.osm.pbf Gerd
Date: Fri, 10 Apr 2015 15:29:55 +0200 From: kukuk@suse.de To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] ArrayIndexOutOfBoundsException with housenumber2
On Fri, Apr 10, Thorsten Kukuk wrote:
On Fri, Apr 10, Gerd Petermann wrote:
Hi Thorsten,
please provide the input file.
And here are the last SEVERE log messages: 2015/04/10 15:27:16 SEVERE (ExtNumbers): 71200003.osm.pbf: internal error, house has wrong segment id=22766185, Mrsche house 10(1) http://www.openstreetmap.org/way/272520329 2015/04/10 15:27:16 SEVERE (ExtNumbers): 71200003.osm.pbf: internal error, house has wrong segment id=22766185, Mrsche house 8(1) http://www.openstreetmap.org/way/272520280 2015/04/10 15:27:16 SEVERE (ExtNumbers): 71200003.osm.pbf: internal error, house has wrong segment id=22766185, Mrsche house 9(1) http://www.openstreetmap.org/way/272520282 2015/04/10 15:27:16 SEVERE (ExtNumbers): 71200003.osm.pbf: internal error, house has wrong segment id=22766185, Mrsche house 19(4) http://www.openstreetmap.org/way/272520345 2015/04/10 15:27:16 SEVERE (ExtNumbers): 71200003.osm.pbf: internal error, house has wrong segment id=22766185, Mrsche house 20(4) http://www.openstreetmap.org/way/272520357 2015/04/10 15:27:16 SEVERE (ExtNumbers): 71200003.osm.pbf: internal error, house has wrong segment id=22766185, Mrsche house 21(4) http://www.openstreetmap.org/way/272520341 2015/04/10 15:27:16 SEVERE (ExtNumbers): 71200003.osm.pbf: internal error, house has wrong segment id=22766185, Mrsche house 25(7) http://www.openstreetmap.org/way/272520348 2015/04/10 15:27:16 SEVERE (ExtNumbers): 71200003.osm.pbf: lost houses 2015/04/10 15:27:16 SEVERE (ExtNumbers): 71200003.osm.pbf: lost houses
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

On Fri, Apr 10, Gerd Petermann wrote:
Hi Thorsten,
yes, got that as well with r3529 and default style using java -Xmx6800m -jar d:\mkgmap\dist\mkgmap_r3529.jar --route --housenumbers 71200003.osm.pbf
r3526 is working, r3527 not. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)

Hi Thorsten, please try r3553. Seems to fix the problems reported by you, but not (yet) the one that I have found. Gerd
Date: Fri, 10 Apr 2015 15:33:22 +0200 From: kukuk@suse.de To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] ArrayIndexOutOfBoundsException with housenumber2
On Fri, Apr 10, Gerd Petermann wrote:
Hi Thorsten,
yes, got that as well with r3529 and default style using java -Xmx6800m -jar d:\mkgmap\dist\mkgmap_r3529.jar --route --housenumbers 71200003.osm.pbf
r3526 is working, r3527 not.
Thorsten
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (2)
-
Gerd Petermann
-
Thorsten Kukuk