Skip to content

feat: tile_count attribute - #97

Merged
kylebarron merged 5 commits into
mainfrom
kyle/tile-count
Feb 20, 2026
Merged

kylebarron merged 5 commits into
mainfrom
kyle/tile-count

Conversation

@kylebarron

@kylebarron kylebarron commented Feb 20, 2026 •

Copy link
Copy Markdown
Member

Create new tile_count attribute for number of tiles in x and y dimensions

Change list

  • Fix: ensure that overviews check their own tile height and width, not the tile height/width of the full-resolution ifd. Some images can have different tile sizes between full res and overviews.
  • New TiledMixin for methods that depend on the tiling characteristics of the geotiff.
  • New tile_count attribute
  • Assert in GeoTIFF constructor that all ifds are tiled.
  • Move bounds computation to HasTransform (means overviews also get the .bounds attribute)
  • Use tile_count in TMS generation and in tests

@github-actions github-actions Bot added the feat label Feb 20, 2026
@kylebarron
kylebarron merged commit baf7f88 into main Feb 20, 2026
7 checks passed
@kylebarron
kylebarron deleted the kyle/tile-count branch February 20, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant