In the sequence of this:
How to upload a shapefile to geoserver using cURL?
which was properly solved, I now need to be able to replace the existing file, cause my process is to be repeated every day.
Any clues?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.
Sign up to join this communityIn the sequence of this:
How to upload a shapefile to geoserver using cURL?
which was properly solved, I now need to be able to replace the existing file, cause my process is to be repeated every day.
Any clues?
While there is no 'replace' operation, I guess you can first delete the file and after that uploading the new one having the same name the old had.
In GeoServer's REST configuration API there are DELETE and PUT operations for data stores (http://goo.gl/8Fgej).