commit ab4c119bc69e9522925fbc29beffc42408bd6077 Author: Jonas Danielsson Date: Sun Jan 31 09:58:53 2016 +0100 Release 3.16.3 NEWS | 7 +++++++ configure.ac | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) commit 1b0681da3aaecbb8d9d0c645c1acc8ad84c326fc Author: Jonas Danielsson Date: Fri Jan 8 09:06:13 2016 +0100 Add a default user-agent based on GApplication id Nominatim’s usage policy requires a User-Agent. They want to be able to block batch offenders that misuse the terms of service. We can set a user-agent based on GApplication (if we are one) to make sure at least trusted GNOME applications can be identified. https://bugzilla.gnome.org/show_bug.cgi?id=756313 configure.ac | 2 +- geocode-glib/Makefile.am | 1 + geocode-glib/geocode-forward.c | 2 +- geocode-glib/geocode-glib-private.h | 1 + geocode-glib/geocode-glib.c | 23 +++++++++++++++++++++++ geocode-glib/geocode-reverse.c | 2 +- 6 files changed, 28 insertions(+), 3 deletions(-) commit f7a24c1c90c6ac326403ad6e0a7ca28d304f7ee8 Author: Bastien Nocera Date: Wed May 27 14:59:17 2015 +0200 reverse: Fix nominatim attrs parsing for broken boundingbox This OpenStreeMap result has a bounding box that uses doubles to store its borders, instead of strings, like all the others: { "place_id": "353472", "licence": "Data © OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright", "osm_type": "node", "osm_id": "151337566", "boundingbox": [ 38.4917175, 38.5317175, -91.1940394, -91.1540394 ], "lat": "38.5117175", "lon": "-91.1740394", "display_name": "Lyon, Franklin County, Missouri, United States of America", "place_rank": "19", "category": "place", "type": "hamlet", We fix this by checking the type of the node, and turning it into a string, as all the other items in the hash table. See https://bugzilla.redhat.com/show_bug.cgi?id=1224563 and https://trac.openstreetmap.org/ticket/5132 https://bugzilla.gnome.org/show_bug.cgi?id=749963 geocode-glib/geocode-reverse.c | 43 ++++++++++++++++++++++++++++++++++-------- 1 file changed, 35 insertions(+), 8 deletions(-)