I'm new to QGIS, and I'm trying to plot settlements on a map with their elevation data (using Openstreetmap). Problem is, I find most of the villages/ towns have their 'ele' data missing in the attribute table. Is there a work around for this?
-
1You can get an elevation raster and join the villages with it. Whats your area of interest? A free source (almost) worldwide is SRTM.– MrXsquaredCommented Feb 6, 2021 at 18:41
-
@MrXsquared I'm looking at the Tibetan plateau, hence it's a large area. Is there a way to get all that SRTM in a go?– Var D10SCommented Feb 6, 2021 at 18:50
-
Maybe this will help you www2.jpl.nasa.gov/srtm/cbanddataproducts.html– Timothy DaltonCommented Feb 7, 2021 at 11:21
-
@TimothyDalton Thanks. Do you have an idea how to bulk download multiple SRTM grids together?– Var D10SCommented Feb 7, 2021 at 17:18
-
Some more information to be found here github.com/graphhopper/graphhopper/blob/master/docs/core/…– Timothy DaltonCommented Feb 8, 2021 at 19:28
1 Answer
Here is a solution using SRTM Data:
First, install SRTM-Downloader Plugin for QGIS and create an account for "Earthdata Login" at https://urs.earthdata.nasa.gov//users/new
Start the Plugin, choose your desired extent and click "Download":
Once the process is finished, merge them to one big raster, you can join your points with. Go to "Raster -> Miscellaneous -> Build virtual raster". Select all just downloaded rasters as input and unselect "Place each input into a separate band". Then hit "Run":
Dont worry if it takes some time to load/display the virtual raster, this may take some time depending on its size. Now run "Sample raster values" from processing toolbox. Choose your villages as input and your virtual raster as raster. Add a column name:
Done: