[Geoserver-users] Fail to reindex timeseries layer

I’m running Geoserver 2.3.2 and I’ve set up a layer using the timeseries[1] functionality to hold a single layer consisting of a lot of constuction plans stored as geotiffs (i’ve modified the regexp property file to just read an single integer value instead of an timeentry as index and I then request the correct plan with a filter.
All has been working fine for the last 6months but lately I was going to add new tifs to the layer and then faced some problem.

I moved the new files into the folder where the other imagefiles resides, removed the generated property file and dropped the database table. As I understand this would force Geoserver to reindex the mosaic and include all the new files.

So what happens? The database table is generated as is the properties file. All the previous imagefiles are being indexed and inserted into the database table but not the new ones. The table is the same as before I added the new files.
Anyone got any pointers on what could be causing this?

Thank you

[1] http://docs.geoserver.org/latest/en/user/tutorials/imagemosaic_timeseries/imagemosaic_timeseries.html

Vänliga Hälsningar
Lukas

Lukas Bergliden
Civilingenjör

Mobil 070 644 96 61 Electrum 234, 164 40 Kista
Direkt 08 630 75 09 Kistagången 16, 7 tr

No ideas?

Vänliga Hälsningar
Lukas

Lukas Bergliden
Civilingenjör

Mobil 070 644 96 61 Electrum 234, 164 40 Kista
Direkt 08 630 75 09 Kistagången 16, 7 tr


From: Lukas Bergliden
Sent: Wednesday, May 14, 2014 1:54 AM
To: geoserver-users@lists.sourceforge.net
Subject: Fail to reindex timeseries layer

I’m running Geoserver 2.3.2 and I’ve set up a layer using the timeseries[1] functionality to hold a single layer consisting of a lot of constuction plans stored as geotiffs (i’ve modified the regexp property file to just read an single integer value instead of an timeentry as index and I then request the correct plan with a filter.
All has been working fine for the last 6months but lately I was going to add new tifs to the layer and then faced some problem.

I moved the new files into the folder where the other imagefiles resides, removed the generated property file and dropped the database table. As I understand this would force Geoserver to reindex the mosaic and include all the new files.

So what happens? The database table is generated as is the properties file. All the previous imagefiles are being indexed and inserted into the database table but not the new ones. The table is the same as before I added the new files.
Anyone got any pointers on what could be causing this?

Thank you

[1] http://docs.geoserver.org/latest/en/user/tutorials/imagemosaic_timeseries/imagemosaic_timeseries.html

Vänliga Hälsningar
Lukas

Lukas Bergliden
Civilingenjör

Mobil 070 644 96 61 Electrum 234, 164 40 Kista
Direkt 08 630 75 09 Kistagången 16, 7 tr

I figured it out. The files that was ignored did not have any SRS AUTHORIZATION set and the files that worked had AUTHORITY[“EPSG”,“3011”]]. Those without where being ignored.
So in the gdal_translate call that I already did to prepair the files I set -a_srs EPSG:3011

Vänliga Hälsningar
Lukas

Lukas Bergliden
Civilingenjör

Mobil 070 644 96 61 Electrum 234, 164 40 Kista
Direkt 08 630 75 09 Kistagången 16, 7 tr


From: Lukas Bergliden [lukas.bergliden@anonymised.com.2921…]
Sent: Wednesday, May 21, 2014 1:23 PM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Fail to reindex timeseries layer

No ideas?

Vänliga Hälsningar
Lukas

Lukas Bergliden
Civilingenjör

Mobil 070 644 96 61 Electrum 234, 164 40 Kista
Direkt 08 630 75 09 Kistagången 16, 7 tr


From: Lukas Bergliden
Sent: Wednesday, May 14, 2014 1:54 AM
To: geoserver-users@lists.sourceforge.net
Subject: Fail to reindex timeseries layer

I’m running Geoserver 2.3.2 and I’ve set up a layer using the timeseries[1] functionality to hold a single layer consisting of a lot of constuction plans stored as geotiffs (i’ve modified the regexp property file to just read an single integer value instead of an timeentry as index and I then request the correct plan with a filter.
All has been working fine for the last 6months but lately I was going to add new tifs to the layer and then faced some problem.

I moved the new files into the folder where the other imagefiles resides, removed the generated property file and dropped the database table. As I understand this would force Geoserver to reindex the mosaic and include all the new files.

So what happens? The database table is generated as is the properties file. All the previous imagefiles are being indexed and inserted into the database table but not the new ones. The table is the same as before I added the new files.
Anyone got any pointers on what could be causing this?

Thank you

[1] http://docs.geoserver.org/latest/en/user/tutorials/imagemosaic_timeseries/imagemosaic_timeseries.html

Vänliga Hälsningar
Lukas

Lukas Bergliden
Civilingenjör

Mobil 070 644 96 61 Electrum 234, 164 40 Kista
Direkt 08 630 75 09 Kistagången 16, 7 tr

On Wed, May 21, 2014 at 6:03 PM, Lukas Bergliden <lukas.bergliden@anonymised.com

wrote:

I figured it out. The files that was ignored did not have any SRS
AUTHORIZATION set and the files that worked had AUTHORITY["EPSG","3011"]].
Those without where being ignored.
So in the gdal_translate call that I already did to prepair the files I
set -a_srs EPSG:3011

Thanks for sharing the solution, it may be useful to someone else in the
future

Cheers
Andrea

--

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------