<div dir="ltr"><div><div><div>Hello,<br><br></div>I have a WMS-T layer. The datasource is in a postgis layer. The SQL request send by MapServer is something like this:<br><br>("timestamp" between date_trunc('second',timestamp '2016-02-17T15:00:00.000Z') and date_trunc('second',timestamp '2016-02-17T15:00:00.000Z') + interval '1 second' - interval '1 second')<br><br></div>I understand the + interval '1 second' - interval '1second', but I can't understand how the first interval resolution come from, see [1].<br><br></div>I guess this is calculated from wms_timedefault or wms_timeextent. Here my METADATA LAYER of my mapfile:<br><br clear="all"><div><div><div><div> "wms_timeextent" "2016-02-16T22:20/2016-02-17T21:20/PT1H"<br> "wms_timeitem" "timestamp"<br> "wms_timedefault" "2016-02-16T23:20"<br><br></div><div>Any idea how I can "force" the interval resolution to minute?<br><br></div><div>Thanks,<br><br></div><div>Y.<br>[1] <a href="https://github.com/mapserver/mapserver/blob/branch-7-0/mappostgis.c#L3389">https://github.com/mapserver/mapserver/blob/branch-7-0/mappostgis.c#L3389</a><br></div><div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Responsable Formation et Support<br>Camptocamp France SAS<br>Savoie Technolac, BP 352<br>73377 Le Bourget du Lac, Cedex<br><br>Tel (France) : +33 4 58 48 20 43 (<span style="color:rgb(255,0,0)">new !</span>)<br>Tel (Suisse) : +41 21 619 10 43<br>Mob. : +33 6 18 75 42 21<br>Fax : 04 79 70 15 81<br><br>Mail : <a href="mailto:yves.jacolin@camptocamp.com" target="_blank">yves.jacolin@camptocamp.com</a><br><a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a></div></div></div>
</div></div></div></div></div>