MapServer / MapServer-import

3 stars 2 forks source link

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

Open tbonfort opened 12 years ago

tbonfort commented 12 years ago

Reporter: nsavard@mapgears.com Date: 2005/11/18 - 18:44

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

            ...
tbonfort commented 12 years ago

Author: assefa Date: 2006/02/01 - 16:39

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
tbonfort commented 12 years ago

Author: nsavard@mapgears.com Date: 2006/02/02 - 21:15

I removed the colons and I ran the tests again.  All tests passed.
tbonfort commented 12 years ago

Author: fwarmerdam Date: 2006/02/02 - 21:33

I have applied the changes in msautotest - CVS.
Thanks