Skip to content

surreydigitalservices/QGIS-Gazetteer-Plugin

 
 

Repository files navigation

QGIS Gazetteer Plugin

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:

Available Gazetteers

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.

Surrey Digital Services Address Search

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.

Installation

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.

Using git

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

Copyright and usage of gazetteers

GeoNames

GeoNames data is licensed under Creative Commons Attribution 3.0 License, further details regarding usage can be found on the GeoNames website.

Yahoo

Yahoo place search is subject to the Yahoo! APIs Terms of Use., further details regarding usage can be found on the Yahoo GeoPlanet website.

OSM Nominatim

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.

About

A simple gazetteer search plugin for QGIS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 38.8%
  • Python 32.7%
  • CSS 12.1%
  • HTML 7.2%
  • Makefile 6.2%
  • Batchfile 3.0%