logo separator

[mkgmap-dev] Unable to search for Address - GPSMAP64s

From Gerd Petermann gpetermann_muenchen at hotmail.com on Mon Jul 20 07:55:36 BST 2020

Hi Andrew,

forgot to mention a general problem with self computed bounds: The extract may not contain the complete boundary data for Canada. In that case the computed bounds may not work well. Try to download the bounds for planet from http://osm.thkukuk.de/data/bounds-latest.zip and check if they produce the wanted results.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen at hotmail.com>
Gesendet: Montag, 20. Juli 2020 08:14
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Unable to search for Address - GPSMAP64s

Hi Andrew,

the only thing that looks wrong is --country-abbr='CA'. This should be the 3-letter code --country-abbr='CAN' .
No idea if this can be the reason for the problems.
Relative paths are difficult to understand, so maybe mkgmap doesn't find the bounds in the bounds directory? If yes there should be a corresponding error message, if everything works fine you shoud not need the options --country-name and --country-abbr.
You use the default family id 6324 and file names 6324*.img . Make sure there is no other map with these ids on your device (no matter if it is activated or not)

Gerd


________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Andrew Morris <drew101 at shaw.ca>
Gesendet: Montag, 20. Juli 2020 07:38
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: [mkgmap-dev] Unable to search for Address - GPSMAP64s

I finally got my map conversion working and the maps load fine.  I can
pick a location on the map and routing works as well as ever (there were
always issues over the shortest distance/fastest route with Garmins).
The problem is I can't search by address, which is kind of important.

Only cities on the Basemap are being found, and only a few addresses. If
I zoom in on a point on the map the street being searched for is shown
on the map and in fact I can pick an address by that method.

So, here's what I'm doing, but I'm obviously doing something wrong:
(I installed all the jar files under /opt/mkgmap)

osmconvert canada-latest.osm.pbf -o=canada-latest.o5m
osmfilter canada-latest.o5m \
   --keep-nodes= \
   --keep-ways-relations="boundary=administrative =postal_code
postal_code=" \
   -o=canada-latest-boundries.o5m

mkdir bounds
java -cp /opt/mkgmap/mkgmap.jar \
      uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor \
      canada-latest-boundries.o5m bounds

mkdir work
( cd work ; java -jar /opt/mkgmap/splitter.jar ../canada-latest.osm.pbf )

( cd work ; java -jar /opt/mkgmap/mkgmap.jar \
                  --route --add-pois-to-areas --preserve-element-order \
                  --housenumbers --process-exits --process-destination \
                  --split-name-index \
                  --bounds=../bounds --precomp-sea=../sea-latest.zip \
                  --series-name='Canada OSM 2020' \
                  --family-name='Canada OSM 2020' \
                  --area-name='Canada OSM 2020' \
                  --country-name='Canada' --country-abbr='CA' \
                  --description='Canada OpenStreetMap (2020)' \
                  --index --gmapsupp 6324*.osm.pbf )

The only thing I can think of is I'm doing something wrong with
osmfilter and removing too much information...

If there's some sort of check I can do on the resulting gmapsup.img
file, let me know and I'll get the results.

Thanks for any help you can provide!

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list