Hi<div>Ok here it goes.</div><div>1- I needed to remove .py from v.colors and v.db.addcolumn scripts in order to run them in GRASS6.4.0.</div><div>2- <a href="http://v.info">v.info</a> teste12</div><div><div> +----------------------------------------------------------------------------+</div>
<div>(...)</div><div> | Type of Map: vector (level: 2) |</div><div> | |</div><div> | Number of points: 0 Number of areas: 87 |</div>
<div> | Number of lines: 0 Number of islands: 28 |</div><div> | Number of boundaries: 164 Number of faces: 0 |</div><div> | Number of centroids: 87 Number of kernels: 0 |</div>
<div> | |</div><div> | Map is 3D: No |</div><div> | Number of dblinks: 1 |</div>
<div> | |</div><div> | Projection: Universal Transverse Mercator (zone 0) |</div><div> | N: 9332730.901707 S: 9315930.306024 |</div>
<div> | E: 657285.028897 W: 631785.609702 |</div><div> | |</div><div> | Digitization threshold: 0 |</div>
<div> | Comments: |</div><div> | |</div><div> +----------------------------------------------------------------------------+</div>
<div><br></div><div>3- If I select an area I get this info:</div><div><div>East: 638957.32135</div><div>North: 9327883.257322</div><div>Map: teste12 </div><div>Mapset: Regional</div><div>Type: Centroid</div><div>Id: 201</div>
<div>Layer: 1</div><div>Category: 2</div><div>Driver: dbf</div><div>Database: C:\ISdata/Brazil/Regional/dbf/</div><div>Table: teste12</div><div>Key column: cat</div><div>cat : 2</div><div>label : </div></div><div><br></div>
4- then I did:</div><div><div>v.colors map=teste12@Regional column=cat color=aspect </div><div>And I got:</div><div>ERROR: Column <cat> is not numeric</div><div>This is weird because, I get CATEGORY values.</div>
<div><br></div><div>5- Then I decided to add GRASSRGB column like this</div><div><div>v.db.addcolumn map=teste11@Regional columns=GRASSRGB varchar(11) </div><div>and I got the following error</div><div>-: No such file or directory</div>
<div>ERROR: Unable to add column <GRASSRGB varchar(11)>.</div></div><div><br></div><div>Can anybody give me an hand on this?</div><div>Thanks</div><div><br></div><div><br></div><div class="gmail_quote">2010/11/15 Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com">landa.martin@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
2010/11/15 Luisa Peña <<a href="mailto:luisapena1979@gmail.com">luisapena1979@gmail.com</a>>:<br>
<div class="im">>> download manually Python scripts v.colors [1] and v.db.addcolumn [2]<br>
>> and integrate them to your GRASS 6 installation. You have of course<br>
>> more possibilities<br>
>><br>
> In This case, these are python scripts right? Ok I will give a try.<br>
<br>
</div>they should be OK, if not, it's *much more* easier to fix them.<br>
<div class="im"><br>
>> 2) fix Bash scripts on Windows (keep in mind that these fixes will<br>
>> disappear in GRASS7 because it uses Python)<br>
><br>
> But, as far as I can see from this discussion, there is no FIX for this<br>
<br>
</div>Read as: you fix them or convince someone to do it.<br>
<font color="#888888"><br>
Martin<br>
</font><div><div></div><div class="h5"><br>
--<br>
Martin Landa <landa.martin <a href="http://gmail.com" target="_blank">gmail.com</a>> * <a href="http://geo.fsv.cvut.cz/~landa" target="_blank">http://geo.fsv.cvut.cz/~landa</a><br>
</div></div></blockquote></div><br></div>