<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi list <br>I am trying to create a WMS service based on a WMTS service and just cant seem to get it to work.<br>After seeding the WMTS service I can see that all the images in the cache a white or in the completely wrong order.<br>I should this is something to do with the grids I am using but can't seen to figure it out. Here is my set up .. any help / advice / hints or tips are welcome<br><br>services:<br> demo:<br> tms:<br> wms:<br> srs: ['EPSG:4326','EPSG:25832']<br> image_formats: ['image/png','image/jpeg']<br> <br> <br>layers:<br> - name: DK_Ortofoto<br> title: Ortofoto<br> sources: [Ortofoto_Cache]<br><br>caches:<br> Ortofoto_Cache:<br> grids: [utm32n]<br> meta_size: [4,4]<br> sources: [Ortofoto_WMTS_Cache]<br> Ortofoto_WMTS_Cache:<br> grids: [DK_Grid_WMTS]<br> #disable_storage: true<br> meta_size: [4,4]<br> sources: [Ortofoto_WMTS]<br> <br>sources:<br> Ortofoto_WMTS:<br> #only to LO9<br> type: tile<br> url: http://kortforsyningen.kms.dk/orto_foraar?SERVICE=WMTS&LOGIN=name&PASSWORD=password&layer=orto_foraar&REQUEST=GetTile&VERSION=1.0.0&STYLE=default&TILEMATRIXSET=View1&TILEMATRIX=L0%(z)s&TILEROW=%(y)s&TILECOL=%(x)s&FORMAT=image%%2Fjpeg<br> grid: DK_Grid_WMTS<br>grids:<br> utm32n:<br> srs: 'EPSG:25832'<br> bbox: [7.9,54.3,13.2,57.8]<br> bbox_srs: 'EPSG:4326'<br> origin: 'nw'<br> DK_Grid:<br> srs: 'EPSG:25832'<br> bbox: [7.9,54.3,16.2,57.8]<br> bbox_srs: 'EPSG:4326'<br> #bbox: [7.9,54.3,13.2,57.8]<br> #bbox_srs: 'EPSG:4326'<br> DK_Grid_WMTS:<br> srs: 'EPSG:25832'<br> bbox: [7.9,54.3,16.2,57.8]<br> bbox_srs: 'EPSG:4326'<br> origin: "nw"<br><br>globals:<br> #next are some global configuration options for MapProxy. They mostly explain themselves, or can be looked-up in the MapProxy docs.<br> cache:<br> # where to store the cached images<br> base_dir: './cache_data'<br> # where to store lockfiles<br> lock_dir: './cache_data/lockfiles'<br> # image/transformation options<br> image:<br> resampling_method: bilinear<br> jpeg_quality: 90<br><br> <br>seeds:<br> Cache_DK1:<br> caches: [Ortofoto_Cache]<br> grids: [utm32n]<br> coverages: [DK_square]<br> levels:<br> from: 0<br> to: 5<br><br>coverages:<br> DK_square: <br> #srs:'EPSG:25832'<br> bbox: [7.9,54.3,13.2,57.8]<br> bbox_srs: 'EPSG:4326'<br> DK_Buffer300:<br> datasource: 'E:\ARTOGIS_Cache\DK.txt'<br> srs: 'EPSG:25832'<br> <br> </div></body>
</html>