Closed latot closed 8 months ago
If you want anyone to look into this, please provide a complete reprex, including library()
statements, data, and avoid things like this
Error in sf::st_sfc(sf::st_point(from_point), sf::st_point(to_point), :
could not find function "%.>%"
when it is not needed.
Sorry, I thought would be easier, tomorrow I'll create full reprex, need some data to use and share.
Hi, in the end, there was no problem with this, there is some weird things with some values, but not this.
I just got confused about params between python and command line ones.
Thx!
Hi!, well I don't know if this is from R, Python, maybe I did an error writing the code, but is too weird!
I was porting the elevation profile code from: https://kokoalberti.com/articles/creating-elevation-profiles-with-gdal-and-two-point-equidistant-projection/
To R, is not very hard, here a example:
Most of the parameters comes from the doc, nothing weird about the methdology it self, so before continues, I run this code in python, it work nice, fine, almost no ram or cpu consumption, the code is something similar, but does the same:
Sadly I don't have a raster, but you can use any raster with Float64, here is what happens in R:
If we disable the CHECK_DIS_FREE_SPACE, then it starts eating the ram a lot! No idea what happens.
Thx!
Here is the info