[GRASSLIST:9755] Re: Add 3D Values

David Bitner osgis.lists at gmail.com
Fri Jan 6 16:10:55 EST 2006


Sweet.

Actually looks like just using the released Grass 6 rather than CVS
and using v.sample will actually fit my needs better than v.drape.

Thanks for the help.


On 1/6/06, Dylan Beaudette <dylan.beaudette at gmail.com> wrote:
> Sounds good to me.
>
> In fact I have used a similar method before the advent of v.drape, using
> v.to.points and v.sample to get elevation and precip transects along an
> arbitrary line. Plotting was done in gnuplot, exported to PS.
>
> Ex: http://casoilresource.lawr.ucdavis.edu/drupal/node/33
>
> good luck!
>
> Dylan
>
> On Friday 06 January 2006 11:09 am, David Bitner wrote:
> > So actually to just get the profile data the fastest workflow would be:
> > 1. create points along my line at specific distances with v.to.points
> > 2. grab elevation for the points with v.drape (or would something else
> > be better for point data)
> > 3. dump points and attributes (or at this point just dump distance and
> > elevation attributes, who cares about the point anymore)
> > 4. process with my favorite graphing application
> >
> > On 1/6/06, Dylan Beaudette <dylan.beaudette at gmail.com> wrote:
> > > Great.
> > >
> > > There are a couple ways of doing this.
> > >
> > > one such method:
> > > 1. create points along your line segment with v.to.points [1]
> > > 2. copy elevation attribute from line to points
> > > 3. dump points and attributes as text
> > > 4. process with your favorite graphing app
> > >
> > > [1] see manual for the details on this command- note that it will create
> > > an attribute 'along' which is a measure of the distance along the line
> > > you are interested in.
> > >
> > > cheers,
> > >
> > > Dylan
> > >
> > > On Thursday 05 January 2006 07:02 am, David Bitner wrote:
> > > > Perfect.
> > > >
> > > > Now is there a way that I can create a distance along the line to
> > > > elevation at that distance profile?  Even just a table of distance to
> > > > elevation that could be plotted in a graphing package.
> > > >
> > > > Thanks,
> > > > David
> > > >
> > > > On 1/4/06, Dylan Beaudette <dylan.beaudette at gmail.com> wrote:
> > > > > On Wednesday 04 January 2006 02:01 pm, David Bitner wrote:
> > > > > > Oops, I forgot to change the subject while replying...
> > > > > >
> > > > > > > Is there a way to extract elevations (either from contours or a
> > > > > > > dem) into a 2D line to add a 3rd dimension to the line?  Also, is
> > > > > > > it possible to create a distance, elevation profile along this
> > > > > > > line?
> > > > > > >
> > > > > > > Right now I have a 2D shapefile of a race course and a DEM (or
> > > > > > > contours) of the same area.  I would like to create a plot of
> > > > > > > distance to elevation across the course.
> > > > > > >
> > > > > > > I am jumping into Grass for the first time, so help at the most
> > > > > > > basic level would be great.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > David
> > > > >
> > > > > try v.drape in the CVS branch.
> > > > >
> > > > > cheers!
> > > > >
> > > > > --
> > > > > Dylan Beaudette
> > > > > Soils and Biogeochemistry Graduate Group
> > > > > University of California at Davis
> > > > > 530.754.7341
> > >
> > > --
> > > Dylan Beaudette
> > > Soils and Biogeochemistry Graduate Group
> > > University of California at Davis
> > > 530.754.7341
>
> --
> Dylan Beaudette
> Soils and Biogeochemistry Graduate Group
> University of California at Davis
> 530.754.7341
>




More information about the grass-user mailing list