<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Could you provide an example URL you are using to test out the WMS-T?
I am using WMS-T on 5.6.3 without any known issues. Please note that
if your time table gets very large, you may hit this quirk:<br></blockquote><br>I am using URL like:<br><a href="http://mapserver-tutorial/cgi-bin/mapserv?map=/home/vbox/map_directory/tile_time_2.map&layer=radar&layer=time_idx_pg&mode=map&TIME=2004-01-01T10:10:00">http://mapserver-tutorial/cgi-bin/mapserv?map=/home/vbox/map_directory/tile_time_2.map&layer=radar&layer=time_idx_pg&mode=map&TIME=2004-01-01T10:10:00</a><br>
<br>It shows an image but always the first -> /home/vbox/Downloads/animacio/sat1.tif , that have the timestamp: 2007-05-11 10:00Z<br><br>My table its very little, I was wrong about the version, is the 5.4.2, i'll try to do the same with the 5.6 but it's very strange that any configuration that I tried doesn't work.<br>
<br><blockquote><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">need to be in the METADATA section of the "sat_w" layer.<br></blockquote>
</blockquote>I tried a lot of combinations, also with all the metadata in sat_w like "official" tutorial<br><br><br>thanks a lot!<br><br><br><br><br><div class="gmail_quote">2010/7/1 Alexander Petkov <span dir="ltr"><<a href="mailto:greenkov@gmail.com">greenkov@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">On Thu, Jul 1, 2010 at 6:27 AM, rai 8 <<a href="mailto:max1000@gmail.com">max1000@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I've been working with mapserver to get a map with time support, time<br>
> parameter, I followed the tutorial in documetation<br>
> <a href="http://mapserver.org/ogc/wms_time.html" target="_blank">http://mapserver.org/ogc/wms_time.html</a> and this post<br>
> <a href="http://osgeo-org.1803224.n2.nabble.com/Accessing-images-using-time-dimension-td1991324.html#a1991324" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Accessing-images-using-time-dimension-td1991324.html#a1991324</a><br>
> and I can't run the mapserver to change the image with a time parameter.<br>
><br>
> I test several configurations but any works, the last is the same like the<br>
> post in the maillist, this is what i've done:<br>
><br>
> in a postgis database<br>
><br>
> create table satellite (image_path text, image_time timestamp);<br>
> select AddGeometryColumn('satellite', 'the_geom', 4326, 'POLYGON', 2);<br>
><br>
> insert into satellite (image_path, image_time, the_geom)<br>
> values ('/home/vbox/Downloads/animacio/sat1.tif', '2007-05-11 10:00Z',<br>
> GeomFromText('POLYGON((-31.82 75.55, -31.82 26.5, 51.31 26.5,51.31 75.55,<br>
> -31.82 75.55))', 4326));<br>
><br>
> insert into satellite (image_path, image_time, the_geom)<br>
> values ('/home/vbox/Downloads/animacio/sat2.tif', '2007-05-11 11:00Z',<br>
> GeomFromText('POLYGON((-31.82 75.55, -31.82 26.5, 51.31 26.5,51.31 75.55,<br>
> -31.82 75.55))', 4326));<br>
><br>
><br>
> and the map file:<br>
><br>
> LAYER<br>
> NAME "time_w"<br>
> TYPE POLYGON<br>
> STATUS ON<br>
> CONNECTIONTYPE POSTGIS<br>
> CONNECTION "dbname=tile_index host=127.0.0.1 user=postgres<br>
> password=xxxxxx"<br>
> DATA "the_geom from satellite using unique oid using srid = 4326"<br>
> METADATA<br>
> "wms_title" "time_index_w"<br>
> "wms_srs" "EPSG:4326"<br>
> "wms_timeextent" "2007-01-01/2007-12-31"<br>
> "wms_timedefault" "2007-05-11T11:00:00Z"<br>
> "wms_timeitem" "image_time" #a column in postgis table of type<br>
> END<br>
> END<br>
><br>
> LAYER<br>
> NAME "sat_w"<br>
> STATUS ON<br>
> TYPE RASTER<br>
> METADATA<br>
> "wms_title" "Satellite"<br>
> "wms_timeextent" "2007-01-01/2007-12-31"<br>
> END<br>
> PROJECTION<br>
> "init=epsg:4326"<br>
> END<br>
> TILEINDEX "time_w" # Layer name containing time index<br>
> TILEITEM "image_path" # DB column containing path to image<br>
> END<br>
><br>
><br>
> anyone finds some error?<br>
><br>
><br>
> thanks<br>
<br>
</div></div>The time-related metadata items:<br>
<div class="im"><br>
"wms_timeextent" "2007-01-01/2007-12-31"<br>
"wms_timedefault" "2007-05-11T11:00:00Z"<br>
"wms_timeitem" "image_time" #a column in postgis table of type<br>
<br>
<br>
</div>need to be in the METADATA section of the "sat_w" layer.<br>
<br>
Alex<br>
</blockquote></div><br>