How to automate publishing of a WMS or WFS Layer in Geoserver given any data source (vector/shape-files/GeoJson...) using OpenLayers 3 script

There is a possibility to automate Geoserver operations using REST API, but I couldn't found how to link it with OpenLayers 3.

closed as unclear what you're asking by BERA, Ian Turton Mar 22 '18 at 12:16

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Hi Sarah. Could you please add a little more detail on your question to help find an answer. For example, why you need to automate the publishing, and where do you want the layers to be published (e.g. format, for who) – Guy Mar 21 '18 at 15:26
  • Thank you for your feedback. Well, the purpose of automating this operation is to publish a lot of layers (each layer is a result of some applied operations in openlayers).These layers will be published in geonetwork. – sarah18 Mar 21 '18 at 15:40
  • I think you can start here geoserver.readthedocs.io/en/latest/rest/examples/curl.html – pavankguduru Mar 28 '18 at 13:30
  • Thank you for your help. Well, I see this solution, but my problem is that I don't know how to integrate this processus in an Openlayers3 script. – sarah18 Mar 29 '18 at 10:29