[GRASS-user] Using v.colors in WinGRASS

Markus Metz markus.metz.giswork at googlemail.com
Tue Nov 9 09:15:37 EST 2010


On Tue, Nov 9, 2010 at 12:55 PM, Luisa Peña <luisapena1979 at gmail.com> wrote:
> Greetings
> I'm using winGRASS6.4.1 (compiled from OSGEO4w) and I'm having a difficulty
> on applying v.colors.
> I have a raster map (r.reclass) that I convert to vector/areas. So far so
> good...
> But when I try to apply v.colors with this expression:
> v.colors map=teste01_LULC at Regional column=cat color=aspect
>
> I get this error:
> Creating column <GRASSRGB> ...
> E:/GRASS6/scripts/v.colors: v.db.addcol: command not found

I have seen something similar with v.rast.stats in wingrass. It seems
that in wingrass, scripts can not call other scripts, only C modules.
This might have something to do with the way scripts are called
through a .bat file.

Markus M


> ERROR: Creating color column
> This v.db.addcol is present in the Scripts folder
> If i do v.info to my vector file I get this information...
>
>  +----------------------------------------------------------------------------+
>  | Layer:           teste01_LULC
>  |
>  | Mapset:          Regional
>  |
>  | Location:        LOCAL                                                |
>  | Database:        E:\v3
>   |
>  | Title:
>   |
>  | Map scale:       1:1
>   |
>  | Map format:      native
>  |
>  | Name of creator: orbit                                              |
>  | Organization:
>  |
>  | Source date:     Tue Nov 09 11:11:40 2010
>  |
>  |----------------------------------------------------------------------------|
>  |   Type of Map:  vector (level: 2)
>  |
>  |
>  |
>  |   Number of points:       0               Number of areas:      213680
>   |
>  |   Number of lines:        0               Number of islands:    73649
>  |
>  |   Number of boundaries:   348770          Number of faces:      0
>  |
>  |   Number of centroids:    213666          Number of kernels:    0
>  |
>  |
>  |
>  |   Map is 3D:              No
>   |
>  |   Number of dblinks:      1
>  |
>  |
>  |
>  |         Projection: Universal Transverse Mercator (zone 0)
>   |
>  |               N:  8832707.83027649    S:  7028073.62772369
>   |
>  |               E:  1347458.42001915    W:    200792.5777576
>   |
>  |
>  |
>  |   Digitization threshold: 0
>  |
>  |   Comments:
>  |
>  |
>  |
>  +----------------------------------------------------------------------------+
>
> Can anybody help me?
> _______________________________________________
> 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