View source: R/reformat_geometry.R
reformat_geometry | R Documentation |
Reformat the Geometry of a single iDAI.field / Field Desktop resource
reformat_geometry(geometry)
geometry |
The list in |
The geometry of the resource in a more usable format that can
be processed with tools like sp
's SpatialPoints()
etc. to work with
spatial data. The geometry is returned as a a matrix in a list.
This function is used in: simplify_idaifield()
## Not run:
test_2 <- list(type = "Polygon",
coordinates = list(list(list(1), list(1)),
list(list(1), list(2)),
list(list(2), list(2)),
list(list(1), list(1))
)
)
reformat_geometry(test_2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.