Visibility Analysis Plugin (VAP) for QGIS in the repository

Hi folks!

My humble visibility analysis python plugin for Quantum GIS can be downloaded from the User Contributed Repository. It is currently experimental software (version 0.0.9), but new features will be added soon according to my thesis work.
You can find it under the name of "Visibility Analysis" as seen below:

It will be installed under the menu directory 'Visibility Analysis' and it can also be invoked by pressing F7 key or by clicking the 'binoculars' icon as a shortcut.

The plugin can also be downloaded from the url: http://spatialserver.net/pyqgis_1.0/contributed/vap.zip

I'll try to give the details including the development efforts for the plugin in a future post. For now, take care...


  1. Hi, just letting you know of a minor issue with the VAP plugin:
    It seems it does not properly unload when disabled in the plugin manager.
    Please see http://hub.qgis.org/issues/4177


  2. Thanks Alister,

    I have updated the plugin (now version 0.1.0).

  3. Cagil - I've been using this successfully, but there doesn't seem to be a way to close the dialogue box when finished. It doesn't dismiss by itself, and there is no "Done" button.


  4. Hi Paul, The way to close the dialog is either by the close (x) button of the window manager top right, or by the ESC key for now. I have used it for 1.4 and 1.5 versions of Quantum GIS on Windows though, so newer versions and on Linux it may differ. Please let me know of your setup if these methods does not work there. Thanks for the input!


  5. Hi, I'm trying to use your plugin but there is an error ...
    Une erreur est apparue lors de l'exécution du code python :

    Traceback (most recent call last):
    File "/home/roland/.qgis/python/plugins/vap/vap.py", line 332, in analyze
    File "/home/roland/.qgis/python/plugins/vap/vap.py", line 403, in createRasterLayer
    driver = self.source_dataset.GetDriver()
    AttributeError: VAP instance has no attribute 'source_dataset'

    Version de Python :
    2.7.1+ (r271:86832, Apr 11 2011, 18:30:20)
    [GCC 4.5.2]

    Version de QGIS :
    1.7.1-Wroclaw Wroclaw, exported

    Chemin vers Python : ['/usr/share/qgis/python', '/home/roland/.qgis/python', '/home/roland/.qgis/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/pymodules/python2.7/gtk-2.0', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/pymodules/python2.7/ubuntuone-control-panel', '/usr/lib/pymodules/python2.7/ubuntuone-storage-protocol', '/usr/lib/pymodules/python2.7/ubuntuone-client', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', '/usr/share/qgis/python', '/usr/share/qgis/python/plugins/fTools/tools']

    can you help me debugging ?

  6. Hello everyone.
    My name is kranthi from India.
    presently i am using Qgis 1.8 and i have downloaded visibility analysis plugin for analysis.
    when i am using this plugin, it is taking too much of time to calculate the analysis even the image size is very small(4MB)
    please inform if there is any alternate way or any procedure to overcome this defect.

    Thank you.

  7. Nice plugin. I suggest you to add a field with the radius from the selected point in order to reduce the processing time as we can see in GRASS r.los and r.viewshed functions.

  8. Is this plugin scriptable ? I'm curious about using it for mass generation visibility maps... Has anyone tried that ?

  9. Hi all! Could it be that this plugin has been removed from the QGIS Python Plugin list? I can't find it there.. Is there some other way to install this? Thanks a lot!

    1. http://pyqgis.org/contributed/vap.zip Try this address

    2. This doesn't work neither, so strange.. Can you explain me how it works for you?

    3. I'm also having problems in installing this plugin from the QGIS Python Plugin list. Any clue?

  10. It seems like the plugin is missing from the plugin list because it only allows plugins compatible with QGIS 2.0. Will you fix this? :)

  11. I have worked a lot with this plugin in the past, would be great if you could make it work for QGIS 2.0

  12. Hi, where can I find the documentation for this? I was wondering if the observer height was in addition to the elevation of the observer's lat/long. Thanks!

  13. Hi, I'm getting a MemoryError when I try to run your plugin. Any idea what could be causing this? I am using 1.7.4 since your plugin doesn't run on 2.0.

  14. Agreed. A 2.0+ version wouid be great!