mass_gis: Retrieve elevation layers from MassGIS

Description Usage Arguments Details Source Examples

View source: R/mass_gis.R

Description

Retrieve elevation layers from MassGIS

Usage

1
2
3
mass_gis(layer = "contours250k")

macleish_intersect(sp)

Arguments

layer

MassGIS layer name to import

sp

Spatial* object

Details

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 SpatialLines-class object.

Intersect a spatial layer with the MacLeish boundary layer

Source

http://www.mass.gov/anf/research-and-tech/it-serv-and-support/application-serv/office-of-geographic-information-massgis/datalayers/layerlist.html

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
# have to download the shapefiles...cound take a while...
elevation <- mass_gis()
macleish_elevation <- macleish_intersect(elevation)
if (require(sp)) {
  plot(macleish_elevation)
}

dcr_trails <- mass_gis("dcrtrails")


## End(Not run)

macleish documentation built on Sept. 28, 2017, 5:05 p.m.