<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div style="font-family: Calibri, sans-serif;">I've created a timedimension tileset in MapCache and created the backend sqlite db that has the available times. The mapserver backend handles the WMS TIME requests without a problem. And when I query mapcache without a &TIME=, I get my the default output. </div><div style="font-family: Calibri, sans-serif;"><br></div><div style="font-family: Calibri, sans-serif;">However, if I specify a &TIME= parameter to MapCache (as a WMS or WMTS request), I get </div><div style="font-family: Calibri, sans-serif;"><br></div><div style="font-family: Calibri, sans-serif;">no matching entry for given TIME dimension "TIME" in tileset "earthquakes"</div><div style="font-family: Calibri, sans-serif;"><br></div><div style="font-family: Calibri, sans-serif;">I don't know what I need to change to get MapCache to recognize the TIME parameter. From the docs on RFC-96 (<a href="http://mapserver.org/development/rfc/ms-rfc-96.html">http://mapserver.org/development/rfc/ms-rfc-96.html</a>) I don't see what else to specify to set MapCache to understand TIME requests. </div><div style="font-family: Calibri, sans-serif;"><br></div><div style="font-family: Calibri, sans-serif;">I can see MapCache making the backend requests to generate images from the time values in the sqlite DB but only with the default specified in the <timedimension>. It never understands new ranges passed with &TIME=.</div><div style="font-family: Calibri, sans-serif;"><br></div><div style="font-family: Calibri, sans-serif;">My tileset looks like</div><div style="font-family: Calibri, sans-serif;"><br></div><div><div><font face="Consolas"><tileset name="earthquakes"></font></div><div><font face="Consolas"> <source>earthquakes</source></font></div><div><font face="Consolas"> <cache>sqlite</cache></font></div><div><font face="Consolas"> <grid>GoogleMapsCompatible</grid></font></div><div><font face="Consolas"> <format>PNG</format></font></div><div><font face="Consolas"> <metatile>5 5</metatile></font></div><div><font face="Consolas"> <metabuffer>10</metabuffer></font></div><div><font face="Consolas"> <expires>3600</expires></font></div><div><font face="Consolas"> <timedimension type="sqlite" default="2014-03-25T12Z" ></font></div><div><font face="Consolas"> <dbfile>/u02/mapcache/dbtime2.db</dbfile></font></div><div><font face="Consolas"> <query>select strftime('%Y-%m-%dT%H:%M:%SZ',start)||'/'||strftime('%Y-%m-%dT%H:%M:%SZ',end) from time</font></div><div><font face="Consolas"> where source_id=:tileset</font></div><div><font face="Consolas"> and start_time>=datetime(:start_timestamp,'unixepoch')</font></div><div><font face="Consolas"> and end_time<=datetime(:end_timestamp,'unixepoch')</font></div><div><font face="Consolas"> order by end_time</font></div><div><font face="Consolas"> </query></font></div><div><font face="Consolas"> </timedimension></font></div><div><font face="Consolas"> </tileset></font></div></div><div><font face="Consolas"><br></font></div><div><div><div><div>----</div><div>Michael Smith</div></div><div>US Army Corps</div><div>Remote Sensing GIS/Center</div><div><a href="mailto:michael.smith@usace.army.mil">michael.smith@usace.army.mil</a></div><div><br></div></div></div></body></html>