torchgeo
torchgeo copied to clipboard
Overrideable resample property for IntersectionDataset
Summary
IntersectionDataset performs nearest resampling by default which does not always give a desirable result. This FR is to add the ability to override this behaviour
Rationale
No response
Implementation
Add an overrideable resample property (similar to dtype) that changes resampling to bilinear for float32 and nearest for long. Then pass this into rasterio.merge.merge here
Alternatives
No response
Additional information
No response