Very useful, thanks! I spent way too long trying to get drape and set Z value to accomplish the above before I realised they don't actually add the Z column/attribute. X and Y can be added alternatively by using Add Geometry Attributes.
NULL value can be caused by your points CRS is different with one of DEM raster. You need to reproject either pints layer or DEM raster so that you have the same CRS to work.
NULL value can be caused by your points CRS is different with one of DEM raster. You need to reproject either pints layer or DEM raster so that you have the same CRS to work.
go to the toolbox and search for Drape, there is a tool called " Drape (set Z value from raster) The first input is your Line shape file the second input is the DEM raster run the tool and you will get a new layer with Z values from the raster. I hope this helps
Can we put this functionality on every single coordinate of layer so by clicking on any point on layer it will show us the exact elevation at that point
Professor, how can I create a DEM elevation model file from the surface of the external appearance using the Qgis Orfeo Toolbox plugin, and after that, how can I create a 3D model or D2. For the subterranean features using the terrain Qgis plugin using DEM and the items or thermal ranges that can penetrate the ground, and then what are the tools that help me analyze the model? Do you have videos or books that enable me to reach this specialist?
Not sure what is your question exactly I having hard time understanding what you mean , but I think you are looking for geological modeling if so here is free course that will get you started : geo-trainings.com/home/home/course/3d-geological-modelling/4
@@MiningGeologist My study in the Department of Archeology is how to analyze the radar image in a way that allows me to discover the remains of buildings buried in the sand
I note that he always got the precision at the meter level. Every answer was .00. I am also getting this no matter how I process my elevation raster. I am wondering why this is happening.
I'm getting null 😔 I followed all the steps as shown precisely. I have a different field calculator it has features at the bottom just above where we get expression results. What could be the issue?
@@NikoletaAnderlova Hi, I used another option. Try the "Add raster values to points" process under saga. Also, try to update QGIS to the latest. Make sure the projection of DEM and scratch layer match as well.
@Mining Geologist Please, I have a problem with QGIS. I would be grateful if you could help me with it. Imagine we have a raster file or data points and a triangle as a polygon. How can we make a surface just inside this triangle? Because when I introduce the triangle to limit the output, QGIS gives me a raster file in the shape of a rectangle.
@@behroozrostami259 when you try to generate a new layer and you select a different layer to get its extent Qgis only gets x min x max y min y max which will generate only a rectangular shaped layer no matter what shape you use . That's not the right way to do it , Instead go to the tool box and search for Clip Raster with Polygone (if you wanna clip a raster) or Clip vector by a mask layer(if you want to clip a vector file) use the raster/vector as input and use your polygon in both cases as a mask layer. the result will have the same shape as the polygon used for this operation. I hope this helps Check this video might help you : th-cam.com/video/csOUMXqdh5k/w-d-xo.html
now I add raster_value(layer,1,$geometry) expression in a virtual filed of point layer (that is you showed in dimension in qgis video), the elevation value is instantly updated.
Very useful, thanks! I spent way too long trying to get drape and set Z value to accomplish the above before I realised they don't actually add the Z column/attribute. X and Y can be added alternatively by using Add Geometry Attributes.
Thank you! After a day of wasted effort, I finally found a good tutorial on finding point elevation!
I m Happy that my video helped you :)
Great it worked!! Glad to have a way in QGIS rather than using FME
Glad it helped!
this just elevated my endorphin levels, thanks!
😄
Much easier than I thought it would be! Thanks.
Thanks, solved my issue really quickly.👍
Happy to help Aidan :)
What if you want to want to assign new z values for each point?
My day is saved thanks a lot 😊☺️
I am getting null value using the same expression. Do you any idea what might be wrong?
i have the same problem
Same here. I am using UTM coordinate system and not sure if it is not applicable with this method (the points are using lat-lon system). Any idea?
NULL value can be caused by your points CRS is different with one of DEM raster. You need to reproject either pints layer or DEM raster so that you have the same CRS to work.
Where did you get n16 e121 layer?
Please I followed the same steps but i got Null in the Z fields if someone could help me I would be grateful
same problem
NULL value can be caused by your points CRS is different with one of DEM raster. You need to reproject either pints layer or DEM raster so that you have the same CRS to work.
how to add elevations to a line shape file. can you please guide me with that? very informative video!
go to the toolbox and search for Drape,
there is a tool called " Drape (set Z value from raster)
The first input is your Line shape file the second input is the DEM raster run the tool and you will get a new layer with Z values from the raster.
I hope this helps
Is that possibile if my DEM is a WMS/WMTS? I tried exporting it as a geotiff in a given range but it seems devoid of elevation data
possible with any Raster file
Can we put this functionality on every single coordinate of layer so by clicking on any point on layer it will show us the exact elevation at that point
what kind of layers is it?
Professor, how can I create a DEM elevation model file from the surface of the external appearance using the Qgis Orfeo Toolbox plugin, and after that, how can I create a 3D model or D2. For the subterranean features using the terrain Qgis plugin using DEM and the items or thermal ranges that can penetrate the ground, and then what are the tools that help me analyze the model? Do you have videos or books that enable me to reach this specialist?
Not sure what is your question exactly I having hard time understanding what you mean , but I think you are looking for geological modeling if so here is free course that will get you started :
geo-trainings.com/home/home/course/3d-geological-modelling/4
@@MiningGeologist My study in the Department of Archeology is how to analyze the radar image in a way that allows me to discover the remains of buildings buried in the sand
very useful, thanks
happy to help !
interested in learning about python in geology
I note that he always got the precision at the meter level. Every answer was .00. I am also getting this no matter how I process my elevation raster. I am wondering why this is happening.
I'm getting null 😔 I followed all the steps as shown precisely. I have a different field calculator it has features at the bottom just above where we get expression results. What could be the issue?
hey, I am also getting a NULL value - have you been able to solve it?
@@NikoletaAnderlova Hi, I used another option. Try the "Add raster values to points" process under saga. Also, try to update QGIS to the latest. Make sure the projection of DEM and scratch layer match as well.
@@lakshmikanthraju105 it was the projection for me, I changed it and it workds fine :) But i will try the SAGA process too. Thanks a lot!
@@NikoletaAnderlova your welcome
Thank you so much.
you are welcome
@Mining Geologist Please, I have a problem with QGIS. I would be grateful if you could help me with it. Imagine we have a raster file or data points and a triangle as a polygon. How can we make a surface just inside this triangle? Because when I introduce the triangle to limit the output, QGIS gives me a raster file in the shape of a rectangle.
@@behroozrostami259 when you try to generate a new layer and you select a different layer to get its extent Qgis only gets x min x max y min y max which will generate only a rectangular shaped layer no matter what shape you use . That's not the right way to do it , Instead go to the tool box and search for Clip Raster with Polygone (if you wanna clip a raster) or Clip vector by a mask layer(if you want to clip a vector file)
use the raster/vector as input and use your polygon in both cases as a mask layer. the result will have the same shape as the polygon used for this operation.
I hope this helps
Check this video might help you :
th-cam.com/video/csOUMXqdh5k/w-d-xo.html
@@MiningGeologist thanks a lot. I really appreciate it. 🙂
@@behroozrostami259 you are welcome
use $geometry at the place of point in your function and you do not need X and Y fileds anymore.
now I add raster_value(layer,1,$geometry) expression in a virtual filed of point layer (that is you showed in dimension in qgis video), the elevation value is instantly updated.
I don't no what mistake my ends raster_value( 'Bihar_Headquaters_modified_16e24b1e_94b1_4631_8e14_07c3a8678234',('dem''3'),make_point,'($X,$Y))
Very useful, thanks