no cities found on large areas with --x-split-name-index option

Hi, I ran into a problem with the --x-split-name-index option. When I build the geofabrik extract for Ontario with the following options, the 'Where to -> Cities -> Spell Name' works properly. http://download.geofabrik.de/north-america/canada/ontario-latest.osm.pbf java -jar splitter/dist/splitter.jar --geonames-file=cities1000.zip --output=o5m --mapid=20244000 --max-threads=1 --status-freq=0 --max-areas=50 ontario-latest.osm.pbf java -jar mkgmap/dist/mkgmap.jar --route --add-pois-to-areas --bounds=bounds_20160628.zip --index --gmapsupp --housenumbers -c template.args --x-split-name-index --description="Ontario Test" When I build the geofabrik extract for Canada with the same options, the 'Where to -> Cities -> Spell Name' doesn't work. http://download.geofabrik.de/north-america/canada-latest.osm.pbf java -jar splitter/dist/splitter.jar --geonames-file=cities1000.zip --output=o5m --mapid=20244000 --max-threads=1 --status-freq=0 --max-areas=50 canada-latest.osm.pbf java -jar mkgmap/dist/mkgmap.jar --route --add-pois-to-areas --bounds=bounds_20160628.zip --index --gmapsupp --housenumbers -c template.args --x-split-name-index --description="Canada Test" For the map of Canada, the cities still show up in the list but they aren't found if you search for them. Removing --x-split-name-index fixes the problem. It's not a huge issue because I can just remove this option but I did want to report the problem to you. Thanks, Ben

On Tue, Jul 05, Ben Konrath wrote:
For the map of Canada, the cities still show up in the list but they aren't found if you search for them. Removing --x-split-name-index fixes the problem. It's not a huge issue because I can just remove this option but I did want to report the problem to you.
I saw this already for cities, too. Looks like to me, af if the index get's too big, some devices will not use it anymore. I guess if you search for cities in the near, they are still shown? I have the same problem if my maps have too many POI: in that case, suddenly some POIs will not be found anymore via the normal search. But searching for POIs in the near will display them. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

On Tue, Jul 5, 2016 at 3:24 PM, Thorsten Kukuk <kukuk@suse.de> wrote:
I guess if you search for cities in the near, they are still shown?
Yeah, I can see the cities but I can't search for them by name. It might be a good idea for mkgmap to print a warning or fail when the index gets too big. But as you said, this might be device specific so it might not be possible to know exactly where the limit is. Thanks for passing along this info. Ben

On Tue, Jul 05, Ben Konrath wrote:
On Tue, Jul 5, 2016 at 3:24 PM, Thorsten Kukuk <kukuk@suse.de> wrote:
I guess if you search for cities in the near, they are still shown?
Yeah, I can see the cities but I can't search for them by name.
It might be a good idea for mkgmap to print a warning or fail when the index gets too big. But as you said, this might be device specific so it might not be possible to know exactly where the limit is.
This is device specific and it looks like from quite some other factors, too. At least I didn't found anything reliable. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
participants (2)
-
Ben Konrath
-
Thorsten Kukuk