[MapProxy] Folder Structure

Christoph Schettler cschettler at gmx.net
Tue May 2 07:12:11 PDT 2017


Hey guys,

i’ve implemented REST and KVP WMTS Service with mapproxy. All Layers use Mapnik as Rendering source. I have three Layers and three chaches. All Caches are File Caches with tms Layout. Using the Rest URL Template with ARcMap everything is fine. But when im using the KVP template in QGis it creates new Folders with names like 05 instead of 5 when using ArcMap. I don’t want to have two Folders with the same tiles in. Any suggestions how to solve my Problem?

Mapproxy Conf:

services:
  wmts:
    md:
      [...]
      fees: 'None'
    kvp: true
    restful: true
    restful_template: '/{Layer}/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.{Format}'
#end of services

sources:
  #start source
  mapnik_OldStyle:
    type: mapnik
    mapfile: D:\Mapnik\osm.xml
    transparent: true
    scale_factor: 2
  mapnik_openStreetsStyle:
    type: mapnik
    mapfile: D:\Rendering\mapnik\open-streets.xml
    transparent: true
    scale_factor: 2
  osm_Bright:
    type: mapnik
    mapfile: D:\Mapnik\OSMBrighttest.xml
    transparent: false
    scale_factor: 2
  #end source

caches:
  #osm_cache:
  #  grids: [webmercator]
  #  sources: [mapnik_Render]
  osm_oldStyle:
    grids: [webmercator]
    sources: [mapnik_OldStyle]
    cache:
      type: file
      directory_layout: tms
  osm_openStreetsStyle:
    grids: [webmercator]
    sources: [mapnik_openStreetsStyle]
    cache:
      type: file
      directory_layout: tms
  osm_BrightStyle:
    grids: [webmercator]
    sources: [osm_Bright]
    cache:
      type: file
      directory_layout: tms


layers:
  #start layers section
  - name: mapnik_OldStyle
    title: OSM old mapnik layer
    sources: [osm_oldStyle]

  - name: mapnik_openStreetsStyle
    title: OSM open streets mapnik layer
    sources: [osm_openStreetsStyle]

  - name: mapnik_osmBright
    title: OSM MapBox Bright Layer
    sources: [osm_BrightStyle]

  #end layer section

grids:
  #start grid
  webmercator:
    base: GLOBAL_WEBMERCATOR
  #end grid


Greetings

Christoph

Gesendet von Mail<https://go.microsoft.com/fwlink/?LinkId=550986> für Windows 10

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20170502/81ddd4f1/attachment.html>


More information about the MapProxy mailing list