Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crs structure is going to change #104

Closed
edzer opened this issue Feb 4, 2020 · 6 comments
Closed

crs structure is going to change #104

edzer opened this issue Feb 4, 2020 · 6 comments

Comments

@edzer
Copy link

edzer commented Feb 4, 2020

You're using constructs like

> silicate:::get_projection.sfc
function (x, ...) 
{
    attr(x, "crs")[["proj4string"]]
}

but upcoming sf will change the structure of crs objects; see e.g. r-spatial/sf#1225 . I will allow for a $ method that extracts a proj4string from a WKT represenation, so please change this into

    attr(x, "crs")$proj4string

if you want to stay in the proj4string realm.

@mdsumner
Copy link
Member

mdsumner commented Feb 4, 2020

Thanks for the heads up, you're saying we need the sf $ overload to get basic metadata? Don't bother we don't use sf

@edzer
Copy link
Author

edzer commented Feb 4, 2020

Others do, and get breaking packages because of silicate. You're on CRAN.

@mdsumner
Copy link
Member

mdsumner commented Feb 5, 2020

Thanks! And sorry for grumbling ...

@edzer
Copy link
Author

edzer commented Mar 20, 2020

still the case on CRAN; package eixport breaks for this reason; FYI @ibarraespinosa

@mdsumner
Copy link
Member

Nearly ready, new silicate should hit CRAN within a day or so.

@mdsumner mdsumner closed this as completed Apr 9, 2020
@ibarraespinosa
Copy link

ibarraespinosa commented Apr 9, 2020 via email

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

No branches or pull requests

3 participants