[Geoserver-devel] [JIRA] (GEOS-7311) GridCoverage2D loses "nullValues" and testSingleBandedCoverage function fails

Alvaro Huarte created an issue

GeoServer / BugGEOS-7311

GridCoverage2D loses “nullValues” and testSingleBandedCoverage function fails

Issue Type:

BugBug

Assignee:

Unassigned

Components:

Main

Created:

12/Nov/15 4:01 PM

Priority:

MediumMedium

Reporter:

Alvaro Huarte

For non-english environments, GridCoverage2D class loses “nullValues” and “testSingleBandedCoverage” function fails.

The creation of a CoverageInfo class in CatalogBuilder checks the “no data” flag to extract nullValues data. See:

https://github.com/geoserver/geoserver/blob/master/src/main/src/main/java/org/geoserver/catalog/CatalogBuilder.java#L1102

GeoTools adds this item in some situations as “localized” string:

https://github.com/geotools/geotools/blob/master/modules/plugin/geotiff/src/main/java/org/geotools/gce/geotiff/GeoTiffReader.java#L820

We have a spanish environment, and this text is “Falta de datos”, because of this, the extraction of “nullValues” is losed.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v7.0.0-OD-08-005#70107-sha1:5fb2f7e)

Atlassian logo