Visitar URL original
SpatialJoin not working properly in case of overlapping rasters · Issue #3366 · locationtech/geotrellis · GitHub
Skip to content

SpatialJoin not working properly in case of overlapping rasters #3366

Open

Description

@CatchSandeepVaid

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.

Activity

  1. moradology commented on Jul 27, 2022

    @moradology
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions