Double-Line Extraction Centerline

Feature Description

Double-line extraction centerline refers to extracting the centerline between two lines from non-closed double lines based on a given width and saving the result as a line dataset. Double-line extraction centerline is commonly used for road line data, and the extraction effect is better when the double lines are parallel or nearly parallel.

In the dataset properties table of the extracted centerline, the attributes of the source double-line data will be retained, and fields will distinguish the line objects on the left and right sides of the centerline through L and R.

Parameter description

Parameter Name Default Value Parameter Interpretation Parameter Type
Source Dataset   The line dataset and its data source to extract centerline from DatasetVector
Maximum Width (Required)   The maximum width value between double lines for extracting centerline (must be greater than 0), with the same unit as the source dataset. Users can first measure the maximum width of the double lines on the map. It is recommended to set the maximum width slightly larger than the actual measured distance, so that the extraction result will be more accurate. Double
Minimum Width 0.0 The minimum width value between double lines for extracting centerline (greater than or equal to 0). When the distance between double lines is less than the minimum width, the centerline at that location is not extracted. The default value is 0, with the same unit as the source dataset. Double
Target Datasource   The data source where the dataset for storing analysis results is located Datasource
The Name of the Resulting Dataset   The specified name of the resulting dataset String

Notes

  • The maximum and minimum width are consistent with the unit of the source dataset. Maximum width must be greater than 0 and must be set. When the double-line width is between the maximum and minimum width, its centerline will be extracted; when the double-line width is less than the minimum width, the centerline is not extracted; when the double-line width is greater than the maximum width, its boundary lines are extracted.
  • This function is suitable for non-closed line datasets. If the double lines are closed, one endpoint of the double lines needs to be broken first to leave an opening.
  • The setting of the maximum width between double lines affects the accuracy of the result data, and users need to input the maximum width value accurately.
  • For complex intersections in double-line roads, such as overpasses, five-way or six-way intersections, the extraction results may not be ideal.

Output Result

Parameter Name Parameter Interpretation Parameter Type
Result Dataset Result Dataset DatasetVector