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

Nominatim - post code should be a string #2890

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

Nominatim - post code should be a string #2890

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: roeea2[at]gmail.com
[Submitted to the original trac issue database at 10.51am, Saturday, 17th April 2010]

Postcode from Numinatim should come as a string.
In the current way it comes as a number and creates a errors on JSON due to leading zeros.
twain47 - i hope u will fix it ASAP :)
Thanks,

@openstreetmap-trac
Copy link
Author

Author: roeea2[at]gmail.com
[Added to the original trac issue at 1.49pm, Saturday, 17th April 2010]

e.g: http://nominatim.openstreetmap.org/reverse?format=xml&lat=41.384028&lon=2.151494&zoom=18&addressdetails=1

@openstreetmap-trac
Copy link
Author

Author: sladen
[Added to the original trac issue at 4.26pm, Monday, 5th July 2010]

Not to mention that in the United Kingdom, postcodes are Alphanumeric!

@openstreetmap-trac
Copy link
Author

Author: emj
[Added to the original trac issue at 12.29am, Friday, 3rd December 2010]

I get "postcode":"08015", which seems to be a string?

http://nominatim.openstreetmap.org/reverse?format=json&lat=41.384028&lon=2.151494&zoom=18&addressdetails=1

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