Hi Spatial ecologists,
I have a spatial R question I've been struggling with this morning and Lauren's email reminded me that this might be a way to solve it!
I have a DEM 9s asci file and a dataframe which contains my GPS data, including estimates of coordinates and altitude.
I want to find the difference between the altitude value of the DEM and the altitude calculated by the GPS at each datapoint.
I feel like I should be able to get a function to do this, but I'm not sure how to extract the DEM value at each of the coordinates.
Does anyone know an easy way to extract this info from the DEM asci?
Any tips would be really appreciated!
Leila