[Geoserver-devel] [JIRA] (GEOS-7077) GeoTIFF, ImageMosaic and NODATA

Tore Halset created an issue

GeoServer / BugGEOS-7077

GeoTIFF, ImageMosaic and NODATA

Issue Type:

BugBug

Affects Versions:

2.7.1

Assignee:

Unassigned

Created:

18/Jun/15 1:01 PM

Priority:

MediumMedium

Reporter:

Tore Halset

In http://dalsnuten.ecc.no/~halset/tmp/imagemosaicnodata/ , there are four GeoTIFF-files made by converting BAG-files to GeoTIFF with gdal. gdalinfo report that all four GeoTIFFs have 1000000 as nodata value.

In GeoServer, I add the directory as a ImageMosaic store. When publishing the layer, it does not seem like the nodata value is recogniced. In the “Edit Layer” under “Coverage Band Details”, the “Null Values” of the two bands are “-”. I expected 1000000.

I then create a file with the following content and run gdalinfo on it. The gdalinfo show no sign of a NoData value.
<WCS_GDAL>
<ServiceURL>http://127.0.0.1:8083/geoserver/ows?</ServiceURL>
<CoverageName>s102</CoverageName>
</WCS_GDAL>

My next attempt was to edit the layer and change “Null Values” from “-” to 1000000. I then recreated (since gdalinfo change the content of the file) the above file and rerun gdalinfo. Still no sign of a NoData value.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.5-OD-05-041#65001-sha1:e07c9f6)

Atlassian logo