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.
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?
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/
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
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
Everything is so well explained, grateful for the time you dedicated to this tutorial! Thank you for sharing, it was very helpful!
Thanks!
Very helpful, i like your tutoriels
🙏 Thank you! Very glad they are useful!
Amazing! thank you :)
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.
Here's a similar video on polygons: ua-cam.com/video/UbvZ5wsGyo8/v-deo.html
Hopefully it helps!
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?
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/
great tutorial! Thanks
You're welcome!
how do you increase the size of the raster? i have plotted the raster but the size is too small
What do you mean by "increase the size"? Are you trying to make the plot larger or change the resolution of the raster cells?
@@weecology my DEM is appearing really small on the plot but everything else is fine so I want to make the DEM bigger
@@kgaogelophogole7651 Is it possible to post a screen shot somewhere so I can see what's happening?
@@weecology I tried opening the raster data using stars but it doesn't plot it runs doesn't plot
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
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
so nice!
Thank you! 😊
how can i implement this is python?
Here's a site showing how to do similar things Python using the same basic data: ua-cam.com/video/QhUcgOOsUy8/v-deo.html