[MapProxy-dev] PSC Voting required - Plugin infrastructure
Denis Rykov
rykovd at gmail.com
Tue Mar 22 06:14:41 PDT 2022
I had a chance to take a look at the code developed by Even and I do agree
that it is too specific to be added to MapProxy master.
It would be great to add a plugin infrastructure to MapProxy for such use
cases.
+1
Denis
On Tue, Mar 22, 2022 at 1:52 PM Johannes Weskamm <weskamm at terrestris.de>
wrote:
> Hi Even and PSC members,
>
>
> I am forwarding this email to the dev list as changes / features like
> these need to be voted on by the PSC.
>
> When it comes to the conclusion that things get integrated in mapproxy,
> me and the PSC of course can review the code.
>
> @PSC:
>
> Please read through the mail below and provide your thoughts and votes
> regarding the general idea of having a plugin system in mapproxy.
>
> I think the technical details need to be discussed afterwards on this list.
>
>
> Greetings,
>
> Johannes Weskamm
>
>
>
>
>
> -------- Weitergeleitete Nachricht -------
>
> Hello,
>
> I don't think we've already met before, so let me introduce quickly. I'm
> Even Rouault, the lead developer of GDAL/OGR and owner of a small
> consultancy in France, Spatialys (http://www.spatialys.com/en/about/).
>
> Recently I've done an exploratory work for CNES to add new capabilities
> to MapProxy, to add the support for a new standard, called HIPS, used by
> the planetology and astronomy communities, as a MapProxy source and
> service, and bridging with the traditional OGC protocols (WMS, WMTS...):
> that is e.g. exposing a WMS source as a HIPS service, and vice-verca.
> The sponsor has presented a bit this context in
> https://lists.osgeo.org/pipermail/mapproxy-dev/2022-March/000039.html .
>
> This work has been done in a branch forked from MapProxy master and
> which lives at https://github.com/rouault/mapproxy/tree/hips
>
> We acknowledge that the field domain of HIPS is probably too specific to
> gain enthusiasm for the overall MapProxy community to be merged into
> MapProxy master. So I was thinking that one way of solving this would be
> to put the HIPS specific code in a separate Python project, that would
> be managed outside of the MapProxy community. To do so, we need first to
> add to MapProxy capabilities of handling plugins, as unless I've missed
> something, this is not available currently. That is when MapProxy sees
> in its configuration file a service type or source type, it doesn't
> handle, it would query registered plugins and delegate to them. We would
> need plugin capabilities to also handle add new entries in the /demo
> service as well, and register new commands to mapproxy-util.
>
> It looks like you're one of the currently active developers of MapProxy,
> so I was wondering if, assuming you think it would be a good idea and an
> accepted approach, you would be interested in:
>
> a) either reviewing and merging future code I would develop to add such
> plugin infrastructure to MapProxy that I would develop (the way that
> pytest uses a dedicated entry_point to register a plugin to pytest core
> seemed an interesting idea to borrow:
>
> https://docs.pytest.org/en/6.2.x/writing_plugins.html#making-your-plugin-installable-by-others
> )
>
> b) or do that work yourself
>
> and what the associated cost would be.
>
> In either case, the creation of the mapproxy-hips plugin itself would
> remain on my side.
>
> Option a) would have my slight preference given that it would minimize
> back-and-forth interaction and I could make sure that the plugin
> capabilities added to the core meet the needs of the plugin
>
> I'm happy to further discuss with you if you have interest and questions.
>
> Best regards,
>
> E. Rouault
>
> --
> http://www.spatialys.com
> My software is free, but my time generally not.
>
>
> _______________________________________________
> MapProxy-dev mailing list
> MapProxy-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapproxy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy-dev/attachments/20220322/4f64e40f/attachment.html>
More information about the MapProxy-dev
mailing list