-
Notifications
You must be signed in to change notification settings - Fork 37
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
Use RangeExtractor.jl for for lazy application over DiskArrays.jl chunks #871
Comments
This is exactly RangeExtractor.jl :) |
But its not DiskArrays.jl aware? |
I'm thinking to build it into Rasters.jl to use inside e.g. |
Yeah, you just need to specify the chunks according to what diskarrays tells you |
An implementation would be similar to the Rasters extension I have in RangeExtractor |
Ok lets depend on RangeExtractor.jl in Rasters. I'm keen to make all the spatial methods faster on lazy data |
Sweet! I'll finalize the API over the next few days so we can also discard unnecessary tiles for polygons. Since the polygon burning is done by scanline this should be really efficient if we just use |
It would be good to be able to group points by the DiskArrays.jl chunks they map to in a Raster.
Polygons and lines could cover multiple points - its essentially a rasterization into a very coarse raster where indices are pushed to a vector for each chunk.
This would be pretty useful in e.g. optomising extract or zonal statistics from a lazy raster or stack.
@asinghvi17 I guess this is a bit like your RangeExtractor.jl?
The text was updated successfully, but these errors were encountered: