You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: Marcussacapuces91 [Submitted to the original trac issue database at 5.59am, Thursday, 17th December 2009]
Hi,
I use to make reverse geocoding request(sss ;-) on nominatim giving a node ID. Most of the time I receive a filled answer. But some time I receive an xml string with a strange error message probably generated because the node is actually unknown :
<?xml version="1.0" encoding="UTF-8" ?>
<reversegeocode timestamp='Thu, 17 Dec 09 17:32:42 +0000' attribution='Data Copyright OpenStreetMap Contributors, Some Rights Reserved. CC-BY-SA 2.0.' querystring='osm_type=N&osm_id=595296746'>
<result></result><addressparts><br />
<b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/nominatim/.htlib/output/address-xml.php</b> on line <b>19</b><br />
</addressparts></reversegeocode>
I suggest to return an http error instead of that xml string.
Regards,
Marc
The text was updated successfully, but these errors were encountered:
Reporter: Marcussacapuces91
[Submitted to the original trac issue database at 5.59am, Thursday, 17th December 2009]
Hi,
I use to make reverse geocoding request(sss ;-) on nominatim giving a node ID. Most of the time I receive a filled answer. But some time I receive an xml string with a strange error message probably generated because the node is actually unknown :
I suggest to return an http error instead of that xml string.
Regards,
Marc
The text was updated successfully, but these errors were encountered: