I have a collection of geotiff files, each one corresponding to a date YYYYMMDD.

How can I had the information date to those geotiff, so that geoserver allows the enabling the "Time" dimension for this layer?


Geoserver offers the Image Mosaic plugins, which allows either mosaicing or making time series. This pages shows how to build such a time series: http://docs.geoserver.org/latest/en/user/tutorials/imagemosaic_timeseries/imagemosaic_timeseries.html

Basically, it consists in having all the tif in a single repository, and creating at least two configuration files: timeregex.properties defining the rules for extracting the date from the filename, and indexer.properties indicating to geoserver how to create the index table. The third file is needed only to create entries in PostGIS (else geoserver will create a shapefile).

Creating a new datastore is quite straightforward. A time parameter can then be passed to the WMS to select a specific image.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.