<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div class="elementToProof">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Jukka,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="ContentPasted0">
you were right! Now it works like a charm! Big thank you! And Thanks Tanya for a suggestion.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
But in reference to my first mail - is there possibility to add new parameter to url request based on another attribute in vector index file, for example max_cloud_cover or polarization_type? :D<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Marcin <br>
</div>
<div id="Signature">
<div>
<table style="margin-top:30px;margin-bottom:30px;width:95%">
<tbody>
<tr height="45">
<td>
<p></p>
</td>
</tr>
<tr>
<td><span style="font-family: "Open Sans Bold", sans-serif; font-size: 17px; color: rgb(255, 130, 38);"><b>Marcin Niemyjski</b></span><br>
<span style="font-family: "Open Sans", sans-serif; font-size: 13px; margin-bottom: 25px; color: rgb(71, 71, 71);">Junior Data Scientist</span>
<br>
<span style="font-family: "Open Sans", sans-serif; font-size: 13px; margin-bottom: 25px; color: rgb(71, 71, 71);">CloudFerro sp z o.o.</span>
<br>
</td>
</tr>
<tr>
<td><span style="font-family: "Open Sans", sans-serif; font-size: 12px; color: rgb(71, 71, 71);">office: Fabryczna 5</span>
<span style="font-family: "Open Sans", sans-serif; font-size: 12px; color: rgb(71, 71, 71);">
         <strong>m:</strong> </span><span style="font-family: "Open Sans", sans-serif; font-size: 12px; color: rgb(102, 102, 102);">+48 695 831 753</span><br>
<span style="font-family: "Open Sans", sans-serif; font-size: 12px; color: rgb(102, 102, 102);">00-446 Warszawa, Poland</span>
<span style="font-family: "Open Sans", sans-serif; font-size: 12px; text-decoration: none !important; color: rgb(0, 0, 0);">
   <strong>e:</strong></span> <a style="font-family: "Open Sans", sans-serif; font-size: 12px; text-decoration: none !important; color: rgb(0, 125, 197);">
<font style="font-family:Arial, Helvetica, sans-serif;text-decoration:none!important">mniemyjski@cloudferro.com</font></a>
<br>
</td>
</tr>
<tr>
<td><span><a href="https://cloudferro.com/"><img usemap="#image-map" src="https://i.imgur.com/jlLouj5.png"></a>
<map><area target="_blank" alt="Twitter" title="Twitter" href="https://twitter.com/CloudFerro" coords="602,96,621,117" shape="rect"><area target="_blank" alt="Facebook" title="Facebook" href="https://www.facebook.com/cloudferro/" coords="629,98,650,117" shape="rect"><area target="_blank" alt="Linkedin" title="Linkedin" href="https://www.linkedin.com/company/clfr/" coords="658,98,678,117" shape="rect"></map></span></td>
</tr>
</tbody>
</table>
<table id="pbpsiglinktable">
<tbody>
<tr>
<td><a href="https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature"><img data-outlook-trace="F:1|T:1" src="cid:c47a448c-c7bc-49c5-bc0f-5866b72d2abc"></a></td>
<td></td>
<td><a href="https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature" style="text-decoration: none; color: rgb(0, 120, 212);" data-loopstyle="link">Book time to meet with me</a></td>
<td>
<table>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Rahkonen Jukka <jukka.rahkonen@maanmittauslaitos.fi><br>
<b>Sent:</b> Thursday, May 25, 2023 6:27 PM<br>
<b>To:</b> Marcin Niemyjski <mniemyjski@cloudferro.com>; Marcin Niemyjski via MapServer-users <mapserver-users@lists.osgeo.org><br>
<b>Subject:</b> Re: is it possible to use other attributes stored on tileindex and querry dataset using them?</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:"Open Sans"}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
span.x_Shkpostityyli21
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:70.85pt 2.0cm 70.85pt 2.0cm}
div.x_WordSection1
        {}
-->
</style>
<div lang="FI" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal"><span style="">Hi,</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="">Read the whole documentation page. Mapserver is implementing the WMS-T standard and in the standard the time parameter is named “TIME”. See examples
<a href="https://mapserver.org/ogc/wms_time.html#supported-time-requests">https://mapserver.org/ogc/wms_time.html#supported-time-requests</a>. So even the timeitem in your tileindex is “timestamp”, the parameter to use in GetMap is &TIME=<br>
<br>
</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style=""> </span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="">-Jukka Rahkonen-</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style=""> </span></p>
<p class="x_MsoNormal"><span lang="EN-US" style=""> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_MsoNormal"><b>Lähettäjä:</b> MapServer-users <mapserver-users-bounces@lists.osgeo.org>
<b>Puolesta </b>Marcin Niemyjski via MapServer-users<br>
<b>Lähetetty:</b> torstai 25. toukokuuta 2023 17.54<br>
<b>Vastaanottaja:</b> Marcin Niemyjski via MapServer-users <mapserver-users@lists.osgeo.org><br>
<b>Aihe:</b> [MapServer-users] is it possible to use other attributes stored on tileindex and querry dataset using them?</p>
</div>
</div>
<p class="x_MsoNormal"> </p>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">Hello,</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">I've managed to find solution similar solution to what I looked for in pervious mail at
<a href="https://mapserver.org/ogc/wms_time.html#example-of-wms-t-with-postgis-tile-index-for-raster-imagery">
https://mapserver.org/ogc/wms_time.html#example-of-wms-t-with-postgis-tile-index-for-raster-imagery</a></span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">but when using below GetMap url request, Mapserver keeps returning data for default timestamp parameter value (which is 2023-02-02) although I'm passing new value in url:</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">GetMap:</span></p>
</div>
</div>
<div>
<p class="x_MsoNormal"><a href="http://localhost/cgi-bin/mapserv?map=/var/www/mapbender/TileIndex.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=1685028.275800409261,1801821.474313705694,6595587.571330638602,9965795.399527186528&CRS=EPSG:3857&WIDTH=726&HEIGHT=1207&LAYERS=Sentinel%202%20Ukraine%20TileIndex%20GPKG&STYLES=&FORMAT=image/png&DPI=157&MAP_RESOLUTION=157&FORMAT_OPTIONS=dpi:157&TRANSPARENT=TRUE&timestamp=2023-02-05">http://localhost/cgi-bin/mapserv?map=/var/www/mapbender/TileIndex.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=1685028.275800409261,1801821.474313705694,6595587.571330638602,9965795.399527186528&CRS=EPSG:3857&WIDTH=726&HEIGHT=1207&LAYERS=Sentinel%202%20Ukraine%20TileIndex%20GPKG&STYLES=&FORMAT=image/png&DPI=157&MAP_RESOLUTION=157&FORMAT_OPTIONS=dpi:157&TRANSPARENT=TRUE&<b>timestamp=2023-02-05</b></a></p>
</div>
<div>
<p class="x_MsoNormal"> </p>
</div>
<div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">can you please take a look at my mapfile? ->
<a href="https://pastecode.io/s/oxvnycg3">https://pastecode.io/s/oxvnycg3</a></span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">Any suggestions?</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:12.0pt; color:black">Marcin</span></p>
</div>
<div id="x_Signature">
<div>
<table class="x_MsoNormalTable" border="0" cellspacing="3" cellpadding="0" width="95%" style="width:95.0%">
<tbody>
<tr style="height:22.5pt">
<td style="padding:.75pt .75pt .75pt .75pt; height:22.5pt"></td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="x_MsoNormal"><b><span style="font-size:13.0pt; font-family:"Arial",sans-serif; color:#FF8226">Marcin Niemyjski</span></b><br>
<span style="font-size:10.0pt; font-family:"Open Sans",sans-serif; color:#474747">Junior Data Scientist</span>
<br>
<span style="font-size:10.0pt; font-family:"Open Sans",sans-serif; color:#474747">CloudFerro sp z o.o.</span>
</p>
</td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="x_MsoNormal"><span style="font-size:9.0pt; font-family:"Open Sans",sans-serif; color:#474747">office: Fabryczna 5</span>
<span style="font-size:9.0pt; font-family:"Open Sans",sans-serif; color:#474747">
         <strong><span style="font-family:"Open Sans",sans-serif">m:</span></strong>
</span><span style="font-size:9.0pt; font-family:"Open Sans",sans-serif; color:#666666">+48 695 831 753</span><br>
<span style="font-size:9.0pt; font-family:"Open Sans",sans-serif; color:#666666">00-446 Warszawa, Poland</span>
<span style="font-size:9.0pt; font-family:"Open Sans",sans-serif; color:black">   <strong><span style="font-family:"Open Sans",sans-serif">e:</span></strong></span>
<span style="font-family:"Arial",sans-serif"><a href="mailto:mniemyjski@cloudferro.com">mniemyjski@cloudferro.com</a></span>
</p>
</td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="x_MsoNormal"><a href="https://cloudferro.com/"><span style="text-decoration:none"><img border="0" width="700" height="122" id="x__x0000_i1026" style="width:7.2916in; height:1.2708in" src="https://i.imgur.com/jlLouj5.png"></span></a></p>
</td>
</tr>
</tbody>
</table>
<p class="x_MsoNormal"><span style="display:none"> </span></p>
<table class="x_MsoNormalTable" border="0" cellspacing="3" cellpadding="0" id="x_pbpsiglinktable">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="x_MsoNormal"><a href="https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature"><span style="text-decoration:none"><img border="0" width="20" height="20" id="x_Kuva_x0020_2" style="width:.2083in; height:.2083in" data-outlook-trace="F:1|T:1" src="cid:image001.png@01D98F3E.49094970"></span></a></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="x_MsoNormal"><a href="https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature"><span style="color:#0078D4; text-decoration:none">Book time to meet with me</span></a></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<table class="x_MsoNormalTable" border="0" cellspacing="3" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p class="x_MsoNormal"> </p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>