Adds a gazetteer search panel to QGIS 1.8 / 2.0 which by default searches Surrey Digital Services Address Search but the following sources are also supported:
- GeoNames
- Yahoo (place search)
- OSM Nominatim
- Astun Technology iShare address search.
All searches are performed via a web service call. The available searches can be configured in gazetteers/config.ini
, each gazetteer requires a corresponding set of config / logic in it's own python file in gazetteers
.
The qgis-gazetteer-search repository by mixedbredie is a good choice if you'd like to roll your own search webservice such as one based on the LLPG (Local Land and Property Gazetteer) or LSG (Local Street Gazetteer) used in Great Britain.
You must request an access token from Surrey Digital Services which must be included with every request to the API. REPLACE_ME_WITH_TOKEN
on line 6 of the sds_address.py
file in the gazetteers
folder should be replaced with your access token using a text editor.
The plugin files need to live in a directory called gazetteersearch
inside the QGIS Python plugins directory.
Windows note: The QGIS plugin directory should be under C:\Documents and Settings\<Username>\.qgis2\python\plugins\
(Windows XP) or C:\Users\<Username>\.qgis2\python\plugins\
(Windows 7+).
QGIS 1.8 note: QGIS 1.8 stores it config under a .qgis
directory.
If you are using git
then simply clone the repository into your QGIS python plugins directory:
cd ~/.qgis2/python/plugins/
git clone https://github.com/AstunTechnology/QGIS-Gazetteer-Plugin.git gazetteersearch
GeoNames data is licensed under Creative Commons Attribution 3.0 License, further details regarding usage can be found on the GeoNames website.
Yahoo place search is subject to the Yahoo! APIs Terms of Use., further details regarding usage can be found on the Yahoo GeoPlanet website.
Use of the OSM Nominatim search is subject to the Nominatim usage policy. OpenStreetMap data is © OpenStreetMap contributors and available under the Open Database Licence.