time series representations in Mapserver

David Bitner osgis.lists at GMAIL.COM
Tue Jun 28 09:09:23 PDT 2005


An example of this type of animation can be found here:
http://www.nohrsc.noaa.gov/nsa/js_animate.html?year=2005&month=4&day=24&type=nsm_depth&region=National

This example does not use mapserver, but the idea is independent of
what is creating the map.  If you view the source of the page, you can
see that there are two arrays that get filled with the image locations
and a string containing the date to be displayed with each image.  To
make this logic with mapserver, in place of each image will be a call
to the Mapserver CGI with the correct parameters to view the
particular date and REQUEST=map.

If you search google for javascript animation, you can find a lot of
examples.  The main difference is that rather than rotating through
advertising banners, you are rotating through maps so your
http://foo.com/image.jpg will instead be
http://foo.com/cgi-bin/mapserv?map=foo.map&extents=....(have a server
side script input all your GET parameters separated by ampersands )...
&date=2005/06/05


David



More information about the MapServer-users mailing list