Skip to content
This repository was archived by the owner on Jul 24, 2021. It is now read-only.
This repository was 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

@openstreetmap-trac

Description

@openstreetmap-trac

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.

Activity

openstreetmap-trac

openstreetmap-trac commented on Jul 23, 2021

@openstreetmap-trac
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

openstreetmap-trac commented on Jul 23, 2021

@openstreetmap-trac
Author

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

Fixed in [changeset:236750e/nominatim].

openstreetmap-trac

openstreetmap-trac commented on Jul 23, 2021

@openstreetmap-trac
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

openstreetmap-trac commented on Jul 23, 2021

@openstreetmap-trac
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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @openstreetmap-trac

      Issue actions

        Bounding box formated as double for a result in jsonv2 format · Issue #5132 · openstreetmap/trac-tickets