I have a shapefile polygon that shows the extent of a state. I need to highlight only the boundary of the state. Can I do that in QGIS?
- right-click the layer, choose
- choose the tab
- set the
Your polygon is now transparent but for the edges.
- go to
vector -> geometry tools -> polygons to linesand run the algorithm on your polygon
Your polygon is now a line-ring.
For display purposes, you can always set the boundary to be a color and the fill style to be none.
If you'd like to change the underlying data from polygon to line, there's a tool to do this. In ArcGIS the tool to complete this is
Feature to Line. Using that tool name as a search on this site, I found a similar question: QGIS equivalent to "Features to Line" ArcGIS tool which has good screenprints in the answer (use
Vector | Geometry Tools | Polygons to lines to convert the polygon shapefile to a line).