time series representations in Mapserver
David Bitner
osgis.lists at GMAIL.COM
Fri Jun 3 11:39:09 PDT 2005
If all you need is to show all of something that fit within a window
of time on a single image (ie not an animation) you can either use sql
statements with GDAL (I've not done this myself) or if you have your
data in PostGIS all you need to do is add substitution variables into
your SQL statement.
For example, I display flight tracks at an airport using mapserver and
I include a startdate and enddate as cgi variables sent to mapserver
then in my mapfile use percent notation in my mapfile:
DATA "targets from (select * from flighttrack where stime <= '%eDate%'
and etime >='%sDate%')as tracks USING UNIQUE opnum USING SRID=-1"
On 6/3/05, Gerry Creager N5JXS <gerry.creager at tamu.edu> wrote:
> We're looking at several applications where we need some time-selection
> capabilities. Has anyone done this successfully with Mapserver, and if
> so, might you share some tips?
>
> TIA,gerry
> --
> Gerry Creager -- gerry.creager at tamu.edu
> Texas Mesonet -- AATLT, Texas A&M University
> Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578
> Page: 979.228.0173
> Office: 903A Eller Bldg, TAMU, College Station, TX 77843
>
More information about the MapServer-users
mailing list