Hi Stéphane,

I think I saw similar problems while traveling through
Europe using a map created by
http://garmin.openstreetmap.nl/
with Minkos "Openfietsmap Lite" style.

One reason could be that the different
indexes are build from different sources.
The list of cities is build from POI with
        type >= 0x0100 && type <= 0x1100;
while cities in address search are retrieved from
mkgmap:city and there is no need to know
"where" the centre of the city is.

So, you should check your style to make sure that
it uses the special "city POI types" like the default
style does.
If that doesn't help, we may add a check to report
city names occuring in addresses which do not
have a corresponding POI.

Gerd
 


> Date: Fri, 26 Jun 2015 19:32:58 -0300
> From: st3ph.martin@laposte.net
> To: mkgmap-dev@lists.mkgmap.org.uk
> Subject: [mkgmap-dev] No cities found
>
> Hi all,
>
> - Tested with ‘etrex 30’ and (very old) ‘etrex Vista Cx’.
> - Issue with my last map of France: big file (perhaps the problem), 1.6
> Go, but not with the map for French Guiana, 4 Mo.
> - mkgmap-r3620
>
> On the devices, I can search an address, with city's name, country. All
> is found.
> But if I search with ‘Where To?’ -> Cities, I found nothing !
>
> Files, options are the same. Just, France gmapsupp is bigger !
>
> My options:
>
> - splitter:
>
> splitter.jar --keep-complete=true
> --problem-report=problem-report-splitter.txt \
> --geonames-file="$WORKDIR"/cities15000.zip \
> --max-nodes=$MAXNODES --no-trim --precomp-sea="$WORKDIR"/sea.zip
> --write-kml="$COUNTRY".kml --mapid=$MAPID \
> --output=pbf --max-areas=$MAXAREAS \
>
> - mkgmap:
>
> mkgmap.jar --gmapsupp \
> --max-jobs --latin1 --area-name=$COUNTRY \
> --bounds=../bounds.zip \
> --net --route \
> --index --tdbfile --housenumbers \
> --x-split-name-index \
> --location-autofill=is_in,nearest \
> --name-tag-list=name:fr,int_name,name \
> --adjust-turn-headings \
> --process-destination --process-exits \
> --x-add-indirect-links \
> --verbose \
> --style-file="$WORKDIR/styles/$STYLE/" \
> --list-styles --check-styles \
> --family-name="$COUNTRY OSM $STYLE" \
> --series-name="$COUNTRY-OSM-$STYLE" \
> --mapname=$MAPNAME \
> --overview-mapnumber=$MAPNAME \
> --reduce-point-density=4 --reduce-point-density-polygon=8 \
> --polygon-size-limits="24:12, 18:10, 16:8, 14:4, 12:2, 11:0" \
> --preserve-element-order \
> --add-pois-to-lines \
> --add-pois-to-areas \
> --report-similar-arcs \
> --link-pois-to-ways \
> --min-size-polygon \
> --drive-on=detect --check-roundabouts --check-roundabout-flares \
> --make-opposite-cycleways \
> --country-name="$COUNTRY" --country-abbr="$ABBR" \
> --precomp-sea="$WORKDIR/sea.zip" --generate-sea=multipolygon \
>
> Regards.
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev