is_geom_type | R Documentation |
A flexible wrapper for sf::st_geometry_type and sf::st_is.
is_geom_type(x, type = NULL, by_geometry = FALSE, ext = TRUE) is_point(x, by_geometry = FALSE) is_multipoint(x, by_geometry = FALSE) is_line(x, by_geometry = FALSE) is_multiline(x, by_geometry = FALSE) is_polygon(x, by_geometry = FALSE) is_multipolygon(x, by_geometry = FALSE)
x |
A |
type |
If "POINT", check if geometry type is POINT. Same for all
available geometry types; not case sensitive; Default: |
by_geometry |
Passed to sf::st_geometry_type; defaults to |
ext |
For st_geom_type, if ext |
If ext is FALSE and type is NULL, returns vector with geometry types
identical to sf::st_geometry_type. If ext is TRUE
, returns a list and,
if type is not NULL
, returns a logical vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.