Hi Rich A couple of thoughts, below
On 03/10/2019 01:22, Rich Shepard
wrote:
Attached are two maps using 1m LiDAR data. The annotated map, Can you first zoom in closely to one of the discontinuity areas between two tiles and examine the actual values on both sides of the "break". As Ken pointed out, it might be just a coloring problem, and NOT really a discontinuous step in elevation values.
The un-annotated map, nehalem-dem-patched.png, displays the results of I would NOT use resampling to try to overcome discontinuity in the tiles. That won't solve the problem, just smear it out a bit. If there really are breaks in the data, then (you won't like this...) back to the data provider to clarify why there are these breaks in elevation. If the region is too large to keep data at 1 m, then you can decide to down-sample to a lower resolution to make the data more manageable.
Also, if there are sliver gaps between the tiles, then you'll
want to run r.fill.nulls to get these gaps filled by
interpolation. In order to save time, I suggest to recursively set
the region to a very small area surrounding each gap, run the
r.fill.nulls and patch the filled area back into the
original. Then move on to the next gap. This will be much faster
than trying to do r.fill.nulls on the whole region. When finished,
don't forget to go back to the full region.
I assume that I should resample each individual map, then re-run r.patch on I think the best approach would be creating a VRT, outside of GRASS, using the gdalbuildvrt utility: Dump the list of your 70 rasters into a text file. Use the -input_file_list parameter to gdalbuildvrt, and you'll have one virtual raster for import into GRASS. You can reference it with r.external (to avoid importing and duplicating the disk space required). Then do whatever hydrological analysis you need with that.
Best, Micha
Regards, -- Micha Silver Ben Gurion Univ. Sde Boker, Remote Sensing Lab +972-523-665918 |
_______________________________________________ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user