[GRASS-user] Question on memory allocation and use

Moritz Lennert mlennert at club.worldonline.be
Sat Oct 1 06:08:45 PDT 2016



Le 1 octobre 2016 14:42:49 GMT+02:00, Rich Shepard <rshepard at appl-ecosys.com> a écrit :
>On Sat, 1 Oct 2016, Moritz Lennert wrote:
>
>> FYI: In grass7, r.mask has a 'vector' parameter which allows you
>create a
>> mask directly from a vector map.
>
>Moritz,
>
>I saw that and decided to try that today since I'm not having the
>results
>I want.
>
>> And AFAIK, no need to g.copy. Just run your analysis with the mask
>set
>> (and the region also correctly set to only the area of interest).
>
>To check my understanding: the project region has been set to Oregon
>North
>NAD83 (HARM) with units of meters. I create the MASK using the
>analytical
>boundary vector file, then set the computational region to that vector.
>Now
>when I run r.contours with in=lidar_dem only those points within the
>MASK
>will be converted to vector contours. Is this correct?


The mask limits the area in which data is read, so only the parts of the dem inside the mask will be read, so contours will only be created for that area. But if you want to make sure, create a very small mask area and try ;-)

Moritz


>
>Thanks,
>
>Rich
>_______________________________________________
>grass-user mailing list
>grass-user at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/grass-user



More information about the grass-user mailing list