

In the example below, we configure mapproxy-seed to seed our previously createdĬache test_wms_cache from level 6 to level 16. If you want to seed onlyĪ limited area, you can use the coverages option. They must also comply with the caches in your MapProxy configuration.įurthermore you can limit the levels that should be seeded. Multiple grids for one cache in your MapProxy configuration, you can select theseĬaches to seed. Should match the names in your MapProxy configuration. You can specify a list of caches for seeding with caches. Here you can create multiple seeding tasks that define what should be seeded. We now create a config file for mapproxy-seed.Īs all MapProxy configuration files it’s notated in YAML. Fortunately MapProxy comes with a command line script for pre-generatingĪll required tiles called mapproxy-seed. That means, only tiles requested once areĬached. Look at the configurationĮxamples for vector data for more information. Like OpenLayers which only request in these resolutions.

#Mapproxy slack free#
Use this layer not only in classic WMS clients with free zomming, but also in tile-based clients The number of cached resolutions, so you have 40 instead of 20 available resolutions.Įvery second resolution is identical to the power-of-two resolutions, so you can Just change res with res_factor and add yourĪ magical value of res_factor is sqrt2, the square root of two. The default value of this factor is 2, but you can Instead of defining fixed resolutions, we can also define a factor that is used To convert between scales and resolutions. The resolutions are always in the unit of the SRS, in Grids : res_grid : base : GLOBAL_GEODETIC res : Īs you see, we used base to inherit from GLOBAL_GEODETIC and res to define So our configuration file should look like: That lists all configured WMS and TMS layers. And remember, YAML does notĪccept tab characters, you must use space.įor this tutorial we add another service called demo. Just indent every line the same way as the first. org / licenses / by - sa / 2.0 / ) fees : 'None'Īccess_constraints demonstrates how you can write a string over multiple lines, The data is licensed as Creative Commons Attribution - Share Alike 2.0 ( http : // creativecommons. Layers can be made transparent, projections can be changed, multiple map layers can be transformed into one, watermarks can be added, and more.

de access_constraints : This service is intended for private and evaluation use only. MapProxy speeds up mapping applications by pre-rendering and integrating maps from multiple sources and storing in a local cache. org / contact : person : Your Name Here position : Technical Director organization : address : Fakestreet 123 city : Somewhere postcode : 12345 country : Germany phone : + 49 ( 0 ) 000 - 000000 - 0 fax : + 49 ( 0 ) 000 - 000000 - 0 email : info. Services : wms : md : title : MapProxy WMS Proxy abstract : This is the fantastic MapProxy.
