Jukka,

you were right! Now it works like a charm! Big thank you! And Thanks Tanya for 
a suggestion.

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

Best,
Marcin

Marcin Niemyjski
Junior Data Scientist
CloudFerro sp z o.o.
office: Fabryczna 5          m: +48 695 831 753
00-446 Warszawa, Poland    e: mniemyj...@cloudferro.com
[https://i.imgur.com/jlLouj5.png]<https://cloudferro.com/>
[cid:c47a448c-c7bc-49c5-bc0f-5866b72d2abc]<https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae9486487...@cloudferro.com?anonymous&ep=signature>
           Book time to meet with 
me<https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae9486487...@cloudferro.com?anonymous&ep=signature>
________________________________
From: Rahkonen Jukka <jukka.rahko...@maanmittauslaitos.fi>
Sent: Thursday, May 25, 2023 6:27 PM
To: Marcin Niemyjski <mniemyj...@cloudferro.com>; Marcin Niemyjski via 
MapServer-users <mapserver-users@lists.osgeo.org>
Subject: Re: is it possible to use other attributes stored on tileindex and 
querry dataset using them?


Hi,



Read the whole documentation page. Mapserver is implementing the WMS-T standard 
and in the standard the time parameter is named “TIME”. See examples 
https://mapserver.org/ogc/wms_time.html#supported-time-requests. So even the 
timeitem in your tileindex is “timestamp”, the parameter to use in GetMap is 
&TIME=




-Jukka Rahkonen-





Lähettäjä: MapServer-users <mapserver-users-boun...@lists.osgeo.org> Puolesta 
Marcin Niemyjski via MapServer-users
Lähetetty: torstai 25. toukokuuta 2023 17.54
Vastaanottaja: Marcin Niemyjski via MapServer-users 
<mapserver-users@lists.osgeo.org>
Aihe: [MapServer-users] is it possible to use other attributes stored on 
tileindex and querry dataset using them?





Hello,



I've managed to find solution similar solution to what I looked for in pervious 
mail at 
https://mapserver.org/ogc/wms_time.html#example-of-wms-t-with-postgis-tile-index-for-raster-imagery



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:



GetMap:

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



can you please take a look at my mapfile? -> https://pastecode.io/s/oxvnycg3



Any suggestions?

Marcin

Marcin Niemyjski
Junior Data Scientist
CloudFerro sp z o.o.

office: Fabryczna 5          m: +48 695 831 753
00-446 Warszawa, Poland    e: 
mniemyj...@cloudferro.com<mailto:mniemyj...@cloudferro.com>

[https://i.imgur.com/jlLouj5.png]<https://cloudferro.com/>



[cid:image001.png@01D98F3E.49094970]<https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae9486487...@cloudferro.com?anonymous&ep=signature>

Book time to meet with 
me<https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae9486487...@cloudferro.com?anonymous&ep=signature>


_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to