12-13-2018 12:40 AM
I have two rasters with an overlay area and I want to keep only this area in a new raster. How can I do it?
After that, I would like to create a shapefile or other vector format from this overlay raster, to use as a boundary. Is that possible?
(Both things, using Spatial Modeler)
Solved! Go to Solution.
12-13-2018 06:17 AM
Do you mean like a combination of these two models?:
12-13-2018 06:18 AM
You can use the Define Processing Area (DPA) operator with the Window Rule: Intersection of Inputs to get the raster output only for the overlay area.
Then there is a good model in our Tutorials to generate a footprint out of raster http://community.hexagongeospatial.com/t5/Spatial-Modeler-Tutorials/Generate-Footprint-for-Ortho-ima...
The process depends on what you want to achieve at the end, because if you need to get just the boundary coordinates of overlay area for further processing, so after DPA operator, you can use Raster Information.
12-13-2018 12:15 PM
Oh - overlap, not overlay? I thought that you had two raster layers and then a third layer that was a vector overlay.
Yes - if you want the intersection area of two rasters then Define Processing Area will do that.
If the overlap is an irregular area then you can get fancy using conditional operators and masks.