Thanks for your prompt reply, Luca. <br>Unfortunately it doesn't work: I started importing without the z flag and, as you can see, didn't obtain any information about elevations.<br><br>GRASS 6.1.cvs (Valledaosta):/media/sda7/zodoardo/cartografia >
d.what.vect -x ma p=noz0351<br>Building spatial index ...<br> 100%<br><br>Buttons<br> Left: what's here<br> Right: quit<br><br>406529.90978316(E) 5051417.65316489(N)<br><br>noz0351 in zodoardo Line<br>length 2531.588789
<br>Layer: 1<br>category: 15614<br>driver: dbf<br>database: //media/sda7/zodoardo/cartografia/grassdb/Valledaosta/zodoardo/dbf/<br>table: noz0351<br>key column: cat<br>cat : 15614<br>entity_nam : POLYLINE<br>color : 256<br>
weight : -1<br>layer : 12L04<br>block :<br>txt :<br>Done.<br><br><br><div><span class="gmail_quote">On 7/20/06, <b class="gmail_sendername">Luca Casagrande</b> <<a href="mailto:luca.casagrande@gmail.com">luca.casagrande@gmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>I don't know if the v.in.dwg works like v.in.ogr, but i think you don't need the 3d flag...Try to remve it. In your example you need a 2d vector with z in the attribute table.
<br><br>Bye<br>Luca<br><br><div></div><div><span class="e" id="q_10c8b4f53501d204_1"><span class="gmail_quote">
On 7/20/06, <b class="gmail_sendername">Odoardo Zecca</b> <<a href="mailto:odoardo.zecca@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">odoardo.zecca@gmail.com</a>> wrote:</span></span>
</div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"></blockquote></div><div><span class="e" id="q_10c8b4f53501d204_3">
<div>Hi all,<br>I need to extract some contour lines from a vector map (imported with v.in.dwg -z). While I can do this on the base of their category, it would be easier to directly select the desired elevations, but I don't know how to refer to them. With
d.what.vect I obtain the following textual output:<br><br>GRASS 6.1.cvs (Valledaosta):/media/sda7/zodoardo/cartografia > d.what.vect -x ma p=dwg0351<br>Building spatial index ...<br> 100%<br><br>Buttons<br> Left: what's here
<br> Right: quit<br><br>405718.49528848(E) 5051089.77547112(N)<br><br>dwg0351 in zodoardo Line<br>length 4098.283965<br>Line height: 560.000000<br>Layer: 1<br>category: 15833<br>driver: dbf<br>database: //media/sda7/zodoardo/cartografia/grassdb/Valledaosta/zodoardo/dbf/
<br>table: dwg0351<br>key column: cat<br>cat : 15833<br>entity_nam : POLYLINE<br>color : 256<br>weight : -1<br>layer : 12L04<br>block :<br>txt :<br>Done.<br><br>The problem is that "Line height" doesn't appear in the dbf table.
<br>What can I do?<br><br>Thanks.<br><br>Odoardo<br><br>-----------------------<br></div><div><span>Odoardo Zecca<br>Institut Agricole Régional<br>Aosta (It)<br><br>
</span></div><br></span></div><div>_______________________________________________<br>grassuser mailing list<br><a href="mailto:grassuser@grass.itc.it" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
grassuser@grass.itc.it</a><br><a href="http://grass.itc.it/mailman/listinfo/grassuser" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://grass.itc.it/mailman/listinfo/grassuser</a><br><br><br></div><br>
</div></blockquote></div><br>