[MapProxy] using Mapproxy with Mapserver - setting correct resolutions with applications that assume different DPI

Oliver Tonnhofer tonnhofer at omniscale.de
Fri Jan 13 02:45:20 EST 2012

Hi Mark,

MapProxy doesn't really use scales, but resolutions and resolutions are DPI independent. Check out `mapproxy-util scales` to convert from scales to resolutions.


On 12.01.2012, at 21:23, Mark Volz wrote:
>  For example, if my Application uses the 1:1000, 1:4000, and 1:8000 would I set my resolutions in Mapproxy to be 1000, 4000, 8000, or would I need to factor in the difference between 72 DPI and 92 DPI, and if so how would I do that?

You need to use the DPI from your client (OpenLayers) to convert from the client scales (1:1000, 1:4000, …) to resolutions for MapProxy.


Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt | @oltonn

More information about the MapProxy mailing list