[Geoserver-users] Does image mosaic supports time series of multi-band images?

​Hello,

I have been using Image Mosaic with mono band time series of data (eg rainfalls, ndvi data), and it works well.

What I usually do is to reformat the each geotiff filename to dataset_yyyymmdd.tif, create a shapefile with the time and location columns. create the indexer.properties and timerex.properties with the adequate inputs. Finally declare the ImageMosaic workspace and layer, and activate the Time dimension.

It works very fine, and I can use WCS or WMS request to retrieve the data.

Now, I wanted to use the same technique with multi-band data, actually landsat8 images.

  • Each image works fine when I use them into a Geotiff workspace.

  • The images are in UTM29N (epsg:32629)

  • The indexer.properties is filled with this:
    Levels=30.0,30.0
    Heterogeneous=false
    AbsolutePath=false
    Name=landsat8
    TypeName=landsat8
    Caching=false
    ExpandToRGB=false
    LocationAttribute=location
    TimeAttribute=ingestion
    ElevationAttribute=elevation
    SuggestedSPI=it.geosolutions.imageioimpl.plugins.tiff.TIFFImageReaderSpi
    CheckAuxiliaryMetadata=false
    LevelsNum=1

  • The timeregex.properties is filled with this:
    regex=[0-9]{8}

But, when I try to create the ImageMosaic, I receive this message:
“Could not list layers for this store, an error occurred retrieving them: Failed to create reader from file:data/landsat8 and hints null”

​It creates two files:

landsat8.fix

landsat8.properties

In my other time series, it was creating a .qix file, so I suppose something is wrong.

I noticed, that if I put the number of bands (actually 7), in the LevelsNum of the indexer.properties, it can pass the stage of the workspace creation, but this trick is not even enough to allow the dimension of time in the layer creation.

So my question is: Does image mosaic support time series of multi-band images?

Best regards,

Michel​

···

Michel Le Page
Institut de Recherche pour le Développement - Centre d’Études Spatiales de la Biosphère
Toulouse, France
Cel +33 (0)6 52 86 29 38 Tel +33 (0)5 61 55 66 38
Research GateANR AmethystIrrigation SchedulingNEW:Drought Index