Data Edge

Feature Description

The data edge function is used to seamlessly stitch multiple data sources produced from different map sheets with the current data source based on specified attribute rules and spatial positions, generating a complete and continuous data source.This tool is suitable for merging data collected, edited, and topology-validated by sheet in surveying and mapping production data scenarios. It can merge adjacent map sheet packages into one data package, providing continuous data results for subsequent data quality inspection and result submission.

Functional Principle

  • Basic Append: When no edge field is set, datasets participating in edge joining are only appended without object merging.
  • Field Merging: After setting one or more edge fields, objects are only considered for merging when all specified field values are consistent; if field values are inconsistent, objects remain independent.
  • Boundary Constraint: When a border dataset is specified, only objects within the tolerance on both sides of the border and meeting the edge field rules are processed; when no border dataset is specified, objects are matched by edge field and tolerance.
  • Edge Joining Mode: Line datasets support two geometric connection modes, Mobile Endpoint and Patch Connection, for handling line objects whose endpoints do not completely coincide.

Functional Conditions

  • Supported data source formats: UDB, UDBX, FileGDB.
  • Supported dataset types: 2D points, 2D lines, 2D regions, text. Among them, 2D lines and 2D regions support merging, while 2D points and text only support appending.
  • Data consistency: The current data source and edge data sources must use the same coordinate system.
  • Data source type consistency: Only data sources of the same type can be processed in one operation; different types such as UDBX and FileGDB cannot be processed simultaneously.

The data edge function has been available since SuperMap iDesktopX 2026.

Parameter Description

Parameter Name Parameter Interpretation Parameter Type
Current Datasource Specifies the base data source for edge joining processing, which is also the reference data source for the result data source structure. Data from edge data sources will be appended to this data source or to a new data source created using its structure. Datasource
Edge Datasource List

Manages data sources to be involved in edge joining processing.

  • Add File: Adds one or more data source files. When selecting a file, the system automatically filters selectable files based on the current data source type.
  • Add Folder: After specifying a folder, the system automatically adds data sources with the same type as the current data source in that directory.
  • Select All, Select Reverse, Delete: Batch manage added data sources.

The list displays the sequence number, data source name, and path of each data source. Data is stitched in the order of the list.

Object
Edge Dataset List

Sets the datasets involved in edge joining processing and their edge fields.

  • Checkbox: Check the datasets to be involved in edge joining processing; all are selected by default. Unchecked datasets will not be appended, merged, or copied.
  • Dataset: Traverses all edge data sources and the current data source, extracting datasets that exist in both (with consistent names and attribute structures). Click the drop-down menu on the right side of the column header to sort datasets by Name (default), Type, Creation Order, or Object Count.
    • If a dataset exists only in a single edge data source and not in the current data source, it is directly copied to the result data source.
    • If a dataset exists in multiple edge data sources but not in the current data source, it is appended or merged according to edge joining rules before writing to the result data source.
  • Edge Field: Specifies the attribute basis for edge joining. Select fields from the drop-down list of the dataset; multiple selection is supported. When multiple fields are selected, objects are merged only when all specified field values are equal. Available only for 2D line or 2D region datasets.
    • No field set: All datasets are simply appended without any merging.
    • One or more fields set: The system merges based on field values. For example, specifying both "Road Name" and "Number of Lanes" will merge edge objects only if both values are identical.

Toolbar Description:

  • Uniform Settings: Allows batch setting of edge fields for selected datasets, providing common field options among all datasets.
  • Import: Imports pre-configured edge joining rules (XML file) to quickly complete parameters.
  • Export: Exports the current table's edge joining rules (including checkbox status, field settings, etc.) to an XML file, allowing reuse for batch operations on data with similar structures in the future.

Object
Boundary Datasource (Optional) Specifies a data source containing boundary lines or boundary region datasets. Supports selecting data sources in the current workspace or adding data sources outside the workspace. Datasource
Border Dataset (Optional) Selects a 2D line or 2D region dataset from the boundary data source as the border for edge joining. When specified, only objects within the tolerance on both sides of the border and meeting the edge field rules are processed. When not specified, all objects meeting the edge field rules are appended or merged. DatasetVector
Tolerance (Optional) Sets the distance range for edge joining of objects. When a border dataset is specified, only objects within this range on both sides of the border with consistent edge fields participate in edge joining; when no border dataset is specified, only objects within this distance range with consistent edge fields participate. The default value is 2, in meters or degrees. Double
Edge Joining Mode

Specifies the geometric connection mode for line edge joining, effective only for line datasets.

  • Mobile Endpoint: Moves the endpoint of the line object in the current data source and the endpoint of the line object in the edge data source to the midpoint of the two endpoints, then connects the two line objects.
  • Patch Connection: Adds a straight line between the endpoint of the line object in the current data source and the endpoint of the line object in the edge data source to connect the two line objects.
ConnectMode
Overwrite Current Datasource
  • Checked: The edge joining result is saved directly to the current data source, overwriting the original data. This operation cannot be undone, and the result data source path and name cannot be edited.
  • Unchecked: The edge joining result is saved as a new data source. The result data source path and name must be specified.
Boolean
Result Datasource (Optional) Specifies the data source for saving the edge joining result. Editable when Overwrite Current Datasource is unchecked; the default path is the directory of the current data source, and the default name is "Current Datasource Name_stitched". Datasource
To-Check Datasource (Optional) Stores objects in line datasets that meet spatial edge joining conditions but failed to be joined due to inconsistent attribute values, inconsistent line directions, non-unique endpoint matching relationships, etc. The default path is the same as the current data source, and the default name is "Current Datasource Name_toCheck". Generated only when there are records of failed edge joining. Datasource
Output Statistics Information (Optional) When checked, generates a TXT format statistics file in the same directory as the result data source. The statistics file includes edge data sources, edge datasets, the number of successfully edge-joined objects, the number of failed edge-joined objects, and failure reasons. Boolean

Output Result

Parameter Name Parameter Interpretation Parameter Type
Result Datasource The complete data source after edge joining processing. When Overwrite Current Datasource is checked, the result is saved to the current data source; when unchecked, the result is saved to a new or specified data source. Datasource
To-Check Datasource Generated when 2D line object edge joining fails, used to record objects requiring manual inspection. The dataset contains fields such as SmID, SmUserID, Errorlevel, and FailureReason; FailureReason records the reason for failed edge joining. Datasource
Statistics Information File The TXT file generated when Output Statistics Information is checked, used to view edge data sources, edge datasets, the number of successfully edge-joined objects, the number of failed edge-joined objects, and failure reasons. File