<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      I no longer support Mapproxy but I would hate not to say this.<br>
      If you use a configuration like this for a cache-1, in particular
      a single "scale":<br>
      <pre wrap="">res: [76.43702784, 19.10925696, 4.77731424, 1.19432856, 0.29858214]
</pre>
      only the specified scales will be requested from any source-1
      feeding the cache.<br>
      If that cache-1 is used by a service-1, Mapproxy will compute the
      other scales.<br>
      Now if that service-1 is used for a source-2 (of Mapproxy calling
      itself)<br>
      feeding a fully-scaled cache-2 this time, you have done what you
      want.<br>
      Let it auto-populate or use idle time to seed it.<br>
      I have used partial caches and self-sourcing but not combined to
      that purpose.<br>
      <br>
      Cheers
      <br>
      <br>
      <table>
        <tbody>
          <tr>
            <td>André.</td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      On 2015-08-26 07:39, Märt Reose wrote :<br>
    </div>
    <blockquote
cite="mid:2841D7977834174EBD3BCC102C914FD568A6B600@EX-MB1.meie.politsei.ee"
      type="cite">
      <pre wrap="">Hey!

I had a similar task at hand. Which format are your aerials? If its wms, then sorry I cant help you, but if you have access to geotiff files, then you have hope.

Mine were geotiff so I decided to use mapserver to deliver the tiffs and mapproxy to cache the result.

As there were many tiffs I used gdaltindex to create a tileindex. Like: gdaltindex aerials.shp aerials/*.tif

Then created a map file with a layer definition like this:
LAYER
  NAME "aerials"
  STATUS ON
  TILEINDEX "/srv/gis/aerials/aerials.shp"
  TILEITEM "Location"
  TYPE RASTER
END


Longer documentation: <a class="moz-txt-link-freetext" href="http://mapserver.org/input/raster.html">http://mapserver.org/input/raster.html</a>
And map file: <a class="moz-txt-link-freetext" href="http://www.mapserver.org/mapfile/">http://www.mapserver.org/mapfile/</a>

It can look like a difficult task if you dont have experience in the field, but actually its quite easy.

Märt Reose

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:mapproxy-bounces@lists.osgeo.org">mapproxy-bounces@lists.osgeo.org</a> [<a class="moz-txt-link-freetext" href="mailto:mapproxy-bounces@lists.osgeo.org">mailto:mapproxy-bounces@lists.osgeo.org</a>] On Behalf Of Oliver Tonnhofer
Sent: Tuesday, August 25, 2015 2:48 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:dirk.thalheim@bkg.bund.de">dirk.thalheim@bkg.bund.de</a>
Cc: <a class="moz-txt-link-abbreviated" href="mailto:mapproxy@lists.osgeo.org">mapproxy@lists.osgeo.org</a>
Subject: Re: [MapProxy] Generate complete cache from one scale

Hi,


</pre>
      <blockquote type="cite">
        <pre wrap="">On 21.08.2015, at 11:38, <a class="moz-txt-link-abbreviated" href="mailto:dirk.thalheim@bkg.bund.de">dirk.thalheim@bkg.bund.de</a> wrote:

I have a source which provides raster data (aerial images) only for a single scale. Is it possible to configure mapproxy in that way, that a complete cache could be generated from that source?
 
In theory it would be enough to cache the source scale and after that recursively generate all lower scale caches by resizing the previous cache. My first approach would be to configure a recursive cache configuration. But this seems to me like a huge configuration and I’m not pretty sure how to combine the single caches in a single one for production. Or is there a simpler way?
</pre>
      </blockquote>
      <pre wrap="">

No, there is no easy way to handle this right now. But it would be a great feature for MapProxy. It would also help for services that only provide maps for higher scale, but not for low scales (overview). 

Regards,
Oliver

</pre>
    </blockquote>
    <br>
  </body>
</html>