Is there any simple way to change this command:
gdalwarp -tr 10 10 -cutline "shape.shp" -crop_to_cutline -of GTiff "S1A_IW_GRDH_1SDV_20200719T161950_20200719T162015_033526_03E28C_C720.SAFE.tif" "S1A_IW_GRDH_1SDV_20200719T161950_20200719T162015_033526_03E28C_C720.SAFE.tif"
to the one that would clip to cutline, but with negative buffer in meters (if not, at least in pixels?)
Input data is WGS84 UTM zone 34N.
Best Answer
you may want to just issue the buffer command in Spatialite SQL. Easiest to do it in two steps:
Or you can put the SQL directly in gdalwarp using the
-csql
options. Harder to debug!(all in one line without the
\
, I'm not sure this will work as typed!)