Why not ask your question on the new OpenStreetMap Community Forum?

This is related to my last question:


Since there is no way to see if Nominatim is being precise in the request, I thought about delimiting specific areas using OSM API. Then I save the delimited areas into a database and check to see if the point is inside those areas. If it is, then use Nominatim. Else, he redirects to another reverse geocoder.

Also, the user can have the possibility to map that area, so it uses Nominatim next time. So, is the API capable of doing what I want? Thanks.

asked 15 Feb '13, 21:20

gabriel_casado's gravatar image

accept rate: 0%

The main api of OpenStreetMap is meant for editors. While it could do what you want, you shouldn't use it for that.

Luckily there is an alternative that you can use: The Overpass API. Look at the following two links for a solution for rectangular areas:

And the next one for areas with other shapes:

permanent link

answered 15 Feb '13, 23:18

cartinus's gravatar image

accept rate: 27%

Hey cartinus, thanks again for the quick response. I'll surely look into the Overpass API.

(16 Feb '13, 00:58) gabriel_casado
Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 15 Feb '13, 21:20

question was seen: 2,872 times

last updated: 16 Feb '13, 00:58

powered by OSQA