I noticed that Nominatim has strange preference for boundary:administrative over place:XYZ when they have same name. Here is very simple example:

https://nominatim.openstreetmap.org/search.php?q=Balzers

It returns one result:

https://nominatim.openstreetmap.org/details.php?place_id=144926588

Which is boundary:administrative. In the linked places there is this place:

https://nominatim.openstreetmap.org/details.php?place_id=586113

Which is place:village. I am wondering why doesn't it show up in search results. I am personally more interested in places so I am wondering if it is possible to add a parameter to search to prefer places or it is a server-side setting for Nominatim. I have a local instance running as well so I can try to play with that.

Thanks!

asked 20 Sep '16, 16:17

Andrey's gravatar image

Andrey
31112
accept rate: 0%

edited 20 Sep '16, 16:17

meta: In general, please do not post your questions to several places. That wastes help resources. If you really need to (for whatever reason), please always mentioning it in each post and provide links to the other posts. Once you've got an answer at one place, update all the other places.

(22 Sep '16, 20:21) aseerel4c26 ♦

@aseerel4c26 I will note that. It was just not very clear for me whether help.openstreetmap.org and mailing lists are maintained by same community.

(22 Sep '16, 22:12) Andrey

This question got answered on the geocoding mailinglist https://lists.openstreetmap.org/pipermail/geocoding/2016-September/001823.html

permanent link

answered 22 Sep '16, 14:04

mtmail's gravatar image

mtmail
2.6k644
accept rate: 26%

As you point out yourself the behaviour is by design (to suppress having two OSM objects and results for the same entity).

You should probably raise the issue wrt specifically searching for places here https://github.com/twain47/Nominatim

permanent link

answered 21 Sep '16, 20:56

SimonPoole's gravatar image

SimonPoole ♦
38.4k13286610
accept rate: 19%

edited 21 Sep '16, 22:07

It is strange because sometimes Nominatim has no problem returning same entities: https://nominatim.openstreetmap.org/search.php?q=weesp&polygon=1&viewbox=

(22 Sep '16, 19:12) Andrey

Those are all different entities (suburb, city, motorway junction, etc.), but with the same name.

(22 Sep '16, 19:32) alester

@alester it is very confusing because essentially there is no way to either filter out some results or figure out which administrative levels they represent.

(22 Sep '16, 20:13) Andrey
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×550
×165
×38

question asked: 20 Sep '16, 16:17

question was seen: 1,812 times

last updated: 22 Sep '16, 22:12

powered by OSQA