[GeoNode-users] publishing layer from an ImageMosaic store fails with BandSelect error

Paolo Pasquali paolo.pasquali at ithaca.polito.it
Fri Sep 29 01:41:54 PDT 2017

Hi all,

I have a GeoNode 2.6.3 installed on my Mac (so custom installation) with
Oracle Java 1.8.0_121
I successfully created a mosaic with a small set of Tiff.

The problem occurs in GeoNode 2.6.3 apt packaged installed on Ubuntu 16 and
Oracle Java 1.8.0_144
Using the same set of rasters the mosaic can't be published and I get:

java.lang.IllegalArgumentException: The number of image bands (3) differs
from the number of supplied 'SampleDimension' objects (0)

The first two rasters can be singly published but if I try to publish a
mosaic made of these two rasters I get:

java.lang.IllegalArgumentException: BandSelect operation requires the band
indices to have at least 1 array element.

Same error as Simone's.

Any help would be much appreciated.



On Tue, Sep 26, 2017 at 12:42 PM, simone balbo <simone.blb at gmail.com> wrote:

> Hi everybody,
> I'm experiencing this behavior in the following conditions:
>    - GeoNode 2.6.3, installed with the apt package manager (GeoServer
>    2.9-SNAPSHOT)
>    - an ImageMosaic store is created successfully with default parameters
>    in GeoServer
>    - the image mosaic is composed by 3-bands 8-bit images
>    - when trying to publish the layer from this store (by clicking the
>    "Publish" button from GeoServer) I get the error "BandSelect operation
>    requires the band indices to have at least 1 array element" (complete error
>    stack is attached)
> The strange thing is that I can successfully publish the same mosaic layer
> with an earlier GeoServer version (2.8.2).
> Am I missing something? Some library?
> Does anybody have the same issue?
> Cheers,
> Simone
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170929/68040646/attachment.html>

More information about the geonode-users mailing list