Uploaded image for project: 'Apache Sedona'
  1. Apache Sedona
  2. SEDONA-321

Implement RS_Intersects(raster, geom)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0

    Description

      RS_Intersects(raster, geom) Returns true if the envelope of the raster intersects the given geometry. If the geometry does not have a defined SRID, it is considered to be in the same CRS with the raster. If the geometry has a defined SRID, the geometry will be transformed to the CRS of the raster before the intersection test.

      RS_Intersects is for easier fetching rasters in the region of interest from a dataframe containing rasters in various coordinate reference systems. RS_Intersects is deliberately defined differently from ST_Intersects in PostGIS:

      1. RS_Intersects performs implicit CRS transformations, which has a different semantics from ST_Intersects in PostGIS.
      2. RS_Intersects uses the envelope of rasters rather than the convex hull. We may switch to use convex hull once we find an easy way to compute the footprint of grid coverage using GeoTools.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kontinuation Kristin Cowalcijk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m