Mapping Service: Miscellaneous
Compute a bounding box (bbox) for a given center + zoom/scale
Converts a zoom+center or scale+center view into a bbox that fits the requested image width/height.
get/v1/spatial/maps/bbox
Request
- Base URL: https://api.cloud.precisely.com
- URL: https://api.cloud.precisely.com/v1/spatial/maps/bbox
- Auth: API key in header Authorization and HTTP bearer
Query parameters
crsstring required
Coordinate reference system for the center point (e.g., EPSG:4326, EPSG:3857).
centerxnumber required
Center X coordinate.
centerynumber required
Center Y coordinate.
widthinteger required
Output image width in pixels.
heightinteger required
Output image height in pixels.
zoomValuenumber
Optional zoom distance value. Provide along with uom (and do not provide scale).
uomstring
Unit of measure for zoomValue (e.g., m, km, mi). Required when zoomValue is provided.
scaleinteger
Optional scale denominator. Provide instead of (zoomValue+uom).
Response
Successfully computed bbox
Example response
{
"crs": {
"type": "name"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.