{"action":"created","issue":{"url":"https://api.github.com/repos/TerriaJS/terriajs/issues/942","labels_url":"https://api.github.com/repos/TerriaJS/terriajs/issues/942/labels{/name}","comments_url":"https://api.github.com/repos/TerriaJS/terriajs/issues/942/comments","events_url":"https://api.github.com/repos/TerriaJS/terriajs/issues/942/events","html_url":"https://github.com/TerriaJS/terriajs/issues/942","id":108892879,"number":942,"title":"Handle WMS time inverval specification","user":{"login":"rsignell-usgs","id":1872600,"avatar_url":"https://avatars.githubusercontent.com/u/1872600?v=3","gravatar_id":"","url":"https://api.github.com/users/rsignell-usgs","html_url":"https://github.com/rsignell-usgs","followers_url":"https://api.github.com/users/rsignell-usgs/followers","following_url":"https://api.github.com/users/rsignell-usgs/following{/other_user}","gists_url":"https://api.github.com/users/rsignell-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/rsignell-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsignell-usgs/subscriptions","organizations_url":"https://api.github.com/users/rsignell-usgs/orgs","repos_url":"https://api.github.com/users/rsignell-usgs/repos","events_url":"https://api.github.com/users/rsignell-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/rsignell-usgs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-09-29T15:20:11Z","updated_at":"2015-10-21T00:05:49Z","closed_at":null,"body":"In our WMS services serving model results, which tend to have unifom time spacing, we can save a lot of space in the `getCaps` by using the WMS time interval specification like this instead of specifying the complete list of time values explicitly\r\n```\r\n<Extent name=\"time\">\r\n2013-12-05T01:00:00/2014-09-29T12:00:00/PT1H,2014-10-07T01:00:00/2015-09-24T12:00:00/PT1H\r\n</Extent>\r\n```\r\nHere's a full example `getCaps`: \r\nhttp://tampabaymap.org/sci-wms/wms/datasets/wfsfvcomagg?service=WMS&version=1.3.0&request=GetCapabilities\r\n\r\nBut it seems that the TerriaJS code cannot handle this, expecting a simple list of times instead:\r\nhttps://github.com/TerriaJS/terriajs/blob/master/lib/Models/WebMapServiceCatalogItem.js#L527-L541\r\n\r\nIt would be great to handle the WMS  time interval specificatiion in TerriaJS so that problems like this could be solved: https://github.com/sci-wms/sci-wms/issues/80#issuecomment-144071139"},"comment":{"url":"https://api.github.com/repos/TerriaJS/terriajs/issues/comments/149740042","html_url":"https://github.com/TerriaJS/terriajs/issues/942#issuecomment-149740042","issue_url":"https://api.github.com/repos/TerriaJS/terriajs/issues/942","id":149740042,"user":{"login":"RacingTadpole","id":1757858,"avatar_url":"https://avatars.githubusercontent.com/u/1757858?v=3","gravatar_id":"","url":"https://api.github.com/users/RacingTadpole","html_url":"https://github.com/RacingTadpole","followers_url":"https://api.github.com/users/RacingTadpole/followers","following_url":"https://api.github.com/users/RacingTadpole/following{/other_user}","gists_url":"https://api.github.com/users/RacingTadpole/gists{/gist_id}","starred_url":"https://api.github.com/users/RacingTadpole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RacingTadpole/subscriptions","organizations_url":"https://api.github.com/users/RacingTadpole/orgs","repos_url":"https://api.github.com/users/RacingTadpole/repos","events_url":"https://api.github.com/users/RacingTadpole/events{/privacy}","received_events_url":"https://api.github.com/users/RacingTadpole/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T00:05:49Z","updated_at":"2015-10-21T00:05:49Z","body":"Hi @metanomy, when I use the alternative layer in terria, it produces this layer URL - which unfortunately also gives me a 500 error - do you have an example of a correctly formed request? `http://dev.tampabaymap.org:7002/wms/datasets/wfsfvcom?time=2013-12-04T14%3A00%3A00Z&srs=EPSG%3A3857&transparent=true&format=image%2Fpng&exceptions=application%2Fvnd.ogc.se_xml&styles=&tiled=true&service=WMS&version=1.1.1&request=GetMap&layers=u&bbox=15028131.257091936%2C-15028131.257091936%2C20037508.342789244%2C-10018754.17139462&width=256&height=256` Thanks!"}}