[Qgis-developer] MCELite: An experimental tool for multi-criteria evaluation (MCE)

Paolo Cavallini cavallini at faunalia.it
Sat Jan 8 02:40:08 EST 2011

Il giorno ven, 07/01/2011 alle 17.43 +0100, JP Glutting ha scritto:
> Hello All, 
> I just wanted to let you know that I have uploaded my tool, MCELite,
> to the PyQGIS repository. I had to try a few times to get it uploaded,
> but it seems to work when downloaded from the repository. 
> MCELite takes raster files representing decision criteria and analyzes
> them using three types of multi-criteria evaluation (MCE): Boolean
> overlay, weighted linear combination (WLC) or ordered weighted
> averaging (OWA). It also does sensitivity analysis of the results of
> an analysis. It hasn't been extensively tested, so it is marked as
> experimental, but it does run on Windows, OS X and Linux. The package
> includes documentation and soem sample data data sets and
> configuration files (it reads configuration files in addition to
> having interactive input).
> Because I wrote it for a study project, I didn't use any existing code
> (it turns out it wouldn't have been a problem, but I wanted to be
> safe) and I rolled my own Raster object to do the overlay instead of
> using rastercalc or something like that. I can still rewrite the back
> end, but it would be a lot of work. 
> The big thing missing from the tool is any kind of fuzzy set
> membership analysis. I couldn't find any plugins for QGIS, so you need
> to create the input rasters with another tool, if you want to do any
> kind of interesting analysis.
> Anyway, feel free to try it out, and let me know when it breaks. I am
> sure it still has tons of bugs.

Tried, got an error:
Traceback (most recent call last):
  File "/home/paolo/.qgis/python/plugins/mcelite/MCELiteDialog.py", line
755, in accept
  File "/home/paolo/.qgis/python/plugins/mcelite/MCELiteDialog.py", line
780, in runAnalysis
"/home/paolo/.qgis/python/plugins/mcelite/mcelite/QueryManager.py", line
700, in runQuery
"/home/paolo/.qgis/python/plugins/mcelite/mcelite/QueryManager.py", line
572, in writeMCEConfig
    fHandle = open(filename, 'w')
IOError: [Errno 2] No such file or directory:

Versione Python:
2.6.6 (r266:84292, Dec 26 2010, 22:48:11) 
[GCC 4.4.5]

Versione di QGIS:
1.7.0-Trunk Trunk, 14993M

Thanks for including the documentation. It would be useful if you could
add an help/about button to read it directly form the plugin menu,
better if in html.
All the best. 

More information about the Qgis-developer mailing list