[MapProxy] Oversampling existing caches / tms services

Travis Kirstine traviskirstine at gmail.com
Fri Mar 1 14:34:56 PST 2013


I'm try to over sample images from a tms and having issues.  The tms is
only cached to zoom level 20 and I would like to serve it out to level 21.
It appears that mapproxy fails to properly stitch together the images and
the same image is displayed multiple times, see here:
http://www.firstbasesolutions.com/images/mapproxy_oversample.jpg


layers:
  - name: 1237YORK
    title: York Region 2012
    sources: [1237YORK_cache]

caches:
  1237YORK_cache:
    grids: [spherical_mercator] # output cache
    sources: [1237YORK_tms]
    meta_buffer: 0
    meta_size: [1,1]
    format: my_format
    disable_storage: true

sources:
  1237YORK_tms:
    type: tile
    url:
http://localhost:8080/mapcache_wmts/tms/1.0.0/1237YORK_mapcache@gmaps/%(tms_path)s.xxx
    grid: spherical_mercator_20

grids:
  spherical_mercator:
    srs: 'EPSG:3857'
    res_factor: 2
    num_levels: 22 # 0-21
    bbox: [-20037508, -20037508, 20037508, 20037508]
    bbox_srs: 'EPSG:3857'
    tile_size: [256,256]
    origin: sw

  spherical_mercator_20:
    srs: 'EPSG:3857'
    res_factor: 2
    num_levels: 21 # 0-20
    bbox: [-20037508, -20037508, 20037508, 20037508]
    bbox_srs: 'EPSG:3857'
    tile_size: [256,256]
    origin: sw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20130301/e249bc65/attachment.html>


More information about the MapProxy mailing list