<div dir="ltr">Hi Oliver,<div><br></div><div>Thank You!<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Regards,</div><div class="gmail_extra">Daniel</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 10, 2015 at 9:33 PM, Oliver Tonnhofer <span dir="ltr"><<a href="mailto:olt@omniscale.de" target="_blank">olt@omniscale.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
<br>
On 10.09.2015, at 13:47, Daniel Cheng (SDiZ) <<a href="mailto:sdiz@sdiz.net">sdiz@sdiz.net</a>> wrote:<br>
> grids:<br>
>     epsg2326:<br>
>         srs: EPSG:2326<br>
>         res: [ 42.33341800016934, 21.16670900008467, 10.583354500042335, 5.291677250021167, 2.6458386250105836, 1.3229193125052918, 0.6614596562526459, 0.33072982812632296, 0.16536491406316148 ]<br>
>         origin: nw<br>
>         bbox_srs: EPSG:4326<br>
>         bbox: [ 129.71179031844, -89.996752339456, -129.71179031844, 89.996752339456 ]<br>
<br>
<br>
</span>The tile grids need to match "pixel perfect", otherwise you will get unexpected results. You should define the bbox in the same projection with the same origin values.<br>
<br>
<br>
When Proj4Leaflet expects the origin north/west, then the bbox of the first tile should look like:<br>
[-4786700, 8353100-42.33341800016934*256, -4786700+42.33341800016934*256, 8353100]<br>
Assuming that Proj4Leaflet calculates the tile grid with a single tile in the first zoom level.<br>
<br>
In MapProxy it should look like:<br>
<span class=""><br>
    epsg2326:<br>
        srs: EPSG:2326<br>
        res: [ 42.33341800016934, 21.16670900008467, 10.583354500042335, 5.291677250021167, 2.6458386250105836, 1.3229193125052918, 0.6614596562526459, 0.33072982812632296, 0.16536491406316148 ]<br>
        origin: nw<br>
</span>        bbox: [-4786700, 8342262.644991957, -4775862.644991957, 8353100]<br>
<br>
(Untested, but you get the idea)<br>
<br>
<br>
Regards,<br>
Oliver<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Oliver Tonnhofer  | Omniscale GmbH & Co KG  | <a href="http://omniscale.com" rel="noreferrer" target="_blank">http://omniscale.com</a><br>
OpenStreetMap WMS and tile services         | <a href="http://maps.omniscale.com" rel="noreferrer" target="_blank">http://maps.omniscale.com</a><br>
<br>
</font></span></blockquote></div><br></div></div>