bbox_to_string: Convert a named matrix or a named vector (or an unnamed vector) return a string
Description
This function converts a bounding box into a string for use in web apis
Usage
bbox_to_string(bbox)
Arguments
bbox
bounding box as character, matrix or vector.
If character, the bbox will be found (geocoded) and extracted with getbb.
Unnamed vectors will be
sorted appropriately and must merely be in the order (x, y, x, y).
Value
A character string representing min x, min y, max x, and max y bounds.
For example: "15.3152361,76.4406446,15.3552361,76.4806446" is the
bounding box for Hampi, India.