Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#976 closed defect (invalid)

[MapServer-WMS]Not all time resolution (wms_timeformat) settings are supported

Reported by: nsavard@… Owned by: assefa
Priority: high Milestone:
Component: WMS Server Version: 4.3
Severity: normal Keywords:
Cc:

Description

Only time resolution YYYY-MM-DDTHHMM and YYYY-MM-DDTHHMM settings return
expected results.  Other time resolutions by settings wms_timeformat do not
return expected result.  Such time resolutions are YYYY-MM-DDTHH or THHMMSS.

The following request:  

http://server/cgi-bin/mapserv_43?map=/path/to/time_test/htdocs/wms_time.map&
request=GetMap&Version=1.1.1&LAYERS=time&Time=2004-01-01%2015 returns no data.

The following request:

http://server/cgi-bin/mapserv_43?map=/path/to/time_test/htdocs/wms_time.map&
request=GetMap&Version=1.1.1&LAYERS=time&Time=T15:10:00 returns invalid data.

Tested on Fedora Core 2.
MS source updated 20041019 (14h46)

Change History (8)

comment:1 by nsavard@…, 20 years ago

Cc: assefa@… added

comment:2 by nsavard@…, 20 years ago

Cc: assefa@… removed
Owner: changed from mapserverbugs to assefa
Assigned bug to Assefa.

comment:3 by dmorissette, 20 years ago

Cc: mapserver-bugs@… added

comment:4 by assefa, 20 years ago

Resolution: fixed
Status: newclosed
This should be fixed in the new version. There was an while verfying a return
value and also the time patteren string extracted from the map file was not
trimmed before using it.

comment:5 by nsavard@…, 20 years ago

Resolution: fixed
Status: closedreopened
I executed the first request appearing in the description when the
"wms_timeformat" is set to "YYYY-MM-DD HH:MM:SS".  No data is returned which is
good.  But should MapServer return an error for that particular case?

comment:6 by assefa, 20 years ago

Why should it return an error ? It simply did not find elemnts corresponding to
the time requested. If a time passed is valid (pattern supported, fit into
extent, ...), regardless of the wms_timeformat setting, ther sould not be an
exception returned.  

comment:7 by nsavard@…, 20 years ago

Resolution: invalid
Status: reopenedclosed
See comment #4.

comment:8 by nsavard@…, 20 years ago

This is an invalid bug.
Note: See TracTickets for help on using tickets.