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

GeoPackage tile order inverted along y-axis

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 18-beta, 17.1, 16.4
    • Component/s: None
    • Labels:
      None

      Description

      From the OGC GeoPackage Specification :

      The tile coordinate (0,0) always refers to the tile in the upper left corner of the tile matrix at any zoom level, regardless of the actual availability of that tile

      The GeoTools GeoPackage mosaic test data appears to have been generated using the GeoServer GeoPackage output format, and is invalid (tile order inverted along y-axis, such that the tile coordinate (0,0) is actually the lower left corner).

      Consequently, if you try to load a valid GeoPackage into GeoServer (such as https://portal.opengeospatial.org/files/?artifact_id=73648 ), you will get invalid (tile order inverted along y-axis) WMS output when requesting a regular (png) getMap request.

      Similarly, if you use WMS to generate a GeoPackage file from any layer, the tile order will be inverted along the y-axis (See GEOS-8112 Resolved ).

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tbarsballe Torben Barsballe
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: