Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

problem with datum definition PROJ deprecated in favour of WKT #2

Closed
DavidHine opened this issue Jun 4, 2020 · 4 comments
Closed

Comments

@DavidHine
Copy link

Thanks for creating the SLGA package.
In running it and using the vignette as a guide, I found that a command failed due to the use, it seems, of PROJ definitions. The command and response are below
_aoi <- c(152.95, -27.55, 153.07, -27.45)

bne_surface_clay <- get_soils_data(product = 'NAT', attribute = 'CLY',

  •                                component = 'ALL', depth = 1,
    
  •                                aoi = aoi, write_out = FALSE)
    

Warning messages:
1: In showSRID(uprojargs, format = "PROJ", multiline = "NO") :
Discarded datum Unknown based on GRS80 ellipsoid in CRS definition,
but +towgs84= values preserved_
There were 6 of the warning messages, all duplicates of this one.
In searching for a solution I found a discussion about the issue and an RFC started in Oct 2019. It can be found here https://rdrr.io/rforge/rgdal/f/vignettes/PROJ6_GDAL3.Rmd
Package sp gets attention in the discussion.

@obrl-soil
Copy link
Owner

obrl-soil commented Jun 4, 2020

Hi David, can you please report the OS you're using, plus the versions of PROJ and GDAL R reports when you load sf?

@DavidHine
Copy link
Author

Hi Lauren,
I am using Ubuntu 20.04.
When loading sf, I get:
library(sf)
Linking to GEOS 3.8.0, GDAL 3.0.4, PROJ 6.3.1

@obrl-soil
Copy link
Owner

obrl-soil commented Jun 4, 2020

Hmm ok. are you able to update past PROJ 6.3.1? I'm getting no errors on Ubuntu 18.04 with PROJ 7.0.0. I think there was some funny stuff happening as PROJ moved through the 6.x releases.

@obrl-soil
Copy link
Owner

Assuming this is resolved due to lack of further contact.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants