-
-
Notifications
You must be signed in to change notification settings - Fork 359
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 Service with layer with TileIndexLayer #6407
Comments
I've looked through the code, and I thought there might be a segment where the TLI Filter is eventually replaced by the filter in the raster layer. But I can't see it. Interestingly, in my testing I find the response does still return a correct image for the given TIME, but I can't work out how it does. |
Nevermind, I found the code I was looking for: Lines 1412 to 1446 in 7c65ac4
This does directly call the msLayerSetTimeFilter() on the TileIndexLayer instead of the Raster layer. |
This is now a duplicate of #6406 |
…filter is an expression WCS: Don't remove existing TileIndexLayer filter when applying time filter. Fixes MapServer#6406 Fixes MapServer#6407
Expected behavior and actual behavior.
Expected behavior:
Actual behavior:
Similar to, but not the same as #6406
Steps to reproduce the problem.
Snippet of Mapfile:
When querying the WMS service with TIME="2015-11-20", I expect the FILTER on MyTileIndex to become:
Instead, that filter is not affected, but instead a new FILTER is added to raster layer "MyLayer".
See the relevant code in
msWMSApplyTime()
MapServer/mapwms.cpp
Lines 283 to 284 in 7c65ac4
Notably, the code does not check if the given layer uses a TileIndexLayer, instead just applies the time filter to the current layer.
Note: The equivalent code for
msWMSApplyDimension()
does check for a Index layer, and applies it correctly.MapServer/mapwms.cpp
Lines 791 to 792 in 7c65ac4
Operating system
Ubuntu 20.04
MapServer version and installation method
Mapserver 7.6.4
The text was updated successfully, but these errors were encountered: