[MapProxy] Extending/creating new client and source
olt at omniscale.de
Wed Nov 6 08:21:51 PST 2013
On 06.11.2013, at 16:46, G. Allegri wrote:
> I'm new to MapProxy development, forgive me if I'm asking a trivial question.
> 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.
> 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?
Yes, you need to implement your own client/source and load that one in the loader.py.
Can you tell what API it is? The tile source should be able to handle most use-cases already.
Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.com
http://mapproxy.org | https://github.com/olt | @oltonn
More information about the MapProxy