I am working on serveral raster data, but some of them are not fill data exactly with intended boundary (as shown in the picture below). What i want to do is firstly extend the raster data to intended boundary (pink line).
Can you help me with this problem?

Answer
The tool I would use is Euclidean Allocation, this will 'stretch' out your values based on the existing closest value (not changing any existing values), then use Extract by Mask to get the area that's just within the extent to keep it neat.
The Euclidean Allocation tool (spatial analyst required) only works with integer rasters, if you have floating point data (with decimals) you will need to multiply by a scale factor (Times tool), convert to an integer (use Int) and then divide by the same scale factor to return it to a floating point value (divide tool), this will of course round the values but it's better than nothing.
No comments:
Post a Comment