Skip to main content
1 of 4
TimD
  • 439
  • 4
  • 11

Extracting or categorizing shared boundaries of polygons QGIS

I would like to recreate the style in this Wikipedia Locator map, where there are three distinct styles for boundaries:

  1. Coastline (thin blue line)
  2. High-level administrative land-border (thick grey line)
  3. Low-level administrative land-border (thin grey line) Wikipedia style Locator map, from https://en.wikipedia.org/wiki/File:France_location_map.svg

I have high and low level administrative units for my area of interest, as polygons. I have tried to match the style as closely as possible: enter image description here

However, I have no way to distinguish coast-line from land-border. Adding a new coastline polygon would allow me to add a blue line along the coast, but I would still have the grey lines along the coast.

I think that the next step would be to extract only the land-borders from the polygons, but I'm not sure how to do so, other than manually snipping the line wherever it reaches the coast.

Is there a way to 'detect shared boundaries'? Ideally using Processing Toolbox, GRASS, or a QGIS3 Plugin. I am learning to use PyQGIS so would be able to try with that also.

TimD
  • 439
  • 4
  • 11