Border from Polygon shapefile












1















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?










share|improve this question




















  • 1





    Your question is unclear, could you add a screenshot?

    – BERA
    Jan 15 at 13:48






  • 4





    yes, of course qgis can do that. What have you tried so far? what went wrong?

    – Ian Turton
    Jan 15 at 13:48
















1















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?










share|improve this question




















  • 1





    Your question is unclear, could you add a screenshot?

    – BERA
    Jan 15 at 13:48






  • 4





    yes, of course qgis can do that. What have you tried so far? what went wrong?

    – Ian Turton
    Jan 15 at 13:48














1












1








1








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?










share|improve this question
















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?







qgis






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 15 at 17:14









csk

8,3001035




8,3001035










asked Jan 15 at 13:43









GhazalGhazal

91




91








  • 1





    Your question is unclear, could you add a screenshot?

    – BERA
    Jan 15 at 13:48






  • 4





    yes, of course qgis can do that. What have you tried so far? what went wrong?

    – Ian Turton
    Jan 15 at 13:48














  • 1





    Your question is unclear, could you add a screenshot?

    – BERA
    Jan 15 at 13:48






  • 4





    yes, of course qgis can do that. What have you tried so far? what went wrong?

    – Ian Turton
    Jan 15 at 13:48








1




1





Your question is unclear, could you add a screenshot?

– BERA
Jan 15 at 13:48





Your question is unclear, could you add a screenshot?

– BERA
Jan 15 at 13:48




4




4





yes, of course qgis can do that. What have you tried so far? what went wrong?

– Ian Turton
Jan 15 at 13:48





yes, of course qgis can do that. What have you tried so far? what went wrong?

– Ian Turton
Jan 15 at 13:48










2 Answers
2






active

oldest

votes


















5














Visual option:




  • right-click the layer, choose properties

  • choose the tab symbology

  • set the fill style to none


Your polygon is now transparent but for the edges.





Data-level option




  • go to vector -> geometry tools -> polygons to lines and run the algorithm on your polygon


Your polygon is now a line-ring.






share|improve this answer





















  • 2





    I think there is no need to convert the polygon into a polyline, a simple polygon with none fill and some outline style will probably be enough. Of course, it depends on further processing.

    – Taras
    Jan 15 at 13:54








  • 2





    I think so too, but some people like grand solutions to minor issues.

    – Erik
    Jan 15 at 13:55











  • Hahahah..that is so true!

    – Taras
    Jan 15 at 13:58



















2














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).






share|improve this answer
























  • Smiller posted like half a minute after I did, and his answer if written more conclusive @Taras.

    – Erik
    Jan 15 at 13:59






  • 1





    The answers were posted simultaneously, and since I'm not a QGIS user I included my sources. Personally I find it helpful to know how an answer was derived.

    – smiller
    Jan 15 at 13:59











  • No problem! (I mostly haunt the QGIS threads to learn the similarities and differences in the programs for my own use.)

    – smiller
    Jan 15 at 14:10











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "79"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f308686%2fborder-from-polygon-shapefile%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









5














Visual option:




  • right-click the layer, choose properties

  • choose the tab symbology

  • set the fill style to none


Your polygon is now transparent but for the edges.





Data-level option




  • go to vector -> geometry tools -> polygons to lines and run the algorithm on your polygon


Your polygon is now a line-ring.






share|improve this answer





















  • 2





    I think there is no need to convert the polygon into a polyline, a simple polygon with none fill and some outline style will probably be enough. Of course, it depends on further processing.

    – Taras
    Jan 15 at 13:54








  • 2





    I think so too, but some people like grand solutions to minor issues.

    – Erik
    Jan 15 at 13:55











  • Hahahah..that is so true!

    – Taras
    Jan 15 at 13:58
















5














Visual option:




  • right-click the layer, choose properties

  • choose the tab symbology

  • set the fill style to none


Your polygon is now transparent but for the edges.





Data-level option




  • go to vector -> geometry tools -> polygons to lines and run the algorithm on your polygon


Your polygon is now a line-ring.






share|improve this answer





















  • 2





    I think there is no need to convert the polygon into a polyline, a simple polygon with none fill and some outline style will probably be enough. Of course, it depends on further processing.

    – Taras
    Jan 15 at 13:54








  • 2





    I think so too, but some people like grand solutions to minor issues.

    – Erik
    Jan 15 at 13:55











  • Hahahah..that is so true!

    – Taras
    Jan 15 at 13:58














5












5








5







Visual option:




  • right-click the layer, choose properties

  • choose the tab symbology

  • set the fill style to none


Your polygon is now transparent but for the edges.





Data-level option




  • go to vector -> geometry tools -> polygons to lines and run the algorithm on your polygon


Your polygon is now a line-ring.






share|improve this answer















Visual option:




  • right-click the layer, choose properties

  • choose the tab symbology

  • set the fill style to none


Your polygon is now transparent but for the edges.





Data-level option




  • go to vector -> geometry tools -> polygons to lines and run the algorithm on your polygon


Your polygon is now a line-ring.







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 15 at 17:15









csk

8,3001035




8,3001035










answered Jan 15 at 13:50









ErikErik

3,223322




3,223322








  • 2





    I think there is no need to convert the polygon into a polyline, a simple polygon with none fill and some outline style will probably be enough. Of course, it depends on further processing.

    – Taras
    Jan 15 at 13:54








  • 2





    I think so too, but some people like grand solutions to minor issues.

    – Erik
    Jan 15 at 13:55











  • Hahahah..that is so true!

    – Taras
    Jan 15 at 13:58














  • 2





    I think there is no need to convert the polygon into a polyline, a simple polygon with none fill and some outline style will probably be enough. Of course, it depends on further processing.

    – Taras
    Jan 15 at 13:54








  • 2





    I think so too, but some people like grand solutions to minor issues.

    – Erik
    Jan 15 at 13:55











  • Hahahah..that is so true!

    – Taras
    Jan 15 at 13:58








2




2





I think there is no need to convert the polygon into a polyline, a simple polygon with none fill and some outline style will probably be enough. Of course, it depends on further processing.

– Taras
Jan 15 at 13:54







I think there is no need to convert the polygon into a polyline, a simple polygon with none fill and some outline style will probably be enough. Of course, it depends on further processing.

– Taras
Jan 15 at 13:54






2




2





I think so too, but some people like grand solutions to minor issues.

– Erik
Jan 15 at 13:55





I think so too, but some people like grand solutions to minor issues.

– Erik
Jan 15 at 13:55













Hahahah..that is so true!

– Taras
Jan 15 at 13:58





Hahahah..that is so true!

– Taras
Jan 15 at 13:58













2














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).






share|improve this answer
























  • Smiller posted like half a minute after I did, and his answer if written more conclusive @Taras.

    – Erik
    Jan 15 at 13:59






  • 1





    The answers were posted simultaneously, and since I'm not a QGIS user I included my sources. Personally I find it helpful to know how an answer was derived.

    – smiller
    Jan 15 at 13:59











  • No problem! (I mostly haunt the QGIS threads to learn the similarities and differences in the programs for my own use.)

    – smiller
    Jan 15 at 14:10
















2














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).






share|improve this answer
























  • Smiller posted like half a minute after I did, and his answer if written more conclusive @Taras.

    – Erik
    Jan 15 at 13:59






  • 1





    The answers were posted simultaneously, and since I'm not a QGIS user I included my sources. Personally I find it helpful to know how an answer was derived.

    – smiller
    Jan 15 at 13:59











  • No problem! (I mostly haunt the QGIS threads to learn the similarities and differences in the programs for my own use.)

    – smiller
    Jan 15 at 14:10














2












2








2







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).






share|improve this answer













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).







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 15 at 13:51









smillersmiller

2,001217




2,001217













  • Smiller posted like half a minute after I did, and his answer if written more conclusive @Taras.

    – Erik
    Jan 15 at 13:59






  • 1





    The answers were posted simultaneously, and since I'm not a QGIS user I included my sources. Personally I find it helpful to know how an answer was derived.

    – smiller
    Jan 15 at 13:59











  • No problem! (I mostly haunt the QGIS threads to learn the similarities and differences in the programs for my own use.)

    – smiller
    Jan 15 at 14:10



















  • Smiller posted like half a minute after I did, and his answer if written more conclusive @Taras.

    – Erik
    Jan 15 at 13:59






  • 1





    The answers were posted simultaneously, and since I'm not a QGIS user I included my sources. Personally I find it helpful to know how an answer was derived.

    – smiller
    Jan 15 at 13:59











  • No problem! (I mostly haunt the QGIS threads to learn the similarities and differences in the programs for my own use.)

    – smiller
    Jan 15 at 14:10

















Smiller posted like half a minute after I did, and his answer if written more conclusive @Taras.

– Erik
Jan 15 at 13:59





Smiller posted like half a minute after I did, and his answer if written more conclusive @Taras.

– Erik
Jan 15 at 13:59




1




1





The answers were posted simultaneously, and since I'm not a QGIS user I included my sources. Personally I find it helpful to know how an answer was derived.

– smiller
Jan 15 at 13:59





The answers were posted simultaneously, and since I'm not a QGIS user I included my sources. Personally I find it helpful to know how an answer was derived.

– smiller
Jan 15 at 13:59













No problem! (I mostly haunt the QGIS threads to learn the similarities and differences in the programs for my own use.)

– smiller
Jan 15 at 14:10





No problem! (I mostly haunt the QGIS threads to learn the similarities and differences in the programs for my own use.)

– smiller
Jan 15 at 14:10


















draft saved

draft discarded




















































Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f308686%2fborder-from-polygon-shapefile%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

'app-layout' is not a known element: how to share Component with different Modules

android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

WPF add header to Image with URL pettitions [duplicate]