Re: [mkgmap-dev] Address search index questions.

2015-12-31 Thread Gerd Petermann
Hi Thomas, options.txt contains: --x-split-name-index A temporary option to enable indexing each part of a street name separately. So for example if the street is "Aleksandra Gryglewskiego" then you will be able to search for it as both "Aleksandra" and "Gryglewskiego". It will also

Re: [mkgmap-dev] Address search index questions.

2015-12-31 Thread Thomas Morgenstern
Hi, the option --x-splitt-name-index is new for me. Is a documentation for this option available ?. In ..\mkgmap-r3650\doc\options.txt it is not descripted. Can i use both options --index and --x-splitt-name-index togehter ? or only solo 1 option ? regards thomas On Dec 30, 2015, at 18:25,

Re: [mkgmap-dev] Address search index questions.

2015-12-31 Thread Gerd Petermann
I think these problems are better handled in the style, see inc/address: mkgmap:country=DEU & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8|subst:Gemeinde |subst:Stadt}' } or mkgmap:country=CAN & mkgmap:city!=* & mkgmap:admin_level8=* { set

Re: [mkgmap-dev] Address search index questions.

2015-12-31 Thread Diego Massanti
In fact it is not documented, it kind of works for street names, but not for cities. I haven't looked at the code, but i think that it separates the street names into words, and then adds all the words to the index. It would be great if we could implement this also for city names! // Diego >

Re: [mkgmap-dev] Address search index questions.

2015-12-31 Thread Diego Massanti
Well i live in Argentina, and our main capital is named “Ciudad Autonoma de Buenos Aires”, however some people will just refer to it as “Buenos Aires”. Im sure i can find some other examples specially in spanish, but so far i faced the problem when typing “Buenos Aires” and getting back zero

Re: [mkgmap-dev] Address search index questions.

2015-12-31 Thread Gerd Petermann
Hi Diego, do you have examples for such city names ? I can only think of e.g. San Francisco, New York etc. I think those would not benefit. Gerd Von: mkgmap-dev-boun...@lists.mkgmap.org.uk im Auftrag von Diego

Re: [mkgmap-dev] Address search index questions.

2015-12-31 Thread Paco Tyson
Hi Gerd, I can’t find this option in the latest mkgmap version 3656, neither in the accepted options nor in the options.txt file. Is this still in a branch ? Thanks, Paco > Le 31 déc. 2015 à 09:35, Gerd Petermann a > écrit : > > Hi Thomas, > > options.txt

Re: [mkgmap-dev] Address search index questions.

2015-12-31 Thread Colin Smale
I attempt to handle this kind of thing in the styles, for addresses in the Netherlands where the most significant part is usually the last word of the street name and the first few words may be "filler" information - often personal names/titles etc of famous people. Using the following rules I

Re: [mkgmap-dev] Address search index questions.

2015-12-31 Thread Paco Tyson
The option is indeed returned by "java -jar mkgmap.jar --help=options" I use mkgmap inside an Ant wrapper script : args are passed inside a file. If I add —x-split-name-index inside in this args file, mkgmap crashes with an exception. If I add the option as a command line arg (hardcoded in the

Re: [mkgmap-dev] Address search index questions.

2015-12-31 Thread Gerd Petermann
Hmm, no idea why you have that problem. You can use java -jar mkgmap.jar -help=options > options.txt Line 129 should contain the option. If that is not the case you probably don't use r3656. Gerd Von: mkgmap-dev-boun...@lists.mkgmap.org.uk

Re: [mkgmap-dev] Address search index questions.

2015-12-31 Thread Paco Tyson
Hhm, Gerd, please discard what I wrote below, I forgot to remove the 2 dashes in the option name when I added it to the option file. It is accepted in the option file. Sorry for the noise. Paco. > Le 31 déc. 2015 à 15:19, Paco Tyson a écrit : > > The option is indeed

Re: [mkgmap-dev] Address search index questions.

2015-12-31 Thread Gerd Petermann
Hi Thomas, when mkgmap prints the options it uses the file that is in the jar. You are right, the options.txt file that is included in the zip seems to be out-aged. I guess this is a problem in the build scripts. Gerd Von:

Re: [mkgmap-dev] Address search index questions.

2015-12-31 Thread Thomas Morgenstern
Hi, yes we can read the options using /java -jar mkgmap.jar -help=options > options.txt./ But it is a good idee, this actuall option.txt-version to includ in the download http://www.mkgmap.org.uk/download/mkgmap-r3656.zip. I this zip-file is only a old version without the new