Uploaded image for project: 'GeoServer'
  1. GeoServer
  2. GEOS-7793

Raster oversampling + reprojection issue EPSG:2154 -> EPSG:3857

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.8.3
    • Fix Version/s: 2.10.2, 2.11-beta
    • Component/s: WMS
    • Labels:
      None
    • Environment:

      jetty 9.2 / jre7 / java jai

      Description

      A geoserver 2.8.3 instance running with jetty 9.2 / jre7 fails to display a mosaic of tiff files (https://www.ppige-npdc.fr/opendata/ortho/2012-2013/DALLES_L93_RGB_TIFF/) without vertical artifacts when reprojecting from EPSG:2154 (Lambert 93) to EPSG:3857

      I've setup a simple ol3-based viewer showing the behavior: https://ppige-npdc.fr/opendata/ol3.html

      Note that the artifacts only appear at the highest zoom levels (oversampling).

      Andrea said "Without touching anything, you can try to disable the "warp/affine" merging by passing this parameter to the JVM: -DENABLE_ADVANCED_PROJECTION=false" but this did not help fix it.

      In the logs, I noticed these kind of warnings:

      WARN [lite.gridcoverage2d] - Could not reduce the grid geometry inside the valid area bounds: ReferencedEnvelope[-1.7976931348623157E308 : 1.7976931348623157E308, -85.0 : 85.0]
      Grid geometry isGridGeometry2D[GridEnvelope2D[271928..272217, 151790..152079], PARAM_MT["Affine",
      PARAMETER["num_row", 3],
      PARAMETER["num_col", 3],
      PARAMETER["elt_0_0", 0.4],
      PARAMETER["elt_0_2", 592000.2],
      PARAMETER["elt_1_1", -0.4],
      PARAMETER["elt_1_2", 7115999.8]]]

        Attachments

        1. bad.png
          319 kB
        2. Capture_du_2016-10-11_11_30_03.png
          485 kB
        3. good.png
          335 kB
        4. original.png
          5 kB
        5. test.jpg
          161 kB

          Issue links

            Activity

              People

              • Assignee:
                aaime Andrea Aime
                Reporter:
                fvanderbiest François Van Der Biest
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: