Uploaded image for project: 'GeoTools'
  1. GeoTools
  2. GEOT-5545

ImageMosaicEgrTest failures on OpenJDK

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 17-beta
    • Fix Version/s: None
    • Component/s: imagemosaic plugin
    • Labels:
      None
    • Environment:

      Description

      Slight rendering differences cause three ImageMosaicEgrTest tests to fail on OpenJDK:

      Failed tests: 
      ImageMosaicEgrTest.testRedCoversAllVector:228->testRedCoversAll:237->testOutputCoverage:348 Images are visibly different, found 113 different pixels, against a threshold of 0
      You can add -Dorg.geotools.image.test.interactive=true to show a dialog comparing them (requires GUI support)
      ImageMosaicEgrTest.testAllImagesVector:186->testAllImages:195->testOutputCoverage:348 Images are visibly different, found 193 different pixels, against a threshold of 0
      You can add -Dorg.geotools.image.test.interactive=true to show a dialog comparing them (requires GUI support)
      ImageMosaicEgrTest.testLeftRightOnTopVector:266->testLeftRightOnTop:279->testOutputCoverage:348 Images are visibly different, found 69 different pixels, against a threshold of 0
      You can add -Dorg.geotools.image.test.interactive=true to show a dialog comparing them (requires GUI support)
      

      Differences are at polygon edges (see attached screenshots). Proposed fix is to increase tolerance from 0 to 300 pixels. Test coverage is 300x300 so 300 is about 0.3% of pixels.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                bencaradocdavies Ben Caradoc-Davies [Administrator]
                Reporter:
                bencaradocdavies Ben Caradoc-Davies [Administrator]
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: