[Geoserver-devel] [JIRA] (GEOS-7097) ImageMosaic can't import geotiffs with no CRS

Maciej Filocha created an issue

GeoServer / BugGEOS-7097

ImageMosaic can’t import geotiffs with no CRS

Issue Type:

BugBug

Affects Versions:

2.7.1.1

Assignee:

Unassigned

Attachments:

indexer.xml, wrf_d02_T2_201504040600_001.tiff

Components:

Image mosaic JDBC

Created:

02/Jul/15 9:52 PM

Environment:

Ubuntu 14.04, Apache Tomcat on Java™ SE Runtime Environment (build 1.8.0_45-b14)

Priority:

MediumMedium

Reporter:

Maciej Filocha

It is impossible to import geotiff file with no coordinate reference system via ImageMosaic store. Geoserver throws an error:

Caused by: org.opengis.referencing.operation.TransformException: Can’t transform envelope.
at org.geotools.referencing.CRS.transform(CRS.java:1242)
at org.geoserver.data.util.CoverageStoreUtils.getWGS84LonLatEnvelope(CoverageStoreUtils.java:306)
at
org.geoserver.catalog.CatalogBuilder.buildCoverage(CatalogBuilder.java:917)
at
org.geoserver.catalog.CatalogBuilder.buildCoverage(CatalogBuilder.java:855)
at
org.geoserver.web.data.layer.NewLayerPage.buildLayerInfo(NewLayerPage.java:346)
… 109 more
Caused by: org.opengis.referencing.operation.OperationNotFoundException:
No transformation available from system “EngineeringCRS[Wildcard 2D
cartesian plane in metric unit]” to “GeographicCRS[WGS84(DD)]”.
at
org.geotools.referencing.operation.DefaultCoordinateOperationFactory.createOperation(DefaultCoordinateOperationFactory.java:389)
at
org.geotools.referencing.operation.BufferedCoordinateOperationFactory.createOperation(BufferedCoordinateOperationFactory.java:256)
at org.geotools.referencing.CRS.transform(CRS.java:1240)

Example files attached.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.5-OD-07-005#65007-sha1:7561251)

Atlassian logo