Skip to content

Commit

Permalink
Merge pull request #2464 from kadyb/main
Browse files Browse the repository at this point in the history
enhance `st_as_text()` docs (for #2361)
  • Loading branch information
edzer authored Oct 30, 2024
2 parents 13a42be + a621f1d commit 0d1a48b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/wkt.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ prnt.GEOMETRYCOLLECTION = function(x, ..., EWKT = TRUE) {
#' \href{https://www.ogc.org/standard/sfa/}{simple features access} specification and extensions
#' (known as EWKT, supported by PostGIS and other simple features implementations for addition of
#' a SRID to a WKT string).
#' @note To improve conversion performance, the lwgeom package can be used (it must be installed
#' beforehand) and set the \code{Sys.setenv("LWGEOM_WKT" = "true")} environment variable. This
#' will also result in faster printing of complex geometries. Note that the representation as WKT is
#' different from the sf package and may cause reproducibility problems. An alternative solution is
#' to use the [lwgeom::st_astext()] or [wk::as_wkt()] functions.
#'
#' @export
st_as_text = function(x, ...) UseMethod("st_as_text")
Expand Down
7 changes: 7 additions & 0 deletions man/st_as_text.Rd

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

0 comments on commit 0d1a48b

Please sign in to comment.