Hi Jody, The python library gsconfig has been evolved and maintained by the GeoNode team under https://github.com/GeoNode/geoserver-restconfig <https://github.com/GeoNode/geoserver-restconfig>. It should be now ready for python 3 too.
Best, Francesco --- Kind Regards Francesco Bartoli | CTO & Owner ------------------------------------------- GEOBEYOND | Making Geospatial Happen Via Marchesa Augusta 68, 02040 Vacone (RI) Italy W: http://www.geobeyond.it M: +39 333 299 7173 S: francesco_bartoli T: https://twitter.com/geobeyond | L: https://it.linkedin.com/company/geobeyond ----------------------------------------------------------------------------------- This email and any files transmitted with it are confidential. If you have received this email in error please notify the sender and then delete it immediately. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Geobeyond Srl. The recipient should check this email and any attachments for the presence of viruses. Geobeyond Srl accepts no liability for any damage caused by any virus transmitted by this email. Geobeyond Srl may regularly and randomly monitor outgoing and incoming emails (including the content of them) and other telecommunications on its email and telecommunications systems. By replying to this email you give your consent to such monitoring. ***** Save resources: think before you print. > Il giorno 23 gen 2020, alle ore 16:59, Jody Garnett <[email protected]> > ha scritto: > > We have a REST API you can use to configure geoserver, there is a python > library "gsconfig" to help make these REST requests, but it unmaintained > (although used by many applications). > > For data access GeoServer supports a number of protocols - WFS is used to > access vector data. > > There are some WFS python clients - for example: > https://geopython.github.io/OWSLib/ <https://geopython.github.io/OWSLib/> > Most python programers use ogr library wrapper though (and that is what I > would recommend). > > Please note that the WFS protocol is not specific to geoserver, using a > standard means your program will work with geoserver, mapserver, esri, etc... > > References: > - https://pypi.org/project/gsconfig/ <https://pypi.org/project/gsconfig/> > - https://geoserver.geo-solutions.it/edu/en/rest/python_gsconfig.html > <https://geoserver.geo-solutions.it/edu/en/rest/python_gsconfig.html> > - https://pcjericks.github.io/py-gdalogr-cookbook/vector_layers.html > <https://pcjericks.github.io/py-gdalogr-cookbook/vector_layers.html> > > -- > Jody Garnett > > > On Wed, 22 Jan 2020 at 19:22, Samann Long <[email protected] > <mailto:[email protected]>> wrote: > Hello, I am now having no idea how to retrieve data from PostGIS using APIs > and after I retrieve that data, I want to create it as layers and register > with WFS services and return its URL to frontend. > Is there any possible way to that with python APIs? > Thank you > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to this > list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > <http://www.ianturton.com/talks/foss4g.html#/> > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > <http://geoserver.org/comm/userlist-guidelines.html> > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > <https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer> > > > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/geoserver-users > <https://lists.sourceforge.net/lists/listinfo/geoserver-users> > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to this > list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
