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

The geocoder in our software suddenly stopped working and we have analyzed this to the following cause: To search for the Mainstreet 12, Amsterdam, Netherlands, (doesn't exist) we used the following call:

http://nominatim.openstreetmap.org/search?q=12,Mainstreet,Amsterdam,NL&format=xml

This format used to work but no longer returns results. I noticed that it does work with the full country name appended to the address

http://nominatim.openstreetmap.org/search?q=12,Mainstreet,Amsterdam,Nederland&format=xml

but we don't have the country name available in our software. So, now I plan to change our code to

http://nominatim.openstreetmap.org/search?q=12,Mainstreet,Amsterdam&countryCodes=NL&format=xml

Since that is in line with the wiki description.

My main questions are. Did the API indeed change? How could I have known this upfront, so where should I register to be warned for such changes before they become effective?

asked 23 Feb '12, 13:37

msol's gravatar image

msol
1334
accept rate: 0%

edited 24 Feb '12, 08:27

Kozuch's gravatar image

Kozuch
1.7k587285


Please open a ticket in the nominatim trac:

http://trac.openstreetmap.org/newticket?component=nominatim

Thank you

permanent link

answered 23 Feb '12, 14:32

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

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
×133
×58
×19
×4

question asked: 23 Feb '12, 13:37

question was seen: 13,745 times

last updated: 24 Feb '12, 08:27

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