Closed aloboa closed 4 days ago
After upgrading to terra_1.7-81, non-georeferenced images are imported upside-down by rast() https://www.dropbox.com/scl/fi/hg3eu523aiqbgwb075yzh/Al_BW.tif?rlkey=szkhlserl4seuss1tte47s8bk&dl=0
system("xdg-open Al_BW.tif")
r <- rast("Al_BW.tif") plot(r, col=grey.colors(256))
setting crs(r) <- "local" does not change the plot in R.
crs(r) <- "local"
Is this intentional? No problem if I know this is how it will be from now on.
> sessionInfo() R version 4.4.1 (2024-06-14) Platform: x86_64-pc-linux-gnu Running under: Pop!_OS 22.04 LTS Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so; LAPACK version 3.10.0 locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=es_ES.UTF-8 [4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=es_ES.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=es_ES.UTF-8 LC_NAME=C LC_ADDRESS=C [10] LC_TELEPHONE=C LC_MEASUREMENT=es_ES.UTF-8 LC_IDENTIFICATION=C time zone: Europe/Madrid tzcode source: system (glibc) attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] dendextend_1.17.1 plyr_1.8.9 caret_6.0-94 lattice_0.22-5 RColorBrewer_1.1-3 [6] gridExtra_2.3 plotly_4.10.4 ggplot2_3.4.4 terra_1.7-81
Fixed with https://github.com/rspatial/terra/commit/867a78e1d59e98bc028b9e404cc011be90048440. See https://github.com/rspatial/terra/issues/1646
After upgrading to terra_1.7-81, non-georeferenced images are imported upside-down by rast() https://www.dropbox.com/scl/fi/hg3eu523aiqbgwb075yzh/Al_BW.tif?rlkey=szkhlserl4seuss1tte47s8bk&dl=0
system("xdg-open Al_BW.tif")
setting
crs(r) <- "local"
does not change the plot in R.Is this intentional? No problem if I know this is how it will be from now on.