View source: R/reformat_geometry.R
convert_to_coordmat | R Documentation |
Converts Coordinate List from iDAI.field to a Matrix
convert_to_coordmat(coordinates)
coordinates |
a list of the format that any coordinates list has in the iDAI.field 2 / Field Desktop database. |
a matrix that displays the same coordinates.
## 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))))
convert_polygon(test_2$coordinates)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.