On 23/09/16 20:51, Rich Shepard wrote:
On Fri, 23 Sep 2016, Markus Metz wrote:

Apparently there are less than 52 MB of free memory left. The resulting
vector contours must be quite large. Try to export GRASS_VECTOR_LOWMEM=1
before running r.contour.

Maybe also use a larger step or less levels.

  Took a different approach by reducing the size of the source DEMs (which
cover a very large area compared to the area of interest).

  Using v.to.rast I converted the project boundary vector to a raster file,
then made it into a mask with r.mask. The mask then limited the area of the
source DEMs with g.copy.

FYI: Since GRASS 7 r.mask actually has a vector= parameter which allows setting the mask directly from a vector map.


  Now re-running r.contour on the bare earth DEM; it should easily fit into
the 4G RAM on this host.

Thanks, Markus,

Rich
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to