geo_type | R Documentation |
Get geometry type
geo_type(x)
x |
input, an object of class |
geo_type(point('{ "type": "Point", "coordinates": [100.0, 0.0] }'))
x <- '{ "type": "Polygon",
"coordinates": [
[ [100.0, 0.0], [100.0, 1.0], [101.0, 1.0], [101.0, 0.0], [100.0, 0.0] ]
]
}'
poly <- polygon(x)
geo_type(poly)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.