Transform a polygon layer into a LineString layer
The Polygon to Line Operation takes the features from the source layer and transform them into lineString features.
The result layer will be a LineString or MultiLineString layer, depends on the source layer geometry type, and it could be a new created layer or an existent one.
On this example we are going to do a Polygon to Line operation with the polygon layer countries.shp.
Go to the Spatial Operations View, and select Polygon to Line from the Operations list .
The Polygon to Line Operation's specific input options will show up.
Now is time to indicate the operation's inputs, as shown in Figure 2:
Figure 2. Define input and target layers.
Shows the newly created Layer (Polygon_to_line_1) added to the map, with the Features resulting of applying the polygon to line operation to the Source layer.
Polygon to Line operation has the option of exploding polygons, this means that every line of each polygon will be added as a single feature.
In this case, select the country of Ireland, and then check the explode polygons into lines option, execute the operation giving as result the next:
(c) Copyright (c) 2004-2008 Refractions Research Inc. and others.