Skip to content

Geocoder OpenStreetMap Nominatim not working for German Addresses #28

@mr-simba

Description

@mr-simba

Hello,

On my Backdrop website, I have a node type that includes:

  • An address field
  • A geofield configured with the setting "Geocode from field address"
    (Modules: Geofield 1.x-1.0.4 and Geocoder 1.x-1.0.2)

When using Geocoder Bing (with an API key), latitude and longitude coordinates are successfully generated when I add a new node with an address. As a result, the map displays the correct location.

However, when using Geocoder OpenStreetMap Nominatim, no latitude/longitude coordinates are stored when I add a new node with an address. Consequently, the map does not work.

If I run the following code from my website, I receive a result with latitude and longitude coordinates. So I am neither banned nor firewalled from OpenStreetMap Nominatim.
$request = backdrop_http_request("https://nominatim.openstreetmap.org/search?q=Sonnenallee%201,12047%20Berlin&format=json&limit=1"); print_r($request);

Does anyone know why Geocoder OpenStreetMap Nominatim is not functioning properly?

Thanks in advance for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions