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


for a project, I have been collecting a large amount of (about 110k) nominatim bounding boxes and corresponding Place IDs over the span of about a year.

I now need to get the actual geometry from OSM for as many of these as I can. I have thought about using the OSM bulk downloads from data providers such as geofabrik. However, these of course do not have the nominatim identifier but rather the more general OSM identifier (which I am aware is also not stable).

I could also just query the IDs with nominatim again but, if possible, I would want to query such a large amount of data from OSM as do not want to overburden the servers with too many requests.

I would appreciate any suggestion on how to best approach this to keep the server load as minimal as possible.

Thank you so much in advance

asked 10 Jun '21, 14:48

FDenker's gravatar image

accept rate: 0%

For large scale queries either install Nominatim on a local server or use a third-party provider or a paid-for provider.

(11 Jun '21, 09:34) scai ♦

Place id is not a permanent id, it's not even the same between multiple servers. They also change after a reimport and there was one in the last 12 months.

The /lookup API endpoint doesn't support place id search, only the /details API endpoint does. Note the disclaimer " You may not use it in scripts or to automatically query details about a result. "

Using osm_type+osm_id as identifier is better. Those ids might still change but with old data dumps and tools one can usually find out what an old id was referring to.

permanent link

answered 10 Jun '21, 15:51

mtmail's gravatar image

accept rate: 27%

edited 10 Jun '21, 17:29


As per usage policy, the details API is definitely off limits for this: (see section 'Uacceptable Use')

(10 Jun '21, 16:46) lonvia

Thank you for your answers. I checked our data again and found that I was mistaken in my belief that we have the Place IDs. We actually do have the OSM ids. I will create another thread because I am still confused as to what these OSM ids actually mean.

(11 Jun '21, 12:34) FDenker

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]( "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: 10 Jun '21, 14:48

question was seen: 1,173 times

last updated: 11 Jun '21, 12:34

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