Skip to main content
Skip table of contents

Spatial Process

The Spatial Process tool converts polygons to and from the data that describe them: points, lat/lon or x/y pairs, or line segments. Use this tool to convert polygon data to or from "flat" formats like TIGER or polygon spatial data formats that can be processed with tools like Spatial Join or functions like Centroid.

Spatial Process tool configuration parameters

The Spatial Process tool has a single set of configuration parameters in addition to the standard execution options:

Operation

Select the desired operation. This is optional and defaults to Polygon from points.

Key

The field that identifies which records go together. All adjacent records with the same Key value are combined into a single polygon.

Output closing point

Select to replicate the first point of each polygon to the end when Operation is Polygons to points, Polygons to lat/lon, or Polygons to X/Y.

Part

The field containing the part number for multi-part items.

Input fields
Output fields

Depending on the Operation specified, can be a single Points field, Latitude and Longitude fields, X and Y coordinate fields, segment Start point and End point fields, or a Polygon field.  Note that spatial file formats cannot be saved to or read from the Data Management Repository.

Configure the Spatial Process tool

  1. Select the Spatial Process tool, and then go to the Configuration tab.

  2. Select the desired spatial Operation.

Polygon from points

Input a series of records with spatial point data and create a series of polygons by combining all of the points for records with the same Key value.

Polygon from lat/lon

Input a series of records with latitude/longitude numbers and create a series of polygons by combining all of the latitude/longitude values for records with the same Key value.

Polygon from X/Y

Input a series of records with x/y values and create polygons by associating x/y pairs with the same Key value into polygons.

Polygon from segments

Input a series of records with line segments (point pairs) and create polygons by chaining up the segments end-to-end until a single chain is formed for each Key value.

Polygon/polyline to points

Input a series of records with polygons and decompose each one into a series of Point spatial objects.

Polygon/polyline to lat/lon

Input a series of records with polygons and decompose each one into a series of lat/lon values.

Polygon/polyline to X/Y

Input a series of records with polygons and decompose each one into a series of x/y values.

Polygon/polyline to segments

Input a series of records with polygons and decompose each one into a series of line segments (point pairs), where the line segments, if connected end-to-end, recreate the polygons.

  1. Select the Key. This field identifies which records go together—all adjacent records with the same Key value are combined into a single polygon.

  2. Optionally, select Output closing point to replicate the first point of each polygon to the end. Applies only to Polygons to points, Polygons to lat/lon, and Polygons to X/Y.

  3. Optionally, select the field containing the Part number for multi-part items. If the operation is...   

Polygon/polyline to points
Polygon/polyline to lat/lon
Polygon/polyline to X/Y
Polygon/polyline to segments

Part contains the sequence number of the "ring" of the polygon or the "segment" of the polyline.  Numbering starts at zero.

Polygon from points
Polygon from lat/lon
Polygon from X/Y
Polygon from segments

Part contains the input ring number. If not specified, it is assumed that there is one ring per polygon.

Polyline from points
Polyline from lat/lon
Polyline from X/Y
Polyline from segments

Part contains the input segment number. If not specified, it is assumed that there is one segment per polyline.

  1. Select the Input fields. Depending on the Operation you specified in step 2, this can be a single Points field, Latitude and Longitude fields, X and Y coordinate fields, segment Start point and End point fields, or a Polygon field.

  2. Select the Output fields. Depending on the Operation you specified in step 2, this can be a single Points field, Latitude and Longitude fields, X and Y coordinate fields, segment Start point and End point fields, or a Polygon field.

image-20240328-203942.png
  1. Optionally, go to the Execution tab, and then set Web service options.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.