[Qgis-developer] Geocoder plugin

Matthew Perry perrygeo at gmail.com
Sun Apr 22 18:24:55 EDT 2007

Hey everyone,

 It's been a rainy weekend here, a good time to learn the python qgis
bindings. I decided to implement a geocoder plugin which would use web
services to do all the tough work and the delimited text provider to
load the results into qgis. What started mostly as a learning
experiment turned into something that might actually be useful ;-)

 Right now it's built on top of the Yahoo geocoder which is, IMO, the
best out there.. very flexible about the input format (see the
attached screenshots). Geopy is used to interact with the geocoding
services so it could potentially support other engines such as
geocoder.us, virtual earth, google, etc.

 The user interface is very easy, enter list of addresses/placenames
seperated by a line break, pick an output file and go. To be
legitimate, you should also sign up for a yahoo api key, though the
'YahooDemo' key will work ok for testing purposes.

Here's the install process (assuming you already have python, pyqt4,
qgis bindings, etc. set up):
 svn checkout http://perrygeo.googlecode.com/svn/trunk/qgis/geocode
 cd geocode
 vi Makefile
 # change install directory if needed
 sudo make install

This is just a rough cut, alpha product so there are probably many
things that could go wrong ;-)  Enjoy.

Matthew T. Perry

"You never change things by fighting the existing reality.
To change something, build a new model that makes
the existing model obsolete" - R. Buckminster Fuller
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dialog.jpg
Type: image/jpeg
Size: 88560 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/qgis-developer/attachments/20070422/2c2898ad/dialog.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: result.jpg
Type: image/jpeg
Size: 123424 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/qgis-developer/attachments/20070422/2c2898ad/result.jpg

More information about the Qgis-developer mailing list