[GRASS-user] Having some difficulties with v.to.rast

Luisa Peña luisapena1979 at gmail.com
Fri Nov 5 09:02:58 EDT 2010


Greetings I have thwe following vector file:
v.info map=teste01 at Brazil
 +----------------------------------------------------------------------------+
 | Layer:           teste01 at Brazil
 |
 | Mapset:          Brazil
 |
 | Location:        Brazil
 |
 | Database:        C:\Brazil                                              |
 | Title:
  |
 | Map scale:       1:1
  |
 | Map format:      native
 |
 | Name of creator: lp
 |
 | Organization:
 |
 | Source date:     Fri Nov 05 12:55:08 2010
 |
 |----------------------------------------------------------------------------|
 |   Type of Map:  vector (level: 2)
 |
 |
 |
 |   Number of points:       0               Number of areas:      2
 |
 |   Number of lines:        0               Number of islands:    2
 |
 |   Number of boundaries:   2               Number of faces:      0
 |
 |   Number of centroids:    0               Number of kernels:    0
 |
 |
 |
 |   Map is 3D:              No
  |
 |   Number of dblinks:      0
 |
 |
 |
 |         Projection: Universal Transverse Mercator (zone 0)
  |
 |               N:  9292933.53305786    S:  9107903.14049588
  |
 |               E:   669329.75206612    W:   445299.97933884
  |
 |
 |
 |   Digitization threshold: 0
 |
 |   Comments:
 |
 |
 |
 +----------------------------------------------------------------------------+
(Fri Nov 05 12:58:04 2010) Command finished (0 sec)


And I'm not being able to convert to rast using v.to.rast

If I do:
-- v.to.rast --overwrite input=teste01 at Brazil output=teste01 type=area
     I get:
ERROR: Column parameter missing (or use value parameter)

-- v.to.rast --overwrite input=teste01 at Braziloutput=teste01 use=cat
type=area    I get.
Loading data...
Area without centroid (may be OK for island)
Area without centroid (may be OK for island)
Pass 1 of 2:
Reading areas...
Reading features...
Writing raster map...
Pass 2 of 2:
Reading areas...
Writing raster map...
Converted areas: 2 of 2
Converted points/lines: 0 of 0
v.to.rast complete.
    With an empty image

and If If I do this:
v.to.rast --overwrite input=teste01 at Brazil output=teste01 use=val type=area

Loading data...
Area without centroid (may be OK for island)
Area without centroid (may be OK for island)
Pass 1 of 2:
Reading areas...
Reading features...
Writing raster map...
Pass 2 of 2:
Reading areas...
Writing raster map...
Converted areas: 2 of 2
Converted points/lines: 0 of 0
v.to.rast complete.
(Fri Nov 05 13:02:08 2010) Command finished (10 sec)
Also an empty raster

What am I doing wrong?
Thanks
Luisa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20101105/3af3f253/attachment.html


More information about the grass-user mailing list