Re: [GRASS-user] face to DEM?

2009-02-20 Thread Jachym Cepicky
Hi,

you can try v.surf.rst as well

j

Vincent Bain píše v Ne 15. 02. 2009 v 10:32 +0100:
 Hello Adam,
 hope I understood what you mean to do. If I had to cope with your
 problem, I would import the source file as points, then run v.to.rast,
 and r.surf.nnbathy with the l interpolation method.
 The risk for this solution is the triangulation performed by
 r.surf.nnbathy be different from your source TIN...
 
 Good luck,
 Vincent.
 
 Le samedi 14 février 2009 à 16:42 -0800, Adam Dershowitz a écrit :
  I have some 3-d vector faces.  They were defined in a text file like  
  this:
  F 10
  1 2 1
  2 2 2
  ...
  ...
  etc.
  
  I imported them into grass like this:
  v.in.ascii -zn input=faces.txt out=faces format=standard
  and all seems fine.
  
  I can see the faces, and if I click on points around the edges I can  
  get a height as well.
  I can't figure out how to generate a raster DEM from these faces.   
  Essentially I would like to know the approximate elevation at each  
  raster point inside the faces.
  I tried v.to.rast but then I get Column parameter missing
  For v.to.rast3 I get  Unable to get layer info for vector map
  I also tried v.extrude but I see all 0s (ie Number of areas: 0 etc.)
  
  Did I do something wrong on my import?  Did I miss some other way to  
  do the conversion?
  I want to be able to do some mapcalcs with the heights of an these  
  faces compared to another raster map, but I can't figure out how to  
  convert these faces to something that I can work with.
  
  Thanks much,
  
  --Adam
  
  
  
  ___
  grass-user mailing list
  grass-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/grass-user
  
 
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user
-- 
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] face to DEM?

2009-02-20 Thread Adam Dershowitz, Ph.D., P.E.
Thanks.  I did, but didn't have any luck.  In one case I ended up  
making some pretty art, but it wasn't helpful.  The problem was that  
it included all the stuff outside of the face, as well as inside  
where it should have covered and I need.
And I just tried it again, with another simple shape and a different  
map, and this time, even though I first set the region to match the  
input map, I am still getting strip exists with insufficient data.   
ERROR2:  zero point in the given region!  Input failed.


--Adam



On Feb 20, 2009, at 2:12 AM, Jachym Cepicky wrote:


Hi,

you can try v.surf.rst as well

j

Vincent Bain píše v Ne 15. 02. 2009 v 10:32 +0100:

Hello Adam,
hope I understood what you mean to do. If I had to cope with your
problem, I would import the source file as points, then run  
v.to.rast,

and r.surf.nnbathy with the l interpolation method.
The risk for this solution is the triangulation performed by
r.surf.nnbathy be different from your source TIN...

Good luck,
Vincent.

Le samedi 14 février 2009 à 16:42 -0800, Adam Dershowitz a écrit :

I have some 3-d vector faces.  They were defined in a text file like
this:
F 10
1 2 1
2 2 2
...
...
etc.

I imported them into grass like this:
v.in.ascii -zn input=faces.txt out=faces format=standard
and all seems fine.

I can see the faces, and if I click on points around the edges I can
get a height as well.
I can't figure out how to generate a raster DEM from these faces.
Essentially I would like to know the approximate elevation at each
raster point inside the faces.
I tried v.to.rast but then I get Column parameter missing
For v.to.rast3 I get  Unable to get layer info for vector map
I also tried v.extrude but I see all 0s (ie Number of areas: 0 etc.)

Did I do something wrong on my import?  Did I miss some other way to
do the conversion?
I want to be able to do some mapcalcs with the heights of an these
faces compared to another raster map, but I can't figure out how to
convert these faces to something that I can work with.

Thanks much,

--Adam



___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user



___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] face to DEM?

2009-02-15 Thread Vincent Bain
Hello Adam,
hope I understood what you mean to do. If I had to cope with your
problem, I would import the source file as points, then run v.to.rast,
and r.surf.nnbathy with the l interpolation method.
The risk for this solution is the triangulation performed by
r.surf.nnbathy be different from your source TIN...

Good luck,
Vincent.

Le samedi 14 février 2009 à 16:42 -0800, Adam Dershowitz a écrit :
 I have some 3-d vector faces.  They were defined in a text file like  
 this:
 F 10
 1 2 1
 2 2 2
 ...
 ...
 etc.
 
 I imported them into grass like this:
 v.in.ascii -zn input=faces.txt out=faces format=standard
 and all seems fine.
 
 I can see the faces, and if I click on points around the edges I can  
 get a height as well.
 I can't figure out how to generate a raster DEM from these faces.   
 Essentially I would like to know the approximate elevation at each  
 raster point inside the faces.
 I tried v.to.rast but then I get Column parameter missing
 For v.to.rast3 I get  Unable to get layer info for vector map
 I also tried v.extrude but I see all 0s (ie Number of areas: 0 etc.)
 
 Did I do something wrong on my import?  Did I miss some other way to  
 do the conversion?
 I want to be able to do some mapcalcs with the heights of an these  
 faces compared to another raster map, but I can't figure out how to  
 convert these faces to something that I can work with.
 
 Thanks much,
 
 --Adam
 
 
 
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user
 

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] face to DEM?

2009-02-14 Thread Adam Dershowitz
I have some 3-d vector faces.  They were defined in a text file like  
this:

F 10
1 2 1
2 2 2
...
...
etc.

I imported them into grass like this:
v.in.ascii -zn input=faces.txt out=faces format=standard
and all seems fine.

I can see the faces, and if I click on points around the edges I can  
get a height as well.
I can't figure out how to generate a raster DEM from these faces.   
Essentially I would like to know the approximate elevation at each  
raster point inside the faces.

I tried v.to.rast but then I get Column parameter missing
For v.to.rast3 I get  Unable to get layer info for vector map
I also tried v.extrude but I see all 0s (ie Number of areas: 0 etc.)

Did I do something wrong on my import?  Did I miss some other way to  
do the conversion?
I want to be able to do some mapcalcs with the heights of an these  
faces compared to another raster map, but I can't figure out how to  
convert these faces to something that I can work with.


Thanks much,

--Adam



___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user