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 2014-01-09 22:37:14

miramikes
Member
Registered: 2011-10-16
Posts: 128

Address search problem

Hi,

I would like to add address search to my map ... so I added "inc/address" file to my style and "include 'inc/address';" line on top of points lines and polygons files.
I also added --index --location-autofill options to mkgmap.

But now I am getting this message when run mkgmap:
Style file garmin_hiking_map contains multiple styles, use option --style to select one.

Actually --list-styles option showing two same styles
garmin_hiking_map    1.0: Mira's hiking style
garmin_hiking_map    1.0: Mira's hiking style

What might be wrong?

mira

Offline

#2 2014-01-11 20:15:47

miramikes
Member
Registered: 2011-10-16
Posts: 128

Re: Address search problem

Hi,

I found workaround for this issue. I just placed "address" file directly to my style dir not to inc subdir and it is working.
Of course line in points lines and polygons files looks like this now  "include 'address';"
I use -index --location-autofill mkgmap options related to addresses search.

But now if I try "find" -> "cities" it will only find places around my current location in distance cca 20km.
I still missing someting?

I have Garmin 78s what is mainly marine device ... don't know if this matter.

best regards

mira

Offline

#3 2014-01-12 17:29:40

Bernhard Hiller
Member
Registered: 2011-05-10
Posts: 1,122

Re: Address search problem

miramikes wrote:

I just placed "address" file directly to my style dir not to inc subdir and it is working.

Strange. Well, I use my own "pre-processor" which incorporates the included files.
Last year, I enconutered problems with the address search, and was told to use the precompiled boundaries, see http://gis.19327.n5.nabble.com/Address- … 84034.html
It works well in Central Europe. But note: that still fails with South-East-Asia.

Offline

#4 2014-01-12 21:41:58

miramikes
Member
Registered: 2011-10-16
Posts: 128

Re: Address search problem

Bernhard Hiller wrote:
miramikes wrote:

I just placed "address" file directly to my style dir not to inc subdir and it is working.

Strange.

Yes it is ... but this solution works for me and I can live with it hmm

Bernhard Hiller wrote:

Last year, I enconutered problems with the address search, and was told to use the precompiled boundaries

I am using precompiled boundaries for mkgmap.

Bernhard Hiller wrote:

see http://gis.19327.n5.nabble.com/Address- … 84034.html
It works well in Central Europe. But note: that still fails with South-East-Asia.

Thank you for link ... very interesting reading ... It looks like address search is not reliable and behave differently on different devices and can be problematic in some locations sad

regards

mira

Offline

Board footer

Powered by FluxBB