7

I'm using 10m DEM rasters from the NRCS Data Gateway for a large portion of California. The problem is some strange tiling that appears after merging, but isn't present in the original data (before merging). The grids create low points, so flow accumulation etc is drawn into them.

I've tried mosaic to new raster, create raster catalog and filter in ArcGIS 10.2, merge and build vrt in Qgis2.4 but the problem persists throughout.

The grids represent flat lows in the curvature raster on the merged edges of the DEM rasters. Note that those lines are the edges of BOTH of the mosaiced DEM, creating 2 lines.

The lines are flat lows, which creates a problem trying to do any sort of slope stability or hydrologic analysis...which is the whole point of this exercise.

Unmosaiced DEM Rasters:

Curvature raster generated from Mosaiced raster using bilinear interpolation:

EDIT: The data and mosaic method were the problems: The data itself has edge effects built in and I was using nearest neighbor instead of bilinear interpolation

2 Answers 2

5

It seems that there are two things going on here. First, your tiles are not seamless, in that in the areas of overlap at the edges of the tiles, the elevations are not identical. I can confirm this as I digitized several points along the overlapping area and extracted the elevations in both raster DEMs and found this:

enter image description here

In the case of the two tiles that you uploaded, it appears that the DEMs are very similar near the bottom but as you move towards the top edge, the elevation deviations increased to nearly half a metre, which is quite significant. You can't really expect a mosaicked DEM to not show edge artifacts if the composite tiles are not exactly the same in the area of overlap. That is, unless you perform a mosaicking with some kind of blending, and even then, it is likely that some edge effects will remain given the large deviations. Which of the Mosaic types did you choose when you mosaicked the tiles? ArcGIS offers a 'blend' mode.

The second issue seems to be something to do with how ArcGIS actually handles the data near the edges of the composite tiles during the mosaicking. I'm afraid that I can't tell you more than that without having the ability to examine Arc's source code, which is never going to happen. However, take a look at the following images, the resulting plan curvature image derived from the mosaic of your tiles in another open-source GIS software package:

enter image description here

The edges have been highlighted with an overlaid vector to show the edge locations (some of the points I used earlier are in there too). Now without those edge boundary vectors overlaid:

enter image description here

Notice that the edge artifacts that you highlight in your question are not as evident in this mosaic, which also does not apply blending techniques. It's the same DEM source data, the only difference is the specific mosaic algorithm.

So to conclude, I would say 1) your tiles are not seamless so without using a more sophisticated mosaicking algorithm involving feathering, you should expect some edge effects, and 2) to some degree the extent of the artifacts that you are observing is the result of how the ArcGIS mosaicking algorithm handles edges of the composite tiles. I hope that helps.

7
  • Bummer. I'll try again with Qgis and see what I can come up with. Thank you for all your help.
    – Rocksyeaa
    Commented Oct 22, 2014 at 20:03
  • given the info above, I'd be tempted to trim or nibble back the common edge to null/nodata so there is no overlap at all and then re-interpolate the gap. See gis.stackexchange.com/questions/79374/… for filling. Commented Oct 22, 2014 at 20:28
  • @mattwilkie It's true that in this case it would almost be more helpful to not have overlap. Of course, if you use a mosaicking technique that preferentially uses the first or last raster in the stack then you're effectively doing that. It's a tough nut to crack! Commented Oct 22, 2014 at 23:10
  • The problem is that each county has 20-60 tiles and I have 8-9 counties to put together (although I've decided to put them together as HU8 watersheds). That means A LOT of preprocessing, where I could just use a hydrologically correct 30m DEM from NHD, although I'd prefer the resolution of 10m.
    – Rocksyeaa
    Commented Oct 23, 2014 at 16:20
  • @Rocksyeaa You wouldn't hydrologically correct the individual tiles anyhow. To do so would be pointless. You must mosaic the tiles first (I would guess in a single step) and then hydrologically correct the mosaicked DEM, ideally with depression breaching. Commented Oct 23, 2014 at 16:46
4

Suggest you try building a virtual raster from the DEM TIFFs: Raster -> Miscellaneous -> Build Virtual Raster (Catalog). It seems to work with your sample data. Sorry, I just had to put some hillshade on the result. N.

enter image description here

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.