[GRASS-dev] [GRASS GIS] #1220: Error when creating vector(areas) from raster

GRASS GIS trac at osgeo.org
Mon Nov 22 04:40:42 EST 2010


#1220: Error when creating vector(areas) from raster
----------------------------+-----------------------------------------------
 Reporter:  toyzerocha1980  |       Owner:  grass-dev@…              
     Type:  defect          |      Status:  new                      
 Priority:  blocker         |   Milestone:  6.4.1                    
Component:  Vector          |     Version:                           
 Keywords:                  |    Platform:  MSWindows XP             
      Cpu:  x86-32          |  
----------------------------+-----------------------------------------------
 I'm trying to create a vector (areas) from a big LandUSe/LandCover map
 with a lot of small patterns so, I believe that I have a lot of polygons
 I'm using this expression:
 r.to.vect -v input=map output=test02 feature=area

 And I get this error:
 Extracting areas...
 Building topology for vector map <test02>...
 Registering primitives...
  820000ERROR: G_realloc: unable to allocate 9900000 bytes at cindex.c:108

 A few days ago, with other image I have obtained almost tghe same error
 but a bit different:
 ERROR: G_realloc: unable to allocate 33760000 bytes at areas.c:678


 My Region is defined as:
 projection: 99 (Transverse Mercator)
 zone:       0
 datum:      etrs89
 ellipsoid:  grs80
 north:      -4772.159565
 south:      -300404.804
 west:       -28364.80083451
 east:       105242.8746
 nsres:      30.00128318
 ewres:      29.99723292
 rows:       9854
 cols:       4454
 cells:      43889716

 I'm going to try in Linux and I wil reply on this right next.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1220>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list