| mass_gis | R Documentation |
Retrieve elevation layers from MassGIS
mass_gis(layer = "contours250k") macleish_intersect(x)
layer |
MassGIS layer name to import |
x |
an |
This function will download shapefiles from MassGIS, unzip them,
transform the projection to EPSG:4326, compute their intersection with the
boundary of the MacLeish property, and return the resulting
sf::sf() object.
Intersect a spatial layer with the MacLeish boundary layer
https://www.mass.gov/info-details/massgis-data-layers
## Not run:
# have to download the shapefiles...could take a while...
elevation <- mass_gis()
macleish_elevation <- macleish_intersect(elevation)
if (require(sf)) {
plot(macleish_elevation)
}
dcr_trails <- mass_gis("dcrtrails")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.