It works perfectly !!!!<br><br>Thanks a lot !<br><br>yann<br><br><div class="gmail_quote">2013/2/8 Moritz Lennert <span dir="ltr"><<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 08/02/13 12:02, Le Jeune Yann wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Working on GRASS7 / debian, i would like to extract only areas but<br>
"v.extract --overwrite input=ZONE type=area output=ZONE_AREA" produce 1<br>
area and 1 boundary, each of them with cat and attributes.<br>
<br>
I would like only a vector file with cat and attributes of the areas.<br>
<br>
If someone has a solution ?<br>
</blockquote>
<br></div></div>
This means that your boundaries have cat values in ZONE already and they are just preserved. Erase those cat values before the extraction:<br>
<br>
v.category ZONE op=del cat=-1 type=boundary out=zones_temp<br>
v.extract input=zone_temp type=area output=ZONE_AREA<br>
<br>
If your input does not have cat values on the boundaries, the output won't either:<br>
<br>
GRASS 7.0.svn (nc_spm_08):~ > v.extract census_wake2000 type=area out=test_all<br>
GRASS 7.0.svn (nc_spm_08):~ > v.category test_all op=report<br>
Layer/table: 1/test_all<br>
type count min max<br>
point 0 0 0<br>
line 0 0 0<br>
boundary 0 0 0<br>
centroid 105 1 105<br>
area 105 1 105<br>
face 0 0 0<br>
kernel 0 0 0<br>
all 105 1 105<span class="HOEnZb"><font color="#888888"><br>
<br>
Moritz<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><br style="color:rgb(153,0,0)"><font size="1"><span style="color:rgb(102,0,0)">Yann Le Jeune</span></font><br><font size="1">Web : <a href="http://www.paleosystem.fr/ylj_pro/" target="_blank">http://www.paleosystem.fr/ylj_pro/</a></font><br>