[GRASSLIST:10516] Problem using v.surf.rst

Hi guys!
I got a SHP 3d with countour line at 25m and using this,i had to create a dem;
I imported the shp using v.in.ogr and enabling the flag for 3d shp and this is
the v.info output:

[..]
Map Scale: 1:1
Map format: native

Type of Map: Vector (level: 2)
Number of points: 0 Number of areas: 0
Number of lines: 2918 Number of islands: 0
Number of boundaries: 0 Number of faces: 0
Number of centroids: 0 Number of kernels: 0
Map is 3D: 1
Number of dblinks: 1
[..]

The associated table got element like those one:

id | cat | id | igds_layer | eq_lvls | altitude
1 1 0 .... 5 100m (the value of the cl)

Doing a query on the vector map i noticed this anywhere:

map: 'cdl25m'
mapset: 'PERMANENT'
feature type: Line
length: 4008.907401
Line height: 0.000000 <== Is this ok with 3d file?

Then I started v.surf.rst with this vector (after setting the res to 20):

v.surf.rst input=cdl25m layer=0 dmin=0.5 elev=dem20 tension=90

But the raster output has got all cell with 0 altitude...what i am missing?

Thx
Luca

--
"E' molto più bello sapere qualcosa di tutto, che tutto di una cosa (Blaise
Pascal)."

GENTOO-GIS Development Team
jabber: casagrande@jabber.linux.it

try not to use the 3d flag and then simply use v.surf.rst defining the
column it must use for the interpolation....
v.surf.rst input=..... output=... zcolumn=nomecolonna ..... ...... ....
hope this help

Il giorno mer, 22/02/2006 alle 13.24 +0000, Luca Casagrande ha scritto:
--
Ivan Marchesini
Department of Civil and Environmental Engineering
University of Perugia
Via G. Duranti 93/a
06125
Perugia (Italy)
e-mail: marchesini@unipg.it
        ivan.marchesini@gmail.com
tel: +39(0)755853760
fax: +39(0)755853756

On Wed, 22 Feb 2006 13:24:43 +0000
Luca Casagrande <luca.casagrande@gmail.com> wrote:

Hi guys!
I got a SHP 3d with countour line at 25m and using this,i had to
create a dem; I imported the shp using v.in.ogr and enabling the flag
for 3d shp and this is the v.info output:

[..]
Map Scale:
1:1 Map format:
native
Type of Map: Vector (level:
2) Number of points: 0 Number of
areas: 0 Number of lines: 2918
Number of islands: 0 Number of boundaries: 0
Number of faces: 0 Number of centroids: 0
Number of kernels: 0 Map is 3D:
1 Number of dblinks: 1
[..]

The associated table got element like those one:

id | cat | id | igds_layer | eq_lvls | altitude
1 1 0 .... 5 100m
(the value of the cl)

Doing a query on the vector map i noticed this anywhere:

map: 'cdl25m'
mapset: 'PERMANENT'
feature type: Line
length: 4008.907401
Line height: 0.000000 <== Is this ok with 3d file?

Maybe it is 3D but all the objects have 0 elevation?... Can you
verify that the z coordinate of your shapefile is other than 0 in some
other program? Then we could blame Grass (or OGR).

Maciek

--------------------
W polskim Internecie s? setki milion?w stron. My przekazujemy Tobie tylko najlepsze z nich!
http://katalog.panoramainternetu.pl/