
Hi, I still cannot get --index to work on the GPS. Find places in Mapsource is available, but the state/province is greyed out. In the GPS address search is still unavailable. It requires a province name, which it can’t find.(nothing new, but expected to be solved with --index) I set the --region-name & --location-autofill, but it does not seem to have an effect. City search in Mapsource shows City, City, Country indicating that the region info is maybe lost somewhere (if I understand this correct it should be City, City, Region, Country). This is actualy confusing. If I compile without --region-name, the Find shows up as City, City (leaving out the default ABC *country*name that shows up when compiled with --Region-name=***).Does this mean that region is actualy an alternative for country and not for province? The problem could also be device specific. I use a Nuvi 200W (SW Ver 4.00 & unwilling to update), and maybe it just can't cope, but it seems to me that the region province info is already missing in MapSource, so I don't want to give up on the device just yet. Could it be insufficient OSM data? I don't understand relations very well, but I have seen is_in info in the data, with province names (although I don't see where the device will be informed that it is a province name). Should the province be set as a point / node somewhere or is province / region data just collected from cities' / streets' is_in info, or maybe from the relations of admin borders? Shouldn't --region-name option overide bad OSM data in this case (I mean provide region info that is not available from the OSM data- but then again if region is not equivalent to province it won't help) What exactly is the difference between --region-name and --country-name? Can someone please direct me to an OSM area (small if possible) that is known to work correct, and indicate the --options used to compile a map. My apologies if this is a known issue and I missed it somewhere. Zipped forum archives remains unavailable to me. Do you plan to include --index in resources\help\en\options soon? Something like: --index creates mdr & mdx files to enable address searching. It will make the FIND PLACES function in MapSource available, and should enable address searching on a GPS if the maps are send to the GPS via mapsource. If --overview-mapname is not specified it will default to "OSM Map". This will make --road-name-pois redundant if the GPS unit is compatible. *Should the --tdbfile option still be used?* The reg file should look something like this: REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\families\FamilyName] "ID"= hex:CD,AB #hex format of family Id; least significant byte, most significant byte; Ax163 Bx162 Cx161 Dx160 "IDX"="C:\\Garmin\\OSM\\ TDBFileName.mdx" "MDR"="C:\\Garmin\\OSM\\ \TDBFileName_mdr.img" [HKEY_LOCAL_MACHINE\SOFTWARE\Garmin\MapSource\families\FamilyName\ProductID] "LOC"="C:\\Garmin\\OSM\\ " "BMAP"="C:\\Garmin\\OSM\\ TDBFileName.img" "TDB"="C:\\Garmin\\OSM\\ TDBFileName.tdb" Regards BennieD

On 27/10/09 10:46, Bennie du Plessis wrote:
Find places in Mapsource is available, but the state/province is greyed out.
In the GPS address search is still unavailable.
That sounds like you have no regions at all. Which country is this? In the UK there are only a few places that actually get a region name, so restricting by region name is not very useful here either.
It requires a province name, which it can’t find.(nothing new, but expected to be solved with --index)
I set the --region-name & --location-autofill, but it does not seem to have an effect.
These options need to be given when you are creating the individual img files, I've just tried it to make sure it is still working and it does indeed give the specified name to all cities that don't already have a region name. They don't have any effect when creating the index, but I suppose the region-name one could, although it would be better to provide it on the individual tiles so that you get at least some division of the country.
City search in Mapsource shows City, City, Country indicating that the region info is maybe lost somewhere (if I understand this correct it should be City, City, Region, Country). This is actualy confusing. If I compile without --region-name, the Find shows up as City, City (leaving out the default ABC _country_name that shows up when compiled with --Region-name=***).Does this mean that region is actualy an alternative for country and not for province?
That seems a little strange. I am sure that region-name sets the default region name and not the country name. There is a country-name option which you could try too.
Could it be insufficient OSM data? I don't understand relations very
Yes this is the basic problem. The data we need isn't and will never be in the main OSM database. You really need to pre-process the the data to add region information to every POI and road using a set of polygons with the region boundries. There is probably something suitable out there to this. We could do this step inside mkgmap too by adding an option to read a file containing polyons for each region.
Do you plan to include --index in resources\help\en\options soon?
I will do, thanks. ..Steve

Bennie du Plessis schrieb:
I still cannot get --index to work on the GPS.
me neither. In order to play with it: I use --delete-tags-file to delete all "is_in" Tags, use --country-name=germany --country-abbr=DE --region-name=DE --region-abbr=DE, to set everything to region "DE". In MapSource : Search cities : Only value in State/Province is "De". In box "City" I see the city I am searching, but when I click on "search", MS crashes with: <SourceFileName>MPL_UTILITIES.CPP</SourceFileName> <SourceFileLine>386</SourceFileLine> Index file: C:\Downloads\ai1\img\osmmap.mdx FindMapInFamily Family id: 3 Map id: 63240001 <VersionMajor>6</VersionMajor> <VersionMinor>13</VersionMinor> <BuildMajor>7</BuildMajor> <BuildMinor>0</BuildMinor> Address Search: I see all Cities and Streets in the boxes but "search" gives no result. mkgmap V1337 Chris

Chris-Hein Lunkhusen schrieb:
Bennie du Plessis schrieb:
I still cannot get --index to work on the GPS.
me neither.
Ok, I retried with V1340 and use the same options like Felix i.e. --index and --location-autofill=1, now I can search in MS. I've send Felix' openmtbmap to the Nuvi 250, but this device is still asking for a State/Provinz and no search is possible. Chris
participants (3)
-
Bennie du Plessis
-
Chris-Hein Lunkhusen
-
Steve Ratcliffe