Yasuo Shimada wrote: > I want to add coordinate (x, y) data to point-vector-table. > However, I do not know how to do it.... > > Normally, point-vector-table has not coordinate data. > cat elev > 1 27.000 > 2 25.000 > 3 39.000 > > So, I used addcol command: > v.db.addcol map=xx columns="x single" > v.db.addcol map=xx columns="y single" > > cat elev x y > 1 27.000 .... .... > 2 25.000 .... .... > 3 39.000 .... .... > > I want to add coordinate data into x, y columns.. for > example; > > cat elev x y > 1 27.000 139.6721 35.14625 > 2 25.000 139.6230 35.15768 > 3 39.000 139.6232 35.14543 > > However, I do not know how to do it.... > Please teach me how to add coordinate (x,y) data ?
v.db.addcol columns='x DOUBLE PRECISION, y DOUBLE PRECISION' v.to.db option=coor columns=x,y > I want to kriging analysis with R and library(gstat). > I guess, Kiriging (gstat) needs a file including data and > coordinate(x,y)data. Someone else will have to answer that. Hamish _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user