<html><body>Hello,<div>I would very mutch appreciate your help. I have 
configuritaion yml which i use for making compact cachces acording to my
 grid which is in EPSG:5514 but now i just need to switch from 5514 to 
4326.</div><div>But it doesnt work. Cache is empty or process ends with error (mapnik sends empty streams or invalid bbox and so on).</div><div><br></div><div>Here is my config what am i doing wrong ?? </div><div><br></div><div><p><span style="font-size:10pt;font-family:'Lucida Console'">layers:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  - name: zpm</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    title: zpm</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    sources: [zpm_1k]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'"> </span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">caches:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  zpm_1k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    grids: [cuzk]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    sources: [mapnik_1k]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    cache:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      type: compact</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      version: 2</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  zpm_2k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    grids: [cuzk]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    sources: [mapnik_2k]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    cache:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      type: compact</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      version: 2</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  zpm_4k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    grids: [cuzk]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    sources: [mapnik_4k]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    cache:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      type: compact</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      version: 2</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  zpm_8k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    grids: [cuzk]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    sources: [mapnik_8k]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    cache:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      type: compact</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      version: 2</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  zpm_16k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    grids: [cuzk]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    sources: [mapnik_16k]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    cache:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      type: compact</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      version: 2</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  zpm_32k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    grids: [cuzk]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    sources: [mapnik_32k]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    cache:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      type: compact</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      version: 2</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  zpm_64k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    grids: [cuzk]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    sources: [mapnik_64k]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    cache:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      type: compact</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      version: 2</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  zpm_128k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    grids: [cuzk]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    sources: [mapnik_128k]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    cache:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      type: compact</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      version: 2</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  zpm_256k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    grids: [cuzk]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    sources: [mapnik_256k]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    cache:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      type: compact</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      version: 2</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  zpm_512k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    grids: [wgs]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    sources: [mapnik_512k]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    cache:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      type: compact</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      version: 2</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  zpm_1024k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    grids: [wgs]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    sources: [mapnik_1024k]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    cache:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      type: compact</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      version: 2</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  zpm_2048k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    grids: [wgs]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    sources: [mapnik_2048k]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    cache:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      type: compact</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">      version: 2</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'"> </span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">sources:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  mapnik_1k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    type: mapnik</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    mapfile: '/home/mapnik/mapnik_styles/mapnik_1tis_style.xml'</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    scale_factor: 1.75</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  mapnik_2k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    type: mapnik</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    mapfile: '/home/mapnik/mapnik_styles/mapnik_2tis_style.xml'</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    scale_factor: 1.75</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  mapnik_4k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    type: mapnik</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    mapfile: '/home/mapnik/mapnik_styles/mapnik_4tis_style.xml'</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    scale_factor: 1.75</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  mapnik_8k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    type: mapnik</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    mapfile: '/home/mapnik/mapnik_styles/mapnik_8tis_style.xml'</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    scale_factor: 1.75</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  mapnik_16k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    type: mapnik</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    mapfile: '/home/mapnik/mapnik_styles/mapnik_16tis_style.xml'</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    scale_factor: 1.75</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  mapnik_32k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    type: mapnik</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    mapfile: '/home/mapnik/mapnik_styles/mapnik_32tis_style.xml'</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    scale_factor: 1.75</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  mapnik_64k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    type: mapnik</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    mapfile: '/home/mapnik/mapnik_styles/mapnik_64tis_style.xml'</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    scale_factor: 1.6</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  mapnik_128k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    type: mapnik</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    mapfile: '/home/mapnik/mapnik_styles/mapnik_128tis_style.xml'</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    scale_factor: 1.6</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  mapnik_256k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    type: mapnik</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    mapfile: '/home/mapnik/mapnik_styles/mapnik_256tis_style.xml'</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    scale_factor: 1.6</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  mapnik_512k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    type: mapnik</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    mapfile: '/home/mapnik/mapnik_styles/mapnik_512tis_style.xml'</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    scale_factor: 1.5</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  mapnik_1024k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    type: mapnik</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    mapfile: '/home/mapnik/mapnik_styles/mapnik_1024tis_style.xml'</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    scale_factor: 1.5</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  mapnik_2048k:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    type: mapnik</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    mapfile: '/home/mapnik/mapnik_styles/mapnik_2048tis_style.xml'</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    scale_factor: 1.5</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'"> </span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">grids:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  cuzk:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    srs: 'EPSG:5514'</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    origin: nw</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    res: [512, 256, 128, 64, 32, 16, 8, 4, 2, 1, 0.5, 0.25]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    bbox: [-33699800, -33699800, 33699800, 33699800]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  wgs84:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    srs: 'EPSG:4326'</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    origin: sw</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    res: [512, 256, 128, 64, 32, 16, 8, 4, 2, 1, 0.5, 0.25]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    bbox: [-33699800, -33699800, 33699800, 33699800]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    bbox_res: 'EPSG:5514'</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">   </span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">globals:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  cache:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    base_dir: '/home/mapnik/storage/mapproxy/cache'</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    meta_size: [32,32]</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    meta_buffer: 512</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">  image:</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    paletted: false</span></p><p><span style="font-size:10pt;font-family:'Lucida Console'">    resampling_method: bilinear</span></p></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Thank you for your assistance</div><div>Best regards</div>Ing. Jan Mareš<br><br>-- <br>Hezký den,<br><br>S pozdravem<br>Ing. Jan Mareš<br></body></html>