Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 9518

A Geospatial Data Abstraction Library (GDAL) image mosaicing, reprojection, and warping utility.

10 votes
4 answers
9k views

For looping folder to batch clip rasters by polygon using python and QGIS?

LE71930282000259EDC00" OUTPUT= "C:/Users/unim/Documents/Umberto/Universita/PhD/Guglielmin/Permafrost/Alta_Valtellina/Landsat_ita/foscagno_pyqgis/" for RASTER in INPUT_FOLDER.tif do echo "Processing $RASTER" gdalwarp … fnmatch.filter(files, filter): yield os.path.join (root, file) for raster in findRasters (INPUT_FOLDER, '*.tif'): print (raster) outRaster = OUTPUT + '/clip_' + raster cmd = 'gdalwarp
1 vote
1 answer
871 views

Cannot use in memory raster object with gdal warp (GDAL Python API)

These are the operations I am doing in my code: reading an existing raster (tif) creating a in memory raster object reading the existing raster object in chunk as array making some calculations writ …