[QGIS-pt] ERROR: Unable to load GDAL library

Boa tarde,

Gostaria de colocar 1 questão. A tentar executar a ferramenta “grass” pelo QGIS (versão + recente com instalação via OSGeo4W, numa máquina windows 10, 64 bits.
Creio que o que aborta o processo será a impossibilidade de utilizar a livraria GDAL, mas não percebo como solucionar:

//
2021-07-20T14:05:39 INFO GRASS GIS 7 execution console output
Starting GRASS GIS…
WARNING: Concurrent mapset locking is not supported on Windows
Cleaning up temporary files…
Executing …
C:\OSGeo4W\bin>chcp 1252 1>NUL
C:\OSGeo4W\bin>g.proj -c wkt=“C:/Users/Particular/AppData/Local/Temp/processing_MbcDzX/cdd299bd36d6449fb1270f6e559b3652/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:\OSGeo4W\bin>r.external input=“G:\FICHEIROS_DADOS\CONSULTORIA\CM_XXX\GIS\MDT\MDT_140401v2.tif” band=1 output=“rast_60f6ca2232fda2” --overwrite -o
Over-riding projection check
Reading band 1 of 1…
ERROR: Unable to load GDAL library
C:\OSGeo4W\bin>g.region n=-39620.35982039999 s=-55560.3505752 e=-30548.607124000002 w=-43733.4816028 res=4.999952399999999
C:\OSGeo4W\bin>r.fill.dir input=rast_60f6ca2232fda2 format=“grass” output=output89153a1a560e43489194c61612739fcd direction=direction89153a1a560e43489194c61612739fcd areas=areas89153a1a560e43489194c61612739fcd --overwrite
ERROR: Unable to load GDAL library
C:\OSGeo4W\bin>g.region raster=output89153a1a560e43489194c61612739fcd
ERROR: Raster map not found
C:\OSGeo4W\bin>r.out.gdal -t -m input=“output89153a1a560e43489194c61612739fcd” output=“C:\Users\Particular\AppData\Local\Temp\processing_MbcDzX\a76ab4e5d68b45f1b6c2739e58437da5\output.tif” format=“GTiff” createopt=“TFW=YES,COMPRESS=LZW” --overwrite
ERROR: Raster map or group not found
C:\OSGeo4W\bin>g.region raster=direction89153a1a560e43489194c61612739fcd
ERROR: Raster map not found
C:\OSGeo4W\bin>r.out.gdal -t -m input=“direction89153a1a560e43489194c61612739fcd” output=“C:\Users\Particular\AppData\Local\Temp\processing_MbcDzX\fde16642fbfe463c9cc71ea2c0f08ee3\direction.tif” format=“GTiff” createopt=“TFW=YES,COMPRESS=LZW” --overwrite
ERROR: Raster map or group not found
C:\OSGeo4W\bin>g.region raster=areas89153a1a560e43489194c61612739fcd
ERROR: Raster map not found
C:\OSGeo4W\bin>r.out.gdal -t -m input=“areas89153a1a560e43489194c61612739fcd” output=“C:\Users\Particular\AppData\Local\Temp\processing_MbcDzX\cf65f88ad3124782932644f6fb6dd822\areas.tif” format=“GTiff” createopt=“TFW=YES,COMPRESS=LZW” --overwrite
ERROR: Raster map or group not found
C:\OSGeo4W\bin>exit
Execution of finished.
Cleaning up temporary files…
Press any key to continue . . .
//

Ajuda, será bem vinda

Obrigado

···

Cumprimentos,
Valter Albino - Geógrafo Físico, M.Sc.

Modelação H&H / Riscos ambientais / OT&U

www.valteralbino.wixsite.com/hydrodynamics

talvez seja este:

https://github.com/qgis/QGIS/issues/44155

Cumprimentos

-- G --

On Tue, Jul 20, 2021 at 2:13 PM Valter Albino <valteralbino@gmail.com> wrote:

Boa tarde,

Gostaria de colocar 1 questão. A tentar executar a ferramenta "grass" pelo QGIS (versão + recente com instalação via OSGeo4W, numa máquina windows 10, 64 bits.
Creio que o que aborta o processo será a impossibilidade de utilizar a livraria GDAL, mas não percebo como solucionar:

//
2021-07-20T14:05:39 INFO GRASS GIS 7 execution console output
             Starting GRASS GIS...
             WARNING: Concurrent mapset locking is not supported on Windows
             Cleaning up temporary files...
             Executing ...
             C:\OSGeo4W\bin>chcp 1252 1>NUL
             C:\OSGeo4W\bin>g.proj -c wkt="C:/Users/Particular/AppData/Local/Temp/processing_MbcDzX/cdd299bd36d6449fb1270f6e559b3652/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:\OSGeo4W\bin>r.external input="G:\FICHEIROS_DADOS\CONSULTORIA\CM_XXX\GIS\MDT\MDT_140401v2.tif" band=1 output="rast_60f6ca2232fda2" --overwrite -o
             Over-riding projection check
             Reading band 1 of 1...
             ERROR: Unable to load GDAL library
             C:\OSGeo4W\bin>g.region n=-39620.35982039999 s=-55560.3505752 e=-30548.607124000002 w=-43733.4816028 res=4.999952399999999
             C:\OSGeo4W\bin>r.fill.dir input=rast_60f6ca2232fda2 format="grass" output=output89153a1a560e43489194c61612739fcd direction=direction89153a1a560e43489194c61612739fcd areas=areas89153a1a560e43489194c61612739fcd --overwrite
             ERROR: Unable to load GDAL library
             C:\OSGeo4W\bin>g.region raster=output89153a1a560e43489194c61612739fcd
             ERROR: Raster map not found
             C:\OSGeo4W\bin>r.out.gdal -t -m input="output89153a1a560e43489194c61612739fcd" output="C:\Users\Particular\AppData\Local\Temp\processing_MbcDzX\a76ab4e5d68b45f1b6c2739e58437da5\output.tif" format="GTiff" createopt="TFW=YES,COMPRESS=LZW" --overwrite
             ERROR: Raster map or group not found
             C:\OSGeo4W\bin>g.region raster=direction89153a1a560e43489194c61612739fcd
             ERROR: Raster map not found
             C:\OSGeo4W\bin>r.out.gdal -t -m input="direction89153a1a560e43489194c61612739fcd" output="C:\Users\Particular\AppData\Local\Temp\processing_MbcDzX\fde16642fbfe463c9cc71ea2c0f08ee3\direction.tif" format="GTiff" createopt="TFW=YES,COMPRESS=LZW" --overwrite
             ERROR: Raster map or group not found
             C:\OSGeo4W\bin>g.region raster=areas89153a1a560e43489194c61612739fcd
             ERROR: Raster map not found
             C:\OSGeo4W\bin>r.out.gdal -t -m input="areas89153a1a560e43489194c61612739fcd" output="C:\Users\Particular\AppData\Local\Temp\processing_MbcDzX\cf65f88ad3124782932644f6fb6dd822\areas.tif" format="GTiff" createopt="TFW=YES,COMPRESS=LZW" --overwrite
             ERROR: Raster map or group not found
             C:\OSGeo4W\bin>exit
             Execution of finished.
             Cleaning up temporary files...
             Press any key to continue . . .
//

Ajuda, será bem vinda
Obrigado

Cumprimentos,
Valter Albino - Geógrafo Físico, M.Sc.
Modelação H&H / Riscos ambientais / OT&U
www.valteralbino.wixsite.com/hydrodynamics
_______________________________________________
QGIS-pt mailing list
QGIS-pt@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-pt

É possível :slight_smile:

A mesma versão 3.20.0 no portátil “laptop” executa sem problemas …

//

QGIS version

3.20.0-Odense

QGIS code revision

decaadbb31

Qt version

5.15.2

Python version

3.9.5

GDAL/OGR version

3.3.0

PROJ version

8.0.1

EPSG Registry database version

v10.018 (2021-04-02)

GEOS version

3.9.1-CAPI-1.14.2

SQLite version

3.35.2

PDAL version

2.3.0

PostgreSQL client version

13.0

SpatiaLite version

5.0.1

QWT version

6.1.3

QScintilla2 version

2.11.5

OS version

Windows 10 Version 1909

Giovanni Manghi <giovanni.manghi@gmail.com> escreveu no dia terça, 20/07/2021 à(s) 14:44:

···

//

Obrigado

Cumprimentos,
Valter Albino - Geógrafo Físico, M.Sc.

Modelação H&H / Riscos ambientais / OT&U

www.valteralbino.wixsite.com/hydrodynamics