<div dir="ltr">I can share my own experience with you:<div><br></div><div><div><br></div><div>I've been working on a OGC OSEO[1] (ordering services) server in Python. It is not full featured (yet), but it is good enough for my requirements already.<div><br></div><div>I've studied some bits of owslib, pyCSW and pyWPS code and came up with my own implementation.</div><div><br></div><div>This was due to the following reasons:</div><div><br></div><div><div>* I had to work fast, due to project constraints, so there was no time to try and get some sort of core server done first and then build OSEO functionality on top of this.</div></div><div><br></div><div>* it seemed owslib was more fit to be used as a client than in server code as I needed access to the raw XML requests in order to process SOAP headers and stuff. </div><div>I've decided to use the requests library for handling HTTP requests and responses and pyxb as a way to generate python objects from the underlying XML schemas from OGC.</div><div><br></div><div>* I also wanted to incorporate django into my server, so as to have the admin backend autogenerated and use django to manage my database of ordered products. This involved structuring things in a different way.</div><div><br></div><div>Studying owslib, pycsw and pywps was very insightful and definitely helped me a lot with this project. Furthermore, since then I have contributed some patches to pywps and am currently evaluating using pycsw in a new project, so it was a multiple win.</div><div><br></div></div><div>I'd recommend that you study the code for pycsw, pywps (and my own pyoseo, if I may be even more shameless) and then, depending on your time constraints:</div><div><br></div><div>* go for your own WCS implementation, taking bits from the other projects. This will be faster to develop and more likely to succeed in a timely fashion</div><div><br></div><div>or</div><div><br></div><div>* start a round up for creating a OGC Common base server, work on that and simultaneously create a WCS server on top of it as a proof of concept. This one is a lot more work, but it could prove to be more fun too.</div><div>Personally, I think that it would be great if there was a common base for implementing OGC web services in Python. Maybe something that follows the Web Service Common standard [2]. I'd like to be a part of such an effort.<br></div><div><br></div><div>best regards</div><div><br></div><div>[1] - <a href="https://github.com/ricardogsilva/pyoseo">https://github.com/ricardogsilva/pyoseo</a></div><div>[2] - <a href="http://www.opengeospatial.org/standards/common">http://www.opengeospatial.org/standards/common</a></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 10, 2014 at 1:34 PM, Jachym Cepicky <span dir="ltr"><<a href="mailto:jachym.cepicky@gmail.com" target="_blank">jachym.cepicky@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I would suggest to create proxy server, rather that try to implement everything.<br>
<br>
Just opinion,<br>
<br>
Jachym<br>
<div class="HOEnZb"><div class="h5"><br>
2014-10-10 14:27 GMT+02:00 Ian Edwards <<a href="mailto:ian.edwards@metoffice.gov.uk">ian.edwards@metoffice.gov.uk</a>>:<br>
> Hi All,<br>
><br>
> OWSLib is excellent for client requests.<br>
><br>
> Has anyone given any thought to creating a generic core package for a python<br>
> OGC server?  Such a package could learn from the development of packages<br>
> like pycsw and PyWPS, and could be used for creating reference<br>
> implementations for other OGC services (including emerging standards).<br>
><br>
> If a generic server is not in the pipeline (or is not practical), would it<br>
> be easier to strip down and retask pycsw to create a server, or to extend<br>
> OWSLib?<br>
><br>
> I'm interested in attempting a reference implementation for emerging WCS 2.0<br>
> extensions.<br>
><br>
> Many thanks<br>
><br>
> Ian<br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Jachym Cepicky<br>
e-mail: jachym.cepicky gmail com<br>
URL: <a href="http://les-ejk.cz" target="_blank">http://les-ejk.cz</a><br>
GPG: <a href="http://les-ejk.cz/pgp/JachymCepicky.pgp" target="_blank">http://les-ejk.cz/pgp/JachymCepicky.pgp</a><br>
<br>
Give your code freedom with PyWPS - <a href="http://pywps.wald.intevation.org" target="_blank">http://pywps.wald.intevation.org</a><br>
_______________________________________________<br>
OWSLib-devel mailing list<br>
<a href="mailto:OWSLib-devel@lists.osgeo.org">OWSLib-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/owslib-devel" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/owslib-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>___________________________ ___ __<br>Ricardo Garcia Silva
</div>