[Geoserver-users] GeoTIFF, ImageMosaic and NODATA

Hello.

I have some of GeoTIFFs with NODATA values. I add the directory as a ImageMosaic store to GeoServer. It works very well except that the GeoTIFFs I download from WCS does not have a NODATA value set. At least not visible from gdalinfo. I have tried with 2.7.1 and the nightly build from master as of today.

gdalinfo on one of the original GeoTIFF. They all share the same NODATA value.
Band 1 Block=7911x1 Type=Float32, ColorInterp=Gray
  NoData Value=1000000
Band 2 Block=7911x1 Type=Float32, ColorInterp=Undefined
  NoData Value=1000000

gdalinfo on a GeoTIFF fetched with GetCoverage on the ImageMosaic store.
Band 1 Block=16x16 Type=Float32, ColorInterp=Gray
Band 2 Block=16x16 Type=Float32, ColorInterp=Alpha

Any tips on how to fix this?

Regards,
Tore Halset.

Hi Tore,

do you have any chance to open a JIRA with a sample file reporting the issue?

I think it should preserve the NoData value so we need to investigate on this.

When configuring the layer, do you see any value in the Null Values column of the coverage band details of your dataset?

Please, let us know.

Cheers,

Daniele

···

On Mon, Jun 8, 2015 at 3:25 PM, Tore Halset <halset@anonymised.com> wrote:

Hello.

I have some of GeoTIFFs with NODATA values. I add the directory as a ImageMosaic store to GeoServer. It works very well except that the GeoTIFFs I download from WCS does not have a NODATA value set. At least not visible from gdalinfo. I have tried with 2.7.1 and the nightly build from master as of today.

gdalinfo on one of the original GeoTIFF. They all share the same NODATA value.
Band 1 Block=7911x1 Type=Float32, ColorInterp=Gray
NoData Value=1000000
Band 2 Block=7911x1 Type=Float32, ColorInterp=Undefined
NoData Value=1000000

gdalinfo on a GeoTIFF fetched with GetCoverage on the ImageMosaic store.
Band 1 Block=16x16 Type=Float32, ColorInterp=Gray
Band 2 Block=16x16 Type=Float32, ColorInterp=Alpha

Any tips on how to fix this?

Regards,
Tore Halset.


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

Done
https://osgeo-org.atlassian.net/browse/GEOS-7077

Regards,
Tore Halset.

On 08 Jun 2015, at 16:20, Daniele Romagnoli <daniele.romagnoli@anonymised.com> wrote:

Hi Tore,
do you have any chance to open a JIRA with a sample file reporting the issue?
I think it should preserve the NoData value so we need to investigate on this.
When configuring the layer, do you see any value in the Null Values column of the coverage band details of your dataset?

Please, let us know.
Cheers,
Daniele

On Mon, Jun 8, 2015 at 3:25 PM, Tore Halset <halset@anonymised.com> wrote:
Hello.

I have some of GeoTIFFs with NODATA values. I add the directory as a ImageMosaic store to GeoServer. It works very well except that the GeoTIFFs I download from WCS does not have a NODATA value set. At least not visible from gdalinfo. I have tried with 2.7.1 and the nightly build from master as of today.

gdalinfo on one of the original GeoTIFF. They all share the same NODATA value.
Band 1 Block=7911x1 Type=Float32, ColorInterp=Gray
  NoData Value=1000000
Band 2 Block=7911x1 Type=Float32, ColorInterp=Undefined
  NoData Value=1000000

gdalinfo on a GeoTIFF fetched with GetCoverage on the ImageMosaic store.
Band 1 Block=16x16 Type=Float32, ColorInterp=Gray
Band 2 Block=16x16 Type=Float32, ColorInterp=Alpha

Any tips on how to fix this?

Regards,
Tore Halset.
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.