[mkgmap-dev] Problems searching for California addresses
From Bill bill-mkgmap at halibut.com on Sat Mar 3 07:58:13 GMT 2012
Gerd, Thanks for the quick reply. That makes complete sense that a California extract wouldn't have information about a larger area that it is part of. I'm not sure why it resolved having ABC instead of actual county information, but it seems to have done that as well. I've replaced steps 3, 5 and 6 with downloading and extracting bounds information: http://www.navmaps.eu/wanmil/world_20120221.zip That seems to resolve issue 1) and 4). It now shows United States of America and all the cities I've seen have a reasonable county listed. Which leaves: 2) some cities not showing up. Examples Oakland (Major California City) and Fremont (Where I live) 3) some addresses associated with an incorrect city. Example Fremont addresses are associated with Livermore. Further Information: Of all the cities in Alameda County, only Livermore seems to be present. [Alameda, Albany, Berkeley,Dublin,Emeryville,Fremont,Irvington,Hayward,Newark,Oakland,Piedmont,Pleasanton,San Leandro,Union City] I was hoping that everything in Alameda County was now in Livermore, but locations in Oakland are in San Francisco. And locations in Albany are in Richmond. I've been able to find all of the Cities in Alameda except for Fremont and Irvington in this file: bounds_1750000_-5700000.bnd Since it is a binary file, I'm not quite sure what it says about them. Also it would appear that in Contra Costa County at least 2 cities Concord and Martinez are present, many others in Contra Costa are missing. Thanks, Bill On 03/02/2012 09:51 PM, GerdP wrote: > Hello Bill, > > some of the problems are caused by the fact that you use the california.o5m > to create the > bounds for california. This extract probably doesn't contain any usable > information about admin_level=2 boundaries like "USA". > You should either use a larger extract (e.g. north america) to create the > bounds or download > the precompiled boundaries created by WanMil: > > http://www.navmaps.eu/wanmil/ > > Please try that first. > > Gerd > > > Bill wrote >> 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
- Previous message: [mkgmap-dev] Problems searching for California addresses
- Next message: [mkgmap-dev] Problems searching for California addresses
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list