Hi Team,
I have been trying to automate publishing the layers via geoserver rest api but finding difficulties in fully customise it in my way.
Essentially, I need to
- Create workspace- no issues
- Create Postgres datastore - found issues, database type not identified.
- Publish multiple layers from a single postgres table with different CQL filter. - looking for documentation or working examples.
It would be really helpful if someone can help me pointing to good examples or documentation, especially format of REST requests.
Thank you in advance.
jive
2
To get a working example, configure the layer with the CQL filter you want, and then use the REST API to see what was written out.
You are welcome to contribute to the documentation once you have that example.
Jody
···
–
Jody Garnett
Thanks for the help, Jody. Will check it out.
-Prem
On Thu, 24 Mar 2022 at 8:54 PM, Jody Garnett <jody.garnett@anonymised.com> wrote:
To get a working example, configure the layer with the CQL filter you want, and then use the REST API to see what was written out.
You are welcome to contribute to the documentation once you have that example.
Jody
On Wed, Mar 23, 2022 at 10:55 PM Prem Kumar <prem.netgis@anonymised.com> wrote:
Hi Team,
I have been trying to automate publishing the layers via geoserver rest api but finding difficulties in fully customise it in my way.
Essentially, I need to
- Create workspace- no issues
- Create Postgres datastore - found issues, database type not identified.
- Publish multiple layers from a single postgres table with different CQL filter. - looking for documentation or working examples.
It would be really helpful if someone can help me pointing to good examples or documentation, especially format of REST requests.
Thank you in advance.
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this list:
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
–
Jody Garnett