Alexander,<br>I've tried to install pyparsing but the installation complains that there is no python<br>in the registry and cannot browse to the python directory. I assume that python<br>has been installed by the windows standalone qgis installer (am I wrong?), so what<br>
can a "regular" user of the windows qgis do to use RasterCalc (in addition to switch <br>to the osgeo4w version)? I'm trying to clarify the simplest method for students.<br>Thanks<br><br>Agus<br><br><div class="gmail_quote">
2010/1/22 Alexander Bruy <span dir="ltr"><<a href="mailto:alexander.bruy@gmail.com">alexander.bruy@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Agustin,<br>
<br>
thanks for your interest and feedback<br>
<br>
2010/1/22 Agustin Lobo <<a href="mailto:alobolistas@gmail.com">alobolistas@gmail.com</a>>:<br>
<div class="im">> 1. Resulting raster is loaded in qgis as name.tif instead as name as usual.<br>
> 2. If name.tif is selected for processing, you get a syntax error<br>
> 3. If name.tif is renamed to name in the Layers list, the syntax error goes<br>
> away.<br>
<br>
</div>I'll fix all this issues tonight<br>
<div class="im"><br>
> 4. Could you include a round() function?<br>
> 5. In general, could you include all functions required to match<br>
> r.mapcalc functionality?<br>
<br>
</div>Ok, I'll try to include round() function ASAP.<br>
About r.mapcalc functionality. We plan to improve plugin in future,<br>
but unfortunatelly now I haven't much time (need to complete one project).<br>
As result I can't say how quick I can add this stuff. I'll add your request to<br>
the TODO and implement it later.<br>
<div class="im"><br>
> On Win XP (Standalone):<br>
> 1.The plugin gets installed but cannot be run: "Couldn't import Python<br>
> module 'pyparsing'. Without it you won't be able to run RasterCalc"<br>
> Does this mean that RasterCalc can be run from the Osgeo4w version<br>
> only? If this is the case, this notice should be issued at installing<br>
> the plugin. And, most important, will we have RasterCalc working for<br>
> the Standalone version soon? (I'm interested on using it for a course).<br>
<br>
</div>RasterCalc should work with both QGIS, standalone and Osgeo4w if all<br>
required modules are present. Required modules are: numpy, osgeo.gdal<br>
(Python bindings to GDAL) and pyparsing.<br>
<br>
As far as I know numpy and Python bindings to GDAL are already present<br>
in standalone QGIS. So if you want to use RasterCalc with standalone<br>
QGIS you only need to download and install pyparsing into QGIS python<br>
folder.<br>
<br>
homepage: <a href="http://pyparsing.wikispaces.com/" target="_blank">http://pyparsing.wikispaces.com/</a><br>
download page: <a href="http://sourceforge.net/projects/pyparsing/files/" target="_blank">http://sourceforge.net/projects/pyparsing/files/</a><br>
<br>
Hope this helps. If you have any other questions feel free to email me.<br>
<br>
Regards<br>
<font color="#888888">--<br>
Alexander Bruy<br>
mailto: <a href="mailto:alexander.bruy@gmail.com">alexander.bruy@gmail.com</a><br>
</font></blockquote></div><br>