[GRASS-user] Contour lines extraction

Odoardo Zecca odoardo.zecca at gmail.com
Thu Jul 20 06:39:47 EDT 2006


Thanks for your prompt reply, Luca.
Unfortunately it doesn't work: I started importing without the z flag and,
as you can see, didn't obtain any information about elevations.

GRASS 6.1.cvs (Valledaosta):/media/sda7/zodoardo/cartografia >
d.what.vect-x ma p=noz0351
Building spatial index ...
 100%

Buttons
 Left:  what's here
 Right: quit

406529.90978316(E) 5051417.65316489(N)

noz0351 in zodoardo  Line
length 2531.588789
Layer: 1
category: 15614
driver: dbf
database:
//media/sda7/zodoardo/cartografia/grassdb/Valledaosta/zodoardo/dbf/
table: noz0351
key column: cat
cat : 15614
entity_nam : POLYLINE
color : 256
weight : -1
layer : 12L04
block :
txt :
Done.


On 7/20/06, Luca Casagrande <luca.casagrande at gmail.com> wrote:
>
> 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.
>
> Bye
> Luca
>
> On 7/20/06, Odoardo Zecca <odoardo.zecca at gmail.com> wrote:
>
> > Hi all,
> 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:
>
> GRASS 6.1.cvs (Valledaosta):/media/sda7/zodoardo/cartografia > d.what.vect-x ma p=dwg0351
> Building spatial index ...
>  100%
>
> Buttons
>  Left:  what's here
>  Right: quit
>
> 405718.49528848(E) 5051089.77547112(N)
>
> dwg0351 in zodoardo  Line
> length 4098.283965
> Line height: 560.000000
> Layer: 1
> category: 15833
> driver: dbf
> database:
> //media/sda7/zodoardo/cartografia/grassdb/Valledaosta/zodoardo/dbf/
> table: dwg0351
> key column: cat
> cat : 15833
> entity_nam : POLYLINE
> color : 256
> weight : -1
> layer : 12L04
> block :
> txt :
> Done.
>
> The problem is that "Line height" doesn't appear in the dbf table.
> What can I do?
>
> Thanks.
>
> Odoardo
>
> -----------------------
> Odoardo Zecca
> Institut Agricole Régional
> Aosta (It)
>
>
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20060720/39a603b9/attachment.html


More information about the grass-user mailing list