-
Notifications
You must be signed in to change notification settings - Fork 23
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
Asynchronous GeoTIFF reader #13
Comments
I started a prototype here: https://github.com/developmentseed/aiocogeo-rs It's able to read all TIFF and GeoTIFF metadata and decode a JPEG tile, though general read/decompressor support is not yet implemented. I definitely plan to implement full-tile-decoding support, so that we can use it from Python efficiently. It's not at all reliant on the One question is how to marry both synchronous and async read APIs. One good reference is the |
Hmmm.... I wanted to use tiffs in
Basically: Put all non-io-related code (working on |
Oh wow, thanks @feefladder for all that work (and the PR at image-rs/image-tiff#245)!
Not sure either, but I'd definitely like it if most of the async code could be put in Eventually though, it would be great to have less fragmentation on different ways of reading GeoTIFFs in Rust, and have all the core implementations live upstream in |
Actually, I did some work on georaster based on the async stuff... lemme see if I can make that into a PR...bEDIT: ah it turns out my files didn't save properly... |
My pr over at image-rs/image-tiff#245 got rejected because it was too big and I didn't create an issue first. Then a proposal I had for more control (image-rs/image-tiff#250) there is no maintainer bandwith to support my proposed changes (also here). So I don't know if it is feasible in the near future to have async on top of image-tiff. Anyone here have ideas for what is a good way forward? |
@feefladder, first off, I really wish I had your energy to do such deep technical work in the (Geo)TIFF Rust ecosystem. I can understand both your frustration as an open source contributor wanting to make meaningful changes, but also feel for the image-tiff maintainer who has to review a 1000+ line PR for a crate used by 47k+ of downstream projects... Personally, I'd prefer not to fragment the TIFF ecosystem by having X different implementations in X repos, which is why I've suggested pushing things to Of course, I don't expect anyone to trust my obviously biased intentions on getting |
To add to this, I would love to figure out a good architecture such that we could use some of the decoding parts of But maybe there's a way to use aiocogeo-rs for the data fetching and tag decoding, but reuse image-tiff for the image decoding? That's what I was heading towards before I ran out of time (I'm doing a lot of work on open source rust vector projects) |
Rewrite https://github.com/geospatial-jeff/aiocogeo in Rust!
We'll probably want to leave all the non-filesystem I/O to
object_store
, and focus on decoding IFDs asynchronously.Help is most appreciated.
The text was updated successfully, but these errors were encountered: