GeoTiffReader unable to parse CRS definition with undefined unit of measure definition

Description

Trying to import a geotiff file in geoserver 2.6.2. (gt-geotiff-12.2) which was successfully imported in geoserver 2.2.5 (gt-geotiff-8.7) gives the following message :

org.geotools.data.DataSourceException
at org.geotools.gce.geotiff.GeoTiffReader.<init>(GeoTiffReader.java:225)
at org.geotools.gce.geotiff.GeoTiffFormat.getReader(GeoTiffFormat.java:287)
...
Caused by: org.geotools.data.DataSourceException
at org.geotools.gce.geotiff.GeoTiffReader.getHRInfo(GeoTiffReader.java:412)
at org.geotools.gce.geotiff.GeoTiffReader.<init>(GeoTiffReader.java:212)

The geotiff Coordinate System is (from gdalinfo):
PROJCS["unnamed",
GEOGCS["WGS_1984",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT[,0.0174532925199433]],
PROJECTION["Mercator_1SP"],
PARAMETER["central_meridian",0],
PARAMETER["scale_factor",1],
PARAMETER["false_easting",2454594.686213],
PARAMETER["false_northing",-9640998.385694999],
UNIT["unknown",1]]

Environment

  • OS : Suse Linux Enterprise Server 11 (x86_64)

  • container : Tomcat7

  • GeoServer version : 2.6.2

Status

Assignee

Nicola Lagomarsini

Reporter

BV

Triage

None

Components

Fix versions

Affects versions

Priority

Medium
Configure