This tool can be used to extract the values of one or more rasters (inputs
) at the sites of a set of vector points. By default, the data is output to the attribute table of the input points (points
) vector; however, if the out_text
parameter is specified, the tool will additionally output point values as text data to standard output (stdout). Attribute fields will be added to the table of the points file, with field names, VALUE1, VALUE2, VALUE3, etc. each corresponding to the order of input rasters.
If you need to plot a chart of values from a raster stack at a set of points, the image_stack_profile may be more suitable for this application.
image_stack_profile, find_lowest_or_highest_points
def extract_raster_values_at_points(self, rasters: List[Raster], points: Vector) -> Tuple[Vector, str]: ...