[Qgis-user] Aggregate tool not working

Bernd Vogelgesang bernd.vogelgesang at gmx.de
Sat Oct 10 03:01:05 PDT 2015


Am 10.10.2015, 11:06 Uhr, schrieb Micah Duckworth  
<micah.duckworth at askham-bryan.ac.uk>:

>
> I am a new Qgis user using the latest version. I am wanting to do a  
> simple cell aggregation of a >raster in order to use it in another  
> application so have tried the aggregate algorithm.
>
> First question: the parameter entry window does not show an option to  
> specify the output file, as >there is for other algorithms. Is it  
> missing, or will it just output to a temporary file?
>
>
> Secondly, the algorithm fails to run anyway! The log shows the following  
> errors which seem to show >failure to load dlls. What should I try?
>
>
> Algorithm Aggregate starting...
>
> grid_tools "Aggregate" -INPUT  
> "C:\Users\m\AppData\Local\Temp\processing>\e163dc05746341b68f5aff8371cebcb6\woodrasbinary.sgrd"  
> -SIZE 3 -METHOD 0
>
>
> C:\PROGRA~1\QGISPI~1\bin>set SAGA=C:/PROGRA~1/QGISPI~1/apps\saga
>
>
> C:\PROGRA~1\QGISPI~1\bin>set  
> SAGA_MLB=C:/PROGRA~1/QGISPI~1/apps\saga\modules
>
>
> C:\PROGRA~1\QGISPI~1\bin>PATH=PATH;C:/PROGRA~1/QGISPI~1/apps\saga;C:/PROGRA~1/QGISPI~1/apps>\saga\modules
>
>
> C:\PROGRA~1\QGISPI~1\bin>saga_cmd grid_tools "Aggregate" -INPUT  
> "C:\Users\m\AppData\Local>\Temp\processing\e163dc05746341b68f5aff8371cebcb6\woodrasbinary.sgrd"  
> -SIZE 3 -METHOD 0
>
> ERROR 1: Can't load requested DLL:  
> C:\PROGRA~1\QGISPI~1\apps\saga\dll\gdal_MrSID.dll
>
> 127: The specified procedure could not be found.
>
>
>
> ERROR 1: Can't load requested DLL:  
> C:\PROGRA~1\QGISPI~1\apps\saga\dll\gdal_MrSID.dll
>
> 127: The specified procedure could not be found


Looks like this algo is somehow incomplete/has a bug.
I got it working with a test tif though:
In your log, you see the path to a result sgrd file. I tried to load this  
manually, but QGIS does not recognise it.
Then I searched about "gdal" and "sgrd" and learned, that there is a sdat  
file with the same name in the directory.
This can be loaded manually.

What I cannot reproduce is your error with gdal_MrSID.dll

Is your input a .sid file?

Then try converting to a tif, run the algo and manually load the sdat file  
 from the path mentioned in the log.

Good luck
Bernd

>
> _____________________________________________
>
>
> ##### ## ##### ##
>
> ### ### ## ###
>
> ### # ## ## #### # ##
>
> ### ##### ## # #####
>
> ##### # ## ##### # ##
>
> _____________________________________________
>
>
> _____________________________________________
>
> library path: C:\PROGRA~1\QGISPI~1\apps\saga\modules\grid_tools.dll
>
> library name: Grid - Tools
>
> tool name : Aggregate
>
> author : Victor Olaya (c) 2005
>
> _____________________________________________
>
>
> Load grid:  
> C:\Users\m\AppData\Local\Temp\processing>\e163dc05746341b68f5aff8371cebcb6\woodrasbinary.sgrd...
>
>
>
>
>
> Parameters
>
>
>
> Grid system: 10; 6138x 6682y; 360035.92025x 447990.557700y
>
> Grid: woodrasbinary
>
> Aggregation Size: 3
>
> Method: sum
>
>
>
> C:\PROGRA~1\QGISPI~1\bin>exit
>
> Converting outputs
>
> Loading resulting layers
>
> Algorithm Aggregate finished
>
>
>
>
>
>
>
>> The information in this email is confidential and is intended solely  
>> for the addressee, access to this email by anyone else is unauthorized.  
>> If you are not the intended recipient, you must not read, use >or  
>> disseminate the information. Any views expressed in this message are  
>> those of the individual sender, please note that any views or opinions  
>> presented in this email may be personal to the author >and do not  
>> necessarily represent the views or opinions of Askham Bryan College. It  
>> is the responsibility of the recipient to check this email for the  
>> presence of viruses; Askham Bryan College accepts >no liability for any  
>> damage caused by any virus transmitted by this email.
>
> http://www.askham-bryan.ac.uk/



-- 
Bernd Vogelgesang
Siedlerstraße 2
91083 Baiersdorf/Igelsdorf
Tel: 09133-825374
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20151010/3f7a1d42/attachment.html>


More information about the Qgis-user mailing list