[MapProxy] MapProxy - WMS feed from MapProxy renders tiles with different scale when compared with OSM on MapServer

Oliver Tonnhofer olt at omniscale.de
Tue Sep 9 00:38:15 PDT 2014


On 08.09.2014, at 15:30, andrew kovacs wrote:

> The client I am using is built off of the NASA WorldWind client app.  Based off of some of the forums from NASA I can see some of the resolutions that are being requested:
> Level 0, Tile delta 36", 512 pixels, resolution 0.0703125 (=36/512)
> Level 1, Tile delta 18", 512 pixels, resolution 0.0.03515625 (=18/512)
> Level 2, Tile delta 9", 512 pixels, resolution 0.017578125 (=9/512)
> Level 3, Tile delta 4.5", 512 pixels, resolution 0.08789063
> Level 4, Tile delta 2.25", 512 pixels, resolution 0.04394531
> Level 5, Tile delta 1.125", 512 pixels, resolution 0.02197266
> Level 6, Tile delta 0.562", 512 pixels, resolution 0.001098633
> Level 7, Tile delta 0.28125", 512 pixels, resolution 0.000549316
> Level 8, Tile delta 0.140625", 512 pixels, resolution 0.000274658
> Level 9, Tile delta 0.0703125", 512 pixels, resolution 0.000137329
> I tried using the initial resolution and converted to metres using the mapproxy-util scales tool but the results did not prove anything useful.

"convert to meters"? You need to have a cache in EPSG:4326 if the client requests EPSG:4326, otherwise the images will look fuzzy regardless of the configured resolution.

> Also, I can see the config file that gets generated on my client side when accessing the WMS from MapProxy (I have attached it).  I also have attached the config file that gets generated when I access MapServer directly.
> From what I can see, the configurations are very similar but the "number of levels" are different.  Accessing MapServer gives me 20 levels (and the data looks correct) and MapProxy gives me 18 levels (and does not look correct).
> I attempted to force the grid to use 20 levels in MapProxy, but my understanding was 20 levels was the default anyways.  I also changed the file size to 512 and format to jpeg, but it didn't seem to change the appearance of the tiles.
> Any help going forward would be appreciated, I can provide more info if needed.

Please provide your MapProxy configuration and some log output from `mapproxy-util serve-develop` (requests your client and MapProxy made).


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