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.
JSON does not support integers with leading zeros. I'm not sure how complex postcodes could be. Perhaps the best way to fix the problem is to return a string. This could be done in javascript_renderData by removing the if statement with is_int. If we would like to parse ints and floats we should check for is_int and return (int) $xVal or (float) $xVal I guess.
Thx for your help.
The text was updated successfully, but these errors were encountered:
Reporter: booo
[Submitted to the original trac issue database at 9.41pm, Sunday, 6th February 2011]
Request in question: http://nominatim.openstreetmap.org/reverse?format=json&osm_type=N&osm_id=524588214&addressdetails=0
JSON does not support integers with leading zeros. I'm not sure how complex postcodes could be. Perhaps the best way to fix the problem is to return a string. This could be done in javascript_renderData by removing the if statement with is_int. If we would like to parse ints and floats we should check for is_int and return (int) $xVal or (float) $xVal I guess.
Thx for your help.
The text was updated successfully, but these errors were encountered: