[mapserver-users] Mapcache
TDS
tds at tds-net.de
Wed Jan 29 00:07:33 PST 2014
Hello,
I have some problems with MapCache projections and grids. First my XML:
<?xml version="1.0" encoding="UTF-8"?>
<mapcache>
[...]
<grid name="EPSG25831">
<metadata>
<title>ETRS89 / UTM zone 31N</title>
</metadata>
<title>OSM Tile Cache Service</title>
<srs>EPSG:25831</srs>
<extent>238379.2278 4265559.3497 761620.7722
6914547.3835</extent>
<size>256 256</size>
<units>m</units>
<resolutions>
2183915.093862179 1091957.546931089 545978.7734655447 272989.3867327723
136494.6933663862 68247.34668319309
34123.67334159654 17061.83667079827 8530.918335399136 4265.459167699568
2132.729583849784 1066.364791924892
</resolutions>
</grid>
<grid name="EPSG25832">
<metadata>
<title>ETRS89 / UTM zone 32N</title>
</metadata>
<title>OSM Tile Cache Service</title>
<srs>EPSG:25832</srs>
<extent>265948.8191 6421521.2254 677786.3629
7288831.7014</extent>
<size>256 256</size>
<units>m</units>
<resolutions>
2183915.093862179 1091957.546931089 545978.7734655447 272989.3867327723
136494.6933663862 68247.34668319309
34123.67334159654 17061.83667079827 8530.918335399136 4265.459167699568
2132.729583849784 1066.364791924892
</resolutions>
</grid>
<grid name="EPSG25833">
<metadata>
<title>ETRS89 / UTM zone 33N</title>
</metadata>
<title>OSM Tile Cache Service</title>
<srs>EPSG:25833</srs>
<extent>227879.8880 3932632.6543 1044484.3835
8893131.0281</extent>
<size>256 256</size>
<units>m</units>
<resolutions>
2183915.093862179 1091957.546931089 545978.7734655447 272989.3867327723
136494.6933663862 68247.34668319309
34123.67334159654 17061.83667079827 8530.918335399136 4265.459167699568
2132.729583849784 1066.364791924892
</resolutions>
</grid>
<grid name="EPSG31466">
<metadata>
<title>DHDN / 3-degree Gauss-Kruger zone 2</title>
</metadata>
<title>OSM Tile Cache Service</title>
<srs>EPSG:31466</srs>
<extent>2490547.1867 5440321.7879 2609576.6008
5958700.0208</extent>
<size>256 256</size>
<units>m</units>
<resolutions>
2183915.093862179 1091957.546931089 545978.7734655447 272989.3867327723
136494.6933663862 68247.34668319309
34123.67334159654 17061.83667079827 8530.918335399136 4265.459167699568
2132.729583849784 1066.364791924892
</resolutions>
</grid>
<grid name="EPSG31467">
<metadata>
<title>DHDN / 3-degree Gauss-Kruger zone 3</title>
</metadata>
<title>OSM Tile Cache Service</title>
<srs>EPSG:31467</srs>
<extent>3386564.9400 5237917.9109 3613579.2251
6104500.7393</extent>
<size>256 256</size>
<units>m</units>
<resolutions>
2183915.093862179 1091957.546931089 545978.7734655447 272989.3867327723
136494.6933663862 68247.34668319309
34123.67334159654 17061.83667079827 8530.918335399136 4265.459167699568
2132.729583849784 1066.364791924892
</resolutions>
</grid>
<grid name="EPSG31468">
<metadata>
<title>DHDN / 3-degree Gauss-Kruger zone 4</title>
</metadata>
<title>OSM Tile Cache Service</title>
<srs>EPSG:31468</srs>
<extent>4386596.4101 5237914.5325 4613610.5843
6104496.9694</extent>
<size>256 256</size>
<units>m</units>
<resolutions>
2183915.093862179 1091957.546931089 545978.7734655447 272989.3867327723
136494.6933663862 68247.34668319309
34123.67334159654 17061.83667079827 8530.918335399136 4265.459167699568
2132.729583849784 1066.364791924892
</resolutions>
</grid>
<grid name="EPSG31469">
<metadata>
<title>DHDN / 3-degree Gauss-Kruger zone 5</title>
</metadata>
<title>OSM Tile Cache Service</title>
<srs>EPSG:31469</srs>
<extent>5386627.6162 5237909.9506 5613641.6401
6104491.8566</extent>
<size>256 256</size>
<units>m</units>
<resolutions>
2183915.093862179 1091957.546931089 545978.7734655447 272989.3867327723
136494.6933663862 68247.34668319309
34123.67334159654 17061.83667079827 8530.918335399136 4265.459167699568
2132.729583849784 1066.364791924892
</resolutions>
</grid>
[...]
</mapcache>
Resolutions for "g" are: 156543.0339280410 78271.51696402048
39135.75848201023 19567.87924100512 9783.939620502561 4891.969810251280
2445.984905125640 1222.992452562820 611.4962262814100 305.7481131407048
152.8740565703525 76.43702828517624 38.21851414258813 19.10925707129406
9.554628535647032 4.777314267823516 2.388657133911758 1.194328566955879
0.5971642834779395
So what are the resolutions for other grids? Mine aren't working (maybe
of combination resolutions and extents?) :-(
--
Bye, Mathias
------------------------------------------------------------------------
mailto:tds at tds-net.de
------------------------------------------------------------------------
1+1=10
You have a question? - 42 or RTFM.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140129/09260698/attachment.htm>
More information about the MapServer-users
mailing list