[Geoserver-users] Raster seed producing black and white tiles

Hi

I have an ImageMosaic layer of around 100 GeoTIFF files that I have seeded in Geoserver using a British National Grid gridset which contains 8 zoom levels.

Each GeoTIFF is a colour raster but for some reason on the two most zoomed out levels, it has seeded them as black and white, with the more detailed levels seeded in colour.

I am trying to work out why Geoserver has seeded these two levels in black and white – would it be related to the GeoTIFF files, or something related to Geoserver?

Thanks

Chris

Some of the OS raster data sets have broken overviews when shipped so it’s worth checking the tiles out in QGis (or other GIS) and maybe rebuilding the overviews before adding them to GeoServer.

Ian

···

On 27 January 2017 at 14:08, Chris Buckmaster <chris.buckmaster@anonymised.com> wrote:

Hi

I have an ImageMosaic layer of around 100 GeoTIFF files that I have seeded in Geoserver using a British National Grid gridset which contains 8 zoom levels.

Each GeoTIFF is a colour raster but for some reason on the two most zoomed out levels, it has seeded them as black and white, with the more detailed levels seeded in colour.

I am trying to work out why Geoserver has seeded these two levels in black and white – would it be related to the GeoTIFF files, or something related to Geoserver?

Thanks

Chris


Check out the vibrant tech community on one of the world’s most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot


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

Ian Turton

Hi Ian

Thanks for the reply, sorry I should have specified these are aerial rasters and not part of any OS product.

The same issue seems to apply in QGIS when bringing in the layer as a WMTS (first two levels displayed as black and white, then the rest are displayed correctly as colour).

Chris

···

Some of the OS raster data sets have broken overviews when shipped so it’s worth checking the tiles out in QGis (or other GIS) and maybe rebuilding the overviews before adding them to GeoServer.

Ian

On 27 January 2017 at 14:08, Chris Buckmaster <chris.buckmaster@…7473…> wrote:

Hi

I have an ImageMosaic layer of around 100 GeoTIFF files that I have seeded in Geoserver using a British National Grid gridset which contains 8 zoom levels.

Each GeoTIFF is a colour raster but for some reason on the two most zoomed out levels, it has seeded them as black and white, with the more detailed levels seeded in colour.

I am trying to work out why Geoserver has seeded these two levels in black and white – would it be related to the GeoTIFF files, or something related to Geoserver?

Thanks

Chris


Check out the vibrant tech community on one of the world’s most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot


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

Ian Turton

what happens if you rebuild the overviews

gdaladdo -clean file.tif
gdaladdo file.tif 2 4 8 16 32 64

Ian

···

On 27 January 2017 at 15:21, Chris Buckmaster <chris.buckmaster@anonymised.com> wrote:

Hi Ian

Thanks for the reply, sorry I should have specified these are aerial rasters and not part of any OS product.

The same issue seems to apply in QGIS when bringing in the layer as a WMTS (first two levels displayed as black and white, then the rest are displayed correctly as colour).

Chris

From: Ian Turton [mailto:ijturton@anonymised.com]
Sent: 27 January 2017 15:17
To: Chris Buckmaster
Cc: geoserver-users@anonymised.comsourceforge.net
Subject: Re: [Geoserver-users] Raster seed producing black and white tiles

Some of the OS raster data sets have broken overviews when shipped so it’s worth checking the tiles out in QGis (or other GIS) and maybe rebuilding the overviews before adding them to GeoServer.

Ian

On 27 January 2017 at 14:08, Chris Buckmaster <chris.buckmaster@anonymised.comgov.uk> wrote:

Hi

I have an ImageMosaic layer of around 100 GeoTIFF files that I have seeded in Geoserver using a British National Grid gridset which contains 8 zoom levels.

Each GeoTIFF is a colour raster but for some reason on the two most zoomed out levels, it has seeded them as black and white, with the more detailed levels seeded in colour.

I am trying to work out why Geoserver has seeded these two levels in black and white – would it be related to the GeoTIFF files, or something related to Geoserver?

Thanks

Chris


Check out the vibrant tech community on one of the world’s most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot


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

Ian Turton

Ian Turton