Buffer Geometry (server) Activity

Description

Creates buffer polygons at a specified distance around the input geometries.

Usage

You may need to buffer around a geometry. A common scenario is to first buffer around a feature using the Buffer Geometry activity, and then use a Query Layer activity with the buffered geometry as an input to find out what is near the feature.

Inputs

Url

Required

Type: String

The URL of the ArcGIS geometry service.

For example, https://utility.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer.

Geometry

Required

Type: esri.Geometry (3.x, 4.x)* | esri.Geometry[] (3.x, 4.x)*

The geometries to buffer.

Distance

Required

Type: Number | Number[]

The distances the input geometries are buffered.

Unit

Optional

Type: "meters" | "feet" | "kilometers" | "miles" | "nautical-miles" | "yards" | String

The units for calculating each buffer distance. If units are not specified, they are inferred from Buffer Spatial Reference. If Buffer Spatial Reference is not specified, units are derived from the features being buffered.

Buffer Spatial Reference

Optional

Type: Number | String | esri.SpatialReference (3.x, 4.x)*

The spatial reference in which the geometries are buffered.

If Buffer Spatial Reference is not specified, the geometries are buffered in the spatial reference specified by Out Spatial Reference.

If Out Spatial Reference is also not specified, they are buffered in the spatial reference of the features.

Out Spatial Reference

Optional

Type: Number | String | esri.SpatialReference (3.x, 4.x)*

The spatial reference for the returned geometries.

If Out Spatial Reference is not specified, the geometries are output in the spatial reference specified by Buffer Spatial Reference.

If Buffer Spatial Reference is also not specified, they are in the spatial reference of the features.

Geodesic

Optional

Type: Boolean

If the input geometries are in geographic coordinate system, set geodesic to true in order to generate a buffer polygon using a geodesic distance.

Union

Optional

Type: Boolean

If true, all geometries buffered at a given distance are unioned into a single (possibly multipart) polygon, and the unioned geometry is placed in the output array. The default is false.

* VertiGIS Studio Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of host application. See Underlying Technologies for information.

Outputs

geometry

Type: esri.Polygon (3.x, 4.x)*

The first buffer result.

results

Type: esri.Polygon[] (3.x, 4.x)*

The buffer results.

* VertiGIS Studio Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of host application. See Underlying Technologies for information.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

For this activity to work when the device has intermittent connectivity to the network, the activity must run in the following application:

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.

See also...

Buffer a Geometry