powered by
readS returns coords, ranges for x and y of a shapefile
readS(file, dir)
file name
directory
a list with components SpatialPolygonsDataFrame, ranges for x and y
reads a polygon shp file in a directory and extracts coordinates and x and y ranges.
# NOT RUN { # readS was used to create the shape1 object in geozoning package z=readS("Field_8_zones.shp",dir="../data/") plot(z$sp) # }
Run the code above in your browser using DataLab