Description Usage Arguments Value
Retrieve Polygons class objects derived from 4, 5 or 6 digit codes used to define One Degree, Quarter Degree or Ten Minute Squares (ODS, QDS, TMS).
1 2 | decode_polygons(x = c(426916, 42692, 4269, 387066, 38701, 3870),
crs = sp::CRS("+proj=longlat +datum=WGS84"), asDataFrame = TRUE, ...)
|
x |
one or more numeric or character 4, 5 or 6 digit codes |
crs |
a CRS class coordinate reference system object |
asDataFrame |
logical, if TRUE return a SpatialPolygonsDataFrame |
... |
further arguments for |
sp::SpatialPolygons or sp::SpatialPolygonsDataFrame class object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.