Re: [Qgis-user] GRASS r.series - ERROR: Unable to load GDAL library
Dear Andrea and all, Please disregard my last message. I don’t know why GRASS GIS Provider plugin deactivated, perhaps because it was crashing and automatically deactivates. Thank you, Regards, Nelson From: Andrea Giudiceandrea Sent: 18 July 2022 16:01 To: Nelson Ribeiro ; qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] GRASS r.series - ERROR: Unable to load GDAL library Il 18/07/2022 13:20, Nelson Ribeiro ha scritto: Thank you very much for your support, I have installed QGIS 3.22.8 - OSGeo4W-3.22.8-4.msi Standalone Installer Hi Nelson, please read my second reply message: Il 17/07/2022 11:59, Andrea Giudiceandrea ha scritto: Hi Nelson, I can replicate the same issue using v.sample instead of r.series. You can workaround the issue just copying the file "gdal305.dll", that is present in your QGIS installation directory under the \bin\ folder, with the name "gdal304.dll" in the same folder. See https://github.com/jef-n/OSGeo4W/pull/10. In addition to the above workaround, know that the issue has been already fixed and it will hopefully not occur in the upcoming QGIS 3.22.9 Standalone Installer. Best regards. Andrea ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] GRASS r.series - ERROR: Unable to load GDAL library
Dear Andrea, I’m sorry, GRASS tools have completely disappeared. I’ve upgraded to 3.22.9, I’ve also tried the same workaround of copying the DLL and changing the name, no results. Any suggestion? Thank you! Regards, Nelson From: Andrea Giudiceandrea Sent: 18 July 2022 16:01 To: Nelson Ribeiro ; qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] GRASS r.series - ERROR: Unable to load GDAL library Il 18/07/2022 13:20, Nelson Ribeiro ha scritto: Thank you very much for your support, I have installed QGIS 3.22.8 - OSGeo4W-3.22.8-4.msi Standalone Installer Hi Nelson, please read my second reply message: Il 17/07/2022 11:59, Andrea Giudiceandrea ha scritto: Hi Nelson, I can replicate the same issue using v.sample instead of r.series. You can workaround the issue just copying the file "gdal305.dll", that is present in your QGIS installation directory under the \bin\ folder, with the name "gdal304.dll" in the same folder. See https://github.com/jef-n/OSGeo4W/pull/10. In addition to the above workaround, know that the issue has been already fixed and it will hopefully not occur in the upcoming QGIS 3.22.9 Standalone Installer. Best regards. Andrea ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] GRASS r.series - ERROR: Unable to load GDAL library
Dear Andrea, Confirmed! Thank you. Regards, Nelson From: Andrea Giudiceandrea Sent: 18 July 2022 16:01 To: Nelson Ribeiro ; qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] GRASS r.series - ERROR: Unable to load GDAL library Il 18/07/2022 13:20, Nelson Ribeiro ha scritto: Thank you very much for your support, I have installed QGIS 3.22.8 - OSGeo4W-3.22.8-4.msi Standalone Installer Hi Nelson, please read my second reply message: Il 17/07/2022 11:59, Andrea Giudiceandrea ha scritto: Hi Nelson, I can replicate the same issue using v.sample instead of r.series. You can workaround the issue just copying the file "gdal305.dll", that is present in your QGIS installation directory under the \bin\ folder, with the name "gdal304.dll" in the same folder. See https://github.com/jef-n/OSGeo4W/pull/10. In addition to the above workaround, know that the issue has been already fixed and it will hopefully not occur in the upcoming QGIS 3.22.9 Standalone Installer. Best regards. Andrea ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] GRASS r.series - ERROR: Unable to load GDAL library
Dear Andrea, Thank you so much for the help. I will try and let you know. Best regards, Nelson From: Andrea Giudiceandrea Sent: 18 July 2022 16:01 To: Nelson Ribeiro ; qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] GRASS r.series - ERROR: Unable to load GDAL library Il 18/07/2022 13:20, Nelson Ribeiro ha scritto: Thank you very much for your support, I have installed QGIS 3.22.8 - OSGeo4W-3.22.8-4.msi Standalone Installer Hi Nelson, please read my second reply message: Il 17/07/2022 11:59, Andrea Giudiceandrea ha scritto: Hi Nelson, I can replicate the same issue using v.sample instead of r.series. You can workaround the issue just copying the file "gdal305.dll", that is present in your QGIS installation directory under the \bin\ folder, with the name "gdal304.dll" in the same folder. See https://github.com/jef-n/OSGeo4W/pull/10. In addition to the above workaround, know that the issue has been already fixed and it will hopefully not occur in the upcoming QGIS 3.22.9 Standalone Installer. Best regards. Andrea ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] GRASS r.series - ERROR: Unable to load GDAL library
Il 18/07/2022 13:20, Nelson Ribeiro ha scritto: Thank you very much for your support, I have installed QGIS 3.22.8 - OSGeo4W-3.22.8-4.msi Standalone Installer Hi Nelson, please read my second reply message: Il 17/07/2022 11:59, Andrea Giudiceandrea ha scritto: Hi Nelson, I can replicate the same issue using v.sample instead of r.series. You can workaround the issue just copying the file "gdal305.dll", that is present in your QGIS installation directory under the \bin\ folder, with the name "gdal304.dll" in the same folder. See https://github.com/jef-n/OSGeo4W/pull/10. In addition to the above workaround, know that the issue has been already fixed and it will hopefully not occur in the upcoming QGIS 3.22.9 Standalone Installer. Best regards. Andrea___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] GRASS r.series - ERROR: Unable to load GDAL library
Dear Andrea, Thank you very much for your support, I have installed QGIS 3.22.8 - OSGeo4W-3.22.8-4.msi Standalone Installer Format is TIFF Other GDAL tools show the same problem. Here’s an example: QGIS version: 3.22.8-Białowieża QGIS code revision: 8d5e9761df Qt version: 5.15.3 Python version: 3.9.5 GDAL version: 3.5.0 GEOS version: 3.10.3-CAPI-1.16.1 PROJ version: Rel. 9.0.1, June 15th, 2022 PDAL version: 2.3.0 (git-version: 988ee3) Algorithm started at: 2022-07-18T12:15:08 Algorithm 'r.series' starting… Input parameters: { '-n' : False, 'GRASS_RASTER_FORMAT_META' : '', 'GRASS_RASTER_FORMAT_OPT' : '', 'GRASS_REGION_CELLSIZE_PARAMETER' : 0, 'GRASS_REGION_PARAMETER' : None, 'input' : ['C:/TEMP/KenV3_Temp/New_KEN_AnimalDens_normalized.tif','C:/TEMP/KenV3_Temp/New_KEN_PopDens_normalized.tif'], 'method' : [6], 'output' : 'TEMPORARY_OUTPUT', 'quantile' : '', 'range' : [nan,nan], 'weights' : '' } g.proj -c wkt="C:/Users/nelso/AppData/Local/Temp/processing_mTLFxN/5889ce066fa4406a99060990a6c1b51f/crs.prj" r.external input="C:\TEMP\KenV3_Temp\New_KEN_AnimalDens_normalized.tif" band=1 output="rast_62d540bc59b732" --overwrite -o r.external input="C:\TEMP\KenV3_Temp\New_KEN_PopDens_normalized.tif" band=1 output="rast_62d540bc59b733" --overwrite -o g.region n=4.617852097 s=-4.72207776001 e=41.909679995 w=33.91974 res=0.00924899874843 r.series input=rast_62d540bc59b732,rast_62d540bc59b733 method="maximum" output=output6c2769effb3240fd80ef6cc7ab9e5925 --overwrite g.region raster=output6c2769effb3240fd80ef6cc7ab9e5925 r.out.gdal -t -m input="output6c2769effb3240fd80ef6cc7ab9e5925" output="C:\Users\nelso\AppData\Local\Temp\processing_mTLFxN\35cc2b51cf644dcb9318263aebc13d17\output.tif" format="GTiff" createopt="TFW=YES,COMPRESS=LZW" --overwrite Starting GRASS GIS... WARNING: Concurrent mapset locking is not supported on Windows Cleaning up temporary files... Executing ... C:\Users\nelso\Documents>chcp 1252 1>NUL C:\Users\nelso\Documents>g.proj -c wkt="C:/Users/nelso/AppData/Local/Temp/processing_mTLFxN/5889ce066fa4406a99060990a6c1b51f/crs.prj" Default region was updated to the new projection, but if you have multiple mapsets `g.region -d` should be run in each to update the region from the default Projection information updated C:\Users\nelso\Documents>r.external input="C:\TEMP\KenV3_Temp\New_KEN_AnimalDens_normalized.tif" band=1 output="rast_62d540bc59b732" --overwrite -o Over-riding projection check Reading band 1 of 1... Link to raster map created. C:\Users\nelso\Documents>r.external input="C:\TEMP\KenV3_Temp\New_KEN_PopDens_normalized.tif" band=1 output="rast_62d540bc59b733" --overwrite -o Over-riding projection check Reading band 1 of 1... Link to raster map created. C:\Users\nelso\Documents>g.region n=4.617852097 s=-4.72207776001 e=41.909679995 w=33.91974 res=0.00924899874843 C:\Users\nelso\Documents>r.series input=rast_62d540bc59b732,rast_62d540bc59b733 method="maximum" output=output6c2769effb3240fd80ef6cc7ab9e5925 --overwrite ERROR: Unable to load GDAL library C:\Users\nelso\Documents>g.region raster=output6c2769effb3240fd80ef6cc7ab9e5925 ERROR: Raster map not found C:\Users\nelso\Documents>r.out.gdal -t -m input="output6c2769effb3240fd80ef6cc7ab9e5925" output="C:\Users\nelso\AppData\Local\Temp\processing_mTLFxN\35cc2b51cf644dcb9318263aebc13d17\output.tif" format="GTiff" createopt="TFW=YES,COMPRESS=LZW" --overwrite ERROR: Raster map or group not found C:\Users\nelso\Documents>exit Execution of finished. Cleaning up temporary files... Press any key to continue . . . Execution completed in 1.35 seconds Results: {'output': 'C:\\Users\\nelso\\AppData\\Local\\Temp\\processing_mTLFxN\\35cc2b51cf644dcb9318263aebc13d17\\output.tif'} Loading resulting layers The following layers were not correctly generated. • C:/Users/nelso/AppData/Local/Temp/processing_mTLFxN/35cc2b51cf644dcb9318263aebc13d17/output.tif You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm. Best regards, Nelson From: Qgis-user On Behalf Of Andrea Giudiceandrea via Qgis-user Sent: 16 July 2022 11:02 To: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] GRASS r.series - ERROR: Unable to load GDAL library Nelson Ribeiro Fri Jul 15 02:52:21 PDT 2022 ERROR: Unable to load GDAL library Hi Nelson, did you install QGIS 3.22.8 using the OSGeo4W Standalone Installer or the OSGeo4W Network Installer?
Re: [Qgis-user] GRASS r.series - ERROR: Unable to load GDAL library
*Chris George* /Fri Jul 15 04:10:45 PDT 2022/ Having a similar problem I discovered that somewhere between 3.22.4 and 3.22.8 the version of GDAL used by QGIS (and supplied with it) changed from 304 to 305. Is this your problem? Hi Chris, as you wrote, the issue is due precisely to the fact that GRASS is expecting a gdal304.dll library, while the newer versions of QGIS installed using the OSGeo4W installers on Windows ship gdal305.dll. *Nelson Ribeiro* /Fri Jul 15 02:52:21 PDT 2022/ ERROR: Unable to load GDAL library Hi Nelson, I can replicate the same issue using v.sample instead of r.series. You can workaround the issue just copying the file "gdal305.dll", that is present in your QGIS installation directory under the \bin\ folder, with the name "gdal304.dll" in the same folder. See https://github.com/jef-n/OSGeo4W/pull/10. Best regards. Andrea Giudiceandrea ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] GRASS r.series - ERROR: Unable to load GDAL library
*Nelson Ribeiro* /Fri Jul 15 02:52:21 PDT 2022/ ERROR: Unable to load GDAL library Hi Nelson, did you install QGIS 3.22.8 using the OSGeo4W Standalone Installer or the OSGeo4W Network Installer? If the latter, have you updated all the installed packages? If the former, what installer exactly: the QGIS-OSGeo4W-3.22.8-3.msi or the QGIS-OSGeo4W-3.22.8-4.msi installer? What format is your raster layer? Does any of the GRASS processing algorithm work? Could you please report the whole processing log? Does GRASS-GIS starts without issue if launched using the shortcut link? Does the r.series tool works in GRASS-GIS? I've just tried to run r.series with QGIS 3.22.8 installed using the QGIS-OSGeo4W-3.22.8-4.msi OSGeo4W Standalone Installer and also installed using the OSGeo4W Network Installer and there is no issue with both in my system. Anyway, right now the new QGIS versions, 3.22.9 and 3.26.1, are available in OSGeo4W Network Installer and the corresponding new OSGeo4W Standalone Installers are available at https://download.qgis.org/downloads/?C=M;O=D Best regards. Andrea___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] GRASS r.series - ERROR: Unable to load GDAL library
Having a similar problem I discovered that somewhere between 3.22.4 and 3.22.8 the version of GDAL used by QGIS (and supplied with it) changed from 304 to 305. Is this your problem? Chris On 7/15/2022 10:52 AM, Nelson Ribeiro via Qgis-user wrote: Dear list, I have some large raster datasets to process statistics, but it was not working. Time consuming aligned, reprojected, changed data type, all I could to try to make it work, and finally concluded, after testing with smaller datasets, that the problem wasn’t with the data grass r.series had stopped working. ERROR: Unable to load GDAL library Loading resulting layers The following layers were not correctly generated. I tried uninstalling reinstalling QGIS, the problem persists. I’m using: QGIS version 3.22.8-Białowieża Windows 11 Home Version 21H2 OS build 22000.795 All updates. I had to resource to ArcMap cell statistics to do it but would like to solve the issue and have QGIS with complete processing tools option. Any suggestion? Did anyone else had this happening? Thank you very much! Nelson Ribeiro ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] GRASS r.series - ERROR: Unable to load GDAL library
Dear list, I have some large raster datasets to process statistics, but it was not working. Time consuming aligned, reprojected, changed data type, all I could to try to make it work, and finally concluded, after testing with smaller datasets, that the problem wasn't with the data grass r.series had stopped working. ERROR: Unable to load GDAL library Loading resulting layers The following layers were not correctly generated. I tried uninstalling reinstalling QGIS, the problem persists. I'm using: QGIS version 3.22.8-Białowieża Windows 11 Home Version 21H2 OS build 22000.795 All updates. I had to resource to ArcMap cell statistics to do it but would like to solve the issue and have QGIS with complete processing tools option. Any suggestion? Did anyone else had this happening? Thank you very much! Nelson Ribeiro ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user