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

Bounding box formated as double for a result in jsonv2 format #5132

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

Comments

@openstreetmap-trac
Copy link

Reporter: jonasdn
[Submitted to the original trac issue database at 7.43pm, Wednesday, 26th February 2014]

When I was searching for san francisco using GNOME Maps I got a crash in the geocode-glib library. It could be traced back to one item in the search result had the boundingbox array elements formated as double and not as strings.

You can see the result here: http://nominatim.openstreetmap.org/search.php?q=San%20Francisco,%20Agusan%20Del%20Sur,%20Republic%20of%20the%20Philippines&format=json&addressdetails=1&limit=11

Note that the second place has the bounding box as double and not string.

@openstreetmap-trac
Copy link
Author

Author: jonasdn
[Added to the original trac issue at 12.29pm, Sunday, 2nd March 2014]

Sorry, I mean the first place of that query, not the second.

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 4.55pm, Sunday, 2nd March 2014]

Fixed in [changeset:236750e/nominatim].

@openstreetmap-trac
Copy link
Author

Author: Marcus Lundblad
[Added to the original trac issue at 11.27am, Tuesday, 26th May 2015]

This bug seems to have returned (in a modified form).
Using the following search quary:

http://nominatim.openstreetmap.org/search.php?q=Lundagatan%2016%20Solna&format=json&addressdetails=1&limit=11

You get two results, one with quoted strings for the bounding box coordinate values and the other without.
It seems nodes gets no quotes and ways gets quotes.

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 10.14pm, Friday, 12th June 2015]

Fixed again in [changeset:1fcb712/nominatim].

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