Hi List,

I encounter an issue when I create an imagemosaic store (of tiff files)
in which the name defines the time (as we want to publish the
imagemosaic using time dimension).

The times are 12 hours 10 minute model files (so >70 / mosaic), eg
running from 8:00 till 20:00 having filenames like:
j.201901140820.01.01.sp.asc.tiff

An indexer.properties and timeregex.properties [0] is given.

Creation of the store AND layers works just fine!

But when requesting the layer with a time filter we see that between
12:00 and 13:00 Geoserver does NOT return the corresponding tiff, but an
empty image (logging it has empty granula).

Tested this both with a shapefile index (starting up Geoserver with:
-Dorg.geotools.shapefile.datetime=true to be able to handle dateTIME's)
and seeing the issue.

Then instead of shapefile we tested a h2 index file [1]
But that had the same problem: 11:50 was fine, 12:00 was empty, 13:00
was fine again...

Looking into the h2 database revealed:

j.201901141200.01.01.sp.asc.tiff        2019-01-14 00:00:00.0  <==???
j.201901141210.01.01.sp.asc.tiff        2019-01-14 00:10:00.0  <==???
...
j.201901140810.01.01.sp.asc.tiff        2019-01-14 08:10:00.0
j.201901141430.01.01.sp.asc.tiff        2019-01-14 14:30:00.0

As you see it looks like the index creation seemed to misinterpret the
201901141200 part of the file, making it 2019-01-14 00:00:00.0
While 201901140810 just goes fine: 2019-01-14 08:10:00.0

I cannot see the values in the dbf files (as these seem binary, only
showing '%').

Anybody else hit this?
Could this be an issue?

Happy to provide the dataset (or create an issue with it) if anybody is
willing to test/reproduce.

Regards,

Richard Duivenvoorde

[1] regex=([0-9]{12}),format=yyyyMMddhhmm

[0]
https://geoserver.geo-solutions.it/edu/en/multidim/imagemosaic/mosaic_datastore.html


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to