Geospatial Data in R - Extracting Raster Data at Points

Поділитися
Вставка
  • Опубліковано 8 січ 2025

КОМЕНТАРІ • 23

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

    Everything is so well explained, grateful for the time you dedicated to this tutorial! Thank you for sharing, it was very helpful!

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

    Very helpful, i like your tutoriels

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

      🙏 Thank you! Very glad they are useful!

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

    Amazing! thank you :)

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

    This is very helpful for points label data. Do you know what should be done if you have a Multipolygon label data? I think it might have to do with centroids, but I don't seem to get it right.

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

      Here's a similar video on polygons: ua-cam.com/video/UbvZ5wsGyo8/v-deo.html
      Hopefully it helps!

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

    This is very helpful! I am wondering - is there an extra command that could be added here to extract the mean values from the raster using a set buffer zone around each point observation?

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

      Glad it's helpful! The way you handle buffers using stars is to use the st_buffer() function to create a spatial object that is a polygon that is a buffer around each point and then pass that to aggregate. There is some more detailed discussion and an example here:
      www.pmassicotte.com/post/2021-03-06-extracting-raster-values-using-polygons/

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

    great tutorial! Thanks

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

    how do you increase the size of the raster? i have plotted the raster but the size is too small

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

      What do you mean by "increase the size"? Are you trying to make the plot larger or change the resolution of the raster cells?

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

      @@weecology my DEM is appearing really small on the plot but everything else is fine so I want to make the DEM bigger

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

      @@kgaogelophogole7651 Is it possible to post a screen shot somewhere so I can see what's happening?

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

      @@weecology I tried opening the raster data using stars but it doesn't plot it runs doesn't plot

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

    Thank you Sir. This Video was quite helpful. Is it possible to export those values into excel. As i am dealing with time series datasets for a layer stack image of 365. I did extracted the values. but i had to enter it in sequence manually. So is there any way of directly exporting it into excel directly

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

      Glad the video was helpful. If you have the data in a data frame in R and want to work with it in Excel you can export that data frame using the `write.csv` function. It takes two main arguments: the first argument is the data frame that you want to export and the second argument is the name of the file you want to save it to. More details here: www.rdocumentation.org/packages/AlphaPart/versions/0.8.1/topics/write.csv

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

    so nice!

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

    how can i implement this is python?

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

      Here's a site showing how to do similar things Python using the same basic data: ua-cam.com/video/QhUcgOOsUy8/v-deo.html