4

I am using GRASS GIS v7.2.0. The intent is to clip my DEM raster. I have searched available raster tools but didn't found anything allow me to clip my raster using polygon vector or interactively.

How would i clip my raster in GRASS GIS? is there any plugin or tool to do the job?

  • @Ben your link is claer about the istructions "Make boundary into mask using r.mask then copy raster source to new map (g.copy). All cells outside of the mask will be omitted from the new copy." but in my case I can see that the behavior is not the expected, it is copying everything. Wrong or new behavior of g.copy? I am running GRASS GIS 7.2.0 (64bit) on windows 7 – Marco Sep 26 '17 at 13:30
6

For cropping a raster map according to a vector map, you can use r.mask which also supports vector maps.

Update 2018: Meanwhile there are v.clip and a new Addon available: r.clip

  • "r.mask - Creates a MASK for limiting raster operation, Areas inside the MASK are not hidden; areas outside the MASK will be ignored until the MASK file is removed". I am intending to produce separate clipped raster instead. For the purpose r.mask doesn't provide the solution. – Ben Mar 14 '18 at 5:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.