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

SpatialJoin not working properly in case of overlapping rasters #3366

Open
CatchSandeepVaid opened this issue Mar 23, 2021 · 1 comment
Open
Labels

Comments

@CatchSandeepVaid
Copy link

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.

@pomadchin pomadchin added the bug label Jun 27, 2022
@moradology
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants