Saturday, 13 June 2015

Selecting service (WMS / WFS) through GeoServer REST API?


Is it possible to select a service (WMS / WFS) through the Geoserver REST-API?


I know how to add a workspace through the REST-API, like this


curl -v -u admin:geoserver -XPOST -H "Content-type: text/xml" -d "workspacename" %resturl%/workspaces


But I would like to add a service (WMS or WFS or both) through the REST-API. If this is possible I don't have to go the the webadmin-page the select the service manually. Does someone know if this is possible?




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...