I want to generate WFS and WMS from a PostGIS database. To do this I want to make a script with Python (or with another language) to store my shapefile on GeoServer and then deploy services automatically.
Is there any good approach to follow?
OWSlib could be one?
And what about geoscripting?
Point of situation: I have made a script for creating shapefiles and generate metadata so the next step is to build a script that post my datasets into GeoServer to generate services. The number of datasets are constantly growing because is periodic data, and I will assume that this upload script simply will be executed occasionally by user interaction or eventually a daemon could be configured.
The data will be provided from different database, converted into specific datasets(shapefile) and will feed a GeoServer (or MapServer), service.
Is there any script that already make this interaction, to upload shapefiles from a specific directory into GeoServer?