Publish a WorldImage already in a filesystem readable by GeoServer.
This commit is contained in:
parent
fe1c46d858
commit
356a3a08a7
@ -1721,7 +1721,7 @@ public class GeoServerRESTPublisher {
|
|||||||
* @param coveragestore Name of the coveragestore
|
* @param coveragestore Name of the coveragestore
|
||||||
* @param fileUri the uri of the file containing the WorldImage.
|
* @param fileUri the uri of the file containing the WorldImage.
|
||||||
* @return true if the operation completed successfully.
|
* @return true if the operation completed successfully.
|
||||||
*/
|
*/
|
||||||
public boolean publishWorldImage(String workspace, String coveragestore, URI fileURI) throws FileNotFoundException {
|
public boolean publishWorldImage(String workspace, String coveragestore, URI fileURI) throws FileNotFoundException {
|
||||||
return createCoverageStore(workspace, coveragestore, UploadMethod.EXTERNAL, CoverageStoreExtension.WORLDIMAGE,
|
return createCoverageStore(workspace, coveragestore, UploadMethod.EXTERNAL, CoverageStoreExtension.WORLDIMAGE,
|
||||||
"text/plain", fileURI, ParameterConfigure.FIRST, (NameValuePair) null);
|
"text/plain", fileURI, ParameterConfigure.FIRST, (NameValuePair) null);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user