From 6e68cc3f7381e66410651f430d0b68de76796039 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Tue, 14 Jul 2015 07:02:57 -0400 Subject: [PATCH] Merge pull request #43 from sam-m888/8702UpdateMapServicelinksOpenStreetMap 8702 Update Map Service links for OpenStreetMap --- gramps/plugins/mapservices/openstreetmap.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gramps/plugins/mapservices/openstreetmap.py b/gramps/plugins/mapservices/openstreetmap.py index cb3b8e429..6d6d41ce7 100644 --- a/gramps/plugins/mapservices/openstreetmap.py +++ b/gramps/plugins/mapservices/openstreetmap.py @@ -41,7 +41,7 @@ from gramps.gen.lib import PlaceType class OpensStreetMapService(MapService): """Map service using http://openstreetmap.org - Resource: http://wiki.openstreetmap.org/index.php/Name_finder + Resource: http://wiki.openstreetmap.org/wiki/Nominatim """ def __init__(self): MapService.__init__(self) @@ -64,10 +64,10 @@ class OpensStreetMapService(MapService): city = location.get(PlaceType.CITY) country = location.get(PlaceType.COUNTRY) if city and country: - self.url = "http://open.mapquestapi.com/nominatim/v1/"\ + self.url = "http://nominatim.openstreetmap.org/"\ "search.php?q=%s%%2C%s" % (city, country) return titledescr = place_displayer.display(self.database, place) - self.url = "http://open.mapquestapi.com/nominatim/v1/"\ + self.url = "http://nominatim.openstreetmap.org/"\ "search.php?q=%s" % '+'.join(titledescr.split())