Hi Martin,
I made a test and it seems to work!
GRASS 6.3.cvs (nc_spm_05):~> g.region rast=elevation -p
GRASS 6.3.cvs (nc_spm_05):~> r.contour elevation out=elev_contour_10m
step=10
GRASS 6.3.cvs (nc_spm_05):~> v.drape elev_contour_10m rast=elevation
out=elev_contour_10m3D
GRASS 6.3.cvs (nc_spm_05):~> v.out.ogr elev_contour_10m3D dsn=./
olay=elev_contour_10m3D lco=SHPT=ARCZ
Exporting 1008 points/lines...
100%
1008 Feature geschrieben.
GRASS 6.3.cvs (nc_spm_05):~> ogrinfo -so elev_contour_10m3D.shp
INFO: Open of `elev_contour_10m3D.shp'
using driver `ESRI Shapefile' successful.
1: elev_contour_10m3D (3D Line String)
If I leave out the "lco=SHPT=ARCZ" part, a Line String (2D) is written.
Markus
Martin Landa-2 wrote:
>
> ... sorry, forgot to attach the patch...
>
> 2007/9/11, Martin Landa <[EMAIL PROTECTED]>:
>> OK,
>>
>> this ugly patch enables to export 3d shapefile using v.out.ogr
>> lco="SHPT=ARCZ" ...
>>
>> Martin
> ...
>
--
View this message in context:
http://www.nabble.com/export-3d-vector-line-map-to-shp-tf4424285.html#a12622602
Sent from the Grass - Users mailing list archive at Nabble.com.
_______________________________________________
grassuser mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grassuser