How can you extract an attribute value from a raster from a point (lat/long)?
Example data: Raster with attribute table – value of interest is temperature
I have a list of points with lat/long values, which I want to extract the temperature values for. The raster contains multiple attribute values, temp is not the "pixel" value
Best Answer
As it is you do not include a reproducible example. But assuming you're using R and you have a single layer raster:
If you have more than one lat/long pair you can extract everything at once by using a data.frame with more rows, e.g.: