I'm new to QGIS.
I have GPS points uploaded to QGIS and a ⅓ arc-second DEM (USGS) of the area. I'd like to generate slope and aspect data for each point.
What is the best way to do this?
The point sampling tool only returns elevation data.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.
Sign up to join this communityRun the following QGIS Processing Algorithms against your DEM:
Once you have your newly generated Slope & Aspect rasters, run the Point Sampling tool against each to retrieve your values for Slope & Aspect.
If your points have Unique IDs, you can merge the tables into one aggregate table so that you end up with the points having all three attributes (elevation, slope, aspect) together.
As per a comment by CSK, you might be best able to merge these three products together taking the output of the first run of the point sampling tool (generating the points with elevation), and using them as the input layer for when you re-sample the Slope layer, then using that output as the input for when you re-sample the Aspect layer. This will result in all three attributes being in the final output, which you can then Make Permanent into an appropriate data storage (geopackage?).
Merge vector layers
will give one layer with multiple copies of each point, and each point will only have one of the three values (elevation, slope, aspect). Instead, use the output from the first time you run the 'point sampling' tool as the input the second time you run the 'point sampling' tool, and the output from the second time as input for the third time. That way the final output will have all three values for every point, and no duplicate points.