[MapServer-users] is it possible to use other attributes stored on tileindex and querry dataset using them?

Rahkonen Jukka jukka.rahkonen at maanmittauslaitos.fi
Thu May 25 09:27:00 PDT 2023


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-bounces at 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 at 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: mniemyjski at cloudferro.com<mailto:mniemyjski at cloudferro.com>
[https://i.imgur.com/jlLouj5.png]<https://cloudferro.com/>

[cid:image001.png at 01D98F3E.49094970]<https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature>
Book time to meet with me<https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230525/28f21d69/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 528 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230525/28f21d69/attachment.png>


More information about the MapServer-users mailing list