[MapProxy] min_res in default grids

Oliver Tonnhofer olt at omniscale.de
Thu Mar 24 09:01:12 PDT 2016


> On 24.03.2016, at 16:11, Denis Rykov <rykovd at gmail.com> wrote:
> 
> My use case: I need to calculate number of tiles for particular city in GLOBAL_WEBMERCATOR grid which I will display over OSM basemap.

You should have written that in your first mail :)

Look for the --coverage option of the grids util. It does exactly what you want:

http://mapproxy.org/docs/nightly/mapproxy_util.html#grids

[...]
> As you can see in this case min_res is calculated from bbox. But I have expected that min_res will be 156543.03, becaue I use 'GLOBAL_WEBMERCATOR' as base.

The behavior is described here:

http://mapproxy.org/docs/nightly/configuration.html#defining-resolutions

Regards,
Oliver

-- 
Oliver Tonnhofer  | Omniscale GmbH & Co KG  | http://omniscale.com
OpenStreetMap WMS and tile services         | http://maps.omniscale.com






More information about the MapProxy mailing list