<mapcache>
  <default_format>mixed</default_format>
  <format name="mypng" type="PNG">
    <compression>fast</compression>
  </format>
  <format name="myjpeg" type="JPEG">
    <quality>75</quality>
    <photometric>ycbcr</photometric>
  </format>
  <format name="mixed" type="MIXED">
    <transparent>mypng</transparent>
    <opaque>myjpeg</opaque>
  </format>
  <service type="wms" enabled="true">
    <full_wms>assemble</full_wms>
    <resample_mode>bilinear</resample_mode>
    <format>mixed</format>
    <maxsize>4096</maxsize>
    <!-- <forwarding_rule name="wms">
      <param name="SERVICE" type="values">WMS</param>
      <http>
        <url>http://localhost/browse/ows</url>
      </http>
    </forwarding_rule> -->
  </service>
  <service type="wmts" enabled="true"/>
  <metadata>
    <title>PRISM Data Access Service (PASS) developed by EOX</title>
    <abstract>PRISM Data Access Service (PASS) developed by EOX</abstract>
    <url>https://vhr18.pvs.prism.eox.at/cache/ows</url>
    <keyword>view service</keyword>
    <accessconstraints>UNKNOWN</accessconstraints>
    <fees>UNKNOWN</fees>
    <contactname>Stephan Meissl</contactname>
    <contactphone>Please contact via mail.</contactphone>
    <contactfacsimile>None</contactfacsimile>
    <contactorganization>EOX IT Services GmbH</contactorganization>
    <contactcity>Vienna</contactcity>
    <contactstateorprovince>Vienna</contactstateorprovince>
    <contactpostcode>1090</contactpostcode>
    <contactcountry>Austria</contactcountry>
    <contactelectronicmailaddress>office@eox.at</contactelectronicmailaddress>
    <contactposition>CTO</contactposition>
    <providername>EOX</providername>
    <providerurl>https://eox.at</providerurl>
    <inspire_profile>true</inspire_profile>
    <inspire_metadataurl>TBD</inspire_metadataurl>
    <defaultlanguage>eng</defaultlanguage>
    <language>eng</language>
  </metadata>
  <errors>empty_img</errors>
  <lock_dir>/tmp</lock_dir>
  <threaded_fetching>true</threaded_fetching>
  <cache name="vhr18" type="rest">
    <url>{{OS_STORAGE_URL}}/vhr18_cache/{tileset}/{grid}/{dim}/{z}/{x}/{y}.{ext}</url>
    <headers>
      <X-Auth-Token>{{OS_AUTH_TOKEN}}</X-Auth-Token>
    </headers>
  </cache>

  <!-- SOURCES VHR_IMAGE_2018 -->
  <source type="wms" name="vhr18_true_color">
    <getmap>
      <params>
        <LAYERS>VHR_IMAGE_2018__TRUE_COLOR</LAYERS>
        <TRANSPARENT>true</TRANSPARENT>
      </params>
    </getmap>
    <http>
      <url>http://renderer/ows</url>
      <connection_timeout>10</connection_timeout>
      <timeout>120</timeout>
    </http>
  </source>
  <source type="wms" name="vhr18_validity">
    <getmap>
      <params>
        <LAYERS>VHR_IMAGE_2018__masked_validity</LAYERS>
        <TRANSPARENT>true</TRANSPARENT>
      </params>
    </getmap>
    <http>
      <url>http://renderer/ows</url>
      <connection_timeout>10</connection_timeout>
      <timeout>120</timeout>
    </http>
  </source>
  <source type="wms" name="vhr18_false_color">
    <getmap>
      <params>
        <LAYERS>VHR_IMAGE_2018__FALSE_COLOR</LAYERS>
        <TRANSPARENT>true</TRANSPARENT>
      </params>
    </getmap>
    <http>
      <url>http://renderer/ows?</url>
      <connection_timeout>10</connection_timeout>
      <timeout>120</timeout>
    </http>
  </source>
  <source type="wms" name="vhr18_ndvi">
    <getmap>
      <params>
        <LAYERS>VHR_IMAGE_2018__NDVI</LAYERS>
        <STYLES>earth</STYLES>
        <TRANSPARENT>true</TRANSPARENT>
      </params>
    </getmap>
    <http>
      <url>http://renderer/ows?</url>
      <connection_timeout>10</connection_timeout>
      <timeout>120</timeout>
    </http>
  </source>

  <!-- TILESETS VHR_IMAGE_2018 -->
  <tileset name="VHR_IMAGE_2018__TRUE_COLOR">
    <metadata>
      <title>VHR Image 2018 True Color</title>
      <abstract>VHR Image 2018 True Color</abstract>
    </metadata>
    <source>vhr18_true_color</source>
    <cache>vhr18</cache>
    <grid max-cached-zoom="15" out-of-zoom-strategy="reassemble">WGS84</grid>
    <format>mixed</format>
    <metatile>1 1</metatile>
    <expires>3600</expires>
    <dimensions>
      <assembly_type>stack</assembly_type>
      <store_assemblies>false</store_assemblies>
      <subdimensions_read_only>false</subdimensions_read_only>
      <dimension type="sqlite" name="time" default="2017/2019" time="true">
        <dbfile>/cache-db/vhr18_mapcache_cache.sqlite</dbfile>
        <list_query>select strftime('%Y-%m-%dT%H:%M:%SZ', MIN(start_time))||'/'||strftime('%Y-%m-%dT%H:%M:%SZ', MAX(end_time)) from time</list_query>
        <validate_query>select * from (select strftime('%Y-%m-%dT%H:%M:%SZ',start_time)||'/'||strftime('%Y-%m-%dT%H:%M:%SZ',end_time) as interval from time where (start_time&lt;datetime(:end_timestamp,'unixepoch') and (end_time&gt;datetime(:start_timestamp,'unixepoch')) or (start_time=end_time and start_time&lt;=datetime(:end_timestamp,'unixepoch') and end_time&gt;=datetime(:start_timestamp,'unixepoch'))) and ((maxx&gt;=:minx and minx&lt;=:maxx) or (maxx&gt;180 and (maxx-360.0)&gt;=:minx and (minx-360.0)&lt;=:maxx)) and maxy&gt;=:miny and miny&lt;=:maxy order by end_time desc limit 20) order by interval asc</validate_query>
      </dimension>
    </dimensions>
  </tileset>
  <tileset name="VHR_IMAGE_2018__masked_validity">
    <metadata>
      <title>VHR Image 2018 True Color with masked validity</title>
      <abstract>VHR Image 2018 True Color with masked validity</abstract>
    </metadata>
    <source>vhr18_validity</source>
    <cache>vhr18</cache>
    <grid max-cached-zoom="15" out-of-zoom-strategy="reassemble">WGS84</grid>
    <format>mixed</format>
    <metatile>1 1</metatile>
    <expires>3600</expires>
    <dimensions>
      <assembly_type>stack</assembly_type>
      <store_assemblies>false</store_assemblies>
      <subdimensions_read_only>false</subdimensions_read_only>
      <dimension type="sqlite" name="time" default="2017/2019" time="true">
        <dbfile>/cache-db/vhr18_mapcache_cache.sqlite</dbfile>
        <list_query>select strftime('%Y-%m-%dT%H:%M:%SZ', MIN(start_time))||'/'||strftime('%Y-%m-%dT%H:%M:%SZ', MAX(end_time)) from time</list_query>
        <validate_query>select * from (select strftime('%Y-%m-%dT%H:%M:%SZ',start_time)||'/'||strftime('%Y-%m-%dT%H:%M:%SZ',end_time) as interval from time where (start_time&lt;datetime(:end_timestamp,'unixepoch') and (end_time&gt;datetime(:start_timestamp,'unixepoch')) or (start_time=end_time and start_time&lt;=datetime(:end_timestamp,'unixepoch') and end_time&gt;=datetime(:start_timestamp,'unixepoch'))) and ((maxx&gt;=:minx and minx&lt;=:maxx) or (maxx&gt;180 and (maxx-360.0)&gt;=:minx and (minx-360.0)&lt;=:maxx)) and maxy&gt;=:miny and miny&lt;=:maxy order by end_time desc limit 20) order by interval asc</validate_query>
      </dimension>
    </dimensions>
  </tileset>
  <tileset name="VHR_IMAGE_2018__FALSE_COLOR">
    <metadata>
      <title>VHR Image 2018 False Color</title>
      <abstract>VHR Image 2018 False Color</abstract>
    </metadata>
    <source>vhr18_false_color</source>
    <cache>vhr18</cache>
    <grid max-cached-zoom="15" out-of-zoom-strategy="reassemble">WGS84</grid>
    <format>mixed</format>
    <metatile>1 1</metatile>
    <expires>3600</expires>
    <dimensions>
      <assembly_type>stack</assembly_type>
      <store_assemblies>false</store_assemblies>
      <subdimensions_read_only>false</subdimensions_read_only>
      <dimension type="sqlite" name="time" default="2017/2019" time="true">
        <dbfile>/cache-db/vhr18_mapcache_cache.sqlite</dbfile>
        <list_query>select strftime('%Y-%m-%dT%H:%M:%SZ', MIN(start_time))||'/'||strftime('%Y-%m-%dT%H:%M:%SZ', MAX(end_time)) from time</list_query>
        <validate_query>select * from (select strftime('%Y-%m-%dT%H:%M:%SZ',start_time)||'/'||strftime('%Y-%m-%dT%H:%M:%SZ',end_time) as interval from time where (start_time&lt;datetime(:end_timestamp,'unixepoch') and (end_time&gt;datetime(:start_timestamp,'unixepoch')) or (start_time=end_time and start_time&lt;=datetime(:end_timestamp,'unixepoch') and end_time&gt;=datetime(:start_timestamp,'unixepoch'))) and ((maxx&gt;=:minx and minx&lt;=:maxx) or (maxx&gt;180 and (maxx-360.0)&gt;=:minx and (minx-360.0)&lt;=:maxx)) and maxy&gt;=:miny and miny&lt;=:maxy order by end_time desc limit 20) order by interval asc</validate_query>
      </dimension>
    </dimensions>
  </tileset>
  <tileset name="VHR_IMAGE_2018__NDVI">
    <metadata>
      <title>VHR Image 2018 NDVI</title>
      <abstract>VHR Image 2018 NDVI</abstract>
    </metadata>
    <source>vhr18_ndvi</source>
    <cache>vhr18</cache>
    <grid max-cached-zoom="15" out-of-zoom-strategy="reassemble">WGS84</grid>
    <format>mixed</format>
    <metatile>1 1</metatile>
    <expires>3600</expires>
    <dimensions>
      <assembly_type>stack</assembly_type>
      <store_assemblies>false</store_assemblies>
      <subdimensions_read_only>false</subdimensions_read_only>
      <dimension type="sqlite" name="time" default="2017/2019" time="true">
        <dbfile>/cache-db/vhr18_mapcache_cache.sqlite</dbfile>
        <list_query>select strftime('%Y-%m-%dT%H:%M:%SZ', MIN(start_time))||'/'||strftime('%Y-%m-%dT%H:%M:%SZ', MAX(end_time)) from time</list_query>
        <validate_query>select * from (select strftime('%Y-%m-%dT%H:%M:%SZ',start_time)||'/'||strftime('%Y-%m-%dT%H:%M:%SZ',end_time) as interval from time where (start_time&lt;datetime(:end_timestamp,'unixepoch') and (end_time&gt;datetime(:start_timestamp,'unixepoch')) or (start_time=end_time and start_time&lt;=datetime(:end_timestamp,'unixepoch') and end_time&gt;=datetime(:start_timestamp,'unixepoch'))) and ((maxx&gt;=:minx and minx&lt;=:maxx) or (maxx&gt;180 and (maxx-360.0)&gt;=:minx and (minx-360.0)&lt;=:maxx)) and maxy&gt;=:miny and miny&lt;=:maxy order by end_time desc limit 20) order by interval asc</validate_query>
      </dimension>
    </dimensions>
  </tileset>

  <!-- SOURCES VHR_IMAGE_2018_Level_1 -->
  <source type="wms" name="vhr18_true_color_l1">
    <getmap>
      <params>
        <LAYERS>VHR_IMAGE_2018_Level_1__TRUE_COLOR</LAYERS>
        <TRANSPARENT>true</TRANSPARENT>
      </params>
    </getmap>
    <http>
      <url>http://renderer/ows</url>
      <connection_timeout>10</connection_timeout>
      <timeout>120</timeout>
    </http>
  </source>
  <source type="wms" name="vhr18_validity_l1">
    <getmap>
      <params>
        <LAYERS>VHR_IMAGE_2018_Level_1__masked_validity</LAYERS>
        <TRANSPARENT>true</TRANSPARENT>
      </params>
    </getmap>
    <http>
      <url>http://renderer/ows</url>
      <connection_timeout>10</connection_timeout>
      <timeout>120</timeout>
    </http>
  </source>
  <source type="wms" name="vhr18_false_color_l1">
    <getmap>
      <params>
        <LAYERS>VHR_IMAGE_2018_Level_1__FALSE_COLOR</LAYERS>
        <TRANSPARENT>true</TRANSPARENT>
      </params>
    </getmap>
    <http>
      <url>http://renderer/ows?</url>
      <connection_timeout>10</connection_timeout>
      <timeout>120</timeout>
    </http>
  </source>
  <source type="wms" name="vhr18_ndvi_l1">
    <getmap>
      <params>
        <LAYERS>VHR_IMAGE_2018_Level_1__NDVI</LAYERS>
        <STYLES>earth</STYLES>
        <TRANSPARENT>true</TRANSPARENT>
      </params>
    </getmap>
    <http>
      <url>http://renderer/ows?</url>
      <connection_timeout>10</connection_timeout>
      <timeout>120</timeout>
    </http>
  </source>

  <!-- TILESETS VHR_IMAGE_2018_Level_1 -->
  <tileset name="VHR_IMAGE_2018_Level_1__TRUE_COLOR">
    <metadata>
      <title>VHR Image 2018 Level 1 True Color</title>
      <abstract>VHR Image 2018 Level 1 True Color</abstract>
    </metadata>
    <source>vhr18_true_color_l1</source>
    <cache>vhr18</cache>
    <grid max-cached-zoom="15" out-of-zoom-strategy="reassemble">WGS84</grid>
    <format>mixed</format>
    <metatile>1 1</metatile>
    <expires>3600</expires>
    <dimensions>
      <assembly_type>stack</assembly_type>
      <store_assemblies>false</store_assemblies>
      <subdimensions_read_only>false</subdimensions_read_only>
      <dimension type="sqlite" name="time" default="2017/2019" time="true">
        <dbfile>/cache-db/vhr18_mapcache_cache.sqlite</dbfile>
        <list_query>select strftime('%Y-%m-%dT%H:%M:%SZ', MIN(start_time))||'/'||strftime('%Y-%m-%dT%H:%M:%SZ', MAX(end_time)) from time</list_query>
        <validate_query>select * from (select strftime('%Y-%m-%dT%H:%M:%SZ',start_time)||'/'||strftime('%Y-%m-%dT%H:%M:%SZ',end_time) as interval from time where (start_time&lt;datetime(:end_timestamp,'unixepoch') and (end_time&gt;datetime(:start_timestamp,'unixepoch')) or (start_time=end_time and start_time&lt;=datetime(:end_timestamp,'unixepoch') and end_time&gt;=datetime(:start_timestamp,'unixepoch'))) and ((maxx&gt;=:minx and minx&lt;=:maxx) or (maxx&gt;180 and (maxx-360.0)&gt;=:minx and (minx-360.0)&lt;=:maxx)) and maxy&gt;=:miny and miny&lt;=:maxy order by end_time desc limit 20) order by interval asc</validate_query>
      </dimension>
    </dimensions>
  </tileset>
  <tileset name="VHR_IMAGE_2018_Level_1__masked_validity">
    <metadata>
      <title>VHR Image 2018 Level 1 True Color with masked validity</title>
      <abstract>VHR Image 2018 Level 1 True Color with masked validity</abstract>
    </metadata>
    <source>vhr18_validity_l1</source>
    <cache>vhr18</cache>
    <grid max-cached-zoom="15" out-of-zoom-strategy="reassemble">WGS84</grid>
    <format>mixed</format>
    <metatile>1 1</metatile>
    <expires>3600</expires>
    <dimensions>
      <assembly_type>stack</assembly_type>
      <store_assemblies>false</store_assemblies>
      <subdimensions_read_only>false</subdimensions_read_only>
      <dimension type="sqlite" name="time" default="2017/2019" time="true">
        <dbfile>/cache-db/vhr18_mapcache_cache.sqlite</dbfile>
        <list_query>select strftime('%Y-%m-%dT%H:%M:%SZ', MIN(start_time))||'/'||strftime('%Y-%m-%dT%H:%M:%SZ', MAX(end_time)) from time</list_query>
        <validate_query>select * from (select strftime('%Y-%m-%dT%H:%M:%SZ',start_time)||'/'||strftime('%Y-%m-%dT%H:%M:%SZ',end_time) as interval from time where (start_time&lt;datetime(:end_timestamp,'unixepoch') and (end_time&gt;datetime(:start_timestamp,'unixepoch')) or (start_time=end_time and start_time&lt;=datetime(:end_timestamp,'unixepoch') and end_time&gt;=datetime(:start_timestamp,'unixepoch'))) and ((maxx&gt;=:minx and minx&lt;=:maxx) or (maxx&gt;180 and (maxx-360.0)&gt;=:minx and (minx-360.0)&lt;=:maxx)) and maxy&gt;=:miny and miny&lt;=:maxy order by end_time desc limit 20) order by interval asc</validate_query>
      </dimension>
    </dimensions>
  </tileset>
  <tileset name="VHR_IMAGE_2018_Level_1__FALSE_COLOR">
    <metadata>
      <title>VHR Image 2018 Level 1 False Color</title>
      <abstract>VHR Image 2018 Level 1 False Color</abstract>
    </metadata>
    <source>vhr18_false_color_l1</source>
    <cache>vhr18</cache>
    <grid max-cached-zoom="15" out-of-zoom-strategy="reassemble">WGS84</grid>
    <format>mixed</format>
    <metatile>1 1</metatile>
    <expires>3600</expires>
    <dimensions>
      <assembly_type>stack</assembly_type>
      <store_assemblies>false</store_assemblies>
      <subdimensions_read_only>false</subdimensions_read_only>
      <dimension type="sqlite" name="time" default="2017/2019" time="true">
        <dbfile>/cache-db/vhr18_mapcache_cache.sqlite</dbfile>
        <list_query>select strftime('%Y-%m-%dT%H:%M:%SZ', MIN(start_time))||'/'||strftime('%Y-%m-%dT%H:%M:%SZ', MAX(end_time)) from time</list_query>
        <validate_query>select * from (select strftime('%Y-%m-%dT%H:%M:%SZ',start_time)||'/'||strftime('%Y-%m-%dT%H:%M:%SZ',end_time) as interval from time where (start_time&lt;datetime(:end_timestamp,'unixepoch') and (end_time&gt;datetime(:start_timestamp,'unixepoch')) or (start_time=end_time and start_time&lt;=datetime(:end_timestamp,'unixepoch') and end_time&gt;=datetime(:start_timestamp,'unixepoch'))) and ((maxx&gt;=:minx and minx&lt;=:maxx) or (maxx&gt;180 and (maxx-360.0)&gt;=:minx and (minx-360.0)&lt;=:maxx)) and maxy&gt;=:miny and miny&lt;=:maxy order by end_time desc limit 20) order by interval asc</validate_query>
      </dimension>
    </dimensions>
  </tileset>
  <tileset name="VHR_IMAGE_2018_Level_1__NDVI">
    <metadata>
      <title>VHR Image 2018 Level 1 NDVI</title>
      <abstract>VHR Image 2018 Level 1 NDVI</abstract>
    </metadata>
    <source>vhr18_ndvi_l1</source>
    <cache>vhr18</cache>
    <grid max-cached-zoom="15" out-of-zoom-strategy="reassemble">WGS84</grid>
    <format>mixed</format>
    <metatile>1 1</metatile>
    <expires>3600</expires>
    <dimensions>
      <assembly_type>stack</assembly_type>
      <store_assemblies>false</store_assemblies>
      <subdimensions_read_only>false</subdimensions_read_only>
      <dimension type="sqlite" name="time" default="2017/2019" time="true">
        <dbfile>/cache-db/vhr18_mapcache_cache.sqlite</dbfile>
        <list_query>select strftime('%Y-%m-%dT%H:%M:%SZ', MIN(start_time))||'/'||strftime('%Y-%m-%dT%H:%M:%SZ', MAX(end_time)) from time</list_query>
        <validate_query>select * from (select strftime('%Y-%m-%dT%H:%M:%SZ',start_time)||'/'||strftime('%Y-%m-%dT%H:%M:%SZ',end_time) as interval from time where (start_time&lt;datetime(:end_timestamp,'unixepoch') and (end_time&gt;datetime(:start_timestamp,'unixepoch')) or (start_time=end_time and start_time&lt;=datetime(:end_timestamp,'unixepoch') and end_time&gt;=datetime(:start_timestamp,'unixepoch'))) and ((maxx&gt;=:minx and minx&lt;=:maxx) or (maxx&gt;180 and (maxx-360.0)&gt;=:minx and (minx-360.0)&lt;=:maxx)) and maxy&gt;=:miny and miny&lt;=:maxy order by end_time desc limit 20) order by interval asc</validate_query>
      </dimension>
    </dimensions>
  </tileset>

  <!-- SOURCES VHR_IMAGE_2018_Level_3 -->
  <source type="wms" name="vhr18_true_color_l3">
    <getmap>
      <params>
        <LAYERS>VHR_IMAGE_2018_Level_3__TRUE_COLOR</LAYERS>
        <TRANSPARENT>true</TRANSPARENT>
      </params>
    </getmap>
    <http>
      <url>http://renderer/ows</url>
      <connection_timeout>10</connection_timeout>
      <timeout>120</timeout>
    </http>
  </source>
  <source type="wms" name="vhr18_validity_l3">
    <getmap>
      <params>
        <LAYERS>VHR_IMAGE_2018_Level_3__masked_validity</LAYERS>
        <TRANSPARENT>true</TRANSPARENT>
      </params>
    </getmap>
    <http>
      <url>http://renderer/ows</url>
      <connection_timeout>10</connection_timeout>
      <timeout>120</timeout>
    </http>
  </source>
  <source type="wms" name="vhr18_false_color_l3">
    <getmap>
      <params>
        <LAYERS>VHR_IMAGE_2018_Level_3__FALSE_COLOR</LAYERS>
        <TRANSPARENT>true</TRANSPARENT>
      </params>
    </getmap>
    <http>
      <url>http://renderer/ows?</url>
      <connection_timeout>10</connection_timeout>
      <timeout>120</timeout>
    </http>
  </source>
  <source type="wms" name="vhr18_ndvi_l3">
    <getmap>
      <params>
        <LAYERS>VHR_IMAGE_2018_Level_3__NDVI</LAYERS>
        <STYLES>earth</STYLES>
        <TRANSPARENT>true</TRANSPARENT>
      </params>
    </getmap>
    <http>
      <url>http://renderer/ows?</url>
      <connection_timeout>10</connection_timeout>
      <timeout>120</timeout>
    </http>
  </source>

  <!-- TILESETS VHR_IMAGE_2018_Level_3 -->
  <tileset name="VHR_IMAGE_2018_Level_3__Full">
    <metadata>
      <title>VHR Image 2018 Level 3 True Color Full Coverage</title>
      <abstract>VHR Image 2018 Level 3 True Color Full Coverage</abstract>
    </metadata>
    <source>vhr18_true_color_l3</source>
    <cache>vhr18</cache>
    <grid restricted_extent="-24.7 27.5 45 71.3" max-cached-zoom="15" out-of-zoom-strategy="reassemble">WGS84</grid>
    <format>mixed</format>
    <metatile>1 1</metatile>
    <expires>3600</expires>
  </tileset>
  <tileset name="VHR_IMAGE_2018_Level_3__masked_validity__Full">
    <metadata>
      <title>VHR Image 2018 Level 3 True Color with masked validity Full Coverage</title>
      <abstract>VHR Image 2018 Level 3 True Color with masked validity Full Coverage</abstract>
    </metadata>
    <source>vhr18_validity_l3</source>
    <cache>vhr18</cache>
    <grid restricted_extent="-24.7 27.5 45 71.3" max-cached-zoom="15" out-of-zoom-strategy="reassemble">WGS84</grid>
    <format>mixed</format>
    <metatile>1 1</metatile>
    <expires>3600</expires>
  </tileset>
  <tileset name="VHR_IMAGE_2018_Level_3__TRUE_COLOR">
    <metadata>
      <title>VHR Image 2018 Level 3 True Color</title>
      <abstract>VHR Image 2018 Level 3 True Color</abstract>
    </metadata>
    <source>vhr18_true_color_l3</source>
    <cache>vhr18</cache>
    <grid max-cached-zoom="15" out-of-zoom-strategy="reassemble">WGS84</grid>
    <format>mixed</format>
    <metatile>1 1</metatile>
    <expires>3600</expires>
    <dimensions>
      <assembly_type>stack</assembly_type>
      <store_assemblies>false</store_assemblies>
      <subdimensions_read_only>false</subdimensions_read_only>
      <dimension type="sqlite" name="time" default="2017/2019" time="true">
        <dbfile>/cache-db/vhr18_mapcache_cache.sqlite</dbfile>
        <list_query>select strftime('%Y-%m-%dT%H:%M:%SZ', MIN(start_time))||'/'||strftime('%Y-%m-%dT%H:%M:%SZ', MAX(end_time)) from time</list_query>
        <validate_query>select * from (select strftime('%Y-%m-%dT%H:%M:%SZ',start_time)||'/'||strftime('%Y-%m-%dT%H:%M:%SZ',end_time) as interval from time where (start_time&lt;datetime(:end_timestamp,'unixepoch') and (end_time&gt;datetime(:start_timestamp,'unixepoch')) or (start_time=end_time and start_time&lt;=datetime(:end_timestamp,'unixepoch') and end_time&gt;=datetime(:start_timestamp,'unixepoch'))) and ((maxx&gt;=:minx and minx&lt;=:maxx) or (maxx&gt;180 and (maxx-360.0)&gt;=:minx and (minx-360.0)&lt;=:maxx)) and maxy&gt;=:miny and miny&lt;=:maxy order by end_time desc limit 20) order by interval asc</validate_query>
      </dimension>
    </dimensions>
  </tileset>
  <tileset name="VHR_IMAGE_2018_Level_3__masked_validity">
    <metadata>
      <title>VHR Image 2018 Level 3 True Color with masked validity</title>
      <abstract>VHR Image 2018 Level 3 True Color with masked validity</abstract>
    </metadata>
    <source>vhr18_validity_l3</source>
    <cache>vhr18</cache>
    <grid max-cached-zoom="15" out-of-zoom-strategy="reassemble">WGS84</grid>
    <format>mixed</format>
    <metatile>1 1</metatile>
    <expires>3600</expires>
    <dimensions>
      <assembly_type>stack</assembly_type>
      <store_assemblies>false</store_assemblies>
      <subdimensions_read_only>false</subdimensions_read_only>
      <dimension type="sqlite" name="time" default="2017/2019" time="true">
        <dbfile>/cache-db/vhr18_mapcache_cache.sqlite</dbfile>
        <list_query>select strftime('%Y-%m-%dT%H:%M:%SZ', MIN(start_time))||'/'||strftime('%Y-%m-%dT%H:%M:%SZ', MAX(end_time)) from time</list_query>
        <validate_query>select * from (select strftime('%Y-%m-%dT%H:%M:%SZ',start_time)||'/'||strftime('%Y-%m-%dT%H:%M:%SZ',end_time) as interval from time where (start_time&lt;datetime(:end_timestamp,'unixepoch') and (end_time&gt;datetime(:start_timestamp,'unixepoch')) or (start_time=end_time and start_time&lt;=datetime(:end_timestamp,'unixepoch') and end_time&gt;=datetime(:start_timestamp,'unixepoch'))) and ((maxx&gt;=:minx and minx&lt;=:maxx) or (maxx&gt;180 and (maxx-360.0)&gt;=:minx and (minx-360.0)&lt;=:maxx)) and maxy&gt;=:miny and miny&lt;=:maxy order by end_time desc limit 20) order by interval asc</validate_query>
      </dimension>
    </dimensions>
  </tileset>
  <tileset name="VHR_IMAGE_2018_Level_3__FALSE_COLOR">
    <metadata>
      <title>VHR Image 2018 Level 3 False Color</title>
      <abstract>VHR Image 2018 Level 3 False Color</abstract>
    </metadata>
    <source>vhr18_false_color_l3</source>
    <cache>vhr18</cache>
    <grid max-cached-zoom="15" out-of-zoom-strategy="reassemble">WGS84</grid>
    <format>mixed</format>
    <metatile>1 1</metatile>
    <expires>3600</expires>
    <dimensions>
      <assembly_type>stack</assembly_type>
      <store_assemblies>false</store_assemblies>
      <subdimensions_read_only>false</subdimensions_read_only>
      <dimension type="sqlite" name="time" default="2017/2019" time="true">
        <dbfile>/cache-db/vhr18_mapcache_cache.sqlite</dbfile>
        <list_query>select strftime('%Y-%m-%dT%H:%M:%SZ', MIN(start_time))||'/'||strftime('%Y-%m-%dT%H:%M:%SZ', MAX(end_time)) from time</list_query>
        <validate_query>select * from (select strftime('%Y-%m-%dT%H:%M:%SZ',start_time)||'/'||strftime('%Y-%m-%dT%H:%M:%SZ',end_time) as interval from time where (start_time&lt;datetime(:end_timestamp,'unixepoch') and (end_time&gt;datetime(:start_timestamp,'unixepoch')) or (start_time=end_time and start_time&lt;=datetime(:end_timestamp,'unixepoch') and end_time&gt;=datetime(:start_timestamp,'unixepoch'))) and ((maxx&gt;=:minx and minx&lt;=:maxx) or (maxx&gt;180 and (maxx-360.0)&gt;=:minx and (minx-360.0)&lt;=:maxx)) and maxy&gt;=:miny and miny&lt;=:maxy order by end_time desc limit 20) order by interval asc</validate_query>
      </dimension>
    </dimensions>
  </tileset>
  <tileset name="VHR_IMAGE_2018_Level_3__NDVI">
    <metadata>
      <title>VHR Image 2018 Level 3 NDVI</title>
      <abstract>VHR Image 2018 Level 3 NDVI</abstract>
    </metadata>
    <source>vhr18_ndvi_l3</source>
    <cache>vhr18</cache>
    <grid max-cached-zoom="15" out-of-zoom-strategy="reassemble">WGS84</grid>
    <format>mixed</format>
    <metatile>1 1</metatile>
    <expires>3600</expires>
    <dimensions>
      <assembly_type>stack</assembly_type>
      <store_assemblies>false</store_assemblies>
      <subdimensions_read_only>false</subdimensions_read_only>
      <dimension type="sqlite" name="time" default="2017/2019" time="true">
        <dbfile>/cache-db/vhr18_mapcache_cache.sqlite</dbfile>
        <list_query>select strftime('%Y-%m-%dT%H:%M:%SZ', MIN(start_time))||'/'||strftime('%Y-%m-%dT%H:%M:%SZ', MAX(end_time)) from time</list_query>
        <validate_query>select * from (select strftime('%Y-%m-%dT%H:%M:%SZ',start_time)||'/'||strftime('%Y-%m-%dT%H:%M:%SZ',end_time) as interval from time where (start_time&lt;datetime(:end_timestamp,'unixepoch') and (end_time&gt;datetime(:start_timestamp,'unixepoch')) or (start_time=end_time and start_time&lt;=datetime(:end_timestamp,'unixepoch') and end_time&gt;=datetime(:start_timestamp,'unixepoch'))) and ((maxx&gt;=:minx and minx&lt;=:maxx) or (maxx&gt;180 and (maxx-360.0)&gt;=:minx and (minx-360.0)&lt;=:maxx)) and maxy&gt;=:miny and miny&lt;=:maxy order by end_time desc limit 20) order by interval asc</validate_query>
      </dimension>
    </dimensions>
  </tileset>

</mapcache>