Re: [gdal-dev] GDAL 3.9.0beta1 available for testing

2024-04-25 Thread Roger Bivand via gdal-dev
No adverse impacts of GDAL 3.9.0 beta1 on reverse dependency checks of 935 R 
packages depending on R packages sf and/or terra, both linking to GDAL. I had 
to wait a bit to transition to Fedora 40, gcc 14.0.1, and R 4.4.0 released 
yesterday, but all good as far as I can tell.

Roger

--
Roger Bivand
Emeritus Professor
Norwegian School of Economics
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway
roger.biv...@nhh.no
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] Build static GDAL-Lib and static GDAL-Apps

2024-02-13 Thread Roger Bivand via gdal-dev
You may find the listings used to build static libraries for R Windows packages 
using MXE as the basis to be helpful:

https://svn.r-project.org/R-dev-web/trunk/WindowsBuilds/winutf8/ucrt3/toolchain_libs/mxe/src/

These are targeted at Windows, but the dependency tree logic should be similar. 
In building the successive static libraries, very likely the link order will 
matter too, so some patience is needed.

Hope this helps,

Roger

--
Roger Bivand
Emeritus Professor
Norwegian School of Economics
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway
roger.biv...@nhh.no
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] gdal_translate shifted values

2024-02-01 Thread Roger Bivand via gdal-dev
>From the R code snippet I see: "Surprisingly, the value 9.75 is shifted to 
>106, 86 = 105,85 in Python indexing", but R is 1-base and Python 0-base. In R:

> library(terra)
terra 1.7.71
> gdal()
[1] "3.8.3"
> a <- rast("attachment.obj")
> b <- rast("st4_pr.2017092016.01h.tif")
> a
class   : SpatRaster 
dimensions  : 205, 205, 1  (nrow, ncol, nlyr)
resolution  : 4762, 4762  (x, y)
extent  : 4940902, 5917112, -7210793, -6234583  (xmin, xmax, ymin, ymax)
coord. ref. : +proj=stere +lat_0=90 +lat_ts=60 +lon_0=-105 +x_0=0 +y_0=0 
+R=6367470 +units=m +no_defs 
source  : attachment.obj 
name: SFC (Ground or water surface); Total precipitation [kg/m^2] 
unit:  kg/m^2 
time: 2017-09-20 16:00:00 UTC 
> b
class   : SpatRaster 
dimensions  : 205, 205, 1  (nrow, ncol, nlyr)
resolution  : 4762, 4762  (x, y)
extent  : 4940902, 5917112, -7210793, -6234583  (xmin, xmax, ymin, ymax)
coord. ref. : +proj=stere +lat_0=90 +lat_ts=60 +lon_0=-105 +x_0=0 +y_0=0 
+R=6367470 +units=m +no_defs 
source  : st4_pr.2017092016.01h.tif 
name: 0[-] SFC (Ground or water surface) 
> all.equal(values(a), values(b))
[1] "Attributes: < Component \"dimnames\": Component 2: 1 string mismatch >"
> dimnames(values(a))
[[1]]
NULL

[[2]]
[1] "SFC (Ground or water surface); Total precipitation [kg/m^2]"

> dimnames(values(b))
[[1]]
NULL

[[2]]
[1] "0[-] SFC (Ground or water surface)"
> all.equal(values(a), values(b), check.attributes=FALSE)
[1] TRUE

Reading both into R shows that the input GRIB data and the GTiff data converted 
by gdal_translate are identical.

By the way, better to use the terra package directly, raster uses it indirectly.

Hope this clarifies,

Roger

--
Roger Bivand
Emeritus Professor
Norwegian School of Economics
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway
roger.biv...@nhh.no
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] GDAL Maintainers Meeting Minutes

2023-12-30 Thread Roger Bivand via gdal-dev
Unfortunately, upgrading to 3.0.1 failed in October: 
https://bugzilla.redhat.com/show_bug.cgi?id=2166459. I hope my (duplicate) 
report may nudge the build team.

Roger

--
Roger Bivand
Emeritus Professor
Norwegian School of Economics
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway
roger.biv...@nhh.no


From: Roger Bivand 
Sent: 29 December 2023 21:17
To: gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] GDAL Maintainers Meeting Minutes

https://bugzilla.redhat.com/show_bug.cgi?id=2256228

--
Roger Bivand
Emeritus Professor
Norwegian School of Economics
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway
roger.biv...@nhh.no

___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] GDAL Maintainers Meeting Minutes

2023-12-29 Thread Roger Bivand via gdal-dev
https://bugzilla.redhat.com/show_bug.cgi?id=2256228

--
Roger Bivand
Emeritus Professor
Norwegian School of Economics
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway
roger.biv...@nhh.no

___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] GDAL 3.7.3 RC1 available

2023-10-31 Thread Roger Bivand via gdal-dev
3.7.3 RC1 OK for 630 R packages using GDAL through released versions of R 
packages  sf, terra, gdalcubes, gdalraster and/or vapour; no observed test 
failures related to GDAL. 

Roger

--
Roger Bivand
Emeritus Professor
Norwegian School of Economics
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway
roger.biv...@nhh.no
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev