[MapProxy] WMTS Format problem

Zantz, Patrick (Softec) Patrick.Zantz at softec.ch
Wed Sep 28 23:52:53 PDT 2016


Good Morning and thanks to Oliver,


now my seed seems to download some tiles:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
========== Seeding tasks ==========
Start seeding process (1 task)
  cache_foto:
    Seeding cache 'cache_foto' with grid 'grd_2056_foto' in EPSG:21781
    Limited to coverage in: 7.43049, 47.05554, 8.65223, 47.38617 (EPSG:4326)
    Levels: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
    Overwriting: no tiles
...
[08:29:01] 10   0.00% 599927.86062, 247828.95555, 600198.79449, 248370.82330 (1360 tiles) ETA: 2016-
09-30-19:25:57
[08:29:01] 10   0.00% 599385.99287, 247558.02168, 599927.86062, 247828.95555 (2048 tiles) ETA: 2016-
09-30-19:25:57
...
[08:29:03] 10   0.01% 599385.99287, 247016.15393, 599927.86062, 247287.08780 (6240 tiles) ETA: 2016-
09-30-19:25:58
[08:29:03] 10   0.01% 599927.86062, 247016.15393, 600198.79449, 247287.08780 (6928 tiles) ETA: 2016-
09-30-19:25:58
...
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

But i don't see any files in my destination path except the "tile_locks" directory.
Could you check my cache config please?

  cache_foto:
    cache:
      type: file
      directory: 'D:\MapProxy\CacheData\cache_lu_foto_EPSG2056'
    grids: [grd_2056_foto]
    sources: [foto]
    format: 'image/png'
    image:
      resampling_method: bicubic



regards,
Patrick


-----Ursprüngliche Nachricht-----
Von: Oliver Tonnhofer [mailto:olt at omniscale.de] 
Gesendet: Mittwoch, 28. September 2016 16:09
An: Zantz, Patrick (Softec) <Patrick.Zantz at softec.ch>
Cc: mapproxy at lists.osgeo.org
Betreff: Re: [MapProxy] WMTS Format problem

Hi,

you need to use the `arcgis` type. Here is an example configuration:


services:
  demo:
  wms:
    srs: ['EPSG:21781']

layers:
  - name: foto
    title: foto
    sources: [foto]

sources:
  foto:
    type: arcgis
    req:
      url: http://svc.geodienst.ch/agssec/rest/services/basis/basis_hybrid/MapServer
      layers: '0'
    coverage:
      bbox: [630127.4820000008, 180568.55000000075, 681763.6739999987, 237690.72300000116]
      srs: 'EPSG:21781'



Regards,
Oliver

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




> On 22.09.2016, at 16:14, Zantz, Patrick (Softec) <Patrick.Zantz at softec.ch> wrote:
> 
> Hi,
> 
> sorry for insufficient informations. I am new with GIS-Systems and tile services.
> Give me a try and maybe you could help me with this Problem.
> 
> We've got a MapProxy as a Caching Server and we can not access the sources from an ArcGis 10.22 Server
> Source: https://svc.geodienst.ch/agssec/rest/services/basis/basis_hybrid/MapServer 
> 
> The documentation has too little content: https://mapproxy.org/docs/nightly/sources.html#arcgis-label 
> So what does this term mean for example? "ArcGIS specific parameters to req, for example to set the interpolation method for ImageServers".
> 
> Maybe the vector layer kt_outline could be a problem https://svc.geodienst.ch/agssec/rest/services/basis/basis_hybrid/MapServer/0  
> https://svc.geodienst.ch/agssec/rest/services/basis/basis_hybrid/MapServer 
> 
> grids:
>  mygrid:
>    srs: EPSG:21781
>    res: [92.60435187537043, 52.91677250021167, 26.458386250105836, 13.229193125052918, 6.614596562526459, 4.6302175937685215, 2.6458386250105836, 1.3229193125052918, 0.7937515875031751, 0.5291677250021167, 0.26458386250105836, 0.13229193125052918, 0.06614596562526459]
> 944.9423661, 472.471183, 236.2355915]
>    bbox: [630127.4820000008, 180568.55000000075, 681763.6739999987, 237690.72300000116]
>    bbox_srs: EPSG:21781
>    origin: nw
>    stretch_factor: 1.0
> 
> sources:
>  foto:
>    type: tile
>    grid: mygrid
>    url: http://svc.geodienst.ch/agssec/rest/services/basis/basis_hybrid/MapServer/WMTS?
>    #url: https://svc.geodienst.ch/agssec/rest/services/basis/basis_hybrid/MapServer/WMTS/tile/1.0.0/basis_basis_hybrid/default/default028mm/%(z)s/%(y)s/%(x)s.jpg
> #url: http://svc.geodienst.ch/agssec/rest/services/basis/basis_hybrid/MapServer/tile/%(z)s/%(y)s/%(x)s 
>    http:
>      ssl_no_cert_checks: True
>    #coverage:
>     # bbox: [599385.9928683914, 212316.89429626026, 691645.4219197234, 248370.82330445695]
> 
> 
> 
> regards, 
> Patrick Z.
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy
> 
> -----Ursprüngliche Nachricht-----
> Von: Oliver Tonnhofer [mailto:olt at omniscale.de] 
> Gesendet: Donnerstag, 22. September 2016 14:08
> An: Zantz, Patrick (Softec) <Patrick.Zantz at softec.ch>
> Cc: mapproxy at lists.osgeo.org
> Betreff: Re: [MapProxy] WMTS Format problem
> 
> Hi,
> 
> you need to provide more information to get an helpful answer.
> Please read http://mapproxy.org/support.html#how-to-ask-for-help
> 
> Regards,
> Oliver
> 
> -- 
> Oliver Tonnhofer  | Omniscale GmbH & Co KG  | http://omniscale.com
> OpenStreetMap WMS and tile services         | http://maps.omniscale.com
> 
> 
> 
> 
>> On 13.09.2016, at 13:46, Zantz, Patrick (Softec) <Patrick.Zantz at softec.ch> wrote:
>> 
>> Hello,
>> 
>> i have a problem with my mapproxy and found this mailinglist.
>> So to get some tiles i use this structure:
>> https://svc.geodienst.ch/agssec/rest/services/basis/basis_ortho/MapServer/WMTS/tile/1.0.0/basis_basis_ortho/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg
>> You can see the first tile here https://svc.geodienst.ch/agssec/rest/services/basis/basis_ortho/MapServer/WMTS/tile/1.0.0/basis_basis_ortho/default/default028mm/1/2257/2215.jpg
>> 
>> So why my mapproxy seed starts here?: https://svc.geodienst.ch/agssec/rest/services/basis/basis_ortho/MapServer/WMTS/tile/1.0.0/basis_basis_ortho/default/default028mm/12/0/0.jpg
>> 
>> Maybe someone can tell me in which way i have to force my mapproxy to GET the right tiles.
>> 
>> 
>> 
>> Kind regards, Patrick Z.
>> _______________________________________________
>> MapProxy mailing list
>> MapProxy at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapproxy
> 
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy


More information about the MapProxy mailing list