Skip to content

Commit

Permalink
Merge pull request #2260 from florisvdh/valid_sfc
Browse files Browse the repository at this point in the history
st_is_valid(), st_make_valid(): fix docs of x argument
  • Loading branch information
edzer authored Nov 10, 2023
2 parents 6058417 + e71802a commit 3184553
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion R/valid.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ st_is_valid.sfg = function(x, ...) {
#'
#' Checks whether a geometry is valid, or makes an invalid geometry valid
#' @name valid
#' @param x object of class \code{sfg}, \code{sfg} or \code{sf}
#' @param x object of class \code{sfg}, \code{sfc} or \code{sf}
#' @return Object of the same class as \code{x}
#' @details For projected geometries, \code{st_make_valid} uses the \code{lwgeom_makevalid} method also used by the PostGIS command \code{ST_makevalid} if the GEOS version linked to is smaller than 3.8.0, and otherwise the version shipped in GEOS; for geometries having ellipsoidal coordinates \code{s2::s2_rebuild} is being used.
#' @examples
Expand Down
20 changes: 11 additions & 9 deletions man/dbWriteTable.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/valid.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3184553

Please sign in to comment.