3

I need to create a polygon vector that fills the space between two line vectors I have.

Workspace

The black line vector represents the coastline, while the blue line vector indicates the 250m depth contour.

The idea is to create a polygon that represents the entire marine territory of the region that is under 250m depth (meaning, between the two line vectors)

Ricardo Simões
  • 419
  • 3
  • 16
  • It seems you have a small gap, at around NW corner, in your blue line vector layer. Do you wish to include the fixing process in the answer? – Kazuhito Mar 08 '18 at 11:38
  • 1
    @Kazuhito No need! I fixed the gap already! Thank you for noticing! – Ricardo Simões Mar 08 '18 at 11:49
  • 1
    Then it will be simple enough. (1) Make sure you have small overlap between coastline and blue line. (Slightly extend end nodes of blue line) (2) Merge (Vector | Data Management Tools | Merge Vector Tools) (3) Polygonize (see ndawson's answer ). I see @krvrd's good answer now. – Kazuhito Mar 08 '18 at 12:14

1 Answers1

3

To fill the area between two line layers you need:

  1. Merge layers through Merge shapes plugin.
  2. Then you'll must check are there gaps on the contour and fix them.
  3. Apply vector tool "Lines to polygons". (Vector -> Geometry Tools -> Lines to polygons).

Done!

krvrd
  • 184
  • 1
  • 2
  • 7