readS: readS returns coords, ranges for x and y of a shapefile

Description Usage Arguments Details Value Examples

Description

readS returns coords, ranges for x and y of a shapefile

Usage

1

Arguments

file

file name

dir

directory

Details

reads a polygon shp file in a directory and extracts coordinates and x and y ranges.

Value

a list with components SpatialPolygonsDataFrame, ranges for x and y

Examples

1
2
3
#  readS was used to create the shape1 object in geozoning package
z=readS("Field_8_zones.shp",dir="../data/")
plot(z$sp)

geozoning documentation built on May 2, 2019, 9:43 a.m.