Workflow Activity Pack Documentation

⌘K
  1. Home
  2. Docs
  3. Workflow Activity Pack Do...
  4. Turf Activity Reference
  5. Grids | Hex Grid

Grids | Hex Grid

Description

Hex Grid converts an extent to a Hex Grid layer.

Offline Support

Supported. Please contact us directly to license for offline support and installation instructions.

Example Workflow and Output Files

To open the sample workflow in Workflow Designer:

    • In Workflow Designer, click File in the sidebar
    • Click Open by URL and past in the following url:
      https://www.arcgis.com/home/item.html?id=c6271bdd62774ea382b89ae41db904f2
    • To Save, click File in the Workflow Designer sidebar, and click Save.

Inputs

Extent

Required
Type: Object
Object Type: Extent

The extent in which to produce a the grid.

Cell Side

Required
Type: Number

Length of the side of the the hexagons or triangles, in units. It will also coincide with the radius of the circumcircle of the hexagons.

Units

Optional
Type: String

Used in calculating cell size, can be degrees, radians, miles, or kilometers.

Properties

Optional
Type: Object

Properties passed to each hexagon or triangle of the grid.

Mask

Optional
Type: Feature[]

Array of features for which grid Points will be created only inside it.

Triangles

Optional
Type: Boolean

Whether to return as triangles instead of hexagons.

Outputs

Result

Type: Object
Properties:
success: Type: Boolean
graphic:  Type: Graphic
feature:  Type: Feature
error:  Type: String

A response object containing a success boolean, graphic, and a feature.

Properties

ID

Optional

The activity’s ID, which is used in other activities to access the activity’s output. The ID must be unique across the entire workflow and it’s subworkflows – two activities cannot have the same ID.

You might want to change the ID to shorten it. Shorter IDs make expressions more compact.

Display Name

Optional

The activity’s name in Workflow Designer. The display name appears at the top of the activity on the design surface. The default display name for this activity is Feature to Spreadsheet.

You might want to change the display name to a name that describes what the activity does in the context of your workflow. Description names make workflows easier to understand and maintain.

Description

Optional

A description of what the activity does. The description appears below the activity’s display name.

Use the description to record what the activity does in the context of the workflow. Descriptions make workflows easier to understand and maintain.