<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">OK I have now gone for the keep it simple option, with this config:<div><br></div><div><div>services:</div><div> demo:</div><div> wms:</div><div> md:</div><div> title: OS 10k 1888</div><div> tms:</div><div>layers:</div><div> - name: osgb10k1888</div><div> title: OS 10k 1888</div><div> sources: [osgb10k1888_cache]</div><div>caches:</div><div> osgb10k1888_cache:</div><div> sources: [osgb10k1888_wmts]</div><div> grids: [GLOBAL_WEBMERCATOR]</div><div>sources:</div><div> osgb10k1888_wmts:</div><div> type: tile</div><div> grid: GLOBAL_WEBMERCATOR</div><div> url: <a href="https://nls-0.tileserver.com/fpsUZbxtgtkn/%(z)s/%(x)s/%(y)s.jpg">https://nls-0.tileserver.com/fpsUZbxtgtkn/%(z)s/%(x)s/%(y)s.jpg</a></div><div> bbox: [-658581.4357,6442112.7439,-333876.9395,6676315.7985]</div></div><div><br></div><div>when i fire up the demo tms server it has all the correct levels and resolutions:</div><div><br></div><div><table class="gmail-code" style="border:1px dotted black;background:rgb(238,238,236);padding:1em;color:rgb(46,52,54);font-family:Verdana,sans-serif"><tbody><tr><th style="padding-right:1.5em">Level</th><th style="padding-right:1.5em">Resolution</th></tr><tr><td>0</td><td>78271.51696402048</td></tr><tr><td>1</td><td>39135.75848201024</td></tr><tr><td>2</td><td>19567.87924100512</td></tr><tr><td>3</td><td>9783.93962050256</td></tr><tr><td>4</td><td>4891.96981025128</td></tr><tr><td>5</td><td>2445.98490512564</td></tr><tr><td>6</td><td>1222.99245256282</td></tr><tr><td>7</td><td>611.49622628141</td></tr><tr><td>8</td><td>305.748113140705</td></tr><tr><td>9</td><td>152.8740565703525</td></tr><tr><td>10</td><td>76.43702828517625</td></tr><tr><td>11</td><td>38.21851414258813</td></tr><tr><td>12</td><td>19.109257071294063</td></tr><tr><td>13</td><td>9.554628535647032</td></tr><tr><td>14</td><td>4.777314267823516</td></tr><tr><td>15</td><td>2.388657133911758</td></tr><tr><td>16</td><td>1.194328566955879</td></tr><tr><td>17</td><td>0.5971642834779395</td></tr><tr><td>18</td><td>0.29858214173896974<br></td></tr></tbody></table><br></div><div>but the image seems to have the corners mixed up like a Battenberg cake:</div><div><br></div><div><img src="cid:ii_koy9emaf0" alt="image.png" width="559" height="562"><br></div><div><br></div><div>Thanks</div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 20 May 2021 at 12:54, Dwayne Dibbley <<a href="mailto:dwayne.dibbley@gmail.com">dwayne.dibbley@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Thanks for that Matt,<div><br></div><div>how ever I now seem to have messed up the config when trying to add the grids res calculated from the tilematrix like this:</div><div><br></div><div><div><br></div><div>grids:</div><div> nls_grid:</div><div> origin: nw</div><div> srs: 'EPSG:3857'</div><div> bbox: [-7.793077, 49.852539, 1.790425, 60.894042]</div><div> bbox_srs: EPSG:4326</div><div> res: [</div><div> # res level scale @90.7 DPI</div><div> 78271.5169640208, # 0 279541132.01436001</div><div> 39135.7584820104, # 1 139770566.00718001</div><div> 19567.8792410052, # 2 69885283.00359000</div><div> 9783.9396205026, # 3 34942641.50179500</div><div> 4891.9698102512, # 4 17471320.75089700</div><div> 2445.9849051256, # 5 8735660.37544870</div><div> 1222.9924525628, # 6 4367830.18772440</div><div> 611.4962262814, # 7 2183915.09386220</div><div> 305.7481131407, # 8 1091957.54693110</div><div> 152.8740565704, # 9 545978.77346554</div><div> 76.4370282852, # 10 272989.38673277</div><div> 38.2185141426, # 11 136494.69336639</div><div> 19.1092570713, # 12 68247.34668319</div><div> 9.5546285356, # 13 34123.67334160</div><div> 4.7773142678, # 14 17061.83667080</div><div> 2.3886571339, # 15 8530.91833540</div><div> 1.1943285670, # 16 4265.45916770</div><div> 0.5971642835, # 17 2132.72958385</div><div> ]</div></div><div><br></div><div><br></div><div><br></div><div>But now when I launch the demo wms it reports could not get any sources, I added a tms service and that returns <span style="background-color:rgb(238,238,236);color:rgb(46,52,54);font-family:Verdana,sans-serif">nls_grid not compatible with TMS </span></div><div><span style="background-color:rgb(238,238,236);color:rgb(46,52,54);font-family:Verdana,sans-serif"><br></span></div><div>Thanks</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 19 May 2021 at 20:22, Matt Walker <<a href="mailto:walkermatt@longwayaround.org.uk" target="_blank">walkermatt@longwayaround.org.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">The docs cover seeding only a given area by defining a coverage: <a href="https://mapproxy.org/docs/nightly/seed.html#coverages" target="_blank">https://mapproxy.org/docs/nightly/seed.html#coverages</a></div><div dir="auto"><br></div><div dir="auto">Kind regards,</div><div dir="auto"><br></div><div dir="auto">Matt.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 19 May 2021, 12:02 Dwayne Dibbley, <<a href="mailto:dwayne.dibbley@gmail.com" target="_blank">dwayne.dibbley@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">I have a config to pull from this wtms server:<div><br></div><div><a href="https://wmts.maptiler.com/aHR0cHM6Ly9ubHMudGlsZXNlcnZlci5jb20vZnBzVVpieHRndGtuL2luZGV4Lmpzb24/wmts" rel="noreferrer" target="_blank">https://wmts.maptiler.com/aHR0cHM6Ly9ubHMudGlsZXNlcnZlci5jb20vZnBzVVpieHRndGtuL2luZGV4Lmpzb24/wmts</a><br></div><div><br></div><div>here the config:</div><div><br></div><div><div>services:</div><div> demo:</div><div> wms:</div><div> md:</div><div> title: OS 10k 1888</div><div>layers:</div><div> - name: osgb10k1888</div><div> title: OS 10k 1888</div><div> sources: [osgb10k1888_cache]</div><div>caches:</div><div> osgb10k1888_cache:</div><div> sources: [osgb10k1888_wmts]</div><div><span style="white-space:pre-wrap"> </span>grids: [nls_grid]</div><div>sources:</div><div> osgb10k1888_wmts:</div><div> type: tile</div><div><span style="white-space:pre-wrap"> </span>grid: nls_grid</div><div> url: <a href="https://nls-0.tileserver.com/fpsUZbxtgtkn/%(z)s/%(x)s/%(y)s.jpg" rel="noreferrer" target="_blank">https://nls-0.tileserver.com/fpsUZbxtgtkn/%(z)s/%(x)s/%(y)s.jpg</a></div><div>grids:</div><div> nls_grid:</div><div> origin: nw</div><div><span style="white-space:pre-wrap"> </span>srs: 'EPSG:4326'</div><div> bbox: [-7.793077, 49.852539, 1.790425, 60.894042]</div><div><span style="white-space:pre-wrap"> </span>bbox_srs: EPSG:4326 </div></div><div><br></div><div>How would I go about only seeding a small area instead of the complete area?</div><div><br></div><div>Many Thanks<br></div></div></div></div>
_______________________________________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org" rel="noreferrer" target="_blank">MapProxy@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapproxy" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapproxy</a><br>
</blockquote></div>
</blockquote></div>
</blockquote></div>