View source: R/extract_spatial.R
extract_feature | R Documentation |
create metadata list from sp object
extract_feature(obj, out)
obj |
a spatial object from the |
out |
desired outputs; must align with valid internal function names
Including |
a list according to names in spatial lookup tables for tag conversion
library(sp)
Sr1 = Polygon(cbind(c(-89,-89.5,-89,-88.5,-89),c(42,42,44,44,42)))
Srs1 = Polygons(list(Sr1), "s1")
p = SpatialPolygons(list(Srs1), proj4string=CRS("+init=epsg:4326 +proj=longlat
+datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0"))
extract_feature(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.