Assign elevations from a DEM automatically in Qgis ( Drape points)

Поділитися
Вставка
  • Опубліковано 27 лис 2024

КОМЕНТАРІ • 49

  • @pizzatide8328
    @pizzatide8328 3 роки тому

    Thank you! After a day of wasted effort, I finally found a good tutorial on finding point elevation!

  • @cptlemartes
    @cptlemartes 2 роки тому +1

    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.

  • @juneewarrenriogelon1527
    @juneewarrenriogelon1527 2 роки тому +4

    this just elevated my endorphin levels, thanks!

  • @trembseb
    @trembseb Рік тому

    Great it worked!! Glad to have a way in QGIS rather than using FME

  • @shonaguthrie848
    @shonaguthrie848 2 роки тому

    Much easier than I thought it would be! Thanks.

  • @d.o.7784
    @d.o.7784 4 місяці тому

    What if you want to want to assign new z values for each point?

  • @lakshmikanthraju105
    @lakshmikanthraju105 2 роки тому

    My day is saved thanks a lot 😊☺️

  • @aidanfidgeondronesolutions4465
    @aidanfidgeondronesolutions4465 3 роки тому +1

    Thanks, solved my issue really quickly.👍

  • @shobhitsingh2686
    @shobhitsingh2686 2 роки тому +2

    I am getting null value using the same expression. Do you any idea what might be wrong?

    • @visualisierungen_meliorati3976
      @visualisierungen_meliorati3976 2 роки тому

      i have the same problem

    • @bennysumaryono5923
      @bennysumaryono5923 2 роки тому

      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?

    • @bennysumaryono5923
      @bennysumaryono5923 2 роки тому +1

      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.

  • @kwestanomerabdalkarim825
    @kwestanomerabdalkarim825 Рік тому

    very useful, thanks

  • @filiplopour6740
    @filiplopour6740 Рік тому

    Where did you get n16 e121 layer?

  • @karimsamira175
    @karimsamira175 2 роки тому +3

    Please I followed the same steps but i got Null in the Z fields if someone could help me I would be grateful

    • @visualisierungen_meliorati3976
      @visualisierungen_meliorati3976 2 роки тому

      same problem

    • @bennysumaryono5923
      @bennysumaryono5923 2 роки тому +1

      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.

    • @kwinsch7423
      @kwinsch7423 4 дні тому

      @@bennysumaryono5923 Have same problem here, using 2 different CRS. Tried to use the transform function to convert the point to the target CRS of the DEM, but it still returns NULL. This is really a bummer when using a lot of layers from different sources.

  • @ambicasharma308
    @ambicasharma308 Рік тому

    how to add elevations to a line shape file. can you please guide me with that? very informative video!

    • @MiningGeologist
      @MiningGeologist  Рік тому +1

      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

  • @moijesuisa
    @moijesuisa 2 роки тому +1

    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

  • @mohama7551
    @mohama7551 Рік тому

    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?

    • @MiningGeologist
      @MiningGeologist  Рік тому

      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

    • @mohama7551
      @mohama7551 Рік тому

      @@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

  • @allaboutworld5177
    @allaboutworld5177 10 місяців тому

    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

  • @pwarr3n
    @pwarr3n 2 роки тому

    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.

  • @behroozrostami259
    @behroozrostami259 2 роки тому

    Thank you so much.

    • @MiningGeologist
      @MiningGeologist  2 роки тому

      you are welcome

    • @behroozrostami259
      @behroozrostami259 2 роки тому

      ​ @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.

    • @MiningGeologist
      @MiningGeologist  2 роки тому +1

      @@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 :
      ua-cam.com/video/csOUMXqdh5k/v-deo.html

    • @behroozrostami259
      @behroozrostami259 2 роки тому

      @@MiningGeologist thanks a lot. I really appreciate it. 🙂

    • @MiningGeologist
      @MiningGeologist  2 роки тому +1

      @@behroozrostami259 you are welcome

  • @lakshmikanthraju105
    @lakshmikanthraju105 2 роки тому

    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
      @NikoletaAnderlova Рік тому

      hey, I am also getting a NULL value - have you been able to solve it?

    • @lakshmikanthraju105
      @lakshmikanthraju105 Рік тому +1

      @@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.

    • @NikoletaAnderlova
      @NikoletaAnderlova Рік тому +1

      @@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!

    • @lakshmikanthraju105
      @lakshmikanthraju105 Рік тому

      @@NikoletaAnderlova your welcome

  • @patriciaverano4858
    @patriciaverano4858 Рік тому

    interested in learning about python in geology

  • @kyawnaingwin8300
    @kyawnaingwin8300 2 роки тому

    use $geometry at the place of point in your function and you do not need X and Y fileds anymore.

    • @kyawnaingwin8300
      @kyawnaingwin8300 2 роки тому +1

      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.

  • @shardaprasad3666
    @shardaprasad3666 2 роки тому

    I don't no what mistake my ends raster_value( 'Bihar_Headquaters_modified_16e24b1e_94b1_4631_8e14_07c3a8678234',('dem''3'),make_point,'($X,$Y))

  • @mbegangsylvain1076
    @mbegangsylvain1076 Рік тому

    Very useful, thanks