Opened 8 years ago

#3922 new defect

YYYY-DDD time format not support, but it is used in WCS demo

Reported by: warmerdam Owned by: sdlime
Priority: normal Milestone:
Component: WCS Server Version: svn-trunk (development)
Severity: normal Keywords: WCS Time Demo
Cc: jmckenna

Description

The WCS time demo service at:

http://demo.mapserver.org/cgi-bin/wcs?SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCapabilities

has dates in the mod09.dbf file that look like:

  IMGDATE (String) = 2002-153

Unfortunately date comparisons in this service do not seem to be working properly and on review of the maptime.c services (for MapServer 6 at least) it seems that YYYY-DDD is not a supported date format now. Instead I believe this is being interpreted as YYYY-MM and perhaps values over 12 are being treated as month 0 or something like that.

This is breaking the date selection on the WCS service. My question is *should* MapServer support YYYY-DDD date formats or should the time indexes for that service just be reimplemented in a different date format?

I would be willing to reformat the time indexes if that is what is needed.

Change History (0)

Note: See TracTickets for help on using tickets.