HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
bounding_box
A rectangular geographic area defined by southwest and northeast corners.
Coordinate System: WGS 84 (EPSG:4326). Note: This object uses Key-Value pairs, unlike GeoJSON arrays.
Constraints:
- Orientation: The
southwest.latitudemust be less than or equal tonortheast.latitude. - Size: The total area (calculated as
(lat_diff * lon_diff)) must not exceed 10 square degrees (roughly 330km x 330km at the equator). - Aspect Ratio: To prevent extreme "sliver" queries, the ratio between the height and width (or vice-versa) should not exceed 100:1.
- Anti-Meridian: Wrapping across the 180th meridian is currently not supported;
southwest.longitudemust be less than or equal tonortheast.longitude.
Fields
typeMust be set to bounding_box.
This field identifies the selector as a rectangular area.
bounding_box · Example bounding_boxsouthwestGeographic coordinates
Show fields
latitudeLatitude coordinate. Note: Precision is capped at 6 decimal places (~11cm). Higher precision is truncated.
40.7128longitudeLongitude coordinate. Note: Precision is capped at 6 decimal places (~11cm). Higher precision is truncated.
-74.006northeastGeographic coordinates
Show fields
latitudeLatitude coordinate. Note: Precision is capped at 6 decimal places (~11cm). Higher precision is truncated.
40.7128longitudeLongitude coordinate. Note: Precision is capped at 6 decimal places (~11cm). Higher precision is truncated.
-74.006{
"type": "bounding_box",
"southwest": {
"latitude": 40.7128,
"longitude": -74.006
},
"northeast": {
"latitude": 40.7128,
"longitude": -74.006
}
}