REST ConfigurationΒΆ

Note

For more information, please see the section on REST.

The RESTful API allows to create new stores and append new granules to mosaics via file uploads. By default the new stores and granules are saved with the following directory structure:

$GEOSERVER_DATA_DIR/data/<workspace>/<store>[/<file>]

For changing the Root Directory from $GEOSERVER_DATA_DIR/data to another directory, the user can define a parameter called Root Directory path inside Global Settings Page and Workspace Settings Page.

In order to avoid cross workspace contamination, the final path will always be:

${rootDirectory}/workspace/store[/<file>]

Path remapping is achieved by using the default implementation of the RESTUploadPathMapper interface. This interface gives the possibility to also map the file position inside the store, which could be useful for harvesting files into an existing mosaic DataStore.