Re: [mkgmap-dev] [mkgmap-svn] Commit: r1826: Cities should be a lot better now.

Version 1826 was commited by steve on 2011-02-04 23:50:16 +0000 (Fri, 04 Feb 2011) BRANCH: index
Cities should be a lot better now.
Or maybe not... The changes were about reading the cities and fetching the names which I believe is improved although it doesn't have an affect on anything visible. I do most of my testing for street+city search on a version 6.10.2 MapSource where it has always worked. However I've now found that street+city does not work at all on a fully up-to-date version of MapSource with the exact same map. So the latest checkin may have broken city+street search again for later versions of MapSource. ..Steve

El 05/02/11 15:15, Steve Ratcliffe escribió:
Version 1826 was commited by steve on 2011-02-04 23:50:16 +0000 (Fri, 04 Feb 2011) BRANCH: index
Cities should be a lot better now.
Or maybe not... The changes were about reading the cities and fetching the names which I believe is improved although it doesn't have an affect on anything visible.
I do most of my testing for street+city search on a version 6.10.2 MapSource where it has always worked.
However I've now found that street+city does not work at all on a fully up-to-date version of MapSource with the exact same map.
So the latest checkin may have broken city+street search again for later versions of MapSource.
..Steve _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
I get an error with the 9-tiles test map, with r1825 and r1826 Exception in thread "main" java.lang.AssertionError at uk.me.parabola.imgfmt.app.mdr.Mdr23.sortRegions(Mdr23.java:68) at uk.me.parabola.imgfmt.app.mdr.MDRFile.writeSections(MDRFile.java:242) at uk.me.parabola.imgfmt.app.mdr.MDRFile.write(MDRFile.java:221) at uk.me.parabola.mkgmap.combiners.MdrBuilder.onFinish(MdrBuilder.java:331) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:419) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:126) at uk.me.parabola.mkgmap.main.Main.main(Main.java:129) Command exited with non-zero status 1 r1826: Street+city search works in both 1-tile and 2-tiles maps. Sending to device fails in both maps at about 15% "Creating index files"

I get an error with the 9-tiles test map, with r1825 and r1826 Exception in thread "main" java.lang.AssertionError at uk.me.parabola.imgfmt.app.mdr.Mdr23.sortRegions(Mdr23.java:68)
Interesting. I think that the only way that can happen is if the first region (after sorting) has an empty name. But that is not supposed to be possible -- all regions should have a name. Perhaps we are not filtering them out if they occur in the data. ..Steve

El 05/02/11 18:00, Steve Ratcliffe escribió:
I get an error with the 9-tiles test map, with r1825 and r1826 Exception in thread "main" java.lang.AssertionError at uk.me.parabola.imgfmt.app.mdr.Mdr23.sortRegions(Mdr23.java:68)
Interesting. I think that the only way that can happen is if the first region (after sorting) has an empty name.
But that is not supposed to be possible -- all regions should have a name.
Perhaps we are not filtering them out if they occur in the data.
..Steve _____________
Still the same exception with r1831. I have reduced the size of the offending tile with max-nodes=100000. You can download it from http://mapas.alternativaslibres.es/55140003.osm.gz Splitter data for the tile: Area (41.8798828125,-8.7451171875) to (42.2314453125,-8.3056640625) contains 69.566 nodes. DONE! Area 55140003 covers (0x1dc800,0xfff9c800) to (0x1e0800,0xfffa1800) ES-Ponteareas

Hi
Still the same exception with r1831. I have reduced the size of the offending tile with max-nodes=100000. You can download it from http://mapas.alternativaslibres.es/55140003.osm.gz
OK thanks, I've downloaded the file to check it. I am going to work on regions next. ..Steve

I'm curious how does mkgmap create a city index for streets. Does it: 1. use admin relations to tag that a street segment is within the city boundary; 2. use nearest place:city node to associate a street to a city; 3. a street way should have a is_in whatever tag On Sat, Feb 5, 2011 at 10:15 PM, Steve Ratcliffe <steve@parabola.me.uk> wrote:
Version 1826 was commited by steve on 2011-02-04 23:50:16 +0000 (Fri, 04 Feb 2011) BRANCH: index
Cities should be a lot better now.
-- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------
participants (3)
-
Carlos Dávila
-
maning sambale
-
Steve Ratcliffe