Description Usage Arguments Value Note
Read in shapefile using readOGR
1 | read_shapespatial_to_ogr(full_path)
|
full_path |
entire path to shapefile ending in .shp, i.e. what you would pass to readShapeSpatial |
the shapefile, class SpatialPolygonsDataFrame
This is to keep up-to-date and use rgdal:readOGR instead of the now unsupported maptools::readShapeSpatial
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.