-
Notifications
You must be signed in to change notification settings - Fork 28
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 returns NA when rgdal is not installed #107
Comments
My commits/pushes to my forks of sf and sp:
with an extra argument to
will also work, but may make sf depend on 'methods - untried. |
This reverts commit fbe5b88.
I reverted the additional |
Thanks, makes a lot of sense! |
# version 1.0-2 * `st_read()` and `st_write()` using GDAL handle binary attributes (OFTBinary fields) ; #1721 * a `pivot_longer` method is added for `sf` objects (the `data.frame` method works, but raises a warning) * `rbind.sf` preserves primary geometry column; #1717 * `configure` constrains using `--static` to `Darwin` platform; #1702, #1712, #1713 * old-style `crs` objects created with sf < 0.9-0 generate a message, and will cause a warning in the future. * when `st_crs()` is called with a WKT2 as text input, its `input` field will be replaced with the CRS name (if it has one). * GEOS (>= 3.9.0) operations use `GEOSGeom_setPrecision_r` to set precision of geometries; #1535 * `st_read()` with specified `query` ignores argument `layers`, and warns if it is given; #1444 # version 1.0-1 * fix regression in `st_intersection()`: when using s2 attributes were assigned wrongly; #1704 * `crs` (sf) to `CRS` (sp) conversion no longer needs validation by `rgdal`; edzer/sp#107 * retrieve ESRI's WKT version of CRS by `st_crs(id)$WKT1_ESRI`; #1690 # version 1.0-0 * add `s2` to Imports: * add Dewey Dunnington to contributors * `sf_use_s2()` prints a message when using s2 has been switched to on or off. * use `s2` spherical geometry as default when coordinates are ellipsoidal. This can be switched off (defaulting to planar geometry, using GEOS, as in sf < 1.0-0) by setting environment variable `_SF_USE_S2` to `false` before package `sf` is loaded, or by `sf_use_s2(FALSE)`; #1649 * `st_nearest_feature()` with missing `y` returns nearest features in the remaining set of `x`; r-spatial/s2#111 * `st_write()` gains an argument `config_options` to set GDAL config options; #1618 * fix regression in `sf_project(..., keep = TRUE)`; #1635
This came up here: rvalavi/blockCV#18
which calls
CRS(SRS_string = st_crs(4326)$wkt)
- this should stop or accept the wkt without checking. Also settingdoCheckCRSArgs=FALSE
does not help.The text was updated successfully, but these errors were encountered: