slms4redd / nfms-portal

NFMS web portal client
nfms4redd.org
GNU General Public License v3.0
0 stars 1 forks source link

Support daily data #32

Closed oscarfonts closed 12 years ago

oscarfonts commented 12 years ago

Adapt time management to work with year, month and day.

oscarfonts commented 12 years ago

Timestamps in "layers.json" will be rendered in a way that reflect the actual "granularity" of the data (determined in GeoStore):

The client will parse them to build: a) the full ISO compliant timestamp, needed for WMS requests, where:

Note that human-readable representations have to be internationalized as well.

The time slider will render consecutive stops equispaced (aka, not keeping proportionality with time dimension).

For backwards compatibility, client part will also be capable of reading full ISO strings in layers.json, and will consider them as yearly data. The use of full ISO strings in layers.json will be considered deprecated (implying that documentation and actual custom configurations have to be changed).