[GRASS-user] get coords from a raster

Markus Neteler neteler at osgeo.org
Wed Jun 2 16:11:32 EDT 2010


On Wed, Jun 2, 2010 at 10:07 PM, Margherita Di Leo <diregola at gmail.com> wrote:
> Markus,
>
> Thank you. I'm pretty sure this is the way. So I run:
>
> r.to.vect input=mainchannel output=points feature=point --o
> v.to.db map=points option=coor col=x,y (like the man page suggests)
>
> but I get a number of errors like:
>
> Column 'x' not found
> Error in db_execute_immediate()
>
> where am I wrong now?

Two times v.db.addcol is missing for the x and y columns (before v.to.db).

Markus


More information about the grass-user mailing list