[MapProxy] Seeding problem with basemap.at

Oliver Tonnhofer olt at omniscale.de
Wed May 13 02:03:31 PDT 2015


Hi,

check out the on_error option: http://mapproxy.org/docs/nightly/sources.html#on-error
 
Regards,
Oliver

-- 
Oliver Tonnhofer  | Omniscale GmbH & Co KG  | http://omniscale.com
OpenStreetMap WMS and tile services         | http://maps.omniscale.com




> On 06.05.2015, at 10:03, gdis at arcor.de wrote:
> 
> Hi,
> 
> I've tried to create a Cache for basemap.at.
> http://www.basemap.at/wmts/1.0.0/WMTSCapabilities.xml
> 
> In the MapProxy demo application it works well (also in the application where the WMTS is integrated).
> 
> But I am not able to get the seeding process working.
> 
> My mapproxy.yaml file:
> 
> layers:
>  - name: basemap_layer
>    title: Basemap
>    sources: [basemap_cache]
> 
> caches:
>  basemap_cache:
>    format: image/jpeg
>    request_format: image/jpeg
>    grids: [webmercator]
>    sources: [basemap_wmts]
>    meta_size: [1,1]
>    meta_buffer: 0
>    cache:
>      type: sqlite
>      directory: D:\MapCache\cache_data\basemap
> 
> sources:
>  basemap_wmts:
>    type: tile
>    url: http://maps.wien.gv.at/basemap/bmaphidpi/normal/google3857/%(z)s/%(y)s/%(x)s.jpeg
>    transparent: false
>    grid: webmercator
>    coverage:
>      bbox: [977650, 5838030, 1913530, 6281290]
>      srs: 'EPSG:3857'
> 
> grids:
>  webmercator:
>    base: GLOBAL_WEBMERCATOR
>    origin: 'nw'
> 
> 
> My seed.yaml:
> seeds:
>  basemap:
>    caches: [basemap_cache2]
>    grids: [webmercator2]
>    coverages: [austria]
>    levels:
>      from: 13
>      to: 13
>    refresh_before: 
>      weeks: 4
> 
> coverages:
>  austria:
>    bbox: [977650.00, 5838030.00, 1913530.00, 6281290.00]
>    bbox_srs: 'EPSG:3857'
> 
> Every time i try to run the seeding process i get an 404 error because the row and col values seem to be wrong. I have no idea how to get the seeding done.
> As far as i understand the GLOBAL_WEBMERCATOR covers the whole world so I want to limit the seeding to austria.
> 
> Any help is appreciated.
> 
> 
> Regards
> Hendrik
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy



More information about the MapProxy mailing list