Greetings I have thwe following vector file:<div><div><a href="http://v.info">v.info</a> map=teste01@Brazil </div><div> +----------------------------------------------------------------------------+</div>
<div> | Layer: teste01@Brazil |</div><div> | Mapset: Brazil |</div><div> | Location: Brazil |</div>
<div> | Database: C:\Brazil |</div><div> | Title: |</div><div> | Map scale: 1:1 |</div>
<div> | Map format: native |</div><div> | Name of creator: lp |</div><div> | Organization: |</div>
<div> | Source date: Fri Nov 05 12:55:08 2010 |</div><div> |----------------------------------------------------------------------------|</div><div> | Type of Map: vector (level: 2) |</div>
<div> | |</div><div> | Number of points: 0 Number of areas: 2 |</div><div> | Number of lines: 0 Number of islands: 2 |</div>
<div> | Number of boundaries: 2 Number of faces: 0 |</div><div> | Number of centroids: 0 Number of kernels: 0 |</div><div> | |</div>
<div> | Map is 3D: No |</div><div> | Number of dblinks: 0 |</div><div> | |</div>
<div> | Projection: Universal Transverse Mercator (zone 0) |</div><div> | N: 9292933.53305786 S: 9107903.14049588 |</div><div> | E: 669329.75206612 W: 445299.97933884 |</div>
<div> | |</div><div> | Digitization threshold: 0 |</div><div> | Comments: |</div>
<div> | |</div><div> +----------------------------------------------------------------------------+</div><div>(Fri Nov 05 12:58:04 2010) Command finished (0 sec) </div>
</div><div><br></div><div>And I'm not being able to convert to rast using v.to.rast</div><div><br></div><div>If I do:</div><div>-- v.to.rast --overwrite input=teste01@Brazil output=teste01 type=area I get:</div>
<div>ERROR: Column parameter missing (or use value parameter)</div><div><br></div><div>-- v.to.rast --overwrite input=teste01@Braziloutput=teste01 use=cat type=area I get.</div><div>Loading data...</div><div>Area without centroid (may be OK for island)</div>
<div>Area without centroid (may be OK for island)</div><div>Pass 1 of 2:</div><div>Reading areas...</div><div>Reading features...</div><div>Writing raster map...</div><div>Pass 2 of 2:</div><div>Reading areas...</div><div>
Writing raster map...</div><div>Converted areas: 2 of 2</div><div>Converted points/lines: 0 of 0</div><div>v.to.rast complete.</div><div> With an empty image</div><div><br></div><div>and If If I do this:</div><div><div>
v.to.rast --overwrite input=teste01@Brazil output=teste01 use=val type=area </div><div>Loading data...</div><div>Area without centroid (may be OK for island)</div><div>Area without centroid (may be OK for island)</div><div>
Pass 1 of 2:</div><div>Reading areas...</div><div>Reading features...</div><div>Writing raster map...</div><div>Pass 2 of 2:</div><div>Reading areas...</div><div>Writing raster map...</div><div>Converted areas: 2 of 2</div>
<div>Converted points/lines: 0 of 0</div><div>v.to.rast complete.</div><div>(Fri Nov 05 13:02:08 2010) Command finished (10 sec) </div><div>Also an empty raster</div><div><br></div><div>What am I doing wrong?</div>
<div>Thanks</div><div>Luisa </div></div><div><br></div><div><br></div>