I have a georeferenced raster. Instead of extracting or clipping it by a clip feature or co-ordinate, I need to clip it by row and column number.
i.e. I want BX.tif to be columns 2150:2400 and rows 1250:1650 of B2.tif.
Answer
I addressed this using Michael Miles-Stimson's comment - in gdal
gdal_translate -srcwin 1250 2150 401 251 input.tif output.tif
No comments:
Post a Comment