[GRASSLIST:6991] Re: clip a raster
Ian MacMillan
ian_macmillan at umail.ucsb.edu
Thu Jun 2 17:39:46 EDT 2005
Your question is a little unclear. If you want to look at the original
dem, then you can still view that original dem.
d.rast map=original_rast
r.fillnulls fills in all null spaces, unless you have a mask. Perhaps
you can make a mask using r.digit, and make a new raster that blocks
out areas that you don't want r.fillnulls to work. Name this new rast
MASK. Then run r.fillnulls again on the original raster after the mask
has been set.
G'luck
-ian
On Jun 2, 2005, at 2:22 PM, Jano Ferencik wrote:
> Hi list,
>
> i imported a DEM in GRASS from an ascii file(exportted from ARC).i
> had holes
> in it...i filled the DEM with r.fillnulls....but I don't know how make
> the
> filled DEM to look exactly like i was looking before filling it,
> meaning that
> r.fillnuls produced a rectangular raster map where some areas where
> was no
> data before appear as some blocks..i tried to create a MASK by
> renaming to
> MASK a raster files obtained from coverting a shapefile representing
> the
> boundary of my area but the result was the same...i don't know how to
> clip the
> filled DEM to appear without those blocks...maybe you give me an
> idea...
> thanks
>
>
>
> ___________________________
> Cv-ul tau ia 500 euro/luna!
> http://500.myjob.ro
>
More information about the grass-user
mailing list