[mkgmap-dev] multi-word street search
From Steve Ratcliffe steve at parabola.me.uk on Mon Dec 8 23:26:13 GMT 2014
Hi OK I will remove all that code tomorrow, as it is not required. I think that problem mostly happens on small files. Steve On 8 December 2014 22:12:24 GMT+00:00, "Carlos Dávila" <cdavilam at orangecorreo.es> wrote: >El 08/12/14 a las 16:57, Andrzej Popowski escribió: >> Hi Steve, >> >> I have looked at "mixed-index" branch. I see I have repeated your >> idea, only in a more crude way. >> >> IMHO you could release this version without optimization for popular >> words. This should be already usable. >> >> I would add some ideas. For example you could split label not only on > >> spaces but on hyphen "-" too. This probably would help with German >> streets and some hyphenated names. >> >> As for detecting popular words, I think this should be done for each >> language separately. Would be easier to analyze results and would >help >> in case where word has different meaning in different countries - it >> could be deleted only in one language. >> >> A note: I think original label should be always indexed. In current >> version you won't find way named Calle in Germany: >> http://www.openstreetmap.org/way/26258052 >> >I'm testing mixed-index jar, but get the error below with default style > >and with mine when the index is being created: >Exception in thread "main" java.lang.StringIndexOutOfBoundsException: >String index out of range: 0 > at java.lang.String.charAt(String.java:658) > at uk.me.parabola.imgfmt.app.mdr.Mdr7.createPartials(Mdr7.java:162) > at uk.me.parabola.imgfmt.app.mdr.Mdr7.preWriteImpl(Mdr7.java:108) > at >uk.me.parabola.imgfmt.app.mdr.MdrSection.preWrite(MdrSection.java:129) > at >uk.me.parabola.imgfmt.app.mdr.MDRFile.writeSections(MDRFile.java:308) > at uk.me.parabola.imgfmt.app.mdr.MDRFile.write(MDRFile.java:247) > at >uk.me.parabola.mkgmap.combiners.MdrBuilder.onFinish(MdrBuilder.java:338) > at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:575) > at >uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128) > at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:134) > at uk.me.parabola.mkgmap.main.Main.main(Main.java:105) > >_______________________________________________ >mkgmap-dev mailing list >mkgmap-dev at lists.mkgmap.org.uk >http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] multi-word street search
- Next message: [mkgmap-dev] multi-word street search
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list