Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to publish a layer automatically in geoserver. Each layer is a database table in postgis db. I can see the table in geoserver store(already contains some layer tables of that particular db) as soon as I create it in postgis but publishing it should be done manually. Can I find any php script for just publishing the layer....

Does "Adding a postgis table" section in also publishes the layer????

share|improve this question

This re-publishes a Layer when the user adds (or deletes) a polygon - it is using WFS-T to add the data to the database from the browser.

Protocol Transactions can be found here:

enter image description here

share|improve this answer
does that mean there is no rest api script for publishing the layers??? Then whats the use of adding them to geoserver??? – Vikash Talanki Jun 14 '11 at 21:49
When you POST the feature type yes a layer is created as well. If you are not able to access it then another error is occurring. – jdeolive Jun 15 '11 at 14:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.