Discussion:
[Geoserver-users] Time series image mosaic does not update
Petr Vopenka
2017-06-13 16:35:47 UTC
Permalink
Hi,
I am trying to create time series image mosaic that would update with new records being stored in PostgreSQL database.

The mosaic works fine, but does not update when I update the table.
When I add new record to the database table and check wms GetCapabilities, it show the same amount of dates in the list as before the update.

Only when I restart Geoserver (Tomcat), the wms capabilities is refreshed and shows correct dates.

I have the Caching parameter set to false. What am I doing wrong?

Here are my settings:

datastore.properties:
SPI=org.geotools.data.postgis.PostgisNGDataStoreFactory
host=localhost
port=5432
database=mydatabase
schema=public
user=me
passwd=password

indexer.properties:
TimeAttribute=acquired
Schema=*geom:Polygon,location:String,acquired:java.util.Date
PropertyCollectors=TimestampFileNameExtractorSPI[timeregex](acquired)
Caching=false
AbsolutePath=true
UseExistingSchema=true
CanBeEmpty=false

timeregex.properties:
regex=[0-9]{8}

My Geoserver version is 2.11.0

thanks,
Petr

Loading...