[GRASS-dev] [grass-code P][513] Have v.sample update vector map column.

grass-dev at grass.itc.it grass-dev at grass.itc.it
Tue Oct 16 13:51:44 EDT 2007

code P item #513, was opened at 2007-10-16 10:51
Status: Open
Priority: 3
Submitted By: William Perkins (perk)
Assigned to: Nobody (None)
Summary: Have v.sample update vector map column. 
Patch status: None
Patch type: enhancement
GRASS component: vector
GRASS CVS checkout date, if applies (YYMMDD): 071015

Initial Comment:
This patch makes the output option of v.sample optional.  If output is set, v.sample behaves as before, making a new vector map with differences.  If output is not set, the column in the input map is updated. 

One problem this patch does not address is NULL values.  If the raster value is NULL, or the point is out of current region, v.sample puts a zero in the database rather than NULL, as v.what.rast does. 

I consider this a hack.  I think it would be better to focus on making v.what.rast do what v.sample does. I've submitted a request for this:



You can respond by visiting: 

More information about the grass-dev mailing list