<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 15/04/2010 14:20, Pedro Roma wrote:
<blockquote
 cite="mid:q2k3461e9f01004150420macfa0c89p5b291a695bac3516@mail.gmail.com"
 type="cite">Greetings
  <div><br>
  </div>
  <div>Before I do some "practical" questions I have one "big
question", why when I do v.digit a Tcl/Tk digitizer appears instead of
the Wxpython digitizer? I'm running it in Linux with a recent
grass64svn version?</div>
</blockquote>
As Martin said, use the wxPython digitizer from the Map display window.<br>
<blockquote
 cite="mid:q2k3461e9f01004150420macfa0c89p5b291a695bac3516@mail.gmail.com"
 type="cite">
  <div><br>
  </div>
  <div>Now, since I'm using tcl/tk I have some practical questions
regarding digitalization. My objective is to create training areas for
classification. I didn't find any tutorial regarding of how to use
vector digitizer to create training areas. I suppose that I need to
create polygons and then add "centroids". Right?</div>
  <div>1- First I draw a boundary and close it. In v.digit toolbox I
have selected "Insert new record", in layer 1 and Category 3 and Mode
"Next not used"</div>
  <div>When I do "Close line (right mouse button) I get an error window
stating: DAtabase table for this layer is not defined". And the same
happens for each and every boundary that I define Uhm... WHat am I
missing? I mean, what step should I do before?</div>
</blockquote>
You just need to add a database table to the new vector layer. You
probably want this anyway in order to set a class for each digitized
area.<br>
I the GUI, from the menu "Database-&gt;Manage databases-&gt;New
table".  Then in the v.db.addtable window, select which vector, and go
to the Options tab to type in which columns and attribute types you
want. At minimum you'll probably want a string column for the class
name, and maybe an integer column for a "class_id"<br>
. <br>
<blockquote
 cite="mid:q2k3461e9f01004150420macfa0c89p5b291a695bac3516@mail.gmail.com"
 type="cite">
  <div>Thank you</div>
  <div><br>
  </div>
  <div>Best regards,</div>
  <div>Pedro</div>
  <div><br>
  </div>
  <div><br>
  </div>
  <div><br>
  </div>
  <div><br>
  </div>
  <br>
This mail was received via Mail-SeCure System.<br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>

This mail was received via Mail-SeCure System.


  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="62">-- 
Micha Silver
<a class="moz-txt-link-freetext" href="http://www.surfaces.co.il/">http://www.surfaces.co.il/</a>
Arava Development Co.  +972-52-3665918
</pre>
</body>
</html>