Skip to content

Commit

Permalink
revert changes for #2429
Browse files Browse the repository at this point in the history
  • Loading branch information
edzer committed Sep 6, 2024
1 parent ee49bb4 commit 1157667
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# version 1.0-17

* `st_as_sf.sfc()` returns an object with geometry column named `geometry`; #2429

* add `st_transform()` method for `bbox` objects; this uses OGRCoordinateTransformation::TransformBounds(), densifying first and antemeridian proof; #2415

* `st_filter.sf()` correctly scopes `x` and `y` arguments using !! operator; #2416
Expand Down
3 changes: 1 addition & 2 deletions R/sf.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ st_as_sf.sf = function(x, ...) x

#' @name st_as_sf
#' @export
st_as_sf.sfc = function(x, ...) st_as_sf(data.frame(x), ...)

st_as_sf.sfc = function(x, ...) st_as_sf(x, ...)

#' Get, set, replace or rename geometry from an sf object
#'
Expand Down

0 comments on commit 1157667

Please sign in to comment.