logo separator

[mkgmap-dev] Problems searching for California addresses

From Bill bill-mkgmap at halibut.com on Sat Mar 3 03:42:35 GMT 2012

I've been using mkgmap to compile a California map for my Garmin for a 
while now, and was excited to see that addressing was being supported, 
but I'm having troubles getting this new feature to work as I expect.

System Information:
OS: 64-bit Ubuntu 11.10
GPS: Garmin Montana 650 software version 3.80

These are the steps I have taken:
1) Download california.osm.bz2 from cloudmade.com last updated 13 
December 2011
http://downloads.cloudmade.com/americas/northern_america/united_states/california#downloads_breadcrumbs

2) Use osmconvert version 0.5Z to convert to pbf
bzcat california.osm.bz2 | ./osmconvert32 - -o=california.pbf

3) Use osmconvert version 0.5Z to convert to o5m
./osmconvert32 california.pbf -o=california.o5m

4) Use splitter version r200 to create tiled osm.pbf files
java -Xmx2000m -jar splitter.jar --mapid=63240001 california.pbf

5) Use osmfilter version 1.2M to create california-boundaries.osm
./osmfilter32 california.o5m --keep-nodes= 
--keep-ways-relations="boundary=administrative =postal_code 
postal_code=" > california-boundaries.osm

6) Use mkgmap version r2227 to create bounds directory
java -Xmx2500M -jar mkgmap.jar --createboundsfile=california-boundaries.osm

I get the following printouts, but I don't believe them to be critical:
SEVERE (BoundarySaver): Calculate bbox to 
(32.18650817871094,-124.45449829101562) to 
(41.84246063232422,-114.79854583740234)
SEVERE (BoundarySaver): Calculate bbox to 
(32.18650817871094,-124.45449829101562) to 
(41.84246063232422,-114.79854583740234)

7) Use mkgmap version r2227 to create gmapsupp.img file from the tiles 
and bounds directory
java -Xmx2500m -jar mkgmap.jar --route --remove-short-arcs 
--add-pois-to-areas --index --gmapsupp *.osm.pbf

This creates a valid Garmin map image that loads and displays map 
information on the device as expected, however I notice the following 
when trying to search for addresses on the Garmin Montana:
1) The only Country I can select is "Country", not USA or United States 
of America
2) City names hit and miss.  "San Francisco" shows up as "San Francisco, 
ABC" but "Sacramento" isn't found.
3) Some addresses have incorrect city information, for example address 
that should be in "Fremont, Alameda County" are showing up under 
"Livermore, ABC".
4) Only some County names are showing up.  "Ontario, Riverside Country" 
others like "San Francisco" show up as ABC.

Any ideas on where these problems are occurring?  I can search on 
openstreetmap.org and it appears to have the correct information as far 
as city, county and country, but I beyond that I haven't figured out how 
to verify when and where the data is correct or not.

Thanks,
   Bill






More information about the mkgmap-dev mailing list