Sunday, 2 June 2019

Splitting raster in QGIS? without cliper


I have polygon grid layer and raster image whitch want to split with my grid layer to have 9 new raster layers.


I was doing it like this guy but my QGIS stop working and shut down every time when I hit run button.


So is there another way, how to split raster with vector layer?



Answer



There's a QGIS plugin called GridSplitter which will take a raster (or vector layer for that matter) and split it up into one raster layer per grid cell. If you already have a grid polygon layer you can use that to cut up the image, using the 'cut layer' option (see screenshot)


This is probably the easiest way to do this, especially if you need to scale this up (e.g. split a world DEM into degree squares)



enter image description here


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...