View source: R/utils-geometry.R
determine_esri_geo_type | R Documentation |
Takes an sf
or sfc
object and returns the appropriate Esri geometry type.
determine_esri_geo_type(x, call = rlang::caller_env())
x |
an object of class |
call |
The execution environment of a currently running
function, e.g. You only need to supply Can also be For more information about error calls, see Including function calls in error messages. |
POINT
: esriGeometryPoint
MULTIPOINT
: esriGeometryMultipoint
LINESTRING
: esriGeometryPolyline
MULTILINESTRING
: esriGeometryPolyline
POLYGON
: esriGeometryPolygon
MULTIPOLYGON
: esriGeometryPolygon
returns a character scalar of the corresponding Esri geometry type
determine_esri_geo_type(sf::st_point(c(0, 0)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.