Krzysztof Dyba

Results 222 comments of Krzysztof Dyba

This is described in the [docs](https://rspatial.github.io/terra/reference/distance.html): > If x is a SpatVector: The distance is always expressed in meter, except when the coordinate reference system is longitude/latitude AND one of...

Maybe it will be even better to use the `exact = TRUE` argument to engage [exactextractr](https://cran.r-project.org/web/packages/exactextractr/index.html) (it is very fast for summarizing values)? **Edit:** I checked the source of the...

If you are interested in the highest efficiency, I think the best option will be to use `exact_extract()` with SpatRaster, it should be faster than for RasterLayer. See these benchmarks:...

Here was similar thread in `terra` with responses from Dewey and Tomas: https://github.com/rspatial/terra/issues/1347

I also encountered this. The solution is to install the `prettymapr` package. Maybe it should be mandatory to install and listed in "Imports" in the DESCRIPTION? ```r library("ggplot2") library("ggspatial") load_longlake_data(which...

> In principle this is partially addressed by using terra::vrt(options = c("b 1", "b 2", ...)) or similar to restrict the bands present in the .vrt. In practice, I'm finding...

The example of resolution change from the `terra` doc suggests this way: ```r v

@Rapsodia86, do you have GDAL version < 3.8? Because this has been changed and then the results should be as you expect. > Starting with GDAL 3.8, all bands of...

> What is recommended is using sf_use_s2(FALSE), but that changes geometry to planar and therefore leads to incorrect area calculations. But are the differences significant? [Here](https://r-spatial.github.io/sf/articles/sf7.html#area) is comparison using geographical...

On CRAN for macOS tbb is also missing because I don't see there is a [recipe](https://github.com/R-macos/recipes/tree/master/recipes) for it?