[MapProxy] mapproxy and S3

James Sewell james.sewell at jirotech.com
Wed Feb 7 19:49:32 PST 2018


Hi all,

I am using Mapproxy 1.12.0a with a fully seeded tile cache stored on Amazon
S3. I'm running Mapproxy on EC2 instances which are using an IAM role.

I have a cache directive as follows:

caches:
 wm_cache:
    format: image/png
    request_format: image/png
    grids: [ "EPSG:3857" ]
    sources: []
    minimize_meta_requests: true
    cache:
      type: s3
      directory: TileCache3857/Carto/
      bucket_name: cache
      directory_layout: arcgis


I have a few questions:

1. How do I attach an on_error section (as seen in a source usually) to
this? I don't have a source, but if someone zooms in too far I'd like to
set the colour etc..

2. How do I switch IAM role - I'm using cross-account S3 so I can't assign
the correct role on instance start.

Thanks for the help,

James Sewell,
*Chief Architect*



Suite 112, Jones Bay Wharf, 26-32 Pirrama Road, Pyrmont NSW 2009
*P *(+61) 2 8099 9000 <(+61)%202%208099%209000>  *W* www.jirotech.com  *F *
(+61) 2 8099 9099 <(+61)%202%208099%209000>

-- 

------------------------------
The contents of this email are confidential and may be subject to legal or 
professional privilege and copyright. No representation is made that this 
email is free of viruses or other defects. If you have received this 
communication in error, you may not copy or distribute any part of it or 
otherwise disclose its contents to anyone. Please advise the sender of your 
incorrect receipt of this correspondence.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20180208/94a04dda/attachment.html>


More information about the MapProxy mailing list