Problem using tileindex for time dimension
Bonnie Stewart
Bonnie.Stewart at DLI.WA.GOV.AU
Tue Nov 8 20:02:45 PST 2005
Hi Paul,
I had a similar problem some time ago - as I'm running MapServer from a Windows server, I put it down at the time to this bug:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=970
If you are running under Windows and you do get it working with the date pattern YYYYMMDD, I'd be extremely interested in finding out how you did it :)
Cheers,
Bonnie
__________________________________
Bonnie Stewart
Research Officer
Satellite Remote Sensing Services
Information Access Division
Department of Land Information
65 Brockway Road, FLOREAT WA 6014
Ph. (08) 9387 0342 | Fx. (08) 9383 7142
bonnie.stewart at dli.wa.gov.au
www.dli.wa.gov.au
________________________________
From: UMN MapServer Users List on behalf of Paul Tildesley
Sent: Wed 9/11/2005 11:46 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Problem using tileindex for time dimension
I am trying to implement a layer with a time dimension in MapServer to
serve a set of raster images covering 6 months.
I have created a tile index that looks like this:
INFO: Open of `tindex.shp'
using driver `ESRI Shapefile' successful.
Layer name: tindex
Geometry: Polygon
Feature Count: 91
Extent: (79.969000, -65.015900) - (190.057000, 10.044100)
Layer SRS WKT:
(unknown)
location: String (254.0)
time_stamp: String (8.0)
OGRFeature(tindex):0
location (String) = SSTcomp10d_Aasia_2002_1_1_0.tif
time_stamp (String) = 20020101
POLYGON ((79.96900000 10.04410000,190.05700000
10.04410000,190.05700000 -65.01590000,79.96900000
-65.01590000,79.96900000 10.04410000))
OGRFeature(tindex):1
location (String) = SSTcomp10d_Aasia_2002_1_11_0.tif
time_stamp (String) = 20020111
POLYGON ((79.96900000 10.04410000,190.05700000
10.04410000,190.05700000 -65.01590000,79.96900000
-65.01590000,79.96900000 10.04410000))
OGRFeature(tindex):2
location (String) = SSTcomp10d_Aasia_2002_1_13_0.tif
time_stamp (String) = 20020113
POLYGON ((79.96900000 10.04410000,190.05700000
10.04410000,190.05700000 -65.01590000,79.96900000
-65.01590000,79.96900000 10.04410000))
For a total of 90 tiles. I then reference this in my map file as
follows:
LAYER
NAME sst_timeset
TYPE RASTER
TILEINDEX tindex
STATUS ON
METADATA
WMS_TITLE "Australian Region SST January to June 2002"
WMS_ABSTRACT "Sea-surface temperature for the Australian region. Ten
day composites every second day."
WMS_TIMEFORMAT "YYYYMMDD"
WMS_TIMEEXTENT "20020101/20020630"
WMS_TIMEDEFAULT "20020101"
WMS_TIMEITEM "time_stamp"
END
OFFSITE 255 255 255
DUMP TRUE
END
When I access the layer, either with or without specifying a time, I
always get the last tile rendered, which happens to be 20020608 (I am
assuming that the tiles do not need to be in time increasing order).
An example request is:
http://www.marine.csiro.au/mapserver/cgi-bin/mapserv?map=/srv/www/htdocs
/sst/sst_multi.map&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&SRS=EPSG:432
6&FORMAT=image/gif&EXCEPTIONS=application/vnd.ogc.sexml&WIDTH=400&HEIGHT
=250&LAYERS=sst_timeset&TIME=20020401
Does anyone know what I am doing wrong? Any ideas or suggestions would
be appreciated.
Paul.
This e-mail and any files transmitted with it are intended only for the use of the addressee(s). It may contain information that is confidential and privileged. If you are not an intended recipient, any use, interference with, disclosure, distribution or copying of this material is unauthorised and prohibited. If you receive this in error, please notify the author by Return email to the sender. Information in this message not relating to the official business of DLI shall be understood as neither given nor endorsed by it. While every care is taken, it is recommended that you scan any attachments for viruses. DLI liability is limited to re-supplying affected attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051109/fd933a64/attachment.htm>
More information about the MapServer-users
mailing list