Something went wrong on our end
emg_mapcache-ops.xml 7.70 KiB
<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>Pre-rendered View Service (pdas) developed by EOX</title>
<abstract>Pre-rendered View Service (pdas) developed by EOX</abstract>
<url>https://emg.pdas.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="emg" type="rest">
<url>{{OS_STORAGE_URL}}/{{BUCKET_NAME}}/{tileset}/{grid}/{dim}/{z}/{x}/{y}.{ext}</url>
<headers>
<X-Auth-Token>{{OS_AUTH_TOKEN}}</X-Auth-Token>
</headers>
</cache>
<!-- SOURCES Emergency -->
<source type="wms" name="emg_true_color">
<getmap>
<params>
<LAYERS>Emergency__TRUE_COLOR</LAYERS>
<TRANSPARENT>true</TRANSPARENT>
</params>
</getmap>
<http>
<url>http://localhost/ows</url>
<connection_timeout>10</connection_timeout>
<timeout>120</timeout>
</http>
</source>
<source type="wms" name="emg_false_color">
<getmap>
<params>
<LAYERS>Emergency__FALSE_COLOR</LAYERS>
<TRANSPARENT>true</TRANSPARENT>
</params>
</getmap>
<http>
<url>http://localhost/ows?</url>
<connection_timeout>10</connection_timeout>
<timeout>120</timeout>
</http>
</source>
<source type="wms" name="emg_ndvi">
<getmap>
<params>
<LAYERS>Emergency__NDVI</LAYERS>
<STYLES>earth</STYLES>
<TRANSPARENT>true</TRANSPARENT>
</params>
</getmap>
<http>
<url>http://localhost/ows?</url>
<connection_timeout>10</connection_timeout>
<timeout>120</timeout>
</http>
</source>
<!-- TILESETS Emergency -->
<tileset name="Emergency__TRUE_COLOR">
<metadata>
<title>Emergency True Color</title>
<abstract>Emergency True Color</abstract>
</metadata>
<source>emg_true_color</source>
<cache>emg</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/emg_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<datetime(:end_timestamp,'unixepoch') and (end_time>datetime(:start_timestamp,'unixepoch')) or (start_time=end_time and start_time<=datetime(:end_timestamp,'unixepoch') and end_time>=datetime(:start_timestamp,'unixepoch'))) and ((maxx>=:minx and minx<=:maxx) or (maxx>180 and (maxx-360.0)>=:minx and (minx-360.0)<=:maxx)) and maxy>=:miny and miny<=:maxy order by end_time desc limit 20) order by interval asc</validate_query>
</dimension>
</dimensions>
</tileset>
<tileset name="Emergency__FALSE_COLOR">
<metadata>
<title>Emergency False Color</title>
<abstract>Emergency False Color</abstract>
</metadata>
<source>emg_false_color</source>
<cache>emg</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/emg_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<datetime(:end_timestamp,'unixepoch') and (end_time>datetime(:start_timestamp,'unixepoch')) or (start_time=end_time and start_time<=datetime(:end_timestamp,'unixepoch') and end_time>=datetime(:start_timestamp,'unixepoch'))) and ((maxx>=:minx and minx<=:maxx) or (maxx>180 and (maxx-360.0)>=:minx and (minx-360.0)<=:maxx)) and maxy>=:miny and miny<=:maxy order by end_time desc limit 20) order by interval asc</validate_query>
</dimension>
</dimensions>
</tileset>
<tileset name="Emergency__NDVI">
<metadata>
<title>Emergency NDVI</title>
<abstract>Emergency NDVI</abstract>
</metadata>
<source>emg_ndvi</source>
<cache>emg</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/emg_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<datetime(:end_timestamp,'unixepoch') and (end_time>datetime(:start_timestamp,'unixepoch')) or (start_time=end_time and start_time<=datetime(:end_timestamp,'unixepoch') and end_time>=datetime(:start_timestamp,'unixepoch'))) and ((maxx>=:minx and minx<=:maxx) or (maxx>180 and (maxx-360.0)>=:minx and (minx-360.0)<=:maxx)) and maxy>=:miny and miny<=:maxy order by end_time desc limit 20) order by interval asc</validate_query>
</dimension>
</dimensions>
</tileset>
</mapcache>