[MapProxy] Differing X and Y Tile Resolutions

Napoleon, Dominic dominic.napoleon at rgi-corp.com
Tue Sep 26 12:02:00 PDT 2017


Hello,


Can MapProxy support differing x and y resolutions?  For example, GeoPackage caches support differing x and y resolutions when defining the pixel_x_size and pixel_y_size values in the gpkg_tile_matrix table.


It seems that in _verify_tile_size in geopackage.py, this line of code:

if not is_close(gpkg_pixel_x_size, resolution) or not is_close(gpkg_pixel_y_size, resolution):

...is essentially checking to make sure the x and y resolutions match.  If they don't, it throws an error.  There doesn't seem to be away to specify differing x and y resolutions in a configuration's grid.


I ask because MapProxy can't properly transform the tiles in a cache with differing x and y resolutions, in this case meaning MapProxy isn't fully supporting the GeoPackage spec.


Best,

[1498764632845_OutlookEmoji-1467065166088_image001.pngfebadf4c-dfcf-43e9-a6ba-36e612ab8bc4.png]


Dominic Napoleon

Reinventing GeospatialĀ®, Inc. (RGiĀ®)

4035 Ridge Top Road, Suite 520, Fairfax, VA 22030



Office:   703-272-3204 x2094

Mobile: 703-984-9036

dominic.napoleon at rgi-corp.com<mailto:sidney.medford at rgi-corp.com>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20170926/c18e5916/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OutlookEmoji-1498764632845_OutlookEmoji-1467065166088_image001.pngfebadf4c-dfcf-43e9-a6ba-36e612ab8bc4.pngc25b27b7-e773-410b-9b1a-605b1d30983f.png
Type: image/png
Size: 5272 bytes
Desc: OutlookEmoji-1498764632845_OutlookEmoji-1467065166088_image001.pngfebadf4c-dfcf-43e9-a6ba-36e612ab8bc4.pngc25b27b7-e773-410b-9b1a-605b1d30983f.png
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20170926/c18e5916/attachment.png>


More information about the MapProxy mailing list