[GRASS-user] Relationships of Raster & Vector Attribute Data

Rich Shepard rshepard at appl-ecosys.com
Wed May 2 12:21:30 EDT 2012


   The basin map output from r.watershed is called 'dem.basin'. When I query
a basin I see the easting and northing of the point where I clicked, and a
numeric site_name variable. I've not checked all polygons, but I assume each
is uniquely numbered.

   First question: where in the mapset's directory structure is this
site_name variable stored? I've looked in the subdirectories with a
dem.basin file and do not see them.

   Converting this raster map to a vector using r.to.vect with an output name
of 'basinv', creates a postgres table with three attribute columns: cat,
value, and label. The latter is blank for all rows. The value column,
however, has the same number repeated for different polygons.

   Second question: how are these value numbers created?

   Third question: why are there multiple values for different vector
polygons where there are distinct site_name numeric values in the raster
map?

TIA,

Rich




More information about the grass-user mailing list