2018-07-27 12:56:04 +07:00
|
|
|
{
|
|
|
|
"name": "raster_value",
|
|
|
|
"type": "function",
|
2020-07-02 01:46:48 +01:00
|
|
|
"groups": ["Rasters"],
|
2018-07-27 12:56:04 +07:00
|
|
|
"description": "Returns the raster value found at the provided point.",
|
2022-01-07 08:33:29 -05:00
|
|
|
"arguments": [{
|
|
|
|
"arg": "layer",
|
|
|
|
"description": "the name or id of a raster layer"
|
|
|
|
}, {
|
|
|
|
"arg": "band",
|
|
|
|
"description": "the band number to sample the value from."
|
|
|
|
}, {
|
|
|
|
"arg": "point",
|
|
|
|
"description": "point geometry (for multipart geometries having more than one part, a NULL value will be returned)"
|
|
|
|
}],
|
|
|
|
"examples": [{
|
|
|
|
"expression": "raster_value('dem', 1, make_point(1,1))",
|
|
|
|
"returns": "25"
|
|
|
|
}],
|
|
|
|
"tags": ["provided", "point", "raster", "found"]
|
2018-07-27 12:56:04 +07:00
|
|
|
}
|