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

Dejan Gambin dejan.gambin at coin.hr
Fri Jan 13 02:51:54 EST 2012


Just for the information - you can also set default MapServer resolution with DEFRESOLUTION parameter, this is enabled from version 5.6

dejan
On 13. sij. 2012., at 08:45, Oliver Tonnhofer wrote:

> 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.
> 
> http://mapproxy.org/docs/nightly/configuration.html#notes
> http://mapproxy.org/docs/nightly/mapproxy_util.html#scales
> 
> 
> 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.
> 
> Regards,
> Oliver
> 
> -- 
> Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
> http://mapproxy.org | https://bitbucket.org/olt | @oltonn
> 
> 
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy



More information about the MapProxy mailing list