[MapProxy] seed only a section from wmts server
Dwayne Dibbley
dwayne.dibbley at gmail.com
Thu May 20 04:54:00 PDT 2021
Thanks for that Matt,
how ever I now seem to have messed up the config when trying to add the
grids res calculated from the tilematrix like this:
grids:
nls_grid:
origin: nw
srs: 'EPSG:3857'
bbox: [-7.793077, 49.852539, 1.790425, 60.894042]
bbox_srs: EPSG:4326
res: [
# res level scale @90.7 DPI
78271.5169640208, # 0 279541132.01436001
39135.7584820104, # 1 139770566.00718001
19567.8792410052, # 2 69885283.00359000
9783.9396205026, # 3 34942641.50179500
4891.9698102512, # 4 17471320.75089700
2445.9849051256, # 5 8735660.37544870
1222.9924525628, # 6 4367830.18772440
611.4962262814, # 7 2183915.09386220
305.7481131407, # 8 1091957.54693110
152.8740565704, # 9 545978.77346554
76.4370282852, # 10 272989.38673277
38.2185141426, # 11 136494.69336639
19.1092570713, # 12 68247.34668319
9.5546285356, # 13 34123.67334160
4.7773142678, # 14 17061.83667080
2.3886571339, # 15 8530.91833540
1.1943285670, # 16 4265.45916770
0.5971642835, # 17 2132.72958385
]
But now when I launch the demo wms it reports could not get any sources, I
added a tms service and that returns nls_grid not compatible with TMS
Thanks
On Wed, 19 May 2021 at 20:22, Matt Walker <walkermatt at longwayaround.org.uk>
wrote:
> Hi,
>
> The docs cover seeding only a given area by defining a coverage:
> https://mapproxy.org/docs/nightly/seed.html#coverages
>
> Kind regards,
>
> Matt.
>
> On Wed, 19 May 2021, 12:02 Dwayne Dibbley, <dwayne.dibbley at gmail.com>
> wrote:
>
>> I have a config to pull from this wtms server:
>>
>>
>> https://wmts.maptiler.com/aHR0cHM6Ly9ubHMudGlsZXNlcnZlci5jb20vZnBzVVpieHRndGtuL2luZGV4Lmpzb24/wmts
>>
>> here the config:
>>
>> services:
>> demo:
>> wms:
>> md:
>> title: OS 10k 1888
>> layers:
>> - name: osgb10k1888
>> title: OS 10k 1888
>> sources: [osgb10k1888_cache]
>> caches:
>> osgb10k1888_cache:
>> sources: [osgb10k1888_wmts]
>> grids: [nls_grid]
>> sources:
>> osgb10k1888_wmts:
>> type: tile
>> grid: nls_grid
>> url: https://nls-0.tileserver.com/fpsUZbxtgtkn/%(z)s/%(x)s/%(y)s.jpg
>> grids:
>> nls_grid:
>> origin: nw
>> srs: 'EPSG:4326'
>> bbox: [-7.793077, 49.852539, 1.790425, 60.894042]
>> bbox_srs: EPSG:4326
>>
>> How would I go about only seeding a small area instead of the complete
>> area?
>>
>> Many Thanks
>> _______________________________________________
>> MapProxy mailing list
>> MapProxy at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/mapproxy
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20210520/4e7c55f5/attachment.html>
More information about the MapProxy
mailing list