Skip to main content
3 of 3
deleted 2 characters in body; edited title
Taras
  • 34k
  • 4
  • 73
  • 148

Extracting borders from country polygons in QGIS

I'm trying to convert a polygon GeoJSON of countries into a line layer that contains only the borders. It should not contain the edges of the polygons that border the ocean (in my polygon dataset, nothing).

How can I in QGIS 3.8 do that? Basically, "give me the linestring of this polygon data, but only where there is a polygon on both sides of it".

I've checked similar answers and they don't cover this case. Most importantly, I actually want the data, not just set the display fill style to none.

Tom
  • 251
  • 2
  • 10