Managing Exchange Policies
The 1Exchange administration interface is accessed from: http://[host]:[port]/1exchange/admin
Note: The port number is defined during installation, but by default this is set to 7115.
There are three different Exchange Policy types available:
-
Snowflake
-
FME Server
-
No-Operation
Note: A No-Operation policy should be used when 1SMS is utilising a live editor. When selected 1Exchange will only create the package during extraction, and perform no other action.
1Workflow administrators can configure which Exchange policy to use for each job type, via the Workflow admin page.
Creating an Exchange Policy
Snowflake Exchange Policy Parameters
FME Exchange policy Parameters
Updating or Deleting an Exchange Policy
To update an Exchange policy, select an existing policy and modify the parameters as required (see Snowflake Exchange Policy Parameters).
To confirm your changes, click the accept icon .
Note: If you navigate away from the current policy (for example, by selecting another Exchange policy), you must confirm whether or not you want to discard or save your changes.
To delete an Exchange policy, select an existing Exchange policy, click remove and confirm the deletion when prompted.
Copying an Exchange Policy
To copy an Exchange policy, select an existing policy and click .
The name for the new Exchange policy is displayed. A default name consisting of a prefix Copy_of_ and the name of the original Exchange policy is given.
With the exception of its name, the new policy will have the same attribute values as the original policy.
Applying Adaptors to an Exchange Policy (GO Loader and GO Publisher)
An exchange policy can optionally specify Extraction and/or Submission adaptors. These will be applied to the data after each extraction and before each submission.
To use an Extraction Adaptor, select Use Extraction Adaptor. This is carried out within the 1Exchange Admin Policy configuration window.
One an Adaptor type has been selected, a list of available adaptors is displayed; by default this is the FME adaptor.
Select an adaptor from the list and the list of input parameters is displayed. In the case of the FME Adaptor, these are:
Parameter |
Description |
Typical Value |
---|---|---|
FME Url |
The location of the FME server |
https://[host]:[port] |
FME username |
The username for the FME server pointed to by FME Url |
N/a |
FME password |
The password for the FME server pointed to by FME Url |
N/a |
Workspace name |
The name of the extraction/submission workspace. |
Including containing repository (e.g. [repository]/[extraction_workspace]). |
Overwrite features |
If selected, the If left un-checked, then the Note: This option will only appear on Extraction Adaptors. |
Boolean |
To use a Submission Adaptor, select Use Submission Adaptor, also located within the 1Exchange Admin Policy configuration window. A list of available adaptors is displayed.
Select an adaptor from the list and the list of input parameters is displayed.
If you are using the FME Adaptor, the list of parameters is the same as above, but the workspace will differ to the extraction workspace as it will be performing the reverse translation.
Additional adaptors can be added to 1Exchange as REST services. By default, 1Exchange includes a FME Server adaptor but other software can be used for converting data by implementing the REST service to invoke that software.
Setting up an FME Workspace for use as an Adaptor
Policy Metadata
To see all metadata for an Exchange policy, select the policy. A panel is displayed on the right-hand side showing the following attributes of the Exchange policy:
Snowflake Exchange Policy Metadata
Some attributes are configurable, however others (such as the creation user name and timestamps) are assigned by the system.
To hide the metadata panel, click the arrow . To display the metadata, re-select the Exchange policy.
Grow Extents
1Workflow can automatically grow the extent of a job. This is useful to ensure that enough data is extracted to allow all the features that are wholly or partially within the original area of interest to be safely edited and validated.
Often, validation rules require all the features that surround a feature to be available to perform the validation. To guarantee that a feature can be edited and validated, administrators usually require that jobs are automatically expanded to include all the features that surround those that are partially within the original area of interest. To achieve this, 1Workflow asks 1Exchange to query the base data for features to use to grow the job extent, and then adds a buffer to the result.
1Workflow contains a setting to indicate whether or not the original job extents should be grown automatically.
Note: Activating a job takes slightly longer if job extents are being grown.
For each Exchange policy, an administrator can define how the job extent should be grown. The Exchange policy in the administration page contains the following fields:
-
Grow Extents Buffer (mandatory) - Real with default value of 0.1, expressed in meters.
If a value is entered with a value lower than 0.1, it will automatically be set back to 0.1.
A buffer is always applied when growing extents. If no geometry columns are specified below, only the buffer will be applied to the original geometry.
-
Grow Extents Geometries (optional) - Comma separated list of geometry columns that are queried to find intersecting features to use to grow the job extent before buffering it.
The format of this setting is [table_name].[geometry_name], for example LAND.GEOMETRY.WATER.POLY_GEOM.
Any geometries (points or lines) from these geometry columns that intersect the boundary of the original job extent are used to grow the job extent to ensure enough data is available for editing and validation. Any holes in the resulting enlarged job extent are removed to ensure complete data.
Note: 1Plan and 1Edit will continue to display the original unexpanded area of interest (as this defines where the edits should be happening), however the enlarged extent is used when extracting data and identifying the data to use for validation.
Additional extraction rules are applied by 1Exchange as normal after identifying the initial set of target features using the enlarged extent (rules such as including additional features that are referenced by those within the extraction extent).