You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2010-06-03 13:55:04

BennieD
Member
Registered: 2009-05-22
Posts: 10

Address search

Lambertus,

Thanks for excellent work.

I use a Nuvi 200 W and address search does not work -(it asks for province)
I tried your suggestion for a 2 step process:
Search for city - using "where to" -> "city"
Then search for streetname? is that a special function for other Garmin models, or do you mean address search?
Does not work for me.
Long ago I tried MkGMap myself, and I had to use RoadnamePOIs to be able to search for roads.
Is that still available on Mkgmap, or is there a specific reason why you don't use it?

Bennie

Offline

#2 2010-06-03 15:24:31

Lambertus
Inactive
From: Apeldoorn (NL)
Registered: 2007-03-17
Posts: 3,269
Website

Re: Address search

It has been enabled at some point but disabled again later because of reported problems. See here.

Basically it's very difficult to create maps that work perfectly for each and every device and software and a workaround for one type of device may result in problems on another device. This is a deadlock which would be avoided if Mkgmap generated the correct index structure which it doesn't because the Garmin file format isn't completely understood.


Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002

Offline

#3 2010-06-03 17:05:00

BennieD
Member
Registered: 2009-05-22
Posts: 10

Re: Address search

Thanks for the reply.
I understand that you have to satisfy the majority users.
Thanks for your hard work.

Offline

#4 2017-02-10 00:38:30

alessiom
Member
Registered: 2017-02-10
Posts: 4

Re: Address search

Sorry for resuscitating this old topic, but I haven't found a better one.
I have tried the Lambertus maps (thank you for your great work!) and the address search works perfectly. Since cities have not the local name, but only the English name (i.e. I have to search for Florence instead of Firenze) I have tried to create the maps starting from the OSM data provided by Geofabrik, but in my maps the search address does not work at all (I can't find cities nor streets).
Starting form the Geofabrik data I split the osm.pbf file using:

mkgmap-splitter --description=Italia --output-dir=Italia --geonames-file=cities15000.txt italy-latest.osm.pbf 

then I use mkgmap to create the img file:

mkgmap --route --add-pois-to-areas --bounds=../bounds.zip --index --gmapsupp --output-dir=mkgmap --description=Italia --country-name=Italia --country-abbr=ITA --x-split-name-index --housenumbers --location-autofill=is_in,nearest --check-roundabouts --check-roundabout-flares --style-file=style 632400*.osm.pbf

Where is the error?
If it is not a secret, may I ask to Lambertus which parameters does he use?

Thank you very much

Alessio

Offline

#5 2017-02-10 07:06:27

GerdP
Member
Registered: 2015-12-18
Posts: 1,972

Re: Address search

Hi Alessio,

the options look good to me. You may want to add the --name-tag-list option, without it mkgmap uses only the name tag.

Gerd

Offline

#6 2017-02-10 07:33:51

ligfietser
Member
Registered: 2008-10-09
Posts: 5,353
Website

Offline

#7 2017-02-10 12:23:42

popej
Member
Registered: 2008-09-20
Posts: 500
Website

Re: Address search

Hi

i would remove --country-name=Italia --country-abbr=ITA, I think mkgmap work out this automatically form boundary file, which I think works better. You probably should add --precomp-sea, if you want a blue sea around Italy.


popej

Offline

#8 2017-02-10 21:21:08

alessiom
Member
Registered: 2017-02-10
Posts: 4

Re: Address search

Hi all.
Thank you very much for your suggestion. I have realized that the search by address now function as follow:
if I insert the first letter of the city name only, under the search bar appear a few suggestions; after the second letter the suggestions disappear. If, after the first letter, I press "Done" I have a list of the first 50 cities whose name begins with that letter. If I press done after the second letter I have an empty list with "No matches found".
If I open the gmapsupp.img file with GPSMapEdit I can see that the index with all the cities is present.

Any idea will be appreciated.

Alessio

PS popej, instead of --precomp-sea, since I haven't found the precompiled sea tiles, I have used --generate-sea=multipolygon and now, in the coastal area, the map is pleasantly lighter.

Offline

#9 2017-02-13 13:43:39

alessiom
Member
Registered: 2017-02-10
Posts: 4

Re: Address search

I finally solved the search address problem and I write here my solution in case it is useful to others.
The .img file was created with the wrong character encoding: 7 bits (I used gmaptool to get information about the file). I added to mkgmaps the --latin1 option and now the search works.

Thank you very much to all of you and especially to Lambertus for his work.

Alessio

Offline

Board footer

Powered by FluxBB