Oct 19 2007

Update to QGIS Geocoding plugin

Published by perrygeo at 3:00 pm under Python, QGIS, Uncategorized

With the release of QGIS 0.9 imminent , I decided to install in on Windows XP and noticed that the geocoding plugin was failing… sure enough I had hardcoded linux temporary directories. So I reworked the python code to determine the temp dir in a more cross-platform way (using tempfile.gettempdir() ) and it works fine.

The update can be downloaded here.

Assuming you’ve installed qgis in the standard location, just unzip this into C:\Program Files\Quantum GIS\python\plugins (windows) or /usr/share/qgis/python/plugins (Linux) and you should be good to go. Note that you’ll have to create the “plugins” directory if it doesn’t exist.

2 Responses to “Update to QGIS Geocoding plugin”

  1. Davidon 02 Feb 2009 at 11:55 am

    Hi, Matt: I’m using your geocoding plugin for QGIS on Windoze. On the dialogue box, under the place to enter your Yahoo! API, it says to ‘paste key in ~/.yahoo_appid to set default, which I take to mean that I would not need to paste in my key everytime.

    However, I’m not sure what it is I’m supposed to paste, and I cannot locate the directory ~/.yahoo_appid. (This all looks very Linux-y.)

    Can you give me a hand?

    Thanks!
    David

  2. perrygeoon 02 Feb 2009 at 5:36 pm

    The ~/ part just means that it goes in your home directory. The .yahoo_appid is the filename … I’m not sure but I believe that windows can’t handle filenames starting with “.”

    You’ll likely have to modify the code to look for a different filename.

Trackback URI | Comments RSS

Leave a Reply