Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have 7 animated gifs (5 animations in each gif) (with bounding coordinates) of real time radar data. The number of these will grow significantly over the next year or so.

We are currently serving each gif as a separate raster layer using open layers but this is causing problems on slower connections as openlayers appears to load the gifs even if not being displayed in the viewport.

I would like to be able to combine and serve all the animations via Geoserver as one layer, probably animated using the Geoserver Animation feature.

This is totally rocket science to me so I am reaching out for suggestions from more experienced users.

I guess we have to break the gifs apart for each animation, combine them into one raster for each time slice (they are all synced), load each georeferenced raster into postGres then use geoserver's animation feature to display the layer.

Am open to any and all suggestions, thanks in advance.

share|improve this question

2 Answers 2

Sort of. Break the gifs into one tiff for each step of the animation (eventually internally compressed), bake the time of the frame into the name, and then build a mosaic with time dimension enabled (http://docs.geoserver.org/latest/en/user/tutorials/imagemosaic_timeseries/imagemosaic_timeseries.html)

share|improve this answer
    
Thanks Andrea. looked at this, it is very nice. Will use it for some of our projects. –  Mark C Aug 14 '13 at 1:44
up vote 0 down vote accepted

Answering my own question to my final solution.

We needed the animation on the browser in openlayers and as it turned out, using animated gifs was faster (read: better user experience) than doing it via geoserver. The files updated every 15 minutes.

So, I made one big animation as follows

imagemagick to break out all the individual time based images (There were 5 in each gif) gdal to convert each image to geotiff gdal to (buildvrt) to create one big geotif with all images from one time slice geopositioned gdal to make a gif of that tif imagmagick to reanimate the bigger images

As it turns out, we did not save anything by dong this. The objective was to try and improve download time in open layers, but the end result was that we decided to just live with what we already have as no direct gain was achieved for all that server side processing to the end user.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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