0

We can create data stores, workspaces with goserver rest api. Is possible to load data to a datastore via geoserver rest api?

1 Answer 1

2

You can certainly add data to an existing datastore, or remove the data and add replacement data.

This is documented in the DataStore REST part of the GeoServer user manual. You'd just use a normal PUT operation. The key aspect is the "update" parameter, which selects whether the intention is append or overwrite. Of course, an append has to make sense for the type of DataStore you're changing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.