Skip to main content

Feature To Line (Single File)

Overview

The Feature To Line (Single File) tool splits the geometry of input features, such as lines or polygons, at all internal vertices. The output consists of line segments that represent independent parts of the original edges and can be used for detailed segment-level analysis.

Use Cases

  • Network analysis preprocessing: Split long road or pipeline line features into standard segment records between nodes.
  • Segment-level statistics: Calculate length, analyze slope, or attach attributes for each independent segment.
  • Detailed boundary processing: Break complex polygon boundaries into independent line segments for boundary topology correction.

Parameters

ParameterDescriptionNotes
Input featuresSource dataset to split and convert.Supports line and polygon features.
Output feature datasetOutput collection of independent line segments.Supports common vector formats.

Steps

  1. Open the tool: Open the Geoprocessing Toolbox, go to Vector Tools > Feature Conversion, and open Feature To Line (Single File).
  2. Set the input: Select the target Input features.
  3. Configure parameters: Configure field retention rules or the output spatial reference in advanced settings if needed.
  4. Set the output: Specify the output file path and name.
  5. Run the tool: Click Run. After completion, you can view the generated line features in the task list.

Notes

  • Split basis: This tool only uses existing feature vertices as split locations. To split at spatial intersections between features, use Split Two Features To Lines.
  • Attribute duplication: Each generated line segment inherits all non-spatial attributes from the original feature.
  • Geometry repair: For inputs that contain self-intersections or empty geometries, run Repair Geometry first to ensure split locations are spatially accurate. Use a consistent coordinate system for best results.