Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

json for Nominatim is wrong #2898

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

json for Nominatim is wrong #2898

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: roeea2[at]gmail.com
[Submitted to the original trac issue database at 2.50pm, Sunday, 18th April 2010]

When contain only number it passes as an integer.
e.g: http://nominatim.openstreetmap.org/reverse?format=json&lat=31.988611&lon=34.9125&zoom=18&addressdetails=1
453 should come as a string in JSON mode as everything.
JSON should be only string all the time.

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 10.17am, Saturday, 14th July 2012]

Nominatim now uses php's function to create properly formatted json strings.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant