Broken GeoTIFF reprojection from RotatedPole to EPSG:900913

Description

A change in Geoserver (or Geotools) core code introduced in versions 2.11.0 and 2.10.3 broke possibility to display (reproject) as an EPSG:900913 jpeg/png a GeoTIFF defined in the RotatedPole CRS.

How to reproduce:

  • Define a custom RotatedPole CRS:
    100111=PROJCS["UM PL rotpole",GEOGCS["UM PL GeogCS", DATUM["World Geodetic System 1984",SPHEROID["WGS 84",6378137.0,298.257223563]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9108"]],AXIS["Longitude", EAST],AXIS["Latitude", NORTH]],PROJECTION["Rotated_Pole"],PARAMETER["central_meridian", 19.3],PARAMETER["latitude_of_origin", 52.5],PARAMETER["scale_factor", 1.0],PARAMETER["false_easting", 0.0],PARAMETER["false_northing", 0.0], UNIT["degree",1.0,AUTHORITY["EPSG","9108"]], AUTHORITY["EPSG","100111"]]

  • Create a GeoTIFF store with attached file

  • Publish it with SRS forced to EPSG:100111 (as defined above) using the "dem" palette

  • Switch to "Tile layers"

  • Try to preview in EPSG:900913
    Resulting picture should be similar to the EPSG:4326 preview but looks like a highly over-zoomed part of the expected picture. However, clicking on the map itself return proper values.

Please note that nothing has been changed in the RotatedPole code since the initial commit.

Environment

Ubuntu 16.04, Tomcat 7.0.68, openjdk 8u131

Assignee

Unassigned

Reporter

Maciej Filocha

Triage

Fix versions

None

Components

Priority

Medium
Configure