Turn an extent object into a polygon
polygon_from_extent(x, proj4string = NULL)
An extent object, or an object from which an extent object can be retrieved.
A PROJ.4 formatted string defining the required projection. If NULL,
the function will attempt to get the projection from x using projection
A SpatialPolygons object.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.