subset_shapes_roads: Subset the shapefile and road lines to proper roads within...

Description Usage Arguments Value

View source: R/sample-locations.R

Description

Subset the shapefile and road lines to proper roads within specified tract

Usage

1
subset_shapes_roads(place_id, shapefile)

Arguments

place_id

numeric specifying the ID of the region we are sub-sampling

shapefile

sp class with all of the locations for each place id. In addition, we must have road shapefiles so shapefile is a list with both the tracts and the roads, tracts is the first object and roads the second.

Value

new_shp - roads within the tract, a SpatialLines object


spew documentation built on Nov. 17, 2017, 7:36 a.m.