[GRASS-user] Large vector file processing

Moritz Lennert mlennert at club.worldonline.be
Fri Apr 24 01:09:27 PDT 2015


On 24/04/15 09:54, Margherita Di Leo wrote:
> Hi,
>
> I'm trying to vectorize a very large file
>
>   |   Type of Map:  raster               Number of Categories: 255
>        |
>   |   Data Type:    CELL
>        |
>   |   Rows:         88537
>         |
>   |   Columns:      54410
>         |
>   |   Total Cells:  4817298170
>        |
>   |        Projection: Lambert Azimuthal Equal Area
>         |
>   |            N:    4239550    S:    2026125   Res:    25
>        |
>   |            E:    4284650    W:    2924400   Res:    25
>        |
>   |   Range of data:    min = 11  max = 255
>
> using GRASS 7.1.svn (r65027)
>
> :~ > r.to.vect input=raster_tty output=vector_tty type=area
> Extracting areas...
>   100%
> Writing areas...
>   100%
> Building topology for vector map <vector_tty at assessment>...
> Registering primitives...
> Killed0000
>
> what does this mean?
>
> :~ > v.build vector_tty
> WARNING: Coor file of vector map <vector_tty at assessment> is larger than it
>           should be (2403996039 bytes excess)
> Building topology for vector map <vector_tty at assessment>...
> Registering primitives...
> Killed0000
>
> Question about "larger that it should be": What is this limitation? I
> guess is related to the specs of my laptop?

This just means that topology has not been built correctly, which is 
probably due to some memory issues.

See also https://trac.osgeo.org/grass/ticket/2045.

One option mentioned in this report is to set GRASS_VECTOR_LOWMEM before 
running r.to.vect in order to limit memory usage.

Moritz


More information about the grass-user mailing list