<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Sorry for my late answer.<br>
      The problem is that some WMS aren't configured correctly. Some of
      them use e.g. EPSG:31466 or 67 or 68 for displaying whole germany.
      And that's false. My client restricts the extents to defaults but
      show whole map (MapServer is displaying right exceed limits).<br>
      So...<br>
      <br>
      a) Where can I calculate world extents for SRS which have smaller
      default extents like the one above (e.g. 31466 extents should
      expand to whole world)?<br>
      or<br>
      b) How can I get MapCache to act like MapServer and displaying
      tiles outside default extents?<br>
      <br>
      <div class="moz-signature">MfG M. Martin
        <hr>
        <font size="-1">
          <a class="moz-txt-link-freetext" href="mailto:tds@tds-net.de">mailto:tds@tds-net.de</a><br>
        </font>
        <hr>
        <font size="-1">
          1+1=10<br>
          You have a question? - 42 or RTFM.
        </font>
      </div>
      Am 29.01.2014 14:55, schrieb Thomas Bonfort:<br>
    </div>
    <blockquote cite="mid:52E9084D.2080703@gmail.com" type="cite">
      <pre wrap="">I'm sorry, I don't really understand your question... mapcache splits
the area given in your grid extent into square tiles of the given
resolutions, and asks the wms to render them. Areas outside the grid
extent will not be stored. Any "distortion" is not created by mapcache,
who is only requesting images to the wms with the extents/srs of each
individual tile.

--
thomas

On 29/01/2014 14:44, TDS wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hello,

e.g. the extents for 25XXX and 31XXX are restricted. Outside of this
area, even if it is a little piece of it, it is not drawn.
And the resolutions will make a distorted image (OpenLayers, QuantumGIS,
etc.). In real WMS from mapserv there is no problem if outside extents
or with zoom levels.

What I need is:
a) Draw grid with given SRS even it doesn't fit in area.
b) What are the resolutions for these SRS (maybe world wide)?

I've read that e.g. mapserv calculate resolutions itself, but mapcache
do. Where can i get or calculate these resolutions?

MfG M. Martin
------------------------------------------------------------------------
<a class="moz-txt-link-freetext" href="mailto:tds@tds-net.de">mailto:tds@tds-net.de</a>
------------------------------------------------------------------------
1+1=10
You have a question? - 42 or RTFM.
Am 29.01.2014 14:33, schrieb Thomas Bonfort:
</pre>
        <blockquote type="cite">
          <pre wrap="">Please be a bit more specific as to what "aren't working" means

-- 
thomas

On 29/01/2014 09:07, TDS wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">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?) :-(



_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>

</pre>
          </blockquote>
          <pre wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
        </blockquote>
        <pre wrap="">

</pre>
      </blockquote>
      <pre wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>