NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello,

the search for address birkenstrasse in berlin even matches items outside berlin: http://nominatim.openstreetmap.org/search?q=Birkenstrasse%2CBerlin&format=json&addressdetails=1

How can I limit the search to a specific city or even a zip code: http://nominatim.openstreetmap.org/search?q=Birkenstrasse%2CBerlin%2C10551&format=json&addressdetails=1

Thanx steffen

asked 18 Nov '11, 12:55

steffen's gravatar image

steffen
41113
accept rate: 0%


You have to specify a bounding box (viewbox=) and bound the search to that area (bounded=1) as in http://nominatim.openstreetmap.org/search?q=Birkenstraße,%2CBerlin&format=json&addressdetails=1&viewbox=13.58%2C52.66%2C13.6%2C52.64&bounded=1.

permanent link

answered 19 Nov '11, 15:30

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

-3

If you own an android device (or you can use the iso from http://www.android-x86.org in Virtualbox.org or VMware) then you can benefit from the app called OsmAnd that has the second best offline search function for OSM based data.

It is only topped by MapFactor Navigator free version 11 where you can also use offline maps on any PC with Windows, Linux via Wine, or WindowsMobile.

See wiki.osm.org for more details.

Unfortunately I cannot give you a solution about Nominatim, but have a look at Nominatim and all its sub pages for more information.

permanent link

answered 18 Nov '11, 14:29

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

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:

×689
×193
×107
×6

question asked: 18 Nov '11, 12:55

question was seen: 13,065 times

last updated: 19 Nov '11, 15:30

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum