I'm using OpenLayers, Geoserver, and PostGIS. For now, everything is fine and happy. I have 2 layers showing on my map through WMS from geoserver. I am taking following steps:
Step 1: inserting data into postgis - done manually.
step 2: if it is a feature in already present layer then reloading the page add that feature on the map, but for adding the table for a layer into geoserver, I am publishing it manually.
step 3: including that layer code into JS manually
I want everything to be done automatically. Since my project is to be handed over to a client and they should be given the possibilitz to add features, layers etc. I think automation is necessary.
So I want:
Step 1: inserting data into postgis - can be achieved by providing a form to user and using a php I can insert them into postgis
Step 2: publishing of layer(selecting a style also) in geoserver - has to be done programmatically
Step 3: inserting this layer code in JS - to be done problematically.
I request your good guidance on this issue. Thank you.