[MapProxy] Tile Assembly 500 Error

Travis Kirstine traviskirstine at gmail.com
Thu Jun 12 13:08:58 PDT 2014


Hi all,


I'm using an existing TMS service as a Tile source and then creating a
layer from the assembled tiles.  The problem that I have is that mapproxy
will return a 500 error for a TMS request when a tile does not intersect
with my source TMS layers.  Is there a way to configure a error handler at
the layer or cache level to pass a blank tile instead of a 500 error?



layers:
  - name: Canada
      - name: ORTHO2013
        title: '2013'
        sources: [ORTHO2013]

# assemble tiles from multiple tlle sources
caches:
  ORTHO2013:
    grids: [spherical_mercator]
    sources: [1337DURH_tms, 1337ESSE_tms, 1337TORO_tms, 1337YORK_tms,
1337LAMBSAR_tms, 1337PEELBRA_tms, 1337PEELMIS_tms, 1337PEELCAL_tms]
    meta_buffer: 0
    meta_size: [1,1]
    format: image/png
    disable_storage: true


# example of a tile source
sources:
  1337DURH_tms:
    type: tile
    url: '
http://localhost/mapcache_fbstiles/tms/1.0.0/1337DURH@gmaps/%(tms_path)s.xxx
'
    grid: spherical_mercator
    transparent: true
    on_error:
      other:
        response: transparent
        cache: false
      404:
        response: transparent
        cache: false
    coverage:
      datasource:
'/home/caches/src/boundaries/web_mercator/1337DURH_boundary_epsg3857.shp'
      srs: EPSG:3857
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20140612/95f5f207/attachment.html>


More information about the MapProxy mailing list