mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
22 lines
640 B
Plaintext
22 lines
640 B
Plaintext
{
|
|
"name": "raster_value",
|
|
"type": "function",
|
|
"groups": ["Rasters"],
|
|
"description": "Returns the raster value found at the provided point.",
|
|
"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"]
|
|
}
|