Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mixin methods to MemoryDataset #2871

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

groutr
Copy link
Contributor

@groutr groutr commented Jul 12, 2023

The base implementation of MemoryDataset lacks transform and window methods. There are some places in rasterio where Datasets are assumed to have these kinds of methods. This PR adds those mixin methods and exposes MemoryDataset via rasterio.io.

@sgillies Is exposing MemoryDataset like this something we want to do?

This adds the mixin methods to make it more dataset-like.
@sgillies
Copy link
Member

@groutr I'm catching up on your PRs this week. I'm not ready to bring MemoryDataset to the surface yet and I think we should have more discussion before we do. It only exists because of GDAL API requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants