<div dir="ltr"><br>Setting:<br>We want to proxy and cache a 3rd party WMS service, mainly for use with an instance of a geoportal based on the Masterportal [1], code hosted on bitbucket [2]<br>Technically, it all works fine but I want to further improve the configuration, but am struggling to find the right settings for the grid to be used by the cache.<br><br>Since the masterportal will be the main application accessing the cache, I want to optimize the grid according to the requests (and zoom levels) produced in masterportal.<br><br>Masterportal is an open source geoportal based on openlayers and according to its documentation [3], the zoom levels are defined as following:<br><br><span style="font-family:monospace">#[{"resolution":66.14579761460263,"scale":250000,"zoomLevel":0}, <br># {"resolution":26.458319045841044,"scale":100000,"zoomLevel":1},<br># {"resolution":15.874991427504629,"scale":60000,"zoomLevel":2}, <br># {"resolution": 10.583327618336419,"scale":40000,"zoomLevel":3},<br># {"resolution":5.2916638091682096,"scale":20000,"zoomLevel":4},<br># {"resolution":2.6458319045841048,"scale":10000,"zoomLevel":5},<br># {"resolution":1.3229159522920524,"scale":5000,"zoomLevel":6},<br># {"resolution":0.6614579761460262,"scale":2500,"zoomLevel":7},<br># {"resolution":0.2645831904584105,"scale": 1000,"zoomLevel":8},<br># {"resolution":0.13229159522920521,"scale":500,"zoomLevel":9}]</span><br><br>How can I translate these to the equivalent resolutions to be used in my mapproxy configuration?<br><br>I suspect that masterportal and mapproxy use varying definitions of resolutions and scales. <br><div>The masterportal scales appear as "map scales" depending on the zoom level in the map.</div><br>Thanks in advance!<br><br>[1] <a href="https://www.masterportal.org">https://www.masterportal.org</a><br>[2] <a href="https://bitbucket.org/geowerkstatt-hamburg/masterportal/">https://bitbucket.org/geowerkstatt-hamburg/masterportal/</a><br>[3] <a href="https://bitbucket.org/geowerkstatt-hamburg/masterportal/src/dev/doc/config.json.md">https://bitbucket.org/geowerkstatt-hamburg/masterportal/src/dev/doc/config.json.md</a><br></div>