[mapserver-users] GetFeatureInfo request for multiple times on tileindex raster layer
Michael Billmire
mgbillmi at mtu.edu
Thu Aug 4 12:52:53 PDT 2016
Hi all,
I'm serving raster layers as time-series using a PostGIS tile index (
GetCapabilities
<http://spatial.mtri.org/cgi-bin/mapserv?REQUEST=GetCapabilities&SERVICE=WMS&map=watersensing_map>,
for reference).
GetFeatureInfo is working fine for single timestamp requests, e.g.:
http://spatial.mtri.org/cgi-bin/mapserv.fcgi?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&map=watersensing_map&QUERY_LAYERS=chl_erie&LAYERS=chl_erie&time=2015-09-06&height=512&width=512&srs=EPSG:4326&bbox=-83.55,39.45,-78.45,44.55&opacity=1&INFO_FORMAT=text/html&X=250&Y=250
However, when requesting *multiple* *discrete* time stamps (e.g.
time=2015-09-06,2016-05-23), I get multiple results (i.e. a result for each
timestamp), BUT the pixel value returned is the same for each result,
representing the raster with the latest date:
http://spatial.mtri.org/cgi-bin/mapserv.fcgi?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&map=watersensing_map&QUERY_LAYERS=chl_erie&LAYERS=chl_erie&time=2015-09-06,2016-05-23&height=512&width=512&srs=EPSG:4326&bbox=-83.55,39.45,-78.45,44.55&opacity=1&INFO_FORMAT=text/html&X=250&Y=250
In my template, [value_list] returns just the single value (i.e. the value
of the raster at the latest date), [value_0] returns that same value, and
[value_1] returns nothing.
Is there anything obvious here that I'm doing wrong? Is this type of
multiple timestamp pixel querying even supported?
thanks!
-Mike
--
Michael Billmire, CMS-GIS/LIS
Research Scientist
Michigan Tech Research Institute (MTRI)
3600 Green Ct. Suite 100
Ann Arbor, MI 48105
michael.billmire at mtu.edu
work: 734.913.6853
cell: 513.739.0686
fax: 734.913.6880
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160804/0d8e0a96/attachment.htm>
More information about the MapServer-users
mailing list