[Geocoding] [OpenStreetMap] #5357: Reverse address lookup no response

OpenStreetMap trac at noreply.openstreetmap.org
Wed Sep 23 15:12:19 UTC 2015


#5357: Reverse address lookup no response
----------------------------+---------------------------------
  Reporter:  WayneDRussell  |      Owner:  geocoding@…
      Type:  defect         |     Status:  new
  Priority:  minor          |  Milestone:
 Component:  nominatim      |    Version:
Resolution:                 |   Keywords:  reverse?format=json
----------------------------+---------------------------------

Comment (by WayneDRussell):

 Hi,
 I am currently using:
 $json = @file_get_contents($url);

 I will change to:
 $json = file_get_contents($url);
 if ($json=='429 Too Many Requests'){
   return $json;
 }

 Will this change enable me return the error?

 What other errors need to be considered in the request?

 Wayne

--
Ticket URL: <https://trac.openstreetmap.org/ticket/5357#comment:7>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the Geocoding mailing list