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

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

Комментарии • 48

  • @juneewarrenriogelon1527
    @juneewarrenriogelon1527 2 года назад +4

    this just elevated my endorphin levels, thanks!

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

  • @pizzatide8328
    @pizzatide8328 2 года назад

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

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

  • @aidanfidgeondronesolutions4465
    @aidanfidgeondronesolutions4465 2 года назад +1

    Thanks, solved my issue really quickly.👍

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

  • @lakshmikanthraju105
    @lakshmikanthraju105 2 года назад

    My day is saved thanks a lot 😊☺️

  • @d.o.7784
    @d.o.7784 Месяц назад

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

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

  • @mbegangsylvain1076
    @mbegangsylvain1076 Год назад

    Very useful, thanks

  • @moijesuisa
    @moijesuisa Год назад +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

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

  • @allaboutworld5177
    @allaboutworld5177 7 месяцев назад

    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

  • @filiplopour6740
    @filiplopour6740 Год назад

    Where did you get n16 e121 layer?

  • @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 :
      ruclips.net/video/csOUMXqdh5k/видео.html

    • @behroozrostami259
      @behroozrostami259 2 года назад

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

    • @MiningGeologist
      @MiningGeologist  2 года назад +1

      @@behroozrostami259 you are welcome

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

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

  • @patriciaverano4858
    @patriciaverano4858 Год назад

    interested in learning about python in geology

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

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

  • @kwestanomerabdalkarim825
    @kwestanomerabdalkarim825 Год назад

    very useful, thanks