Pages: 1
- Sujet précédent - QGIS 2.14 & SAGA / Error Resample : object has no attribute 'crs' - Sujet suivant
#1 Fri 05 January 2018 15:21
- jlavaure
- Participant assidu
- Date d'inscription: 20 Apr 2013
- Messages: 203
QGIS 2.14 & SAGA / Error Resample : object has no attribute 'crs'
Bonjour,
Je rencontre une erreur avec SAGA dans QGIS, notamment avec l'algorithmes "Ré-échantillonnage".
J'ai une données raster d'îles dans le pacifique provenant des données ASTER.
Je souhaite ré-échantillonner ce raster qui a une résolution de 30x30 pour obtenir une résolution de 5x5. Pour cela je voulais utiliser la fonction Ré-échantillonnage (resampling) de SAGA.
Une fois tout paramétré, après le Run j'obtiens l'erreur suivante : 'NoneType' object has no attribute 'crs' See log for more details
Avec dans le log :
Code:
émarrage de l'algorithme Resampling ... io_gdal 0 -TRANSFORM 1 -RESAMPLING 0 -GRIDS "C:\Users\JIMMYL~1\AppData\Local\Temp\processing1bc6629387b74e9cbfbfa9c72d0387fa\abfbc9cc3833420d86e1bc3a1c135715\tset.sgrd" -FILES "C:/Users/Jimmy LAVAURE/Desktop/_a_suppr/Solomon_Islands/tset.tif" io_gdal 0 -TRANSFORM 1 -RESAMPLING 0 -GRIDS "C:\Users\JIMMYL~1\AppData\Local\Temp\processing1bc6629387b74e9cbfbfa9c72d0387fa\8df622b3cada4179acbfe2959b2ff8d9\tset.sgrd" -FILES "C:/Users/Jimmy LAVAURE/Desktop/_a_suppr/Solomon_Islands/tset.tif" grid_tools "Resampling" -TARGET_DEFINITION 0 -INPUT "C:\Users\JIMMYL~1\AppData\Local\Temp\processing1bc6629387b74e9cbfbfa9c72d0387fa\8df622b3cada4179acbfe2959b2ff8d9\tset.sgrd" -KEEP_TYPE true -SCALE_UP 3 -SCALE_DOWN 3 -TARGET_USER_XMIN 156.755136789 -TARGET_USER_XMAX 156.874299749 -TARGET_USER_YMIN -8.11048736113 -TARGET_USER_YMAX -8.02743438902 -TARGET_USER_SIZE 1 -TARGET_USER_FITS 1 -TARGET_TEMPLATE "C:\Users\JIMMYL~1\AppData\Local\Temp\processing1bc6629387b74e9cbfbfa9c72d0387fa\8df622b3cada4179acbfe2959b2ff8d9\tset.sgrd" -OUTPUT "C:\Users\JIMMYL~1\AppData\Local\Temp\processing1bc6629387b74e9cbfbfa9c72d0387fa\0cc03c2ba9e64aea8ca246a41c97343f\OUTPUT.sdat" C:\PROGRA~1\QGIS2~1.14\bin>set SAGA=C:\PROGRA~1\QGIS2~1.14\apps\saga-ltr C:\PROGRA~1\QGIS2~1.14\bin>set SAGA_MLB=C:\PROGRA~1\QGIS2~1.14\apps\saga-ltr\modules C:\PROGRA~1\QGIS2~1.14\bin>PATH=C:\PROGRA~1\QGIS2~1.14\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg\shapely\DLLs;C:\PROGRA~1\QGIS2~1.14\apps\Python27\DLLs;C:\PROGRA~1\QGIS2~1.14\apps\Python27\lib\site-packages\numpy\core;C:\PROGRA~1\QGIS2~1.14\apps\qgis-ltr\bin;C:\PROGRA~1\QGIS2~1.14\apps\grass\grass-7.2.2\lib;C:\PROGRA~1\QGIS2~1.14\apps\grass\grass-7.2.2\bin;C:\PROGRA~1\QGIS2~1.14\apps\Python27\Scripts;C:\PROGRA~1\QGIS2~1.14\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBem;C:\PROGRA~1\QGIS2~1.14\apps\saga-ltr;C:\PROGRA~1\QGIS2~1.14\apps\saga-ltr\modules C:\PROGRA~1\QGIS2~1.14\bin>saga_cmd io_gdal 0 -TRANSFORM 1 -RESAMPLING 0 -GRIDS "C:\Users\JIMMYL~1\AppData\Local\Temp\processing1bc6629387b74e9cbfbfa9c72d0387fa\abfbc9cc3833420d86e1bc3a1c135715\tset.sgrd" -FILES "C:/Users/Jimmy LAVAURE/Desktop/_a_suppr/Solomon_Islands/tset.tif" ____________________________ ##### ## ##### ## ### ### ## ### ### # ## ## #### # ## ### ##### ## # ##### ##### # ## ##### # ## ____________________________ SAGA Version: 2.3.2 (64 bit) ____________________________ library path: C:\PROGRA~1\QGIS2~1.14\apps\saga-ltr\modules\ library name: io_gdal library : GDAL/OGR tool : Import Raster author : O.Conrad (c) 2007 (A.Ringeler) processors : 4 [4] ____________________________ Parameters Grids: No objects Files: "C:/Users/Jimmy LAVAURE/Desktop/_a_suppr/Solomon_Islands/tset.tif" Select from Multiple Bands: Alphanumeric Sorting: yes Transformation: yes Resampling: Nearest Neighbour loading: C:/Users/Jimmy LAVAURE/Desktop/_a_suppr/Solomon_Islands/tset.tif Driver: GTiff Bands: 1 Rows: 429 Columns: 299 loading: tset C:\PROGRA~1\QGIS2~1.14\bin>saga_cmd io_gdal 0 -TRANSFORM 1 -RESAMPLING 0 -GRIDS "C:\Users\JIMMYL~1\AppData\Local\Temp\processing1bc6629387b74e9cbfbfa9c72d0387fa\8df622b3cada4179acbfe2959b2ff8d9\tset.sgrd" -FILES "C:/Users/Jimmy LAVAURE/Desktop/_a_suppr/Solomon_Islands/tset.tif" ____________________________ ##### ## ##### ## ### ### ## ### ### # ## ## #### # ## ### ##### ## # ##### ##### # ## ##### # ## ____________________________ SAGA Version: 2.3.2 (64 bit) ____________________________ library path: C:\PROGRA~1\QGIS2~1.14\apps\saga-ltr\modules\ library name: io_gdal library : GDAL/OGR tool : Import Raster author : O.Conrad (c) 2007 (A.Ringeler) processors : 4 [4] ____________________________ Parameters Grids: No objects Files: "C:/Users/Jimmy LAVAURE/Desktop/_a_suppr/Solomon_Islands/tset.tif" Select from Multiple Bands: Alphanumeric Sorting: yes Transformation: yes Resampling: Nearest Neighbour loading: C:/Users/Jimmy LAVAURE/Desktop/_a_suppr/Solomon_Islands/tset.tif Driver: GTiff Bands: 1 Rows: 429 Columns: 299 loading: tset C:\PROGRA~1\QGIS2~1.14\bin>saga_cmd grid_tools "Resampling" -TARGET_DEFINITION 0 -INPUT "C:\Users\JIMMYL~1\AppData\Local\Temp\processing1bc6629387b74e9cbfbfa9c72d0387fa\8df622b3cada4179acbfe2959b2ff8d9\tset.sgrd" -KEEP_TYPE true -SCALE_UP 3 -SCALE_DOWN 3 -TARGET_USER_XMIN 156.755136789 -TARGET_USER_XMAX 156.874299749 -TARGET_USER_YMIN -8.11048736113 -TARGET_USER_YMAX -8.02743438902 -TARGET_USER_SIZE 1 -TARGET_USER_FITS 1 -TARGET_TEMPLATE "C:\Users\JIMMYL~1\AppData\Local\Temp\processing1bc6629387b74e9cbfbfa9c72d0387fa\8df622b3cada4179acbfe2959b2ff8d9\tset.sgrd" -OUTPUT "C:\Users\JIMMYL~1\AppData\Local\Temp\processing1bc6629387b74e9cbfbfa9c72d0387fa\0cc03c2ba9e64aea8ca246a41c97343f\OUTPUT.sdat" ____________________________ ##### ## ##### ## ### ### ## ### ### # ## ## #### # ## ### ##### ## # ##### ##### # ## ##### # ## ____________________________ SAGA Version: 2.3.2 (64 bit) ____________________________ library path: C:\PROGRA~1\QGIS2~1.14\apps\saga-ltr\modules\ library name: grid_tools library : Tools tool : Resampling author : O.Conrad (c) 2003 processors : 4 [4] ____________________________ Load grid: C:\Users\JIMMYL~1\AppData\Local\Temp\processing1bc6629387b74e9cbfbfa9c72d0387fa\8df622b3cada4179acbfe2959b2ff8d9\tset.sgrd... Parameters Grid system: 0.000278; 429x 299y; 156.755276x -8.110348y Grids: 1 object (tset) Output: No objects Preserve Data Type: yes Upscaling Method: B-Spline Interpolation Downscaling Method: B-Spline Interpolation Target Grid System: user defined Cellsize: 1.000000 Left: 155.874300 Right: 156.874300 Bottom: -9.027434 Top: -8.027434 Fit: cells Error: clip extent does not match extent of input grids Error: executing tool [Resampling] C:\PROGRA~1\QGIS2~1.14\bin>exit Converting outputs 'NoneType' object has no attribute 'crs' See log for more details
Impossible de trouver une solution, j'ai tenté r.resamp de GRASS mais ça ne sort rien.
A savoir que ma projection est du WGS84 (4326).
Merci d'avance pour votre aide.
Hors ligne
Pages: 1
- Sujet précédent - QGIS 2.14 & SAGA / Error Resample : object has no attribute 'crs' - Sujet suivant