<div><div>Hello Miltinho,</div><div><br></div><div>db.describe of the vector file "Uruguay"</div><div><br></div><div>ols: 7</div><div>nrows: 1</div><div>Column 1: cat:INTEGER:11</div><div>Column 2: IDR_ID:INTEGER:11</div>
<div>Column 3: NAME:CHARACTER:28</div><div>Column 4: NOMBRE:CHARACTER:28</div><div>Column 5: GMI_CNTRY:CHARACTER:11</div><div>Column 6: REGION:CHARACTER:17</div><div>Column 7: MAYUS:CHARACTER:36</div><div><br></div></div>
<div><br></div><div><br></div><div><span class="Apple-style-span" style="font-family:arial,sans-serif"><b><font class="Apple-style-span" size="4"><span class="hps">I am proceeding</span> <span class="hps">in this way,</span></font></b></span></div>
<div><span class="Apple-style-span" style="font-family:arial,sans-serif"><b><font class="Apple-style-span" size="4"><span class="hps"><br></span></font></b></span></div><b><font class="Apple-style-span" size="4">File/Map type conversions/Vector to raster</font></b><div>
<br></div><div><b><font class="Apple-style-span" size="4">Options</font></b></div><div>Name of input vector map</div><div>Uruguay@PERMANENT</div><div><br></div><div>Name for output raster map<br>Uruguay_v-to-raster</div>
<div>
<br></div><div>Source of raster values:</div><div>attr</div><div><br></div><div>Raster value (for use=val)</div><div><br></div><div>Number of rows to hold memory:</div><div>4096</div><div><br></div><div>Allow overwrite (not)</div>
<div>Run quietly (not)</div><div><br></div><div><b><font class="Apple-style-span" size="4">Selection</font></b></div><div>Layer number</div><div>1</div><div>Feature type</div><div>point, line, area</div><div><br></div><div>
<b><font class="Apple-style-span" size="4">Attributes</font></b></div><div>Name of column for "attr" parameter (data type must be numeric)</div><div>cat</div><div>Name of color definition column (with RRR:GGG:BBB entries)</div>
<div><br></div><div>Name of column used as raster category labels</div><div><br></div><div><br></div><div><b><font class="Apple-style-span" size="4">With this configuration,</font></b></div><div>v.to.rast input=Uruguay@PERMANENT layer=1 type=point,line,area output=Uruguay_v-to-raster use=attr column=cat value=1 rows=4096</div>
<div><br></div><div>Loading data</div><div>Reading areas...</div><div>Reading features...</div><div>Converted areas: 1 of 1</div><div>Converted points/Lines: 0 of 0</div><div>v.to.rast complete.</div><div>Writing raster map....</div>
<div><br></div><div><span class="Apple-style-span" style="color:rgb(51,51,51);font-family:arial,sans-serif"><span class="hps">How</span> <span class="hps">long will it take</span> <span class="hps">to complete?</span></span></div>
<div><span class="Apple-style-span" style="color:rgb(51,51,51);font-family:arial,sans-serif"><span class="hps"><br></span></span></div><div><span class="Apple-style-span" style="color:rgb(51,51,51);font-family:arial,sans-serif"><span class="hps">Thank you/Muito obrigado,</span></span></div>
<div><span class="Apple-style-span" style="color:rgb(51,51,51);font-family:arial,sans-serif"><span class="hps"><br></span></span></div><div><span class="Apple-style-span" style="color:rgb(51,51,51);font-family:arial,sans-serif"><span class="hps">José Guerrero</span></span></div>
<div><br></div><div><br><div class="gmail_quote">El 18 de diciembre de 2011 21:47, Milton Cezar Ribeiro <span dir="ltr"><<a href="mailto:miltinho.astronauta@gmail.com" target="_blank">miltinho.astronauta@gmail.com</a>></span> escribió:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hola José,<br>
<br>
Send also<br>
db.describe of your map and the complete command of v.to.rast that you<br>
are using.<br>
Maybe you need to use something like:<br>
<br>
v.to.rast input=yourmap output=yourmap_rast use=attr column=PUT_A_NUMERIC_COLUMN<br>
<br>
best wishes<br>
<br>
miltinho<br>
<br>
2011/12/18, José Carlos Guerrero Antúnez <<a href="mailto:jcgantunez@gmail.com" target="_blank">jcgantunez@gmail.com</a>>:<br>
<div><div>> Hi,<br>
><br>
> I am working with GRASS 6.4.1(2011) on a OSX 10.6.8 (MaBookPro).<br>
><br>
> When I do the process for importing with v.to.rast,<br>
><br>
> According to different "Source of raster values":<br>
> - attr<br>
> Column parameter missing (or use value parameter))<br>
> - cat (Loading data, Reading areas, Reading features, Writing raster map...)<br>
> the process becomes eternal<br>
> - val (loading data, converted areas: 1 of 1, Converted points/lines: 0 of<br>
> 0, t.to.rast complete, Reading features, Writing raster map,...)<br>
> The process becomes eternal<br>
> - z (Loading data)<br>
> Vector map <Uruguay@PERMANENT> is not 3D<br>
> - dir (Loading data, Reading features, Writing raster map, Converted areas:<br>
> 0 of 1, Converted pointes/lines: 0 of 0, v.to.rast complete)<br>
> It is not created.<br>
><br>
> Vector file data are showed below:<br>
> +----------------------------------------------------------------------------+<br>
> | Layer: Uruguay@PERMANENT<br>
> |<br>
> | Mapset: PERMANENT<br>
> |<br>
> | Location: Sudamérica<br>
> |<br>
> | Database: /Users/joseca/grass<br>
> |<br>
> | Title:<br>
> |<br>
> | Map scale: 1:1<br>
> |<br>
> | Map format: native<br>
> |<br>
> | Name of creator: joseca<br>
> |<br>
> | Organization:<br>
> |<br>
> | Source date: Sun Dec 18 19:31:15 2011<br>
> |<br>
> |----------------------------------------------------------------------------|<br>
> | Type of Map: vector (level: 2)<br>
> |<br>
> |<br>
> |<br>
> | Number of points: 0 Number of areas: 1<br>
> |<br>
> | Number of lines: 0 Number of islands: 1<br>
> |<br>
> | Number of boundaries: 1 Number of faces: 0<br>
> |<br>
> | Number of centroids: 1 Number of kernels: 0<br>
> |<br>
> |<br>
> |<br>
> | Map is 3D: No<br>
> |<br>
> | Number of dblinks: 1<br>
> |<br>
> |<br>
> |<br>
> | Projection: x,y<br>
> |<br>
> | N: 30:06:02.013245S S: 34:58:40.005798S<br>
> |<br>
> | E: 53:05:42.004395W W: 58:26:19.037476W<br>
> |<br>
> |<br>
> |<br>
> | Digitization threshold: 0<br>
> |<br>
> | Comments:<br>
> |<br>
> |<br>
> |<br>
> +----------------------------------------------------------------------------+<br>
><br>
><br>
> Thank you,<br>
><br>
> José Guerrero<br>
><br>
<br>
<br>
</div></div><span><font color="#888888">--<br>
<br>
Miltinho - <a href="mailto:mcr@rc.unesp.br" target="_blank">mcr@rc.unesp.br</a><br>
Laboratório de Ecologia Espacial e Conservação - LEEC<br>
Depto de Ecologia - UNESP - Rio Claro<br>
Av. 24A, 1515- Bela Vista<br>
13506-900 Rio Claro, SP, Brasil<br>
<br>
<br>
<a href="http://www.rc.unesp.br/ib/ecologia/" target="_blank">http://www.rc.unesp.br/ib/ecologia/</a><br>
Fone: <a href="tel:%2B55%2019%203526-9647" value="+551935269647" target="_blank">+55 19 3526-9647</a><br>
Cel: 19 9853-3220 / 19 9853-5430<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>################################################################</div>Dr. José Carlos Guerrero<br>Laboratorio de Desarrollo Sustentable y Gestión Ambiental del Territorio (LDSGAT)<br>
Instituto de Ecología y Ciencias Ambientales (IECA)<br>Facultad de Ciencias<br>Universidad de la República<br>Montevideo-URUGUAY<div>################################################################</div><br>
</div>