@vertigis/workflow 5.45.1 → 5.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LanguageStringUtils.js +1 -1
- package/activities/app/GetApplicationData.d.ts +1 -0
- package/activities/app/GetApplicationInfo.d.ts +3 -0
- package/activities/app/GetUserInfo.d.ts +3 -0
- package/activities/app/PublishEvent.d.ts +0 -3
- package/activities/app/RemoveApplicationData.d.ts +1 -0
- package/activities/app/RunCommand.d.ts +0 -3
- package/activities/app/RunOperation.d.ts +1 -4
- package/activities/arcgis/AddAttachment.d.ts +1 -6
- package/activities/arcgis/AddAttachment.js +1 -1
- package/activities/arcgis/AddFeatureLayer.d.ts +1 -4
- package/activities/arcgis/AddFeatures.d.ts +2 -6
- package/activities/arcgis/AddGraphics.d.ts +1 -4
- package/activities/arcgis/ArcadeScript.d.ts +1 -4
- package/activities/arcgis/AreaEngineTask.d.ts +1 -3
- package/activities/arcgis/BufferEngineTask.d.ts +2 -7
- package/activities/arcgis/BufferServiceTask.d.ts +2 -10
- package/activities/arcgis/CastGeometry.d.ts +5 -5
- package/activities/arcgis/ClearGraphics.d.ts +0 -1
- package/activities/arcgis/ClipEngineTask.d.ts +1 -3
- package/activities/arcgis/ClosestFacilityTask.d.ts +8 -34
- package/activities/arcgis/CompareGeometries.d.ts +1 -3
- package/activities/arcgis/ConvertValueToArcGisFieldType.d.ts +1 -0
- package/activities/arcgis/CreateFeatureSet.d.ts +1 -1
- package/activities/arcgis/CreateGraphic.d.ts +1 -1
- package/activities/arcgis/CreatePoint.d.ts +1 -1
- package/activities/arcgis/CutEngineTask.d.ts +1 -3
- package/activities/arcgis/DeleteAttachments.d.ts +1 -5
- package/activities/arcgis/DeleteAttachments.js +1 -1
- package/activities/arcgis/DeleteFeatures.d.ts +2 -7
- package/activities/arcgis/DeleteFeatures.js +1 -1
- package/activities/arcgis/DensifyEngineTask.d.ts +1 -4
- package/activities/arcgis/DifferenceEngineTask.d.ts +2 -5
- package/activities/arcgis/DistanceEngineTask.d.ts +1 -4
- package/activities/arcgis/DistanceServiceTask.d.ts +1 -6
- package/activities/arcgis/ExtendedSpatialReferenceInfoEngineTask.d.ts +1 -2
- package/activities/arcgis/FeatureSetFromJson.d.ts +1 -2
- package/activities/arcgis/FlipEngineTask.d.ts +1 -4
- package/activities/arcgis/FromGeoCoordinateStringServiceTask.d.ts +1 -6
- package/activities/arcgis/GeneralizeEngineTask.d.ts +1 -5
- package/activities/arcgis/GenerateArcGisToken.d.ts +2 -2
- package/activities/arcgis/GenerateWebmapForReport.d.ts +3 -2
- package/activities/arcgis/GenerateWebmapForReport.js +1 -1
- package/activities/arcgis/Geocode.d.ts +3 -12
- package/activities/arcgis/GeometryFromJson.d.ts +1 -2
- package/activities/arcgis/Geoprocessing.d.ts +2 -6
- package/activities/arcgis/GeoprocessingAsync.d.ts +4 -8
- package/activities/arcgis/GetAttributeValue.d.ts +2 -5
- package/activities/arcgis/GetAttributeValues.d.ts +2 -4
- package/activities/arcgis/GetCentroid.d.ts +1 -2
- package/activities/arcgis/GetCodedValueDomain.d.ts +1 -7
- package/activities/arcgis/GetCurrentPosition.d.ts +23 -4
- package/activities/arcgis/GetFeatureGeometries.d.ts +2 -4
- package/activities/arcgis/GetFeatureGeometry.d.ts +1 -3
- package/activities/arcgis/GetFeatureLayerInfo.d.ts +1 -4
- package/activities/arcgis/GetFeatureLayerInfo.js +1 -1
- package/activities/arcgis/GetFeatureSetExtent.d.ts +2 -3
- package/activities/arcgis/GetFeatureSetObjectIds.d.ts +2 -4
- package/activities/arcgis/GetFormElementItemsFromFeatures.d.ts +1 -4
- package/activities/arcgis/GetGeometryExtent.d.ts +2 -2
- package/activities/arcgis/GetGraphics.d.ts +1 -3
- package/activities/arcgis/GetLayer.d.ts +2 -4
- package/activities/arcgis/GetLayerDefinitionExpression.d.ts +1 -2
- package/activities/arcgis/GetLayerProperty.d.ts +1 -2
- package/activities/arcgis/GetLayerVisibility.d.ts +1 -2
- package/activities/arcgis/GetMap.d.ts +1 -0
- package/activities/arcgis/GetMapScreenshot.d.ts +1 -2
- package/activities/arcgis/GetMapScreenshot.js +1 -1
- package/activities/arcgis/GetPortalUser.d.ts +6 -3
- package/activities/arcgis/GetPortalUser.js +1 -1
- package/activities/arcgis/GetTable.d.ts +1 -2
- package/activities/arcgis/GetViewExtent.d.ts +3 -3
- package/activities/arcgis/GetViewpoint.d.ts +1 -1
- package/activities/arcgis/IntersectEngineTask.d.ts +2 -4
- package/activities/arcgis/LabelPointsServiceTask.d.ts +1 -3
- package/activities/arcgis/LengthEngineTask.d.ts +1 -3
- package/activities/arcgis/MapProvider.js +1 -1
- package/activities/arcgis/NearestCoordinateEngineTask.d.ts +5 -7
- package/activities/arcgis/NearestVertexEngineTask.d.ts +5 -7
- package/activities/arcgis/NearestVerticesEngineTask.d.ts +6 -10
- package/activities/arcgis/OffsetEngineTask.d.ts +1 -6
- package/activities/arcgis/ProjectServiceTask.d.ts +2 -7
- package/activities/arcgis/QueryAttachmentInfos.d.ts +4 -5
- package/activities/arcgis/QueryAttachmentInfos.js +1 -1
- package/activities/arcgis/QueryTask.d.ts +3 -27
- package/activities/arcgis/RefreshLayer.d.ts +0 -1
- package/activities/arcgis/RegisterCorsUrl.d.ts +1 -3
- package/activities/arcgis/RelateEngineTask.d.ts +2 -5
- package/activities/arcgis/RelationServiceTask.d.ts +2 -6
- package/activities/arcgis/RelationshipQueryTask.d.ts +1 -12
- package/activities/arcgis/RemoveFeatureSetFields.d.ts +2 -5
- package/activities/arcgis/RemoveGraphics.d.ts +0 -2
- package/activities/arcgis/RemoveLayer.d.ts +1 -1
- package/activities/arcgis/RendererFromJson.d.ts +1 -2
- package/activities/arcgis/ResetLayerDefinitionExpression.d.ts +2 -7
- package/activities/arcgis/ReshapeServiceTask.d.ts +1 -4
- package/activities/arcgis/ReverseGeocode.d.ts +2 -8
- package/activities/arcgis/RotateEngineTask.d.ts +1 -4
- package/activities/arcgis/RouteTask.d.ts +5 -36
- package/activities/arcgis/RunPrint.d.ts +7 -4
- package/activities/arcgis/RunPrint.js +1 -1
- package/activities/arcgis/RunReport.d.ts +5 -3
- package/activities/arcgis/RunReport.js +1 -1
- package/activities/arcgis/RunWorkflow.d.ts +1 -3
- package/activities/arcgis/ServiceAreaTask.d.ts +7 -33
- package/activities/arcgis/SetFeatureAttribute.d.ts +0 -3
- package/activities/arcgis/SetFeatureGeometry.d.ts +0 -2
- package/activities/arcgis/SetFeaturePopup.d.ts +0 -1
- package/activities/arcgis/SetFeatureSymbol.d.ts +0 -2
- package/activities/arcgis/SetImageryLayerOptions.d.ts +4 -9
- package/activities/arcgis/SetLayerDefinitionExpression.d.ts +2 -3
- package/activities/arcgis/SetLayerPopup.d.ts +0 -1
- package/activities/arcgis/SetLayerProperty.d.ts +2 -5
- package/activities/arcgis/SetLayerVisibility.d.ts +2 -5
- package/activities/arcgis/SetMap.d.ts +0 -1
- package/activities/arcgis/SetViewExtent.d.ts +4 -7
- package/activities/arcgis/SetViewpoint.d.ts +2 -5
- package/activities/arcgis/ShowFeaturePopup.d.ts +0 -1
- package/activities/arcgis/SimplifyEngineTask.d.ts +1 -1
- package/activities/arcgis/SortFeatureSet.d.ts +1 -4
- package/activities/arcgis/SymbolFromJson.d.ts +1 -2
- package/activities/arcgis/ToGeoCoordinateStringServiceTask.d.ts +1 -9
- package/activities/arcgis/UnionEngineTask.d.ts +1 -3
- package/activities/arcgis/UnionServiceTask.d.ts +1 -4
- package/activities/arcgis/UpdateAttachment.d.ts +1 -8
- package/activities/arcgis/UpdateAttachment.js +1 -1
- package/activities/arcgis/UpdateFeatures.d.ts +2 -6
- package/activities/arcgis/printing.d.ts +212 -0
- package/activities/arcgis/printing.js +1 -0
- package/activities/arcgis/printingFields.d.ts +88 -0
- package/activities/arcgis/printingFields.js +1 -0
- package/activities/arcgis/runUtils.d.ts +1 -20
- package/activities/arcgis/runUtils.js +1 -1
- package/activities/arcgis/shared.js +1 -1
- package/activities/browser/GetBrowserInfo.d.ts +2 -2
- package/activities/core/Annotation.d.ts +0 -1
- package/activities/core/CalculateDate.d.ts +2 -0
- package/activities/core/Cast.d.ts +1 -1
- package/activities/core/Container.d.ts +0 -1
- package/activities/core/ConvertBytesToText.d.ts +1 -0
- package/activities/core/ConvertDataTableToFeatureSet.d.ts +1 -0
- package/activities/core/ConvertTextToBytes.d.ts +1 -0
- package/activities/core/ConvertToJson.d.ts +1 -2
- package/activities/core/CreateFile.d.ts +1 -0
- package/activities/core/CreateValue.d.ts +1 -6
- package/activities/core/DecodeUriComponent.d.ts +1 -0
- package/activities/core/Delay.d.ts +0 -1
- package/activities/core/EncodeUriComponent.d.ts +1 -0
- package/activities/core/Evaluate.d.ts +1 -3
- package/activities/core/EvaluateAsync.d.ts +1 -3
- package/activities/core/ExecuteFunction.d.ts +1 -1
- package/activities/core/ForEach.d.ts +4 -6
- package/activities/core/FormatDate.d.ts +5 -0
- package/activities/core/Function.d.ts +3 -0
- package/activities/core/GetBase64StringFromBytes.d.ts +1 -1
- package/activities/core/GetBase64StringFromFile.d.ts +1 -0
- package/activities/core/GetBytesFromBase64String.d.ts +1 -1
- package/activities/core/GetFirstItem.d.ts +1 -0
- package/activities/core/GetItemAtIndex.d.ts +1 -0
- package/activities/core/GetLastItem.d.ts +1 -0
- package/activities/core/GetLogLevel.d.ts +5 -0
- package/activities/core/GetTextFromFile.d.ts +1 -0
- package/activities/core/GetWorkflowInputs.d.ts +1 -1
- package/activities/core/If.d.ts +1 -3
- package/activities/core/Log.d.ts +0 -2
- package/activities/core/Loop.d.ts +2 -7
- package/activities/core/ParseJson.d.ts +1 -2
- package/activities/core/ParseNumber.d.ts +1 -0
- package/activities/core/ParseUrl.d.ts +5 -6
- package/activities/core/RegexMatches.d.ts +1 -0
- package/activities/core/RegexReplace.d.ts +1 -0
- package/activities/core/RemoveItem.d.ts +1 -0
- package/activities/core/RunActivity.d.ts +0 -1
- package/activities/core/SetProperty.d.ts +0 -3
- package/activities/core/Switch.d.ts +2 -3
- package/activities/core/TextReplace.d.ts +1 -0
- package/activities/core/TryCatch.d.ts +1 -1
- package/activities/core/WebRequest.d.ts +6 -17
- package/activities/csv/ConvertCsvToDataTable.d.ts +1 -0
- package/activities/csv/ConvertDataTableToCsv.d.ts +1 -0
- package/activities/csv/ParseCsv.d.ts +20 -0
- package/activities/csv/ParseCsv.js +1 -0
- package/activities/essentials/GetEssentialsSite.d.ts +1 -1
- package/activities/essentials/RunEssentialsWorkflow.d.ts +1 -4
- package/activities/essentials/RunEssentialsWorkflowActivity.d.ts +2 -2
- package/activities/forms/AddFormElement.d.ts +0 -3
- package/activities/forms/DisplayForm.d.ts +2 -4
- package/activities/forms/FilterFormElementItems.d.ts +1 -0
- package/activities/forms/FormRenderer.js +1 -1
- package/activities/forms/GetFormElementItemsFromCollection.d.ts +1 -4
- package/activities/forms/GetFormElementProperty.d.ts +1 -2
- package/activities/forms/GetFormElementValue.d.ts +1 -1
- package/activities/forms/GetFormEventData.d.ts +5 -0
- package/activities/forms/SetCurrentFormElementItem.d.ts +1 -0
- package/activities/forms/SetFormElementError.d.ts +0 -2
- package/activities/forms/SetFormElementEvent.d.ts +0 -3
- package/activities/forms/SetFormElementEvent.js +1 -1
- package/activities/forms/SetFormElementItemProperty.d.ts +0 -4
- package/activities/forms/SetFormElementItems.d.ts +0 -2
- package/activities/forms/SetFormElementProperty.d.ts +0 -3
- package/activities/forms/ShowFormElement.d.ts +0 -2
- package/activities/image/GetImageMetadata.d.ts +3 -0
- package/activities/image/RotateImage.d.ts +1 -0
- package/activities/index.js +1 -1
- package/activities/math/Abs.d.ts +1 -0
- package/activities/math/Cos.d.ts +1 -0
- package/activities/math/Max.d.ts +1 -0
- package/activities/math/Min.d.ts +1 -0
- package/activities/math/Pow.d.ts +1 -0
- package/activities/math/Random.d.ts +1 -0
- package/activities/math/Sin.d.ts +1 -0
- package/activities/math/Sqrt.d.ts +1 -0
- package/activities/math/Tan.d.ts +1 -0
- package/activities/pdf/AddGeoreferenceToPdf.d.ts +1 -0
- package/activities/pdf/AddImageToPdf.d.ts +1 -41
- package/activities/pdf/AddTextToPdf.d.ts +0 -38
- package/activities/pdf/CreatePdf.d.ts +0 -26
- package/activities/pdf/ExtractPdfPages.d.ts +2 -0
- package/activities/pdf/MergePdfs.d.ts +2 -0
- package/activities/server/CreateDownload.d.ts +1 -1
- package/activities/server/CreateEmailAttachment.d.ts +1 -1
- package/activities/server/DirectoryExists.d.ts +1 -1
- package/activities/server/FileExists.d.ts +1 -1
- package/activities/server/GetDirectoriesInDirectory.d.ts +1 -1
- package/activities/server/GetFilesInDirectory.d.ts +1 -1
- package/activities/server/ReadFile.d.ts +1 -0
- package/activities/server/ReadFileBytes.d.ts +1 -0
- package/activities/server/RunApplication.d.ts +3 -3
- package/activities/server/RunPython.d.ts +4 -4
- package/activities/server/SqlNonQuery.d.ts +1 -0
- package/activities/server/SqlQuery.d.ts +1 -0
- package/activities/server/SqlQueryUnsafe.d.ts +1 -0
- package/activities/ui/Alert.d.ts +0 -4
- package/activities/ui/Confirm.d.ts +1 -4
- package/activities/ui/Prompt.d.ts +1 -5
- package/activities/xlsx/ConvertDataTableToXlsx.d.ts +1 -0
- package/activities/xlsx/ConvertXlsxToDataSet.d.ts +1 -0
- package/execution/ProgramRunner.js +1 -1
- package/forms/FormDefinition.d.ts +4 -1
- package/forms/components/DateTimePicker.js +1 -1
- package/forms/components/TimePicker.js +1 -1
- package/forms/constants.d.ts +1 -1
- package/forms/dateUtilities.d.ts +12 -0
- package/forms/dateUtilities.js +1 -1
- package/forms/utils.d.ts +1 -1
- package/forms/utils.js +1 -1
- package/libs/version.d.ts +1 -1
- package/libs/version.js +1 -1
- package/package.json +1 -1
|
@@ -2,34 +2,23 @@ import { MapProvider } from "./MapProvider";
|
|
|
2
2
|
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines the inputs for the RelationshipQueryTask activity. */
|
|
4
4
|
export interface RelationshipQueryTaskInputs {
|
|
5
|
-
/** The URL to the ArcGIS layer or table to query. Either url or layer is required. */
|
|
6
5
|
url?: string;
|
|
7
|
-
/** The ArcGIS layer or table to query. Either url or layer is required. */
|
|
8
6
|
layer?: __esri.Layer;
|
|
9
|
-
/** Object IDs to query for. */
|
|
10
7
|
objectIds: number | number[];
|
|
11
|
-
/** The ID of the relationship to be queried. The relationships that this layer or table participates in are included in the Layer / Table Resource response. Records in tables / layers corresponding to the related table / layer of the relationship are queried. */
|
|
12
8
|
relationshipId: number;
|
|
13
9
|
outFields?: string | string[];
|
|
14
|
-
/** The spatial reference for the returned geometry. If not specified, the geometry is returned in the spacial reference of the map. */
|
|
15
10
|
outSpatialReference?: number | string | __esri.SpatialReference;
|
|
16
|
-
/** If true, each feature in the FeatureSet includes the geometry. Set to false (default) if you do not plan to include highlighted features on a map since the geometry takes up a significant portion of the response. */
|
|
17
11
|
returnGeometry?: boolean;
|
|
18
|
-
/** The version of the geodatabase on which the query will be performed. This property applies to feature services. Requires ArcGIS Server 10.0+. */
|
|
19
12
|
gdbVersion?: string;
|
|
20
|
-
/** The definition expression to be applied to the related layer or table. From the list of records that are related to the specified objectIds, only those records that conform to this expression will be returned. For example: POP2000 > 100000 */
|
|
21
13
|
definitionExpression?: string;
|
|
22
|
-
/** Specify the number of decimal places for the geometries returned by the query operation. */
|
|
23
14
|
geometryPrecision?: number;
|
|
24
|
-
/** The maximum allowable offset to be used for generalizing geometries returned by the query operation. The offset is in the units of spatialReference. If spatialReference is not defined, the spatial reference of the map is used. Requires ArcGIS Server 10+. */
|
|
25
15
|
maxAllowableOffset?: number;
|
|
26
16
|
}
|
|
27
17
|
/** Defines the outputs for the RelationshipQueryTask activity. */
|
|
28
18
|
export interface RelationshipQueryTaskOutputs {
|
|
29
|
-
/** The relationship query result returned by the query operation. */
|
|
19
|
+
/** @description The relationship query result returned by the query operation. */
|
|
30
20
|
results: Record<string, __esri.FeatureSet>;
|
|
31
21
|
}
|
|
32
|
-
/** Performs an ArcGIS Server relationship query. */
|
|
33
22
|
export declare class RelationshipQueryTask implements IActivityHandler {
|
|
34
23
|
static readonly action = "gcx:wf:arcgis:query:RelationshipQueryTask";
|
|
35
24
|
static readonly suite = "gcx:wf:builtin";
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Remove Feature Set Fields activity. */
|
|
3
3
|
export interface RemoveFeatureSetFieldsInputs {
|
|
4
|
-
/** The feature set or collection of graphics to process. */
|
|
5
4
|
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
6
|
-
/** The list of fields to remove. */
|
|
7
5
|
fields: string | string[];
|
|
8
|
-
/** Whether to remove fields that do not contain any data. Defaults to false. */
|
|
9
6
|
removeEmptyFields?: boolean;
|
|
10
7
|
}
|
|
11
8
|
/** Defines outputs for the Remove Feature Set Fields activity. */
|
|
12
9
|
export interface RemoveFeatureSetFieldsOutputs {
|
|
13
|
-
/**
|
|
10
|
+
/** @description The first feature affected or otherwise. */
|
|
14
11
|
feature?: __esri.Graphic;
|
|
15
|
-
/**
|
|
12
|
+
/** @description All the features affected or otherwise. */
|
|
16
13
|
features?: __esri.Graphic[];
|
|
17
14
|
}
|
|
18
15
|
export declare class RemoveFeatureSetFields implements IActivityHandler {
|
|
@@ -2,9 +2,7 @@ import { MapProvider } from "./MapProvider";
|
|
|
2
2
|
import type { IActivityHandler, IActivityContext, EmptyOutputs } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the RemoveGraphics activity. */
|
|
4
4
|
export interface RemoveGraphicsInputs {
|
|
5
|
-
/** The ID of the graphics layer to remove features from. */
|
|
6
5
|
layerId?: string | number;
|
|
7
|
-
/** The set of features to be removed from the layer. */
|
|
8
6
|
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
9
7
|
}
|
|
10
8
|
export declare class RemoveGraphics implements IActivityHandler {
|
|
@@ -2,11 +2,11 @@ import { MapProvider } from "./MapProvider";
|
|
|
2
2
|
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the RemoveLayer activity. */
|
|
4
4
|
export interface RemoveLayerInputs {
|
|
5
|
-
/** The ID of the layer to be removed from the map. */
|
|
6
5
|
layerId: string | number;
|
|
7
6
|
}
|
|
8
7
|
/** Defines outputs for the RemoveLayer activity. */
|
|
9
8
|
export interface RemoveLayerOutputs {
|
|
9
|
+
/** @description Whether the layer was removed. */
|
|
10
10
|
success: boolean;
|
|
11
11
|
}
|
|
12
12
|
export declare class RemoveLayer implements IActivityHandler {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the Renderer From JSON activity. */
|
|
3
3
|
export interface RendererFromJsonInputs {
|
|
4
|
-
/** The renderer JSON as a string or object. */
|
|
5
4
|
json: string | object;
|
|
6
5
|
}
|
|
7
6
|
/** Defines outputs for the Renderer From JSON activity. */
|
|
8
7
|
export interface RendererFromJsonOutputs {
|
|
9
|
-
/** The renderer. */
|
|
8
|
+
/** @description The renderer result. */
|
|
10
9
|
renderer?: __esri.Renderer;
|
|
11
10
|
}
|
|
12
11
|
export declare class RendererFromJson implements IActivityHandler {
|
|
@@ -2,19 +2,14 @@ import { MapProvider } from "./MapProvider";
|
|
|
2
2
|
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the ResetLayerDefinitionExpressionInputs activity. */
|
|
4
4
|
export interface ResetLayerDefinitionExpressionInputs {
|
|
5
|
-
/**
|
|
6
|
-
* The ID of the layer whose definition is to be reset.
|
|
7
|
-
* In applications that use the 4.x ArcGIS Maps SDK for JavaScript, the title of the layer is also searched if no matching ID is found.
|
|
8
|
-
*/
|
|
9
5
|
layerId: string | number;
|
|
10
|
-
/**
|
|
11
|
-
* The optional index of the sublayer whose definition is to be reset. Sublayers are associated with MapImageLayers.
|
|
12
|
-
*/
|
|
13
6
|
sublayerId?: string | number;
|
|
14
7
|
}
|
|
15
8
|
/** Defines outputs for the SetLayerDefinitionExpression activity. */
|
|
16
9
|
export interface SetLayerDefinitionExpressionOutputs {
|
|
10
|
+
/** @description The previous layer definition expression. */
|
|
17
11
|
oldExpression?: string;
|
|
12
|
+
/** @description The new (original) layer definition expression. */
|
|
18
13
|
newExpression?: string;
|
|
19
14
|
}
|
|
20
15
|
export declare class ResetLayerDefinitionExpression implements IActivityHandler {
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs to the Reshape task. This task requires a geometry service. */
|
|
3
3
|
export interface ReshapeServiceTaskInputs {
|
|
4
|
-
/** The URL of the ArcGIS geometry service. */
|
|
5
4
|
url: string;
|
|
6
|
-
/** The polyline or polygon to be reshaped. */
|
|
7
5
|
geometry: __esri.Polyline | __esri.Polygon;
|
|
8
|
-
/** The single-part polyline that performs the reshaping. */
|
|
9
6
|
reshaper: __esri.Polyline;
|
|
10
7
|
}
|
|
11
8
|
/** Defines outputs for the Reshape task. */
|
|
12
9
|
export interface ReshapeServiceTaskOutputs {
|
|
13
|
-
/** The reshaped geometry. */
|
|
10
|
+
/** @description The reshaped geometry. */
|
|
14
11
|
geometry: __esri.Geometry;
|
|
15
12
|
}
|
|
16
13
|
export declare class ReshapeServiceTask implements IActivityHandler {
|
|
@@ -2,26 +2,20 @@ import { MapProvider } from "./MapProvider";
|
|
|
2
2
|
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the ReverseGeocode activity. */
|
|
4
4
|
export interface ReverseGeocodeInputs {
|
|
5
|
-
/** The URL of the geocoding service. */
|
|
6
5
|
url: string;
|
|
7
|
-
/** The point at which to search for the closest address. The location parameter can be represented by a Point object or as a comma-separated list. The spatial reference can be specified if a Point is used; otherwise the spatial reference is assumed to be the same as that of the geocoding service. If comma-separated values are used, they must be in the following format: <XCoordinate>,<YCoordinate>. */
|
|
8
6
|
location: number[] | __esri.Point;
|
|
9
|
-
/** Specifies the radius of an area around a point location that should be searched. The distance value is in meters. If the distance parameter is not specified or invalid, a default value of 0 meters is used. */
|
|
10
7
|
distance?: number;
|
|
11
|
-
/** The well-known ID (WKID) of the spatial reference or a Spatial Reference object for the returned address candidates. For a list of valid WKID values, see http://resources.arcgis.com/EN/HELP/REST/APIREF/PCS.HTML and http://resources.arcgis.com/EN/HELP/REST/APIREF/GCS.HTML. */
|
|
12
8
|
outSpatialReference?: number | string | __esri.SpatialReference;
|
|
13
|
-
/** The language code. Note: Only supported by geocode services published using StreetMap Premium locators. Added at 10.3 and only supported by geocode services published with ArcGIS 10.3 for Server and later versions. */
|
|
14
9
|
languageCode?: string;
|
|
15
|
-
/** Determines whether the geocode service should return the nearest street intersection or the nearest address to the given point. If true, then the closest intersection to the input location is returned; if false, then the closest address to the input location is returned. The default value is false. Note: This parameter is only valid for geocode services that support intersections. A geocode service that supports intersections will include the IntersectionConnectors property in the service description. This parameter was added at 10.3. */
|
|
16
10
|
returnIntersection?: boolean;
|
|
17
|
-
/** The time span in milliseconds to wait for the request's results. */
|
|
18
11
|
timeout?: number;
|
|
19
|
-
/** This activity errors and causes the workflow to quit if it's provided with coordinates that don't match an address. Setting this parameter to true will continue the workflow on error. */
|
|
20
12
|
continueOnError?: boolean;
|
|
21
13
|
}
|
|
22
14
|
/** Defines outputs for the ReverseGeocode activity. */
|
|
23
15
|
export interface ReverseGeocodeOutputs {
|
|
16
|
+
/** @description The result address. */
|
|
24
17
|
address?: object;
|
|
18
|
+
/** @description The result address location. */
|
|
25
19
|
location?: __esri.Point;
|
|
26
20
|
}
|
|
27
21
|
export declare class ReverseGeocode implements IActivityHandler {
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import type { IActivityHandler } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs to the Rotate activity. This activity relies on the geometry engine. */
|
|
3
3
|
export interface RotateEngineTaskInputs {
|
|
4
|
-
/** The geometry to rotate. */
|
|
5
4
|
geometry: __esri.Geometry;
|
|
6
|
-
/** The rotation angle in degrees. */
|
|
7
5
|
angle: number;
|
|
8
|
-
/** Point to rotate the geometry around. Defaults to the centroid of the geometry. */
|
|
9
6
|
origin?: __esri.Point;
|
|
10
7
|
}
|
|
11
8
|
/** Defines outputs to the Rotate activity. */
|
|
12
9
|
export interface RotateEngineTaskOutputs {
|
|
13
|
-
/** The rotated geometry. */
|
|
10
|
+
/** @description The rotated geometry. */
|
|
14
11
|
geometry: __esri.Geometry;
|
|
15
12
|
}
|
|
16
13
|
export declare class RotateEngineTask implements IActivityHandler {
|
|
@@ -2,86 +2,55 @@ import { MapProvider } from "./MapProvider";
|
|
|
2
2
|
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the basic Route Task activity. This task is related to the Closest Facility and Service Area tasks. */
|
|
4
4
|
export interface RouteTaskInputs {
|
|
5
|
-
/** The URL to the ArcGIS network analysis service. */
|
|
6
5
|
url: string;
|
|
7
|
-
/** The set of stops loaded as network locations during analysis. When stops takes a FeatureSet, each feature in the FeatureSet must have a defined spatial reference. If the feature contains x and y attributes, those values are used for the stop, even if the feature includes geometry. At ArcGIS Server 10.1 an optional url property was added. Use this property to specify a REST query request to a Feature, Map or GP Service that returns a JSON feature set. The url property can be specified using DataFile. Note that either the features or url property should be specified, but not both. */
|
|
8
6
|
stops: __esri.DataLayer | __esri.FeatureSet;
|
|
9
|
-
/** The list of network attribute names to be accumulated with the analysis; i.e., which attributes should be returned as part of the response. The defaulted is as defined in the specific routing network layer. See: http://resources.arcgis.com/en/help/main/10.2/index.html#//00470000000m000000 */
|
|
10
7
|
accumulateAttributes?: string[];
|
|
11
|
-
/** An object describing the parameter values. If present, an attribute name, parameter name, and value must be specified. */
|
|
12
8
|
attributeParameterValues?: __esri.RouteParametersAttributeParameterValue | __esri.RouteParametersAttributeParameterValue[];
|
|
13
|
-
/** The set of point barriers loaded as network locations during analysis. At ArcGIS Server 10.1 an optional url property was added. Use this property to specify a REST query request to a Feature, Map or GP Service that returns a JSON feature set. The url property can be specified using DataFile. Note that either the features or url property should be specified. */
|
|
14
9
|
barriers?: __esri.DataLayer | __esri.FeatureSet;
|
|
15
|
-
/** The language used when computing directions. The default is as defined in the specific routing network layer. By default, NAServer gets installed with en_US only - it is up to the server administrator to add additional languages. */
|
|
16
10
|
directionsLanguage?: string;
|
|
17
|
-
/** The length unit to use when computing directions. The default is as defined in the specific routing network layer. Known values: centimeters | decimal-degrees | decimeters | feet | inches | kilometers | meters | miles | millimeters | nautical-miles | points | yards. */
|
|
18
11
|
directionsLengthUnits?: string;
|
|
19
|
-
/** Defines the amount of direction information returned. Default value: standard. Known values: complete | complete-no-events | instructions-only | standard | summary-only. */
|
|
20
12
|
directionsOutputType?: string;
|
|
21
|
-
/** The style to be used when returning directions. The default will be as defined in the network layer. View the REST layer description for your network service to see a list of supported styles. */
|
|
22
13
|
directionsStyleName?: string;
|
|
23
|
-
/** The name of network attribute to use for the drive time when computing directions. The default is as defined in the specific routing network layer. */
|
|
24
14
|
directionsTimeAttribute?: string;
|
|
25
|
-
/** If true, avoids network elements restricted by barriers or restrictions specified in restrictionAttributes. Default value: true. */
|
|
26
15
|
doNotLocateOnRestrictedElements?: boolean;
|
|
27
|
-
/** When the findBestSequence = true, the route solver attempts the optimal sequence to visit the stops. As this is a combinatorial problem, we employ heuristics to solve this in a reasonable time. The heuristics do not guarantee the optimal sequence (as there is no good/fast way to prove optimality for large number of stops). It returns a solution that is close to optimal if not the optimal. For these stops to be visited in the most efficient way, specify the following parameters: routefindBestSequence = true; routepreserveFirstStop = false; routepreserveLastStop = false; routereturnStops = true; */
|
|
28
16
|
findBestSequence?: boolean;
|
|
29
|
-
/** When false, the solve operation wil fail if at least one of the stops specified cannot be located or reached. When true, as long as there are at least two valid stops that have been connected by a route, a valid route is returned. */
|
|
30
17
|
ignoreInvalidLocations?: boolean;
|
|
31
|
-
/** The network attribute name to be used as the impedance attribute in the analysis. The default is as defined in the routing network layer. You can specify any attribute names listed in the Service Directory under Network Dataset -> Network Attributes as "Usage Type: esriNAUTCost". You can also specify a value of "none" to indicate that no network attributes should be used for impedance. For example, set impedanceAttribute to "Time" for the quickest route, or to "Length" for the shortest drive, assuming the service has those two esriNAUTCost attributes. */
|
|
32
18
|
impedanceAttribute?: string;
|
|
33
19
|
impedenceAttribute?: string;
|
|
34
|
-
/** The precision of the output geometry after generalization. If 0, no generalization of output geometry is performed. If present and positive, it represents the MaximumAllowableOffset parameter and generalization is performed according to IPolycurve.Generalize. */
|
|
35
20
|
outputGeometryPrecision?: number;
|
|
36
|
-
/** The units of the output geometry precision. Known Values: centimeters | decimal-degrees | decimeters | feet | inches | kilometers | meters | miles | millimeters | nautical-miles | points | yards. */
|
|
37
21
|
outputGeometryPrecisionUnits?: string;
|
|
38
|
-
/** The type of output lines to be generated in the result. Default Value: true-shape. Known Values: none | straight | true-shape | true-shape-with-measure. */
|
|
39
22
|
outputLines?: string;
|
|
40
|
-
/** The spatial reference (or well-known ID of same) for the geometries returned with the analysis results. If not specified, the geometries are returned in the spatial reference of the map. */
|
|
41
23
|
outSpatialReference?: number | string | __esri.SpatialReference;
|
|
42
|
-
/** The set of point barriers loaded as network locations during analysis. At ArcGIS Server 10.1 an optional url property was added. Use this property to specify a REST query request to a Feature, Map or GP Service that returns a JSON feature set. The url property can be specified using DataFile. Note that either the features or url property should be specified. */
|
|
43
24
|
pointBarriers?: __esri.DataLayer | __esri.FeatureSet;
|
|
44
|
-
/** The set of polygon barriers loaded as network locations during analysis. At ArcGIS Server 10.1, an optional url property was added. Use this property to specify a REST query request to a Feature, Map or GP Service that returns a JSON feature set. The url property can be specified using DataFile. Note that either the features or url property should be specified. */
|
|
45
25
|
polygonBarriers?: __esri.DataLayer | __esri.FeatureSet;
|
|
46
|
-
/** The set of polyline barriers loaded as network locations during analysis. At ArcGIS Server 10.1, an optional url property was added. Use this property to specify a REST query request to a Feature, Map or GP Service that returns a JSON feature set. The url property can be specified using DataFile. Note that either the features or url property should be specified. */
|
|
47
26
|
polylineBarriers?: __esri.DataLayer | __esri.FeatureSet;
|
|
48
|
-
/** If true, keeps the first stop fixed in the sequence even when findBestSequence = true. Only applicable if findBestSequence = true. The default is as defined in the specific routing network layer. */
|
|
49
27
|
preserveFirstStop?: boolean;
|
|
50
|
-
/** If true, keeps the last stop fixed in the sequence even when findBestSequence = true. Only applicable if findBestSequence = true. The default is as defined in the specific routing network layer. */
|
|
51
28
|
preserveLastStop?: boolean;
|
|
52
|
-
/** The list of network attribute names to be used as restrictions with the analysis. The default is as defined in the specific routing network layer used in your RouteTask. Possible values are listed in the Service Directory under Network Dataset -> Network Attributes. You can also specify a value of none to indicate that no network attributes should be used as restrictions. If you specify an empty array, it will default to the default of the service. */
|
|
53
29
|
restrictionAttributes?: string[];
|
|
54
|
-
/** Specifies how U-Turns should be handled. The default is as defined in the specific routing network layer. Known Values: allow-backtrack | at-dead-ends-only | no-backtrack | at-dead-ends-and-intersections. */
|
|
55
30
|
restrictUTurns?: string;
|
|
56
|
-
/** If true, barriers are returned with the RouteResult. Default Value: false */
|
|
57
31
|
returnBarriers?: boolean;
|
|
58
|
-
/** If true, directions are returned in the directions property of each RouteResult. Default Value: false. */
|
|
59
32
|
returnDirections?: boolean;
|
|
60
|
-
/** If true, polygon barriers are returned with the RouteResult. Default Value: false. */
|
|
61
33
|
returnPolygonBarriers?: boolean;
|
|
62
|
-
/** If true, polyline barriers are returned with the RouteResult. Default Value: false */
|
|
63
34
|
returnPolylineBarriers?: boolean;
|
|
64
|
-
/** If true, routes are generated and returned in the route property of each RouteResult. Default Value: true */
|
|
65
35
|
returnRoutes?: boolean;
|
|
66
|
-
/** If true, stops are returned in the stops property of each RouteResult. Default Value: false */
|
|
67
36
|
returnStops?: boolean;
|
|
68
|
-
/** If true, z values are returned in the RouteResult. Default Value: true. */
|
|
69
37
|
returnZ?: boolean;
|
|
70
|
-
/** The time the route begins. If not specified, the default is the time specified in the route service. */
|
|
71
38
|
startTime?: Date;
|
|
72
|
-
/** If true, the start time will be in UTC format. */
|
|
73
39
|
startTimeIsUTC?: boolean;
|
|
74
|
-
/** If true, the hierarchy attribute for the network should be used in analysis. The default is as defined in the specific routing network layer. */
|
|
75
40
|
useHierarchy?: boolean;
|
|
76
|
-
/** A useful feature of the RouteTask is the ability to constrain stop visits to certain times of day, or "time windows". If you were required to deliver orders to four homes and each customer was available during a limited time period during the day, the route task could help you find the most efficient path for making all the deliveries. Time windows are treated as a "soft" constraint. This means that although the solver attempts to honor time windows, if necessary, it will violate the time windows of some stops in order to reach them. Remember, the stops will be visited in the order they were added unless you set RouteParameters.findBestSequence = true. */
|
|
77
41
|
useTimeWindows?: boolean;
|
|
78
42
|
}
|
|
79
43
|
/** defines outputs for the Route Task activity. */
|
|
80
44
|
export interface RouteTaskOutputs {
|
|
45
|
+
/** @description The point barriers. */
|
|
81
46
|
barriers: __esri.Point[];
|
|
47
|
+
/** @description The messages returned by the network analysis service. */
|
|
82
48
|
messages: __esri.NAMessage[];
|
|
49
|
+
/** @description The polygon barriers. */
|
|
83
50
|
polygonBarriers: __esri.Polygon[];
|
|
51
|
+
/** @description The polyline barriers. */
|
|
84
52
|
polylineBarriers: __esri.Polyline[];
|
|
53
|
+
/** @description The route results. */
|
|
85
54
|
routeResults: __esri.RouteResult[];
|
|
86
55
|
}
|
|
87
56
|
export declare class RouteTask implements IActivityHandler {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ChannelProvider } from "../core/ChannelProvider";
|
|
2
2
|
import { MapProvider } from "./MapProvider";
|
|
3
|
-
import type {
|
|
3
|
+
import type { ExportWebMap } from "./printing";
|
|
4
|
+
import type { JobParameter } from "./runUtils";
|
|
4
5
|
import type { IActivityContext, IActivityHandler } from "../../IActivityHandler";
|
|
5
6
|
/** Defines inputs for the RunPrint activity. */
|
|
6
7
|
export interface RunPrintInputs {
|
|
@@ -11,9 +12,11 @@ export interface RunPrintInputs {
|
|
|
11
12
|
parameters?: Record<string, any>;
|
|
12
13
|
resultFileName?: string;
|
|
13
14
|
resolution?: number;
|
|
15
|
+
rotation?: number;
|
|
14
16
|
}
|
|
15
17
|
/** Defines outputs for the RunPrint activity. */
|
|
16
18
|
export interface RunPrintOutputs {
|
|
19
|
+
/** @description The URL to the print result. */
|
|
17
20
|
href: string;
|
|
18
21
|
}
|
|
19
22
|
export type PrintType = "layout" | "template";
|
|
@@ -21,8 +24,8 @@ export declare class RunPrint implements IActivityHandler {
|
|
|
21
24
|
static readonly action = "gcx:wf:geocortex::RunPrint";
|
|
22
25
|
static readonly suite = "gcx:wf:builtin";
|
|
23
26
|
execute(inputs: RunPrintInputs, context: IActivityContext, ChannelProviderType: typeof ChannelProvider, MapProviderType: typeof MapProvider): Promise<RunPrintOutputs>;
|
|
24
|
-
getWebmapParameters(mapProvider: MapProvider, mapName: string, inputScale: number | undefined, inputExtent: __esri.Extent | undefined
|
|
25
|
-
getWebmap(printType: PrintType, mapProvider: MapProvider, scale?: number
|
|
27
|
+
getWebmapParameters(mapProvider: MapProvider, mapName: string, inputScale: number | undefined, inputExtent: __esri.Extent | undefined): Promise<JobParameter[]>;
|
|
28
|
+
getWebmap(printType: PrintType, mapProvider: MapProvider, scale?: number): Promise<ExportWebMap>;
|
|
26
29
|
getWgs84Extent(extent: __esri.Extent): Promise<__esri.Extent>;
|
|
27
|
-
prepareWebmapParameters(mapName: string, webmap:
|
|
30
|
+
prepareWebmapParameters(mapName: string, webmap: ExportWebMap, scale: number, extent?: __esri.Extent): JobParameter[];
|
|
28
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var RunPrint_1;import{__decorate}from"tslib";import{submitJob}from"@arcgis/core/rest/geoprocessor";import{ActivityInputError,ActivityNotImplementedError,GenericActivityError}from"../../Errors.js";import{activateTwo}from"../../Hooks.js";import{validation}from"../../Validation.js";import{ChannelProvider}from"../core/ChannelProvider.js";import{MapProvider}from"./MapProvider.js";import{checkResult,getMapControlNames,getServiceToken,runJob,getServiceUrl}from"./runUtils.js";import{getAuthenticationToken,getPortalDataUrl,getPortalItem,parsePortalItemUrl}from"./shared.js";
|
|
1
|
+
var RunPrint_1;import{__decorate}from"tslib";import{submitJob}from"@arcgis/core/rest/geoprocessor";import{ActivityInputError,ActivityNotImplementedError,GenericActivityError}from"../../Errors.js";import{activateTwo}from"../../Hooks.js";import{validation}from"../../Validation.js";import{ChannelProvider}from"../core/ChannelProvider.js";import{MapProvider}from"./MapProvider.js";import{ENGINE_TASK_ASYNC_POLLING_INTERVAL_MS,ENGINE_TASK_PARAM_ADDITIONAL_SETTINGS,ENGINE_TASK_PARAM_ADDITIONAL_WEB_MAPS,ENGINE_TASK_PARAM_FORMAT,ENGINE_TASK_PARAM_LAYOUT_TEMPLATE,ENGINE_TASK_PARAM_RETURN_ADDITIONAL_LAYOUT_INFO,ENGINE_TASK_PARAM_WEB_MAP,ENGINE_VGS_LAYOUT_REF_PREFEX,MapFrameElementName,getWebMapOverviewPrintScale}from"./printing.js";import{getAutoValueInfo,LayoutFieldTranslations}from"./printingFields.js";import{checkResult,getMapControlNames,getServiceToken,runJob,getServiceUrl}from"./runUtils.js";import{getAuthenticationToken,getPortalDataUrl,getPortalItem,parsePortalItemUrl}from"./shared.js";let RunPrint=RunPrint_1=class{async execute(w,I,T,t){const a=validation.string("url",w.url,validation.never),y=validation.string("exportFormat",w.exportFormat,"PDF"),P=validation.number("scale",w.scale,void 0),b=validation.number("resolution",w.resolution,96),c=validation.string("resultFileName",w.resultFileName,"Print");if(void 0!==P&&P<=0)throw new ActivityInputError("scale","Scale must be greater than zero.");const{itemUrl:e,portalItemUrlInfo:h,token:S}=(()=>{var t=parsePortalItemUrl(a);if(!t||!t.itemId)throw new GenericActivityError(void 0,`Unable to parse url for print layout or template '${a}.`);let e,r;if(t&&(r=getAuthenticationToken(t.portalUrl),e=getPortalDataUrl(t,r)),!e)throw new GenericActivityError(void 0,`Unable to get item URL for print layout or template '${a}.`);return{itemUrl:e,portalItemUrlInfo:t,token:r}})(),R=t.create(),O=w.extent,m=I.cancellationToken,u=await getPortalItem(e,T,m),G=(u.tags||[]).find(t=>t.startsWith(ENGINE_VGS_LAYOUT_REF_PREFEX)),o=async t=>{var e=t["jobStatus"];if("job-succeeded"!==e)throw new GenericActivityError(void 0,`Layout task failed. Job status: ${e}`);const r=T.create(void 0,"arcgis");if(r.request.method="POST",r.request.headers={"Content-Type":"application/json"},r.request.url=`${t.sourceUrl}/jobs/${t.jobId}/results/Output_JSON?f=json`,!await r.send())throw console.error("Unable to get layout info output.",r.response.message),new GenericActivityError(void 0,"Unable to get layout info output.");return r.getResponseData(r.response.payload).value},M=async(t,e)=>{t=new URL("./Get%20Layout%20Templates%20Info%20Task",t).toString(),e={portal_layout_items:{authentication:e,ids:[G]}};const r=await submitJob(t,{[ENGINE_TASK_PARAM_RETURN_ADDITIONAL_LAYOUT_INFO]:!0,[ENGINE_TASK_PARAM_ADDITIONAL_SETTINGS]:JSON.stringify(e)},void 0,{method:"post"});if(r){let t;try{t=await r.waitForJobCompletion({interval:ENGINE_TASK_ASYNC_POLLING_INTERVAL_MS,signal:I.cancellationToken.signal})}catch(t){throw new GenericActivityError(void 0,"Error encountered awaiting completion of a layout info task: "+t.toString())}if(t)return(await o(t))[0]}};return(G?async()=>{await R.load();let t=I.ambient.printingServiceUrl;if(!t)throw new GenericActivityError(void 0,"No printing service configured for performing a gen2 print. This must be provided to the Workflow engine by the host application.");t.endsWith("/")||(t+="/"),t.toLowerCase().endsWith("/gpserver/")||(t+="GPServer/");var e=validation.number("rotation",w.rotation),r={anonymous:!1,portal_url:h.portalUrl,token:S},a=await M(t,r);let o,i,n;if(a){const{layoutOptions:v,webMapFrameElements:d}=a;o=v.customTextElements,i=d?.find(t=>t.name===MapFrameElementName.WEBMAP_MAP_FRAME),n=d?.find(t=>t.name===MapFrameElementName.OVERVIEW)}var s=P??R.getScale(),l=O??R.getExtent();const p=await this.getWebmap("layout",R,s);if(!p)throw new GenericActivityError(void 0,"No map available. Unable to print.");const c=[];n&&(m=s?getWebMapOverviewPrintScale(s,n,i):void 0,p.mapOptions.scale=m,c.push({name:MapFrameElementName.OVERVIEW,Map_As_JSON:p}));a=JSON.stringify(c);if(o){var m=o.map(t=>Object.keys(t)[0]);const g=[];p.layoutOptions.customTextElements=g;var u=I.ambient.environment.strings;for(const N of m){var A=LayoutFieldTranslations[N];if(A)g.push({[N]:u[A]||A});else{A=getAutoValueInfo(N);if(!A.isAutoValue||A.isClientValue){A=w.parameters?.[N];if(A)g.push({[N]:A});else{const f=o.find(t=>Object.keys(t)[0]===N)[N]||"";f.startsWith("<")&&f.endsWith(">")?g.push({[N]:""}):g.push({[N]:f})}}}}}p.exportOptions=p.exportOptions??{},p.exportOptions.dpi=b,l&&(p.mapOptions.extent={xmin:l.xmin,ymin:l.ymin,xmax:l.xmax,ymax:l.ymax,spatialReference:l.spatialReference}),void 0!==e&&(p.mapOptions.rotation=-1*e),p.mapOptions.scale=s;const _=await submitJob(new URL("./VertiGIS%20Print%20Task",t).toString(),{[ENGINE_TASK_PARAM_ADDITIONAL_SETTINGS]:JSON.stringify({authentication:r}),[ENGINE_TASK_PARAM_ADDITIONAL_WEB_MAPS]:a,[ENGINE_TASK_PARAM_FORMAT]:y,[ENGINE_TASK_PARAM_LAYOUT_TEMPLATE]:G,[ENGINE_TASK_PARAM_WEB_MAP]:JSON.stringify(p)},void 0,{method:"post"});let E;try{E=await _.waitForJobCompletion({interval:ENGINE_TASK_ASYNC_POLLING_INTERVAL_MS,signal:I.cancellationToken.signal})}catch(t){throw new GenericActivityError(void 0,"Error encountered awaiting completion of a layout print task: "+t.toString())}return(async t=>{var t=t["jobStatus"];if("job-succeeded"!==t)throw new GenericActivityError(void 0,`Layout print failed. Job status: ${t}`);const e=T.create(void 0,"arcgis");if(e.request.method="POST",e.request.headers={"Content-Type":"application/json"},e.request.url=`${_.sourceUrl}/jobs/${_.jobId}/results/Output_File?f=json`,!await e.send())throw console.error("Unable to get print output.",e.response.message),new GenericActivityError(void 0,"Unable to get print output.");return{href:e.getResponseData(e.response.payload).value.url}})(E)}:async()=>{const t=T.create();m.finally(function(){t.cancel()});var e=getServiceUrl(u.url,"printing");let r;S&&"public"!==u.access&&(r=await getServiceToken(e,h.portalUrl,S,t));const a=[];if(w.parameters)for(const l of Object.keys(w.parameters)){var o,i=w.parameters[l];i&&(o=i instanceof Array,a.push({name:l,containsMultipleValues:o,value:o?void 0:i,values:o?i:void 0}))}var n=await getMapControlNames(h,e,r,t,m);if(n?.length){var s=n[0],s=await this.getWebmapParameters(R,s,P,O);if(s?.length)for(const p of s)a.push(p)}s={template:{itemId:h.itemId,portalUrl:h.portalUrl,title:c},parameters:a,dpi:b},s=(await runJob(e,r,s,t)).response.ticket;return{href:await checkResult(e,r,s,1e3,t,m)}})()}async getWebmapParameters(t,e,r,a){if(await t.load(),!t.map)throw new GenericActivityError(void 0,"No map available. Unable to generate webmap parameters.");var o=r||t.getScale(),a=a||t.getExtent(),o=await this.getWebmap("template",t,o),a=await this.getWgs84Extent(a);return this.prepareWebmapParameters(e,o,r||0,a)}async getWebmap(t,e,r){throw console.warn("getWebmap needs to be overridden by a client implementation."),new ActivityNotImplementedError(RunPrint_1.action)}async getWgs84Extent(t){throw console.warn("getWgs84Extent needs to be overridden by a client implementation."),new ActivityNotImplementedError(RunPrint_1.action)}prepareWebmapParameters(t,e,r,a){throw console.warn("prepareWebmapParameters needs to be overriden by a client implementation."),new ActivityNotImplementedError(RunPrint_1.action)}};RunPrint.action="gcx:wf:geocortex::RunPrint",RunPrint.suite="gcx:wf:builtin",RunPrint=RunPrint_1=__decorate([activateTwo(ChannelProvider,MapProvider)],RunPrint);export{RunPrint};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ChannelProvider } from "../core/ChannelProvider";
|
|
2
2
|
import { MapProvider } from "./MapProvider";
|
|
3
|
-
import type {
|
|
3
|
+
import type { ExportWebMap, WebmapPrintParameters } from "./printing";
|
|
4
|
+
import type { JobParameter, DataSource } from "./runUtils";
|
|
4
5
|
import type { IActivityContext, IActivityHandler } from "../../IActivityHandler";
|
|
5
6
|
/** Defines inputs for the RunReport activity. */
|
|
6
7
|
export interface RunReportInputs {
|
|
@@ -17,14 +18,15 @@ export interface RunReportInputs {
|
|
|
17
18
|
}
|
|
18
19
|
/** Defines outputs for the RunReport activity. */
|
|
19
20
|
export interface RunReportOutputs {
|
|
21
|
+
/** @description The URL to the report result. */
|
|
20
22
|
href: string;
|
|
21
23
|
}
|
|
22
24
|
export declare class RunReport implements IActivityHandler {
|
|
23
25
|
static readonly action = "gcx:wf:geocortex::RunReport";
|
|
24
26
|
static readonly suite = "gcx:wf:builtin";
|
|
25
27
|
execute(inputs: RunReportInputs, context: IActivityContext, ChannelProviderType: typeof ChannelProvider, MapProviderType: typeof MapProvider): Promise<RunReportOutputs>;
|
|
26
|
-
getWebmap(mapProvider: MapProvider, scale?: number, trivia?: Record<string, any>): Promise<
|
|
28
|
+
getWebmap(mapProvider: MapProvider, scale?: number, trivia?: Record<string, any>): Promise<ExportWebMap>;
|
|
27
29
|
getWebmapExtent(mapProvider: MapProvider): Promise<__esri.Extent>;
|
|
28
30
|
getWebmapParameters(MapProviderType: typeof MapProvider, mapName: string, trivia: Record<string, any> | undefined): Promise<JobParameter[]>;
|
|
29
|
-
prepareWebmapParameters(mapName: string, webmap:
|
|
31
|
+
prepareWebmapParameters(mapName: string, webmap: ExportWebMap, scale: number, extent?: __esri.Extent): JobParameter[];
|
|
30
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var RunReport_1;import{__decorate}from"tslib";import{ActivityNotImplementedError}from"../../Errors.js";import{activateTwo}from"../../Hooks.js";import{validation}from"../../Validation.js";import{ChannelProvider}from"../core/ChannelProvider.js";import{MapProvider}from"./MapProvider.js";import{checkResult,getMapControlNames,getServiceToken,runJob,getServiceUrl}from"./runUtils.js";import{getAuthenticationToken,getPortalDataUrl,getPortalItem,parsePortalItemUrl}from"./shared.js";let RunReport=RunReport_1=class{async execute(e,t,r,a){var o=validation.string("url",e.url,validation.never),
|
|
1
|
+
var RunReport_1;import{__decorate}from"tslib";import{ActivityNotImplementedError}from"../../Errors.js";import{activateTwo}from"../../Hooks.js";import{validation}from"../../Validation.js";import{ChannelProvider}from"../core/ChannelProvider.js";import{MapProvider}from"./MapProvider.js";import{checkResult,getMapControlNames,getServiceToken,runJob,getServiceUrl}from"./runUtils.js";import{getAuthenticationToken,getPortalDataUrl,getPortalItem,parsePortalItemUrl}from"./shared.js";let RunReport=RunReport_1=class{async execute(e,t,r,a){var o=validation.string("url",e.url,validation.never),n=validation.boolean("includeMap",e.includeMap,!1),i=parsePortalItemUrl(o),l=validation.array("webmapParameters",e.webmapParameters,[]),s=validation.string("resultFileName",e.resultFileName,"Report"),p=validation.array("dataSources",e.dataSources),m=validation.string("language",e.language),c=validation.string("format",e.format),u=validation.number("resolution",e.resolution,96);let d,v;if(i&&(v=getAuthenticationToken(i.portalUrl),d=getPortalDataUrl(i,v)),!i||!i.itemId)throw new Error(`Unable to get item ID for report '${o}.`);if(!d)throw new Error(`Unable to get item URL for report '${o}.`);const g=t.cancellationToken;o=await getPortalItem(d,r,g);const f=r.create();g.finally(function(){f.cancel()});r=getServiceUrl(o.url,"reporting");let b;v&&"public"!==o.access&&(b=await getServiceToken(r,i.portalUrl,v,f));const R=[{name:"FeatureIds",containsMultipleValues:!0,value:void 0,values:e.featureIds||[]}];if(e.parameters)for(const P of Object.keys(e.parameters)){var w,h=e.parameters[P];h&&(w=h instanceof Array,R.push({name:P,containsMultipleValues:w,value:w?void 0:h,values:w?h:void 0}))}if(l.length)for(const y of l)for(const I of this.prepareWebmapParameters(y.mapName,y.webmap,y.scale,y.extent))R.push(I);else if(n){n=await getMapControlNames(i,r,b,f,g);if(n?.length){n=await this.getWebmapParameters(a,n[0],t.ambient.trivia);if(n?.length)for(const U of n)R.push(U)}}c={template:{itemId:i.itemId,portalUrl:i.portalUrl,title:s},parameters:R,data:p,dpi:u,culture:m||t.ambient.locale,format:c},c=(await runJob(r,b,c,f)).response.ticket;return{href:await checkResult(r,b,c,1e3,f,g)}}async getWebmap(e,t,r){throw console.warn("getWebmap needs to be overridden by a client implementation."),new ActivityNotImplementedError(RunReport_1.action)}async getWebmapExtent(e){throw console.warn("getWebmapExtent needs to be overridden by a client implementation."),new ActivityNotImplementedError(RunReport_1.action)}async getWebmapParameters(e,t,r){const a=e.create();await a.load();e=await this.getWebmap(a,a.getScale(),r),r=await this.getWebmapExtent(a);return this.prepareWebmapParameters(t,e,0,r)}prepareWebmapParameters(e,t,r,a){throw console.warn("prepareWebmapParameters needs to be overriden by a client implementation."),new ActivityNotImplementedError(RunReport_1.action)}};RunReport.action="gcx:wf:geocortex::RunReport",RunReport.suite="gcx:wf:builtin",RunReport=RunReport_1=__decorate([activateTwo(ChannelProvider,MapProvider)],RunReport);export{RunReport};
|
|
@@ -2,14 +2,12 @@ import { ChannelProvider } from "../core/ChannelProvider";
|
|
|
2
2
|
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the RunWorkflow activity. */
|
|
4
4
|
export interface RunWorkflowInputs {
|
|
5
|
-
/** The URL of the workflow to run. */
|
|
6
5
|
url: string;
|
|
7
|
-
/** The input arguments to the target workflow. */
|
|
8
6
|
arguments?: Record<string, any>;
|
|
9
7
|
}
|
|
10
8
|
/** Defines outputs for the RunWorkflow activity. */
|
|
11
9
|
export interface RunWorkflowOutputs {
|
|
12
|
-
/** The workflow's outputs. */
|
|
10
|
+
/** @description The workflow's outputs. */
|
|
13
11
|
result: Record<string, any>;
|
|
14
12
|
}
|
|
15
13
|
export declare class RunWorkflow implements IActivityHandler {
|
|
@@ -2,82 +2,56 @@ import { MapProvider } from "./MapProvider";
|
|
|
2
2
|
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs for the basic Service Area Task activity. This task is related to the Route and Service Area tasks. */
|
|
4
4
|
export interface ServiceAreaTaskInputs {
|
|
5
|
-
/** The URL to the ArcGIS network analysis service. */
|
|
6
5
|
url: string;
|
|
7
|
-
/** The set of facilities loaded as network locations during analysis. These can be specified as either a DataLayer or a FeatureSet. Either the URL or the features should be specified, but not both. */
|
|
8
6
|
facilities: __esri.DataLayer | __esri.FeatureSet;
|
|
9
|
-
/** The list of network attribute names to be accumulated with the analysis; i.e., which attributes should be returned as part of the response. The defaulted is as defined in the specific routing network layer. See: http://resources.arcgis.com/en/help/main/10.2/index.html#//00470000000m000000 */
|
|
10
7
|
accumulateAttributes?: string[];
|
|
11
|
-
/** An array of parameter values. If present, an attribute name, parameter name, and value must be specified. */
|
|
12
8
|
attributeParameterValues?: any[];
|
|
13
|
-
/** An array of numbers defining the breaks. */
|
|
14
9
|
defaultBreaks?: number[];
|
|
15
|
-
/** If true, avoids network elements restricted by barriers or restrictions specified in restrictionAttributes. Default value: true. */
|
|
16
10
|
doNotLocateOnRestrictedElements?: boolean;
|
|
17
|
-
/** An array of network source names to NOT use when generating polygons. */
|
|
18
11
|
excludeSourcesFromPolygons?: string[];
|
|
19
|
-
/** The network attribute name to be used as the impedance attribute in the analysis. The default is as defined in the routing network layer. You can specify any attribute names listed in the Service Directory under Network Dataset -> Network Attributes as "Usage Type: esriNAUTCost". You can also specify a value of "none" to indicate that no network attributes should be used for impedance. For example, set impedanceAttribute to "Time" for the quickest route, or to "Length" for the shortest drive, assuming the service has those two esriNAUTCost attributes. */
|
|
20
12
|
impedanceAttribute?: string;
|
|
21
13
|
impedenceAttribute?: string;
|
|
22
|
-
/** If true, similar ranges will be merged in the resulting polygons. Default Value: false. */
|
|
23
14
|
mergeSimilarPolygonRanges?: boolean;
|
|
24
|
-
/** The precision of the output geometry after generalization. If 0, no generalization of output geometry is performed. If present and positive, it represents the MaximumAllowableOffset parameter and generalization is performed according to IPolycurve.Generalize. */
|
|
25
15
|
outputGeometryPrecision?: number;
|
|
26
|
-
/** The units of the output geometry precision. Known Values: centimeters | decimal-degrees | decimeters | feet | inches | kilometers | meters | miles | millimeters | nautical-miles | points | yards. */
|
|
27
16
|
outputGeometryPrecisionUnits?: string;
|
|
28
|
-
/** The type of output lines to be generated in the result. Default Value: true-shape. Known Values: none | straight | true-shape | true-shape-with-measure. */
|
|
29
17
|
outputLines?: string;
|
|
30
|
-
/** The type of output polygons to be generated in the result. The default is as defined in the specific routing network layer used. Known Values: none | simplified | detailed. */
|
|
31
18
|
outputPolygons?: string;
|
|
32
|
-
/** The spatial reference (or well-known ID of same) for the geometries returned with the analysis results. If not specified, the geometries are returned in the spatial reference of the map. */
|
|
33
19
|
outSpatialReference?: number | string | __esri.SpatialReference;
|
|
34
|
-
/** Indicates if the lines should overlap from multiple facilities. The default is defined by the network analysis layer. Default Value: false */
|
|
35
20
|
overlapLines?: boolean;
|
|
36
|
-
/** Indicates if the polygons should overlap from multiple facilities. The default is defined by the network analysis layer. Default Value: false */
|
|
37
21
|
overlapPolygons?: boolean;
|
|
38
|
-
/** The set of point barriers loaded as network locations during analysis. Can be an instance of a DataLayer or FeatureSet. Either a URL or features should be supplied, but not both. */
|
|
39
22
|
pointBarriers?: __esri.DataLayer | __esri.FeatureSet;
|
|
40
|
-
/** The set of polygon barriers loaded as network locations during analysis. At ArcGIS Server 10.1, an optional url property was added. Use this property to specify a REST query request to a Feature, Map or GP Service that returns a JSON feature set. The url property can be specified using DataFile. Note that either the features or url property should be specified. */
|
|
41
23
|
polygonBarriers?: __esri.DataLayer | __esri.FeatureSet;
|
|
42
|
-
/** The set of polyline barriers loaded as network locations during analysis. At ArcGIS Server 10.1, an optional url property was added. Use this property to specify a REST query request to a Feature, Map or GP Service that returns a JSON feature set. The url property can be specified using DataFile. Note that either the features or url property should be specified. */
|
|
43
24
|
polylineBarriers?: __esri.DataLayer | __esri.FeatureSet;
|
|
44
|
-
/** The list of network attribute names to be used as restrictions with the analysis. The default is as defined in the specific routing network layer used in your ServiceAreaTask. Possible values are listed in the Service Directory under Network Dataset -> Network Attributes. You can also specify a value of none to indicate that no network attributes should be used as restrictions. If you specify an empty array, it will default to the default of the service. */
|
|
45
25
|
restrictionAttributes?: string[];
|
|
46
|
-
/** Specifies how U-Turns should be handled. The default is as defined in the specific routing network layer. Known Values: allow-backtrack | at-dead-ends-only | no-backtrack | at-dead-ends-and-intersections. */
|
|
47
26
|
restrictUTurns?: string;
|
|
48
|
-
/** If true, facilities will be returned with the analysis results. Default Value: false */
|
|
49
27
|
returnFacilities?: boolean;
|
|
50
|
-
/** If true, point barriers will be returned in the barriers property of the ServiceAreaSolveResult. Default value: false. */
|
|
51
28
|
returnPointBarriers?: boolean;
|
|
52
|
-
/** If true, polygon barriers are returned in the barriers property of the ServiceAreaSolveResult. Default value: false. */
|
|
53
29
|
returnPolygonBarriers?: boolean;
|
|
54
|
-
/** If true, polyline barriers are returned in the barriers property of the ServiceAreaSolveResult. Default value: false. */
|
|
55
30
|
returnPolylineBarriers?: boolean;
|
|
56
|
-
/** If true, lines will be split at breaks. Default Value: false. */
|
|
57
31
|
splitLinesAtBreaks?: boolean;
|
|
58
|
-
/** If true, polygons will be split at breaks. Default Value: false. */
|
|
59
32
|
splitPolygonsAtBreaks?: boolean;
|
|
60
|
-
/** The arrival or departure date and time. For example, if the travelDirection is set to TO_FACILITY and timeOfDayUsage is set to "end" and timeOfDay is set to 8:00 a.m., the returned route(s) will be setup to arrive at the facility at 8:00 a.m. local time. Requires ArcGIS Server service version 10.1 or greater. */
|
|
61
33
|
timeOfDay?: Date;
|
|
62
|
-
/** Options for traveling to or from the facility. Default values are defined by the network layer. Known Values: from-facility | to-facility. */
|
|
63
34
|
travelDirection?: string;
|
|
64
|
-
/** If true, the outermost polygon (at the maximum break value) will be trimmed. The default is defined in the network analysis layer. Default Value: false */
|
|
65
35
|
trimOuterPolygon?: boolean;
|
|
66
|
-
/** If polygons are being trimmed, provides the distance to trim. The default value is defined in the network analysis layer. */
|
|
67
36
|
trimPolygonDistance?: number;
|
|
68
|
-
/** If polygons are being trimmed, specifies the units of trimPolygonDistance. The default is defined in the network analysis layer. */
|
|
69
37
|
trimPolygonDistanceUnits?: string;
|
|
70
|
-
/** If true, the hierarchy attribute for the network should be used in analysis. The default is as defined in the specific routing network layer. */
|
|
71
38
|
useHierarchy?: boolean;
|
|
72
39
|
}
|
|
73
40
|
/** defines outputs for the Service Area Task activity. */
|
|
74
41
|
export interface ServiceAreaTaskOutputs {
|
|
42
|
+
/** @description The facilities points. */
|
|
75
43
|
facilities: __esri.FeatureSet;
|
|
44
|
+
/** @description The messages returned by the network analysis service. */
|
|
76
45
|
messages: __esri.NAMessage[];
|
|
46
|
+
/** @description The point barriers. */
|
|
77
47
|
pointBarriers: __esri.FeatureSet;
|
|
48
|
+
/** @description The polygon barriers. */
|
|
78
49
|
polygonBarriers: __esri.FeatureSet;
|
|
50
|
+
/** @description The polyline barriers. */
|
|
79
51
|
polylineBarriers: __esri.FeatureSet;
|
|
52
|
+
/** @description The service area polygon features. */
|
|
80
53
|
serviceAreaPolygons: __esri.FeatureSet;
|
|
54
|
+
/** @description The service area polyline features. */
|
|
81
55
|
serviceAreaPolylines: __esri.FeatureSet;
|
|
82
56
|
}
|
|
83
57
|
export declare class ServiceAreaTask implements IActivityHandler {
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import type { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the SetFeatureAttribute activity. */
|
|
3
3
|
export interface SetFeatureAttributeInputs {
|
|
4
|
-
/** The feature to set the attribute on. */
|
|
5
4
|
feature: __esri.Graphic;
|
|
6
|
-
/** The name of the attribute to set. */
|
|
7
5
|
attributeName: string;
|
|
8
|
-
/** The value of the attribute. */
|
|
9
6
|
attributeValue?: any;
|
|
10
7
|
}
|
|
11
8
|
export declare class SetFeatureAttribute implements IActivityHandler {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import type { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the SetFeatureGeometry activity. */
|
|
3
3
|
export interface SetFeatureGeometryInputs {
|
|
4
|
-
/** The feature to set the geometry on. */
|
|
5
4
|
feature: __esri.Graphic;
|
|
6
|
-
/** The geometry to assign to the feature. */
|
|
7
5
|
geometry: __esri.Geometry;
|
|
8
6
|
}
|
|
9
7
|
export declare class SetFeatureGeometry implements IActivityHandler {
|
|
@@ -4,7 +4,6 @@ export interface SetFeaturePopupInputs {
|
|
|
4
4
|
template: object;
|
|
5
5
|
features: __esri.Graphic | __esri.FeatureSet | __esri.Graphic[];
|
|
6
6
|
}
|
|
7
|
-
/** Sets a popup template on the given features. */
|
|
8
7
|
export declare class SetFeaturePopup implements IActivityHandler {
|
|
9
8
|
static readonly action = "gcx:wf:arcgis::SetFeaturePopup";
|
|
10
9
|
static readonly suite = "gcx:wf:builtin";
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import type { IActivityHandler, EmptyOutputs } from "../../IActivityHandler";
|
|
2
2
|
/** Defines inputs for the SetFeatureSymbol activity. */
|
|
3
3
|
export interface SetFeatureSymbolInputs {
|
|
4
|
-
/** The feature to set the symbol on. */
|
|
5
4
|
feature: __esri.Graphic;
|
|
6
|
-
/** The symbol to assign to the feature. */
|
|
7
5
|
symbol: __esri.Symbol;
|
|
8
6
|
}
|
|
9
7
|
export declare class SetFeatureSymbol implements IActivityHandler {
|
|
@@ -2,26 +2,21 @@ import { MapProvider } from "./MapProvider";
|
|
|
2
2
|
import type { IActivityHandler, IActivityContext } from "../../IActivityHandler";
|
|
3
3
|
/** Defines inputs to the SetImageryLayerInfo activity. */
|
|
4
4
|
export interface SetImageryLayerOptionsInputs {
|
|
5
|
-
/** The ID of the imagery layer to be updated. */
|
|
6
5
|
layerId: string | number;
|
|
7
|
-
/** The mosaic rule to apply to the imagery layer. */
|
|
8
6
|
mosaicRule?: __esri.MosaicRule | __esri.MosaicRuleProperties;
|
|
9
|
-
/** The raster function used to render the imagery layer. */
|
|
10
7
|
rasterFunction?: __esri.RasterFunction | __esri.RasterFunctionProperties;
|
|
11
|
-
/** The raster function used to render the imagery layer. */
|
|
12
8
|
renderingRule?: __esri.RasterFunction | __esri.RasterFunctionProperties;
|
|
13
|
-
/** The filter used to process the pixel data of the imagery layer. The pixelData object contains a pixelBlock property that gives you access to all of the pixels in the raster on the client. */
|
|
14
9
|
pixelFilter?: __esri.PixelFilterFunction;
|
|
15
10
|
}
|
|
16
11
|
/** Defines outputs to the SetImageryLayerInfo activity. */
|
|
17
12
|
export interface SetImageryLayerOptionsOutputs {
|
|
18
|
-
/**
|
|
13
|
+
/** @description The mosaic rule used. */
|
|
19
14
|
mosaicRule?: __esri.MosaicRule;
|
|
20
|
-
/**
|
|
15
|
+
/** @description The raster function used. */
|
|
21
16
|
rasterFunction?: __esri.RasterFunction;
|
|
22
|
-
/**
|
|
17
|
+
/** @description The rendering rule used. */
|
|
23
18
|
renderingRule?: __esri.RasterFunction;
|
|
24
|
-
/**
|
|
19
|
+
/** @description The pixel function used. */
|
|
25
20
|
pixelFilter?: __esri.PixelFilterFunction;
|
|
26
21
|
}
|
|
27
22
|
export declare class SetImageryLayerOptions implements IActivityHandler {
|