[GRASSLIST:7604] Re: making v.what.rast work
Eva L. Hulse
evahulse at buffalo.edu
Mon Jul 18 16:06:06 EDT 2005
This did the trick. Thanks to everyone for such speedy help. I will
also take a look at starspan.
eva.
Tom Colson wrote:
> here's a sample
>
> V.category myfile out=myfile_cat op=add
>
> Echo 'create table myfile_cat (cat integer, height double)' | db.execute
>
> V.db.connect map=myfile_cat table=myfile_cat driver=dbf
>
> V.to.db map=myfile_cat op=cat
>
> V.what.rast vect=myfile_cat rast=myraster
>
>
> Thomas Colson
> North Carolina State University
> Department of Forestry and Environmental Resources
> (919) 673 8023
> tom_colson at ncsu.edu
>
> Calendar:
> www4.ncsu.edu/~tpcolson
>
>
> -----Original Message-----
> From: owner-GRASSLIST at baylor.edu [mailto:owner-GRASSLIST at baylor.edu] On
> Behalf Of David Finlayson
> Sent: Monday, July 18, 2005 3:13 PM
> To: Eva L. Hulse
> Cc: GRASSLIST at baylor.edu
> Subject: [GRASSLIST:7599] Re: making v.what.rast work
>
> Have you looked at the command r.what?
>
> http://grass.itc.it/grass60/manuals/html60_user/r.what.html
>
> David
>
> On 7/18/05, Eva L. Hulse <evahulse at buffalo.edu> wrote:
>
>>I have a raster created from interpolated elevation points, and i have
>>a vector of soil sample locations for the same area. I want to use
>>v.what.rast to get the elevation (z) from the raster, for each (x,y)
>>point in the vector file. I imported the vector grid from ascii text
>>with the columns x, y, and z. The value of z is currently 0. I also
>>imported the original elevation points file from ascii text (that i
>>later turned into a raster using v.surf.rst).
>>
>>Right now, what happens is this:
>>v.what.rast vector=kknGrid raster=kkn_mod_elev_surf column=z
>>
>>Cannot get layer info for vector map
>>
>>But since i really have no idea what i'm doing, can someone tell me
>>how i can obtain the elusive "layer info for vector map"?
>>
>>--
>>---------------------------------------------
>>Eva L. Hulse
>>PhD Student
>>University at Buffalo Anthropology Department evahulse at buffalo.edu
>>
>>
>
>
>
> --
> David Finlayson
> Marine Geology & Geophysics
> School of Oceanography
> Box 357940
> University of Washington
> Seattle, WA 98195-7940
> USA
>
> Office: Marine Sciences Building, Room 112
> Phone: (206) 616-9407
> Web: http://students.washington.edu/dfinlays
>
>
--
---------------------------------------------
Eva L. Hulse
PhD Student
University at Buffalo Anthropology Department
evahulse at buffalo.edu
More information about the grass-user
mailing list