﻿<?xml version="1.0" encoding="utf-8" ?>
<aqx version="8">

	<import-ogc-wkt-def code="EPSG:2180L"><![CDATA[PROJCS["ETRS89 / Poland CS92",GEOGCS["ETRS89",DATUM["European_Terrestrial_Reference_System_1989",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],AUTHORITY["EPSG","6258"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4258"]],UNIT["metre",1,AUTHORITY["EPSG","9001"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",19],PARAMETER["scale_factor",0.9993],PARAMETER["false_easting",500000],PARAMETER["false_northing",-5300000],AUTHORITY["EPSG","2180"],AXIS["y",EAST],AXIS["x",NORTH]]]]></import-ogc-wkt-def>

	<name>Geoportal TOPO (WMTS)</name>
	<description>® główny urząd geodezji i kartografii</description>

	<source id="TOPO">
		<name>TOPO</name>
		<outline>25.278056,48.323694 14.334110,48.488768 25.102111,55.054868 12.698644,54.864562</outline>
		<preview-location>18.831725,52.281389,13</preview-location>
		<zoom-levels z="0,1,2,3,4,5,6,7,8,9,10,11">
			<expression set="proj_scale"><![CDATA[valueAt(z,7559538.928571429,3779769.4642857146,1889884.7321428573,944942.3660714286,472471.1830357143,236235.59151785716,94494.23660714286,47247.11830357143,23623.559151785714,9449.423660714287,4724.711830357143,1889.8847321428573,944.9423660714286)]]></expression>
			<projection-code>EPSG:2180L</projection-code>
			<projection-scale-denominator>proj_scale</projection-scale-denominator>
			<projection-false-origin-x>100000.0</projection-false-origin-x>
			<projection-false-origin-y>850000.0</projection-false-origin-y>
			<tiles-size>512</tiles-size>
			<referer><![CDATA[http://mapy.geoportal.gov.pl/wss/service/WMTS/guest/wmts/TOPO]]></referer>
			<server><![CDATA[http://mapy.geoportal.gov.pl/wss/service/WMTS/guest/wmts/TOPO?Service=WMTS&Request=GetTile&Version=1.0.0&Layer=Mapa_Topo&Style=default&Format=image/png&TileMatrixSet=EPSG:2180&TileMatrix=EPSG:2180:{$z}&TileRow={$y}&TileCol={$x}]]></server>
		</zoom-levels>
	</source>

</aqx>
