<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hello,</p>
<p><br>
</p>
<p>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.</p>
<p><br>
</p>
<p>It seems that in _verify_tile_size in geopackage.py, this line of code: </p>
<p></p>
<pre style="font-family: "Courier New"; font-size: 9pt;"><span style="color:#000080;font-weight:bold;">if not </span>is_close(gpkg_pixel_x_size, resolution) <span style="color:#000080;font-weight:bold;">or not </span>is_close(gpkg_pixel_y_size, resolution):<br></pre>
...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.
<p></p>
<p><br>
</p>
<p>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.</p>
<p><br>
</p>
<p>Best,</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p></p>
<table class="x_MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="color:rgb(33,33,33); font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif,serif,EmojiFont; font-size:15px; border-collapse:collapse">
<tbody>
<tr style="height:7.65pt">
<td width="110" valign="top" style="width:1.15in; border-top:none; border-bottom:none; border-left:none; border-right:1pt solid rgb(127,127,127); padding:0in 5.4pt; height:7.65pt">
<p class="x_MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<img class="EmojiInsert" alt="1498764632845_OutlookEmoji-1467065166088_image001.pngfebadf4c-dfcf-43e9-a6ba-36e612ab8bc4.png" style="" src="cid:cb7ad0bb-016f-4350-bcfa-e201073f2747"><br>
</p>
</td>
<td width="268" valign="top" style="width:200.7pt; padding:0in 5.4pt; height:7.65pt">
<p class="x_MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<b>Dominic Napoleon</b></p>
<p class="x_MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Reinventing GeospatialŪ, Inc. (RGiŪ)</p>
<p class="x_MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt; font-family:Calibri,sans-serif,serif,EmojiFont"><span class="contextualExtensionHighlight ms-font-color-themePrimary ms-border-color-themePrimary ident_890_939" tabindex="0">4035 Ridge Top Road, Suite 520, Fairfax, VA 22030</span></span></p>
<p class="x_MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt; font-family:Calibri,sans-serif,serif,EmojiFont"> </span></p>
<p class="x_MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt; font-family:Calibri,sans-serif,serif,EmojiFont">Office: 703-272-3204 x2094</span></p>
<p class="x_MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt; font-family:Calibri,sans-serif,serif,EmojiFont">Mobile: 703-984-9036</span></p>
<p class="x_MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt; font-family:Calibri,sans-serif,serif,EmojiFont"><a href="mailto:sidney.medford@rgi-corp.com" target="_blank" rel="noopener noreferrer" id="LPNoLP"><span style="color:blue">dominic.napoleon@rgi-corp.com</span></a></span></p>
</td>
</tr>
</tbody>
</table>
<br>
<p></p>
</div>
</div>
</div>
</body>
</html>