1

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?

5

1 Answer 1

4

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":

enter image description here

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":

enter image description here

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:

enter image description here

Done:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.