0

I'm trying to create a raster layer from a polyline layer (roads) that has the same extent as another raster layer (DEM)

What I've done so far is convert the second raster layer (DEM) with the extent I want to a polygon. This was then used to clip the polyline layer (roads). The polyline layer was then buffered, and converted into a raster layer with a resolution of 10x10.

However, the extent is different. Due to this, I can't do raster multiplication.

How can I ensure the extent is the same as the 'base' raster layer?

2

In ArcMap in the Geoprocessing Menu, click Environments... There is a section called Processing Extent. Set the Snap Raster to be the existing raster layer (DEM). Then, other rasters you create will "line up" with each other and operations like raster multiplication will behave as expected.

enter image description here

  • If I do this, will it ensure that all the rasters conform to the same extent and resolution? – user3384265 Jun 14 '17 at 19:12
  • Yes, that's the purpose of the Extent and Snap Raster settings. It will apply in that MXD – Mattropolis Jun 14 '17 at 19:16
  • sometimes ArcGIS does not make EXACTLY the same extent despite this, but it is very close. – radouxju Jun 14 '17 at 19:29
  • 1
    @Matthew Note that to ensure you get the same resolution for your new raster, you should also specify the cell size in the 'Raster Analysis' section of this same Environment settings menu. See documentation for the Snap Raster setting – K. Credo Jun 14 '17 at 21:53

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.