Inconsistent search function

An user of my Central America & Carib map [1] reported some problems searching for POI's. I've been testing it and found some inconsistency in the way search function works between MapSource/BaseCamp, Legend HCx and nuvi 300. MapSource: if I search for a POI called "La Bodeguita" (under all POI or Food & Drink categories) it finds La Bodeguita [2] and La Bodeguita del Medio [3] (no information about city/country is displayed). If I search for a POI called "Bar2", it finds "Bar2 del Malecon" [4] (no information about city/country is displayed). Under the City tab, if I introduce "C" in country box, the following countries are displayed: Cayman Islands (CYM), COL (Colombia), Colombia (COL), Costa Rica (CRI), Country, CRI (Costa Rica), CUB (Cuba), Cuba (CUB), CYM (Cayman Islands). BaseCamp: searching for "La Bodeguita" returns: La Bodeguita del Medio, Ciudad de la Habana, CUB and La Bodeguita, DOM. Bar2 returns Bar2 del Malecon, Ciudad de la Habana, CUB. HCx: If I search for "La Bodeguita", only La Bodeguita is found (no city/country). Searching for Bar2, it returns "Bar2 del Malecon, Ciudad de la Habana". nuvi 300: it finds: La Bodeguita del Medio, Ciudad de la Habana; La Bodeguita (no city/country); Bar2 del Malecon, Ciudad de la Habana. If I try to find an address, and type "C" at the "Spell country" prompt, only Costa Rica and Country can be found. Results are the same with MapSource or mkgmap generated gmapsupp. None of the objects found has any is_in:* or addr:* information, so city/country must be gathered from admin boundaries. I use default mkgmap:place rules in my style. Map is generated with the following options (among others): --bounds=bounds --latin1 --code-page=1252 --area-name=$MAPA --family-name="OpenStreetMap $MAPA" --series-name="OSM-$MAPA" --index --road-name-pois=0x640a --add-pois-to-areas --link-pois-to-ways --location-autofill=is_in ($MAPA=Central America) Any idea why these differences happen and how to fix them? Why some POI/Countries are not found? [1] http://mapas.alternativaslibres.es/OpenStreetMap_Central-America.exe [2] http://www.openstreetmap.org/browse/node/596635668 [3] http://www.openstreetmap.org/browse/node/355338535 [4] http://www.openstreetmap.org/browse/node/1849671117

Hola el problema de cuba y de la habana es que el mapa falta de muchos datos en los POI Creo que tenemos que poner una regla para los POI y los boundary (la mas reales es como la de puertorico o la de colombia) Los navigadores tengon programa diferente de buscador y creo algunos q se equivocan en las informaccion city/country. Hello Cuba y the habana city have some errors in POI points. I think thas is necesary to make a rule for POI and boundary ( look like colombia, puertorico boudary rules). The search problem is for the different gps software that see in different mode the poi information. Isnt easy to resolve. -----Messaggio originale----- Da: mkgmap-dev-bounces@lists.mkgmap.org.uk [mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk] Per conto di Carlos Dávila Inviato: sabato 10 novembre 2012 12.07 A: Development list for mkgmap Oggetto: [mkgmap-dev] Inconsistent search function An user of my Central America & Carib map [1] reported some problems searching for POI's. I've been testing it and found some inconsistency in the way search function works between MapSource/BaseCamp, Legend HCx and nuvi 300. MapSource: if I search for a POI called "La Bodeguita" (under all POI or Food & Drink categories) it finds La Bodeguita [2] and La Bodeguita del Medio [3] (no information about city/country is displayed). If I search for a POI called "Bar2", it finds "Bar2 del Malecon" [4] (no information about city/country is displayed). Under the City tab, if I introduce "C" in country box, the following countries are displayed: Cayman Islands (CYM), COL (Colombia), Colombia (COL), Costa Rica (CRI), Country, CRI (Costa Rica), CUB (Cuba), Cuba (CUB), CYM (Cayman Islands). BaseCamp: searching for "La Bodeguita" returns: La Bodeguita del Medio, Ciudad de la Habana, CUB and La Bodeguita, DOM. Bar2 returns Bar2 del Malecon, Ciudad de la Habana, CUB. HCx: If I search for "La Bodeguita", only La Bodeguita is found (no city/country). Searching for Bar2, it returns "Bar2 del Malecon, Ciudad de la Habana". nuvi 300: it finds: La Bodeguita del Medio, Ciudad de la Habana; La Bodeguita (no city/country); Bar2 del Malecon, Ciudad de la Habana. If I try to find an address, and type "C" at the "Spell country" prompt, only Costa Rica and Country can be found. Results are the same with MapSource or mkgmap generated gmapsupp. None of the objects found has any is_in:* or addr:* information, so city/country must be gathered from admin boundaries. I use default mkgmap:place rules in my style. Map is generated with the following options (among others): --bounds=bounds --latin1 --code-page=1252 --area-name=$MAPA --family-name="OpenStreetMap $MAPA" --series-name="OSM-$MAPA" --index --road-name-pois=0x640a --add-pois-to-areas --link-pois-to-ways --location-autofill=is_in ($MAPA=Central America) Any idea why these differences happen and how to fix them? Why some POI/Countries are not found? [1] http://mapas.alternativaslibres.es/OpenStreetMap_Central-America.exe [2] http://www.openstreetmap.org/browse/node/596635668 [3] http://www.openstreetmap.org/browse/node/355338535 [4] http://www.openstreetmap.org/browse/node/1849671117 _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi
Any idea why these differences happen and how to fix them? Why some POI/Countries are not found?
I will have a look at your map and see if anything could be changed to make it work better. Mapsource and the devices do work very differently when it comes to searching and it is possible that there is nothing that can be done easily. Best wishes ..Steve

El 12/11/12 11:36, Steve Ratcliffe escribió:
Hi
Any idea why these differences happen and how to fix them? Why some POI/Countries are not found?
I will have a look at your map and see if anything could be changed to make it work better.
Mapsource and the devices do work very differently when it comes to searching and it is possible that there is nothing that can be done easily. I'm aware of such differences, but I had not faced a case like this one before, with missing countries (can't type Cuba on nuvi 300 address search, so no address can be found in this country) or no POI findable at all (nuvi 3760). On the HCx I've discovered that "La Bodeguita del Medio" is included in the list of nearest POI displayed by device and you can select it, although if you try to spell it, it doesn't appear. Yesterday I compiled a map with only Cuba in it [1] and a little part of Bahamas and even so, nuvi 300 is unable to use Cuba in the address search menu but can find addresses in Bahamas. [1] Cut from central-america extract from Geofabrik with ./osmconvert32 central-america.osm.pbf -b=-85.075,19.25,-73.72,23.462 --out-osm -o=cuba.osm and compiled with java -Xmx1000M -ea -jar mkgmap.jar --gmapsupp --latin1 --code-page=1252 --country-name=CUBA --country-abbr=CUB --area-name="Cuba" --family-name="OpenStreetMap Cuba" --family-id=121 --product-id=1 --series-name="OSM-Cuba" --overview-mapname=55121000 --overview-mapnumber=55121000 --index --route ../mapas/pruebas/63240001.img typ/AME-121.TYP

El 12/11/12 16:41, Carlos Dávila escribió:
El 12/11/12 11:36, Steve Ratcliffe escribió:
Hi
Any idea why these differences happen and how to fix them? Why some POI/Countries are not found?
I will have a look at your map and see if anything could be changed to make it work better.
Mapsource and the devices do work very differently when it comes to searching and it is possible that there is nothing that can be done easily.
I'm aware of such differences, but I had not faced a case like this one before, with missing countries (can't type Cuba on nuvi 300 address search, so no address can be found in this country) or no POI findable at all (nuvi 3760). On the HCx I've discovered that "La Bodeguita del Medio" is included in the list of nearest POI displayed by device and you can select it, although if you try to spell it, it doesn't appear. Yesterday I compiled a map with only Cuba in it [1] and a little part of Bahamas and even so, nuvi 300 is unable to use Cuba in the address search menu but can find addresses in Bahamas. [1] Cut from central-america extract from Geofabrik with ./osmconvert32 central-america.osm.pbf -b=-85.075,19.25,-73.72,23.462 --out-osm -o=cuba.osm and compiled with java -Xmx1000M -ea -jar mkgmap.jar --gmapsupp --latin1 --code-page=1252 --country-name=CUBA --country-abbr=CUB --area-name="Cuba" --family-name="OpenStreetMap Cuba" --family-id=121 --product-id=1 --series-name="OSM-Cuba" --overview-mapname=55121000 --overview-mapnumber=55121000 --index --route ../mapas/pruebas/63240001.img typ/AME-121.TYP I've had a chance to test both Central America and Cuba maps on a nuvi 1340 with similar result: it finds the POI's, but is unable to find addresses in Cuba. I checked the information in the bounds files and Cuba is correctly covered for admin_level 2 and 4, so it should appear in the devices, as it does in MapSource. MapEdit also shows Cuba in the list of countries.

Hi
Mapsource and the devices do work very differently when it comes to searching and it is possible that there is nothing that can be done easily. I'm aware of such differences, but I had not faced a case like this one before, with missing countries (can't type Cuba on nuvi 300 address search, so no address can be found in this country) or no POI findable at all (nuvi 3760). On the HCx I've discovered that "La Bodeguita del Medio" is included in the list of nearest POI displayed by device and you can select it, although if you try to spell it, it doesn't appear.
I believe that the differences are related to the change in r2335. That includes a change where if a POI does not have a city, but does have a region, then a city without a name is created with the given region. These cities are not included in the index as seen by mapsource because they don't have a name. The device index is different, and so the device can work out the region from the information in the img file. I might be able to fix the index, so that uses the region of a city that has no name. But I wonder if I am missing something. In the index you can attach a POI to either a city or a region directly with a flag and it makes sense that you could do that in the img file too. I did check when the question came up, because I had a bad feeling about cities with no name, but perhaps I was was looking at street rather than POIs. With maps created before r2335, are the POIs findable on both mapsource and the device or missing on both? ..Steve

El 14/11/12 23:41, Steve Ratcliffe escribió:
Hi
Mapsource and the devices do work very differently when it comes to searching and it is possible that there is nothing that can be done easily.
I'm aware of such differences, but I had not faced a case like this one before, with missing countries (can't type Cuba on nuvi 300 address search, so no address can be found in this country) or no POI findable at all (nuvi 3760). On the HCx I've discovered that "La Bodeguita del Medio" is included in the list of nearest POI displayed by device and you can select it, although if you try to spell it, it doesn't appear.
I believe that the differences are related to the change in r2335.
That includes a change where if a POI does not have a city, but does have a region, then a city without a name is created with the given region.
These cities are not included in the index as seen by mapsource because they don't have a name. The device index is different, and so the device can work out the region from the information in the img file.
I might be able to fix the index, so that uses the region of a city that has no name. But I wonder if I am missing something. In the index you can attach a POI to either a city or a region directly with a flag and it makes sense that you could do that in the img file too. I did check when the question came up, because I had a bad feeling about cities with no name, but perhaps I was was looking at street rather than POIs.
With maps created before r2335, are the POIs findable on both mapsource and the device or missing on both? I have compiled the map of Cuba with r2332 and noticed no difference neither on MapSource nor on HCx or nuvi 300. If you want to have a look at the map I can put it somewhere to download.

Hi
I have compiled the map of Cuba with r2332 and noticed no difference neither on MapSource nor on HCx or nuvi 300. If you want to have a look at the map I can put it somewhere to download.
Hmm, well perhaps I am wrong about it being a recent problem. I thought that you said that this didn't happen before, but looking through the emails again I don't see that. The add-pois-to-areas can cause similar problems if I remember. I will try to fix the mapsource style index so that it uses the region if there is no usable city. It will then work like the device index I hope. ..Steve

El 18/11/12 21:54, Steve Ratcliffe escribió:
Hi
I have compiled the map of Cuba with r2332 and noticed no difference neither on MapSource nor on HCx or nuvi 300. If you want to have a look at the map I can put it somewhere to download.
Hmm, well perhaps I am wrong about it being a recent problem. I thought that you said that this didn't happen before, but looking through the emails again I don't see that.
The add-pois-to-areas can cause similar problems if I remember.
I will try to fix the mapsource style index so that it uses the region if there is no usable city. It will then work like the device index I hope.
Last week I did some improvements in Cuba's admin boundaries and I have done some more tests using the new bounds files: MapSource: streets get correctly assigned Region and Country according to information in new bounds (ex: Kessel, Ciudad de la Habana, CUB) POI: they are found, but no city, region, country is assigned, although it is available in bounds (ex: Trd Caribe) BaseCamp: POI: they can be found and region+country is correctly added from bounds (ex: Trd Caribe, San Antonio de Baños, CUB) Addresses: can't be found nuvi: POI: they can be found and region is correctly added from bounds (ex: Trd Caribe, San Antonio de Baños) addresses: no chance to search for addresses as Cuba is not present in the first step, spell country. HCx: POI: some are found (ex: La Bodeguita, Trd Caribe) and some not (La Bodeguita del Medio). addresses: although Cuba is not in the list of available regions, it is able to find streets: ex: Kessel, CUB Removing add-pois-to-areas makes no difference, at least on MapSource and BaseCamp
participants (3)
-
Alice
-
Carlos Dávila
-
Steve Ratcliffe