<div dir="ltr">Thanks Oliver,<div>I see, I have to define a SourceConfiguration subcalss and append it to source_configuration_types.</div><div>One API is something internal with a custom tile indexing, which requires some preprocessing on the base of the bbox we're requesting. I won't go into the details, but I've seen that the I need to subclass tile source anyway.</div>
<div>The other API is the Google Maps Static API. Don't worry, we're licensed to do that :)</div><div><br></div><div>giovanni</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/6 Oliver Tonnhofer <span dir="ltr"><<a href="mailto:olt@omniscale.de" target="_blank">olt@omniscale.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On 06.11.2013, at 16:46, G. Allegri wrote:<br>
> I'm new to MapProxy development, forgive me if I'm asking a trivial question.<br>
> I need to access a tailored map server API and the best way to achive this, AFAICS, is creating my own client and source type.<br>
> config.py loads and instantiate sources on the base of the config file parsing. Does this mean that putting my new classes inside mapproxy/client and mapproxy/source is enough?<br>
<br>
</div>Yes, you need to implement your own client/source and load that one in the loader.py.<br>
<br>
Can you tell what API it is? The tile source should be able to handle most use-cases already.<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" target="_blank">http://omniscale.com</a><br>
<a href="http://mapproxy.org" target="_blank">http://mapproxy.org</a> | <a href="https://github.com/olt" target="_blank">https://github.com/olt</a>    | @oltonn<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Giovanni Allegri<br><a href="http://about.me/giovanniallegri" target="_blank">http://about.me/giovanniallegri</a><br>blog: <a href="http://blog.spaziogis.it" target="_blank">http://blog.spaziogis.it</a><br>
GEO+ geomatica in Italia <a href="http://bit.ly/GEOplus" target="_blank">http://bit.ly/GEOplus</a>
</div>