Hi list, 

I have a tileindexed raster layer for WMS Time support. Each timestamp contains 
a whole image, so in GetMap requests I am only using single time requests like 
the following example. GetFeatureInfo requests are working with single 
timestamps. 


http://artemis.geogr.uni-jena.de/cgi-bin/mapserv?map=/home/mapserver/modis/map.map&LAYERS=mod11c3_lst_day&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fpng&SRS=EPSG%3A900913&;
 TIME=2002-05-01 
&BBOX=12523442.7133,7514065.6283,15028131.2558,10018754.1708&WIDTH=256&HEIGHT=256
 

U sing GetMap request with a timeinterval is working, too, but as the layers 
have all the same extents, only the newest one will display. But in the log 
file mapserver found all of the "tiles". Trying to get a GetFeatureInfo request 
on a timeinterval generates a table with the requested timestamps (one row for 
every timestamp within the interval) but the value of the raster pixel is 
always the same (see following example): 


http://artemis.geogr.uni-jena.de/cgi-bin/mapserv?map=/home/mapserver/modis/map.map&LAYERS=mod11c3_lst_day&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&STYLES=&FORMAT=image/png&SRS=EPSG:4326&&EXCEPTIONS=application/vnd.ogc.se_xml&BBOX=64.090575,33.757077,183.797606,72.247521&X=593&Y=295&INFO_FORMAT=text/html&QUERY_LAYERS=mod11c3_lst_day&WIDTH=1362&HEIGHT=802&;
 TIME=2002-05-01/2002-08-01 


In the template file [value_list] is written for the raster values. Requesting 
the single timestamps each, every timestamp has an other value. So it seems to 
me, that using GetFeatureInfo with a timeinterval, only the latest timestamp is 
queried. 


Is there a reason why using GetFeatureInfo with a timeinterval doesn't work? 


I am using Mapserver 6.0.1 on Ubuntu. In the PostGIS table the raster files are 
linked within the location column. 


Here is an excerpt of my map file (layer description): 

LAYER 
STATUS ON 
NAME "mod11c3_lst_day_time_idx" 
TYPE POLYGON 
CONNECTIONTYPE POSTGIS 
CONNECTION "host=localhost dbname=****** user=***** 
password=******** port=5432" 
DATA "geom from mod11c3_lst_day" 
METADATA 
"ows_title" "mod11c3_day TIME INDEX" 
"ows_srs" "EPSG:900913 EPSG:4326" 
"ows_extent" "49 44 180 85" 
"ows_timeextent" "2000-03-01/2012-05-01/P1M" 
"ows_timeitem" "date" 
"ows_timedefault" "2012-05-01" 
"ows_enable_request" "*" 
END 

FILTERITEM 'date' 
FILTER '%time%' 
END 


# raster layer 
LAYER 
NAME "mod11c3_lst_day" 
TYPE RASTER 
STATUS ON 
DEBUG ON 
PROJECTION 
"init=epsg:4326" 
END 
HEADER 'template_header_lst.html' 
FOOTER 'template_footer.html' 
TEMPLATE 'template.html' 
METADATA 
"ows_title" "MODIS TERRA Land Surface Temperature Daytime MONTHLY" 
"ows_srs" "EPSG:900913" 
"ows_extent" "49 44 180 85" 
"ows_timeextent" "2000-03-01/2012-05-01/P1M" 
"ows_timeitem" "date" 
"ows_timedefault" "2012-05-01" 
"ows_enable_request" "*" 
END 


TILEITEM "location" 
TILEINDEX "mod11c3_lst_day_time_idx" 


INCLUDE 'lst_colorbar2.map' 
END 


I hope anybode can help me. 


Thanks in advance, 
Jonas 
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to