<div dir="ltr"><div><div><div>Hi,<br><br></div>I've just created a <a target="_blank" href="https://gist.github.com/walkermatt/1cae669defce037511ada4e0ed01b3cd">Gist which demonstrates using the decorate_img API</a>
 which includes some instructions for getting the environment setup. I'm
 using gunicorn==18.0 at present as several people have ran into issues 
with the latest Gunicorn over the last few months.<br><br></div>Hope that helps,<br><br></div>Matt.</div><div class="gmail_extra"><br><div class="gmail_quote">On 15 November 2016 at 09:59, Jiří Petrš <span dir="ltr"><<a href="mailto:jiri.petrs@seznam.cz" target="_blank">jiri.petrs@seznam.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hello list,<div><br></div><div>I am trying to use decorate image. I am using the code from documentation <a href="https://mapproxy.org/docs/nightly/decorate_img.html" target="_blank">https://<wbr>mapproxy.org/docs/nightly/<wbr>decorate_img.html</a></div><div>But at this point I don't know how to wrap Mapproxy with this middleware from doc. I see that it has to be done with lines like these: </div><div><br></div><div><div>               application = make_wsgi_app('./mapproxy.<wbr>yaml')</div><div>               application = RequestInfoFilter(application)</div></div><div><br></div><div>I've tried to wrap it in \mapproxy\script\util.py, but it seems to not working.</div><div><br></div><div>Thank you</div><div>Jiri</div><div><br></div><div><br></div></div><br>______________________________<wbr>_________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapproxy" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/mapproxy</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Matt Walker<br>@_walkermatt<br></div>
</div>