EVOLUTION-MANAGER
Edit File: st_as_text.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Return Well-known Text representation of simple feature...</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for st_as_text {sf}"><tr><td>st_as_text {sf}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Return Well-known Text representation of simple feature geometry or coordinate reference system</h2> <h3>Description</h3> <p>Return Well-known Text representation of simple feature geometry or coordinate reference system </p> <h3>Usage</h3> <pre> ## S3 method for class 'crs' st_as_text(x, ..., pretty = FALSE) st_as_text(x, ...) ## S3 method for class 'sfg' st_as_text(x, ...) ## S3 method for class 'sfc' st_as_text(x, ..., EWKT = FALSE) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>x</code></td> <td> <p>object of class <code>sfg</code>, <code>sfc</code> or <code>crs</code></p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>modifiers; in particular <code>digits</code> can be passed to control the number of digits used</p> </td></tr> <tr valign="top"><td><code>pretty</code></td> <td> <p>logical; if TRUE, print human-readable well-known-text representation of a coordinate reference system</p> </td></tr> <tr valign="top"><td><code>EWKT</code></td> <td> <p>logical; if TRUE, print SRID=xxx; before the WKT string if <code>epsg</code> is available</p> </td></tr> </table> <h3>Details</h3> <p>The returned WKT representation of simple feature geometry conforms to the <a href="http://www.opengeospatial.org/standards/sfa">simple features access</a> specification and extensions, <a href="http://postgis.net/docs/using_postgis_dbmanagement.html#EWKB_EWKT">known as EWKT</a>, supported by PostGIS and other simple features implementations for addition of SRID to a WKT string. </p> <h3>Examples</h3> <pre> st_as_text(st_point(1:2)) st_as_text(st_sfc(st_point(c(-90,40)), crs = 4326), EWKT = TRUE) </pre> <hr /><div style="text-align: center;">[Package <em>sf</em> version 0.9-5 <a href="00Index.html">Index</a>]</div> </body></html>