<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
p.MsoNormal, p.MsoNoSpacing
        {margin:0}
-->
</style><style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div>Yes, this is how the client is defined:</div>
<br>
<div> LAYER<br>
    CONNECTION "http://wms-server/dataset.wms?"<br>
    CONNECTIONTYPE WMS<br>
    DEBUG 4<br>
    METADATA<br>
      "wms_srs" "EPSG:3857"<br>
      "wms_exceptions_format"   "XML"<br>
      "wms_cmap"        "Current_cms_WGYR_11colors_1.0"<br>
      "wms_transparent" "TRUE"<br>
      "wms_name"        "UCUR:VCUR"<br>
      "wms_timeitem" "TIME"<br>
#      "wms_timedefault"        "2019-06-25T12:00:00.000Z"<br>
#      "wms_time" "2019-06-25T12:00:00Z"<br>
#      "wms_timeformat" "YYYY-MM-DDTHH:MM:SSZ"<br>
      "wms_format"      "image/png"<br>
      "wms_server_version"      "1.3.0"<br>
      "wms_style"       "plot_method=color_quiver2;legend=Current_cms_WGYR_11colors_1.0"<br>
      "wms_crs" "EPSG:3857"<br>
      "wms_enable_request" "*"<br>
    END # METADATA<br>
    NAME "Current"<br>
    PROCESSING "CLOSE_CONNECTION=NORMAL"<br>
    PROCESSING "LOAD_WHOLE_IMAGE=YES"<br>
    PROJECTION<br>
      "init=epsg:3857"<br>
    END # PROJECTION<br>
    STATUS ON<br>
    TILEITEM "location"<br>
    TYPE RASTER<br>
    UNITS METERS<br>
    MASK "waterpolygons"<br>
  END # LAYER<br>
<br>
</div>
<div><br>
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="margin:0px"><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><font size="2" color="#1f497d"><span style="font-size:10pt" lang="da"><strong><font face="Tahoma">Joint GeoMETOC Support Center</font></strong></span></font></span></font>
<div style="font-size:medium; font-family:'Segoe UI',Helvetica,Arial,sans-serif; margin:0px">
<div style="margin:0px"><img alt="FMI logo" src="http://www.fmi.dk/SiteCollectionImages/fmi62.png" width="200" height="48"><br>
<font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><font size="2" color="#1f497d"><span style="font-size:10pt" lang="da"></span></font></span></font></div>
</div>
<span style="font-size:10pt; font-family:"Tahoma","sans-serif"; color:#034a60"></span><span style="font-size:10pt; font-family:"Tahoma","sans-serif"; color:#034a60"></span><span style="font-size:10pt; font-family:"Tahoma","sans-serif"; color:#034a60" lang="EN-US"><span style="font-size:10pt; font-family:"Tahoma","sans-serif"; color:#034a60">Lautrupbjerg
 1-5 - 2750 Ballerup<br>
</span>Danish Defence Acquisition and Logistics Organisation</span><span style="font-size:10pt; font-family:"Tahoma","sans-serif"; color:#034a60"><br>
TLF: +45 7281 5627</span><span style="font-size:10pt; font-family:"Tahoma","sans-serif"; color:#034a60"><br>
MOBIL: +45 2961 9652</span><span style="font-size:10pt; font-family:"Tahoma","sans-serif"; color:#034a60"><br>
FIIN: FMI-MA-OPD07</span><span style="font-size:10pt; font-family:"Tahoma","sans-serif"; color:#034a60"><a href="http://WWW.FCOO.DK/" target="_blank"><br>
http://WWW.FCOO.DK/</a> </span><font size="2" face="Calibri,sans-serif"><span style="font-size:11pt"><font size="2" color="#1f497d"><span style="font-size:10pt" lang="sv"></span></font></span></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF274572" style="direction: ltr;"><font size="2" face="Tahoma" color="#000000"><b>Fra:</b> mapserver-users [mapserver-users-bounces@lists.osgeo.org] på vegne af Seth G [sethg@geographika.co.uk]<br>
<b>Sendt:</b> 7. august 2019 21:00<br>
<b>Til:</b> mapserver-users@lists.osgeo.org<br>
<b>Emne:</b> Re: [mapserver-users] Forward time and other parameters to a layer defined as wms client<br>
</font><br>
</div>
<div></div>
<div>
<div>Hi Søren,<br>
</div>
<div><br>
</div>
<div>Just to clarify you are using MapServer as a WMS Client as outlined here <a href="https://mapserver.org/ogc/wms_client.html" target="_blank" rel="noopener noreferrer">
https://mapserver.org/ogc/wms_client.html</a><br>
</div>
<div>With  "CONNECTIONTYPE WMS"?<br>
</div>
<div><br>
</div>
<div>Seth<br>
</div>
<div><br>
</div>
<div id="sig62266145">
<div class="signature">--<br>
</div>
<div class="signature">web:http://geographika.co.uk<br>
</div>
<div class="signature">twitter: @geographika<br>
</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>On Wed, Aug 7, 2019, at 7:55 PM, Søren Laursen wrote:<br>
</div>
<blockquote type="cite" id="qt">
<div style="direction:ltr; font-family:Tahoma; color:rgb(0,0,0); font-size:10pt">
<div>Hi,<br>
</div>
<div><br>
</div>
<div>We have been using mapserver to display static layers, and are now in progress of using it to display dynamic (time bound) layers.<br>
</div>
<div><br>
</div>
<div>We have a wms server that serve forecast, and we use a shape file to mask out areas, for example cut a forecast so it follow landmass.<br>
</div>
<div><br>
</div>
<div>This works perfect, but when we want to include the TIME parameter to show a forecast at a specific point in time, we cannot get mapserver to forward the parameter.
<br>
</div>
<div><br>
</div>
<div>Later on we will have the same problem with forecast that are bound by for example attitude and time.<br>
</div>
<div><br>
</div>
<div>We are using mapserver with apache, and in production we have a varnish in front (and banning urls when new forecast are ready).<br>
</div>
<div><br>
</div>
<div>I have look at time documentation of both the time wms settings and the runtime subtitionen but cannot figure out how we can make a solution.<br>
</div>
<div><br>
</div>
<div>When we hardcode a wms_time parameter in the layer definition everything works.<br>
</div>
<div><br>
</div>
<div>Best regards<br>
</div>
<div><br>
</div>
<div>Søren<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div><br>
</div>
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="font-size:13px; font-family:Tahoma">
<div style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<div><span class="font" style="font-family:Calibri,sans-serif"><span class="size" style="font-size:13px"><span class="size" style="font-size:11pt"><span class="size" style="font-size:13px"><span class="colour" style="color:#1f497d"><span class="size" style="font-size:10pt"><b><span class="font" style="font-family:Tahoma">Joint
 GeoMETOC Support Center</span></b></span></span></span></span></span></span> <br>
</div>
<div style="font-size:medium; font-family:"Segoe UI",Helvetica,Arial,sans-serif; margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<div style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px">
<img src="http://www.fmi.dk/SiteCollectionImages/fmi62.png" alt="FMI logo" width="200" height="48">
<span class="font" style="font-family:Calibri,sans-serif"><span class="size" style="font-size:13px"><span class="size" style="font-size:11pt"><span class="size" style="font-size:13px"><span class="colour" style="color:#1f497d"><span class="size" style="font-size:10pt"></span></span></span></span></span></span><br>
</div>
</div>
<div><span class="colour" style="color:rgb(3,74,96)"><span class="font" style="font-family:"Tahoma","sans-serif""><span class="size" style="font-size:10pt"></span></span></span><span class="colour" style="color:rgb(3,74,96)"><span class="font" style="font-family:"Tahoma","sans-serif""><span class="size" style="font-size:10pt"></span></span></span><span class="colour" style="color:rgb(3,74,96)"><span class="font" style="font-family:"Tahoma","sans-serif""><span class="size" style="font-size:10pt"><span class="colour" style="color:rgb(3,74,96)"><span class="font" style="font-family:"Tahoma","sans-serif""><span class="size" style="font-size:10pt">Lautrupbjerg
 1-5 - 2750 Ballerup<br>
</span></span></span>Danish Defence Acquisition and Logistics Organisation</span></span></span><span class="colour" style="color:rgb(3,74,96)"><span class="font" style="font-family:"Tahoma","sans-serif""><span class="size" style="font-size:10pt"><br>
TLF: +45 7281 5627</span></span></span><span class="colour" style="color:rgb(3,74,96)"><span class="font" style="font-family:"Tahoma","sans-serif""><span class="size" style="font-size:10pt"><br>
</span></span></span><span class="colour" style="color:rgb(3,74,96)"><span class="font" style="font-family:"Tahoma","sans-serif""><span class="size" style="font-size:10pt">FIIN: FMI-MA-OPD07</span></span></span><span class="colour" style="color:rgb(3,74,96)"><span class="font" style="font-family:"Tahoma","sans-serif""><span class="size" style="font-size:10pt"><a href="http://WWW.FCOO.DK/" target="_blank" rel="noopener noreferrer"><br>
http://WWW.FCOO.DK/</a> </span></span></span><span class="font" style="font-family:Calibri,sans-serif"><span class="size" style="font-size:13px"><span class="size" style="font-size:11pt"><span class="size" style="font-size:13px"><span class="colour" style="color:#1f497d"><span class="size" style="font-size:10pt"></span></span></span></span></span></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>_______________________________________________<br>
</div>
<div>mapserver-users mailing list<br>
</div>
<div>mapserver-users@lists.osgeo.org<br>
</div>
<div>https://lists.osgeo.org/mailman/listinfo/mapserver-users<br>
</div>
</blockquote>
<div><br>
</div>
</div>
</div>
</div>
</body>
</html>