Hi all,
I’d like to ask the community if it is possible to automate the following, and if so how it is best done: Given: A PostGIS database containing some number of spatial data tables not yet available as layers in GeoServer To do: Add a layer for each of these tables to GeoServer Looking through the documentation on the GeoServer REST API, it looks like this should be possible. But so far, I’ve not been successful in “connecting all the dots” and figuring out exactly what the necessary sequence of calls to the REST API should look like. When adding a small number of new layers to GeoServer, using the web interface to do this isn’t a problem. However, this approach becomes tedious and error-prone when there’s a need to add more than a handful of layers. I’d appreciate any advice/guidance the community has on automating this process. Thanks for any help you can offer with this. All best, Ben *Benjamin Krepp* | Chief GIS Programmer/Analyst CENTRAL TRANSPORTATION PLANNING STAFF 857.702.3670 | *[email protected] <[email protected]>* www.ctps.org/bostonmpo [image: email_logos_2015]
_______________________________________________ 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
