Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WMS time - filter do not works #5653

Open
rmarzocchi84 opened this issue Aug 24, 2018 · 0 comments
Open

WMS time - filter do not works #5653

rmarzocchi84 opened this issue Aug 24, 2018 · 0 comments

Comments

@rmarzocchi84
Copy link

Following [1] I try to set a WMS time layer raster. The example works but if I use a wms_timedefault different from the filter time it do not works.

In the following example I see always the raster of 2018-08-17

METADATA
       "wms_title" "bui_20180101"
       "wms_srs"   "EPSG:3003"	
       "wms_extent" "1436301.37500 4916704.50000 1701801.37500 5177704.50000"
       "wms_timeextent" "2017-08-01/2100-12-31/PT5M"
       "wms_timeitem" "day" #datetime is a column in postgis table of type timestamp
       "wms_timedefault" "2018-08-17 00:00:00"
       "wms_enable_request" "*"
       #"ows_include_items"     "all"
     END
     OFFSITE 0 0 0
     TILEITEM "location" #filepath is a column in postgis table with varchar of the filepath to each image
     TILEINDEX "time_idx"
     FILTER (`[day]` = `2018-01-01 00:00:00`)

I also checked all the options / suggestion of the [2] page

[1] - https://mapserver.org/ogc/wms_time.html#example-of-wms-t-with-postgis-tile-index-for-raster-imagery

[2] - https://postgis.net/docs/ch06.html#Using_MapServer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant