Create a rectangle on a map using the Simple Features R package
Usage
make.rectangle.on.map(lat1, lon1, lat2, lon2)
Arguments
- lat1
Latitude of the upper left corner
- lon1
Longitude of the upper left corner
- lat2
Latitude of the down right corner
- lon2
Longitude of the down right corner
Examples
guyane.shape <- make.rectangle.on.map(9.5186167,
-54.68065555555555,
4.0003722,
-49.47313333333334)