<div class="gmail_quote">Thanks Paolo!<div><br></div><div>Good idea about the documentation. I will have to figure out how to do that with Qt. I also need to work on some UML diagrams to show how it all works.</div><div><br>
</div><div>That is a bad bug - it shouldn't crash if it can't find a config file. What were you doing when it crashed? It looks like you were running a Boolean overlay analysis without defining a results file, but it shouldn't allow you to do that (I just tried, and it pops up an error dialog). Also, what OS are you using?</div>
<div><br></div><div>I'll see if I can recreate the error, and put in some checks to catch it. </div><div><br></div><div>Thanks,</div><div>JP<div><div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Sat, Jan 8, 2011 at 8:40 AM, Paolo Cavallini <span dir="ltr"><<a href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Il giorno ven, 07/01/2011 alle 17.43 +0100, JP Glutting ha scritto:<br>
<div><div></div><div>> Hello All,<br>
><br>
><br>
> I just wanted to let you know that I have uploaded my tool, MCELite,<br>
> to the PyQGIS repository. I had to try a few times to get it uploaded,<br>
> but it seems to work when downloaded from the repository.<br>
><br>
><br>
> MCELite takes raster files representing decision criteria and analyzes<br>
> them using three types of multi-criteria evaluation (MCE): Boolean<br>
> overlay, weighted linear combination (WLC) or ordered weighted<br>
> averaging (OWA). It also does sensitivity analysis of the results of<br>
> an analysis. It hasn't been extensively tested, so it is marked as<br>
> experimental, but it does run on Windows, OS X and Linux. The package<br>
> includes documentation and soem sample data data sets and<br>
> configuration files (it reads configuration files in addition to<br>
> having interactive input).<br>
><br>
><br>
> Because I wrote it for a study project, I didn't use any existing code<br>
> (it turns out it wouldn't have been a problem, but I wanted to be<br>
> safe) and I rolled my own Raster object to do the overlay instead of<br>
> using rastercalc or something like that. I can still rewrite the back<br>
> end, but it would be a lot of work.<br>
><br>
><br>
> The big thing missing from the tool is any kind of fuzzy set<br>
> membership analysis. I couldn't find any plugins for QGIS, so you need<br>
> to create the input rasters with another tool, if you want to do any<br>
> kind of interesting analysis.<br>
><br>
><br>
> Anyway, feel free to try it out, and let me know when it breaks. I am<br>
> sure it still has tons of bugs.<br>
<br>
</div></div>Tried, got an error:<br>
=======================================================================<br>
Traceback (most recent call last):<br>
File "/home/paolo/.qgis/python/plugins/mcelite/MCELiteDialog.py", line<br>
755, in accept<br>
self.runAnalysis(snd)<br>
File "/home/paolo/.qgis/python/plugins/mcelite/MCELiteDialog.py", line<br>
780, in runAnalysis<br>
self.qm.runQuery(self.progress)<br>
File<br>
"/home/paolo/.qgis/python/plugins/mcelite/mcelite/QueryManager.py", line<br>
700, in runQuery<br>
self.writeMCEConfig()<br>
File<br>
"/home/paolo/.qgis/python/plugins/mcelite/mcelite/QueryManager.py", line<br>
572, in writeMCEConfig<br>
fHandle = open(filename, 'w')<br>
IOError: [Errno 2] No such file or directory:<br>
'/Users/jpg/pyGIS/qgismcelite/examples/bool_osx_example_configuration_Bool.txt'<br>
<br>
Versione Python:<br>
2.6.6 (r266:84292, Dec 26 2010, 22:48:11)<br>
[GCC 4.4.5]<br>
<br>
<br>
Versione di QGIS:<br>
1.7.0-Trunk Trunk, 14993M<br>
=======================================================================<br>
<br>
Thanks for including the documentation. It would be useful if you could<br>
add an help/about button to read it directly form the plugin menu,<br>
better if in html.<br>
All the best.<br>
<font color="#888888">--<br>
<a href="http://www.faunalia.it/pc" target="_blank">http://www.faunalia.it/pc</a><br>
<br>
</font></blockquote></div><br></div></div></div>
</div><br>