[GRASS-dev] [GRASS GIS] #2045: r.to.vect: use less memory

GRASS GIS trac at osgeo.org
Wed Apr 29 05:00:58 PDT 2015


#2045: r.to.vect: use less memory
--------------------------+-------------------------
  Reporter:  mlennert     |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  7.0.0
 Component:  Raster       |    Version:  svn-trunk
Resolution:               |   Keywords:  r.to.vect
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by martin):

 Hah, I tried to vectorize all of NLCD2011, which is 16832104560 cells in
 size, in one rush and found this to be a highly impracticable approach.
 The process (GRASS 7.1 trunk of late 2014) ran out of memory on a machine
 with more than 100 GByte of main mem and GRASS_VECTOR_LOWMEM didn't make
 any substantial difference.[[BR]]
 Finally I decided to cut the job into many small tiles of approx. 33M
 cells each (which represents approx. 2x2 degrees in North American AEA)
 and this turned out to work pretty well - not only in the vectorization
 but also in the subsequent vector post-processing stage.

 See here for a sample of the the result:

 http://mapserver.flightgear.org/map/?lon=-99.93544&lat=34.62565&zoom=6

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2045#comment:8>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list