Skip to main content

compute_bbox

Function compute_bbox 

Source
pub fn compute_bbox(geom: &Geometry<f64>) -> Option<(f64, f64, f64, f64)>
Expand description

Compute (min_x, min_y, max_x, max_y) for a geometry. Returns (min_lon, min_lat, max_lon, max_lat).