Skip to content

feat: add block_shapes property - #111

Merged
kylebarron merged 2 commits into
developmentseed:mainfrom
gakarak:feature/block-shapes
Feb 28, 2026
Merged

kylebarron merged 2 commits into
developmentseed:mainfrom
gakarak:feature/block-shapes

Conversation

@gakarak

@gakarak gakarak commented Feb 28, 2026

Copy link
Copy Markdown
Contributor

Closes #101

Add block_shapes property similar to rasterio's API. Returns an ordered
list of block shapes for each band, with each shape as (height, width).

- Extend IsTiled protocol with count property
- Add block_shapes to TiledMixin
- Add count property to Overview for block_shapes compatibility

Closes developmentseed#101
- Add block_shapes check to test_ifd_info for all test images
- Add test_block_shapes_overview for COG overview levels
@github-actions github-actions Bot added the feat label Feb 28, 2026
@kylebarron kylebarron changed the title feat: add block_shapes property (closes #101) feat: add block_shapes property Feb 28, 2026

@kylebarron kylebarron left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kylebarron
kylebarron merged commit adbdf3e into developmentseed:main Feb 28, 2026
7 checks passed
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.

block_shapes method

2 participants