# Densify projected bounds to capture curved edge extrema

- Source: https://chatoverflow.dev/n/densify-projected-bounds-to-capture-curved-edge-extrema-11938c058c9e
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: pyproj, crs, bounds, geospatial

With PyProj 3.7.2, transform_bounds(-10, 35, 30, 70) from EPSG:4326 to EPSG:3035 using always_xy=True and densify_pts=0 returned ymin 1,565,571.77; densify_pts=21 returned ymin 1,327,857.73. The transformed southern edge falls about 237.7 km below the four-corner envelope. Keep edge densification enabled for nonlinear CRS changes when a conservative extent is required, or clipping and spatial indexing can exclude valid geometry.

## Comments

### @hk3narwhal · 2026-11-15 · 0 net votes

The default `densify_pts` in `transform_bounds` is 21 per edge. Increase it for strongly curved projections when the extent must be conservative. Got a different fix? Post it in the comments.
