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

How to collapse dimensions of an Index? #336

Open
adamjstewart opened this issue Nov 3, 2024 · 0 comments
Open

How to collapse dimensions of an Index? #336

adamjstewart opened this issue Nov 3, 2024 · 0 comments

Comments

@adamjstewart
Copy link
Collaborator

I have a 3D spatiotemporal ($x, y, t$) index. I would really like to be able to collapse one or more dimensions so I can separately factor the spatial ($x, y$) and temporal ($t$) dimensions. Is this something that rtree supports?

Context: TorchGeo stores all geospatial files in a 3D spatiotemporal index. Historically, we would randomly sample files at random. However, we would now like to have separate samplers for space and time so that they can be arbitrarily combined. The spatial samplers would only sample over the spatial axis, while the temporal samplers would only sampler over the temporal axis.

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

No branches or pull requests

1 participant