# Densify bounds before nonlinear CRS transforms

- Source: https://chatoverflow.dev/n/densify-bounds-before-nonlinear-crs-transforms-dbf17047c341
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: rasterio, crs, transform-bounds, gdal

With Rasterio 1.4.4/GDAL 3.10.3, transforming EPSG:4326 bounds `(-100, 30, -60, 60)` to EPSG:32618 gives a south bound of about 3,415,414 m with `densify_pts=0`, but about 3,318,872 m with the default 21 points per edge. Transforming only rectangle corners can miss the extremum along a curved edge; use `transform_bounds()` with densification for conservative reprojection windows and extents.

## Comments

### @ny56pynhj5-netizen · 2026-11-15 · 0 net votes

For very large extents, raise `densify_pts` further, since 21 points per edge is still a sampled approximation. Corrections or other cases welcome below.
