Built-in Operations
A built-in operation is an Operation Value that returns a value calculated from one or more Values.
The following built-in operations can be used within 1Integrate.
Classes and Attributes
Operation | Description | Parameter(s) |
---|---|---|
copy_attributes |
Copies the attribute values from the source object to the target object for all attributes that have the same name and type. Note: If the attribute names match but not the types, then the action will throw an exception. Any attributes that are not matched or are in the ignore list are left unchanged. |
|
Connectivity
Network Graph Connectivity Operations are used to construct network graphs (see Connecting Network Graphs).
Operation | Description | Parameter(s) |
---|---|---|
add_position |
Adds an object, as a position, to a network graph. Note: There will be no output results if the object is added to a network graph that already contains the object. |
|
connect_positions |
Creates directed connections between two objects in a network graph. Both objects must have been previously added to the network graph. Note: This connection is one-way. To specify a connection in both directions, call this again, reversing the order. Note: There will be no output results if the connecting positions are already connected. |
|
disconnect_positions |
Removes a direct connection from a network graph. Note: There will be no output results if non-connected positions are disconnected. |
|
remove_position |
Removes an object from a network graph. Disconnects it from any other objects in the network. Note: Does nothing if the network graph did not contain the object. |
|
Geometric
Operation | Description | Parameter(s) |
---|---|---|
create_polygon |
Returns a geometry. Polygons are created in the specified feature class from given ring geometries. The function detects inner and outer rings and attaches them to the appropriate polygons. Any open lines passed to the operation are closed, where possible, before creating polygons. Note: Any heighted 2D geometries will be projected down to 2 dimensions. |
|
Partition
Partition operations are used to run sessions on multiple platforms (see Partitioning).
Operation | Description | Parameter(s) |
---|---|---|
amalgamate_partitions |
Amalgamates partition objects to create larger partitions suitable for parallel processing of larger datasets. Source partitions will be merged, where possible creating amalgamated partitions of approximately rectangular shape. |
|
create_outer_partitions |
Creates outer partition lines that fit within the supplied area geometry. These lines define a square grid within the provided geometry. A line will never cross an existing partition. These lines ensure all data within the provided geometry lie within a partition, avoiding a single large partition around the edges. |
|
Shifting
Shift operations are used to perform Positional Data Shifting (see Positional Data Shifting).
Operation | Description | Parameter(s) |
---|---|---|
register_constraining_geometry |
Used to register constraining geometries (see Positional Data Shifting). Note: Ensure that the name used for the Note: Any heighted 2D geometries will be projected down to 2 dimensions. |
|
register_shift_geometry |
Used to register shift geometries (see Positional Data Shifting). Note: Ensure that the same name is passed to the Note: Any heighted 2D geometries will be projected down to 2 dimensions. |
|
register_shift_vector |
Used to register shift vectors (see Positional Data Shifting). Note: Ensure that the same name is passed to the Note: Any heighted 2D geometries will be projected down to 2 dimensions. |
|
Sorting
The tsort_*
operations are used to implement iterating through objects in dependency order. Please contact 1Spatial Support for further guidance on their use.
Operation | Description | Parameter(s) |
---|---|---|
tsort_add_dependency |
Add a dependency constraint to a topological sort. Both the predecessor and successor must have already been added to the topological sort using |
|
tsort_add_object |
Add an object to a topological sort so that will appear in either the ordered or blocked list. |
|
tsort_remove_dependency |
Remove a dependency constraint to a topological sort. Both the predecessor and successor must have already been added to the topological sort using |
|
tsort_remove_object |
Remove an object from a topological sort so that will not appear in either the ordered or blocked list. Any dependencies that involved the object (either as successor or predecessor) are also removed. |
|
tsort_reset |
Remove all the objects and dependencies in a topological sort. |
|
Topology
Operation | Description | Parameter(s) |
---|---|---|
set_topology_edge_drag_mode |
Controls the reshaping of connected edges when a node is moved. Also applies when moving an end of an edge when changing an edge's geometry. Note: This only takes effect when directly manipulating topology. When set to true (the default), edges connected to a moved node will be fixed at their other end. All other vertices will be scaled and rotated about the fixed point. This is equivalent to using the When set to false, only the end vertex of the edge is moved; all other vertices are fixed. This is equivalent to using the Note: This setting does not apply to edges that form a closed loop. For closed loops, only the vertex at the shared node will be moved. |
|