SpatialJoin not working properly in case of overlapping rasters
Describe the bug
I have 2 rasters which are overlapping (having same bounds (0,0) to (74,159). I am doing a spatial join on them but the resulting RDD is not the intersection of these 2 rasters (rather i think it is same as raster1)
To Reproduce
Provide as able:
- Steps to reproduce the behavior
- Code example
- Inputs
- Actual output
- Expected output
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
- Java version:1.8
- Scala version: 2.12
- GeoTrellis version: 3.5.0
Additional context
Add any other context about the problem here.
As described this doesn't appear to be a bug. For any two extents E1, E2 the intersection of them should be equal to both E1 and E2. I would expect the intersection of two neatly overlapping rasters to be the same as both of the inputs to the intersection operation.
Perhaps you can provide more details to help us reproduce this error?