<div dir="ltr">Hi<div><br></div><div>I am trying to get WMS time to work for a vector layer from GeoJSON-data.</div><div>The data has a property start that is a DateTime that I want to filter the items in the geojson based on TIME in the WMS query.</div><div><br></div><div>Ogrinfo shows:</div><div>OGRFeature(debug_wmstime):0<br>  level (String) = high<br>  start (DateTime) = 2021/02/09 14:00:00+00<br>  POLYGON ((10.87646484375 61.7627288304727,10.9423828125 60.0758034247597,17.73193359375 60.1633760564878,17.7978515625 61.7835133871372,10.87646484375 61.7627288304727))<br><br></div><div>But no matter how I configure the mapfile I can´t get it to work.</div><div>As soon as I add </div><div> "wms_timeitem" "start"<br></div><div>to Layer METADATA the image goes blank.</div><div>And the debug logfile gives no errors.</div><div><br></div><div>I can get ogrinfo to filter the data in the geojson with:</div><div>ogrinfo -where "start='2021-02-09T14:00:00Z'" debug_wmstime.geojson debug_wmstime<br></div><div><br></div><div>But not get Mapserver to work with TIME=2021-02-09T14:00:00Z in a WMS-request.</div><div><br></div><div><br></div><div>Attached is the geojson file and a simple mapfile I have used for testing.</div><div><br></div><div>A wms query like this is what I am testing:</div><div>/debug_wmstime.map?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=true&STYLES&LAYERS=time_debug&SRS=EPSG%3A4326&WIDTH=200&HEIGHT=464&BBOX=10,47,18,62&TIME=2021-02-09T14:00:00Z<br></div><div><br></div><div>The expected result is to to only see a yellow square at the top of the image. The other features in the geojson should not be visible with this TIME.</div><div><br></div><div><br></div><div>Does anyone have a clue what I might be doing wrong? </div><div>Cause it should be possible to do this right?</div><div><br></div><div>Any help is appreciated!</div><div>Jesper</div><div><br></div></div>