This is a convenience temporary function which returns the WKT
representation of a CRS, using
sf::st_as_text() in case PROJ < 3,
This has the advantage to perform precise transformations with PROJ >=3,
and to avoid conversion errors
This function will be deleted whenever
sf will manage WKT2.
st_as_text_2(x, pretty = FALSE)
object of class
logical; if TRUE, print human-readable well-known-text representation of a coordinate reference system
Well-known Text representation of simple feature geometry or coordinate reference system
Luigi Ranghetti, phD (2019)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.