Nominatim geocoder changed their API

Created on 19 September 2023, about 1 year ago
Updated 20 September 2023, about 1 year ago

Problem/Motivation

The Nominatim geocoder stoped working. It throws an guzzle exception.

GuzzleHttp\Exception\ClientException: Client error: `GET https://nominatim.openstreetmap.org/search/Archivo%20Real%20y%20General%...` resulted in a `404 Not Found` response: File Not Found
File not found: API no longer accessible via this URL

Here is the Nominatim service response for given url:

File not found: API no longer accessible via this URL
Using the URL /search/ and /reverse/ (with slashes) is no longer supported. Please use URLs as given in the documentation.

Examples how to change the URL:

You use: https://nominatim.openstreetmap.org/search/?q=Berlin
Change to: https://nominatim.openstreetmap.org/search?q=Berlin

You use: https://nominatim.openstreetmap.org/search/US/Texas/Huston
Change to: https://nominatim.openstreetmap.org/search?q=Huston, Texas, US

See github issue #3134 for more details.

Proposed resolution

Update the Nominatim url with query parameter.

🐛 Bug report
Status

Closed: duplicate

Version

3.12

Component

Leaflet API

Created by

🇵🇱Poland quex

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024