Replies: 1 comment 1 reply
-
If you get a 404, then something is wrong with the URL string. If you get a 403 or 429, then please read our usage policy here: https://operations.osmfoundation.org/policies/nominatim/ and look at the answer to this question: https://help.openstreetmap.org/questions/59788/calling-nominatim-with-file_get_contents |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Impossible d'appeler l'API à partir d'un site web hébergé chez OVH : je reçoit une erreur 404 !
Code PHP
$url="https://nominatim.openstreetmap.org/search?street=8%2C+rue+du+Ch%C3%A2teau&city=RECHICOURT-LE-CHATEAU&country=&postalcode=&format=geojson";
file_get_contents("$url");
idem avec
$url = "https://nominatim.openstreetmap.org";
Test : https://www.biblebiere.com/Test_API_Nominatim.php
Beta Was this translation helpful? Give feedback.
All reactions