Skip to content

Commit 1371f69

Browse files
remove is_tiled use (#730)
1 parent d3b57d3 commit 1371f69

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* Refactor internal function and base classes for the `minzoom/maxzoom` calculation **breaking change**
99
* Adding `transform`, `height` and `width` attributes (outside init) for `SpatialMixin` class
1010
* Moved `_dst_geom_in_tms_crs` from Reader to `SpatialMixin` class **breaking change**
11+
* Removed use of rasterio's `is_tiled` method
1112

1213
# 6.7.0 (2024-09-05)
1314

rio_tiler/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def _requested_tile_aligned_with_internal_tile(
477477
bounds_crs: CRS = WEB_MERCATOR_CRS,
478478
) -> bool:
479479
"""Check if tile is aligned with internal tiles."""
480-
if not src_dst.is_tiled:
480+
if src_dst.block_shapes and src_dst.block_shapes[0][1] == src_dst.width:
481481
return False
482482

483483
if src_dst.crs != bounds_crs:

0 commit comments

Comments
 (0)