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 version: CVS HEAD
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:
http://wald.intevation.org/tracker/?func=detail&aid=506&group_id=21&atid=188

Bill

----------------------------------------------------------------------

You can respond by visiting: 
http://wald.intevation.org/tracker/?func=detail&atid=205&aid=513&group_id=21

_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev

Reply via email to