terriajs
Version:
Geospatial data visualization platform.
49 lines (43 loc) • 1.47 kB
text/typescript
import mixTraits from "../mixTraits";
import UrlTraits from "./UrlTraits";
import primitiveTrait from "../Decorators/primitiveTrait";
import CatalogFunctionTraits from "./CatalogFunctionTraits";
export default class WebProcessingServiceCatalogFunctionTraits extends mixTraits(
CatalogFunctionTraits,
UrlTraits
) {
({
type: "boolean",
name: "Execute with HTTP GET",
description:
"If true, sends a `GET` request to the Execute endpoint instead of the default `POST` request."
})
executeWithHttpGet = false;
({
type: "boolean",
name: "Store supported",
description:
"Indicates if the output can be stored by the WPS server and be accessed via a URL."
})
storeSupported?: boolean;
({
type: "boolean",
name: "Status supported",
description:
"Indicates if Execute operation can return just the status information and perform the actual operation asynchronously."
})
statusSupported?: boolean;
({
type: "string",
name: "Identifier",
description: "The identifier for the process"
})
identifier?: string;
({
type: "boolean",
name: "Force convert results to v8",
description:
"If true, then all results will be converted from v7 to v8. If false, then the `result.version` string will be checked to see if conversion is necessary."
})
forceConvertResultsToV8: boolean = false;
}