Edited from https://github.com/jhollist/quickmapr/blob/master/R/internals.R Assumes geographic projection sp bbox to poly
bbox_to_sp(bbox, prj = "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs")defaults to "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"
an sp bbox object