Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#1532 closed defect (invalid)

[MapServer-WMS Server]WMS request with time parameter set to hour resolution does not return the correct result

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

Description

I want to draw a WMS layer by specifying the time parameter.  The WMS server
accepts time resolution to hour.  I set the time parameter to a multiple ranges
values with the time resolution to hour.  This request shall return all the data
but returns only a portion of it.

--------------
command=mapserv QUERY_STRING='map=wms_time1.map&SERVICE=WMS&VERSION=1.1.0&
REQUEST=GetMap&LAYERS=pattern4&Time=2004-01-01%2014/2004-01-01%2015,2004-01-01%20:16/2004-01-01%20:17'
> result/wms_time_multi_ranges_reso_hour.png
  
-------------
map snippet:

       ...
    METADATA
      "WMS_TITLE"            "Test WMS time support"
      "WMS_ONLINERESOURCE"   "http://localhost/path/to/mswms_time?"
      "WMS_SRS"              "EPSG:4326"
      "OWS_SCHEMAS_LOCATION" "http://ogc.dmsolutions.ca"
      "WMS_ACCESSCONTRAINTS" "none"
      "WMS_FEES"             "none"      
      "wms_timeformat"       "YYYY-MM-DD HH,YYYY-MM-DD HH:MM:"
   END

            ...

Change History (4)

comment:1 by nsavard@…, 18 years ago

Cc: nsavard@… added

comment:2 by assefa, 18 years ago

Cc: warmerdam@… added
Norm,

 I think the sytax used for the time is wrong for the 2nd range. The pattern 
should be : Time=2004-01-01%2014/2004-01-01%2015,2004-01-01%2016/2004-01-01%
2017'  (without the column before the 16 and 17 hours).

 I did not change the msauto test to reflect this. I only tried it local.

 Could you please confirm and close the bug if invalid.

  Thanks

comment:3 by nsavard@…, 18 years ago

Resolution: invalid
Status: newclosed
I removed the colons and I ran the tests again.  All tests passed.

comment:4 by fwarmerdam, 18 years ago

I have applied the changes in msautotest - CVS.
Thanks

Note: See TracTickets for help on using tickets.