Polygons to Polylines
#updated
Purpose
Input features:
Output features:
This tool converts polygons to polylines.
Description
Based on the input set of polygons, the tool creates closed polylines representing the contours of the input polygons. The created polylines can be saved in a new shapefile or in a geodatabase feature class.
The input layer can contain both simple and multipart polygons. It is possible to process only selected polygons.
The attribute table of output polylines will consist of the same fields as the input polygon table. Optionally, the field containing the input polygon ID can be added.
Split adjacent polylines
If the input data contains polygons that have adjacent boundaries, it is possible to choose whether, in this case, the output adjacent polylines will be split. The following options are available:
- Do not split adjacent polylines.
This will create two closed polylines adjacent to each other at the line where the source polygons touch.
- Create one polyline, transfer IDs of left and right polygons.
Adjacent polylines will be split, and if there is a match, there will be only one polyline having IDs of both adjacent polygons as attributes.
- Create two adjacent polylines, duplicate attributes.
Adjacent polylines will be split, and if they coincide, both polylines will remain with the attributes of both source polygons.
Usage
- Select the "Polygons to Polylines" tool from the Conversion tools of XTools Pro menu.
- Select the input layer containing polygons that you wish to convert to polylines using Map Content, Catalog, History or Favorites.
- Specify the name and location of the output feature class using Catalog, Default Path, Document locations, Home GDB, History or Favorites. The output data can be saved in a shapefile or in a geodatabase.
- Select how adjacent polyilnes should be split.
- Check "Add ID field of the source features" if you want to add a field containing the input object ID to the attribute table. Default ID field name can be changed.
- Press Run to convert polygons to polylines.