After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 697174 - Export bounding box when available
Export bounding box when available
Status: RESOLVED OBSOLETE
Product: geocode-glib
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: geocode-glib maintainer(s)
geocode-glib maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-04-03 14:08 UTC by Zeeshan Ali
Modified: 2019-03-20 10:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Zeeshan Ali 2013-04-03 14:08:23 UTC
Once patches from bug#696527 are merged, we should also report accuracy of forward geocoding results. The yahoo API we are using provides a bounding box end-points of the location and we already have code to find distance between two locations:

  <centroid>
    <latitude>60.171162</latitude>
   <longitude>24.932581</longitude>
  </centroid>
  <boundingBox>
    <southWest>
       <latitude>60.090611</latitude>
      <longitude>24.828320</longitude>
    </southWest>
    <northEast>
     <latitude>60.289291</latitude>
     <longitude>25.369360</longitude>
    </northEast>
  </boundingBox>
Comment 1 Bastien Nocera 2013-04-15 13:19:25 UTC
Can I have a patch for this, please?
Comment 2 Zeeshan Ali 2013-04-15 13:22:01 UTC
(In reply to comment #1)
> Can I have a patch for this, please?

Yeah :) Hopefully this week.
Comment 3 Zeeshan Ali 2013-04-18 01:20:22 UTC
Actually I'm not so sure this is a good idea anymore. Firstly, the BoundingBox give by yahoo seems more like boundaries of the place itself rather than any accuracy information. Secondly, I don't see the relevance of accuracy in geocoding results as the coordinates of the returned places is supposed to be always pretty accurate. This would also explain why neither yahoo nor google provide any accuracy info in the results:

https://developers.google.com/maps/documentation/geocoding/#GeocodingResponses
Comment 4 Zeeshan Ali 2013-09-26 21:23:53 UTC
Based on comment#3.
Comment 5 Bastien Nocera 2013-09-27 08:06:30 UTC
It think it would be good to export the bounding box to the results though, which would be useful to present it on a map.
Comment 6 Zeeshan Ali 2013-09-27 13:56:40 UTC
(In reply to comment #5)
> It think it would be good to export the bounding box to the results though,
> which would be useful to present it on a map.

Yeah, we could use that to decide the zoom-level for example.
Comment 7 GNOME Infrastructure Team 2019-03-20 10:36:39 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/geocode-glib/issues/7.