Saturday, 2 November 2019

Splitting Raster in ArcGIS


I have a 30m raster dataset for the continental US, and would like to divide it into manageable chunks to convert it to vector, etc.


What's the best way to accomplish this? I don't want any overlap within the tiles, and don't care about the shape of the resulting rasters. The Split Raster tool in ArcGIS would seem the natural choice, but it requires that I specify a resampling method. I don't want to resample my data at all-- I want this the same data as the original raster, just in smaller pieces.



Happy to pursue python-based solutions if need be, but hoping there's some out of the box solution that doesn't involve transforming the data.



Answer



If your output rasters (as defined in the environment of your tool):




  • have the same output cell size,




  • have their pixels aligned with the input raster





Then you can use the Split raster tool using the "NEAREST" option for resampling. This will not modifiy your pixel values.


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...