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

RS_Value and RS_Values don't need to fetch all the pixel data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.1
    • 1.5.0

    Description

      Currently RS_Value always fetches all the pixel data (Raster raster = rasterGeom.getRenderedImage().getData()), which is unnecessary and may lead to problems when processing rasters loaded from large GeoTiff. We can fetch the tile containing the pixel data we want to get, instead of fetching all the tiles. We can make the following query load less data:

      SELECT RS_Value(RS_FromGeoTiff(content), ST_Point(x, y)) FROM ...
      

      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