<div dir="ltr">Thanks, seems it's a long standing issue that sadly nobody has tackled yet.<div><br></div><div>It seems ST_CreateOverview has even more issues, such as occasionally generating empty pixel rows/columns at tile edges.<div><br></div><div>I uploaded an example of this issue for better understanding:</div><div><a href="http://imgur.com/a/izlZX">http://imgur.com/a/izlZX</a><br></div></div><div><br></div><div>I really would have loved to use PostGIS as a low level  WMTS server, but these issues are making it difficult :( .</div><div><br></div><div>best regards</div><div>Senshi</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 30, 2017 at 8:45 PM, Mateusz Loskot <span dir="ltr"><<a href="mailto:mateusz@loskot.net" target="_blank">mateusz@loskot.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 30 August 2017 at 14:52, Senshi <<a href="mailto:tassilo.m@gmail.com">tassilo.m@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
><br>
> when creating an overview, the tilesize of the original tiles is not fully<br>
> respected.<br>
><br>
> If you have a 2x2 grid of tiles with 256x256 pixels each, and then create an<br>
> overview with a scale of 3,  the resulting single tile will end up as 171<br>
> pixels wide/tall.<br>
<br>
</span>Overview with factor = 3 are 'special'.<br>
 Have a look at discussion here<br>
<a href="https://trac.osgeo.org/postgis/ticket/1764" rel="noreferrer" target="_blank">https://trac.osgeo.org/<wbr>postgis/ticket/1764</a><br>
<br>
Best regards,<br>
<span class="HOEnZb"><font color="#888888">--<br>
Mateusz Loskot, <a href="http://mateusz.loskot.net" rel="noreferrer" target="_blank">http://mateusz.loskot.net</a><br>
______________________________<wbr>_________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/postgis-users</a></font></span></blockquote></div><br></div></div>