Learn R Programming

vetools (version 1.3-28)

get.shape.range: Get spatial range of an object

Description

Extracts the longitudes and latitudes of an object of class SpatialPolygonsDataFrame.

Usage

get.shape.range(shape)

Arguments

shape
object of class SpatialPolygonsDataFrame. Object usually comes from get.shape.venezuela or get.shape.state.

Value

Matrix of one row and four columns, containing the Longitudinal and Latitudinal ranges. Of the form
     Long.start Long.end Lat.start Lat.end
[1,]  -73.37749 -59.7991 0.6492503 12.2012

See Also

get.shape.venezuela, get.shape.state, get.Grid.size.

Examples

Run this code
VE <- get.shape.venezuela()
get.shape.range(VE)

Run the code above in your browser using DataLab