This tool locates the lowest and/or highest cells in a raster and outputs these locations to a vector points file. The user must specify the name of the input raster (input
) and the name of the output vector file (output
). The user also has the option (out_type
) to locate either the lowest value, highest value, or both values. The output vector's attribute table will contain fields for the points XY coordinates and their values.
extract_raster_values_at_points
def find_lowest_or_highest_points(self, raster: Raster, output_type: str = "lowest") -> Vector: ...