2

Given a tile (the cropped base map in the left) and polylines (red lines), is there any tool/workflow in QGIS to convert them into masks in the right?

enter image description here

2
  • 1
    With vector tools, you can extract the extent of the tile, you'll have a vector rectangle. Then you can "split with lines" (algorithm toolbox) the extent rectangle with your lines. The result will be a 4 part divided rectangle, as your right picture. Jun 7 at 7:36
  • Thank you for the workflow. It works. I really appreciate you help!
    – Jason
    Jun 7 at 23:10

1 Answer 1

4
  1. Even if it's located in Vector tools, you can extract the extent of your tile with this tool : "Extract layer extent". The result will be a rectangle (polygon) of the extent.

  2. Split this rectangle extent with your line layer, using the "Split with lines" processing tool. As its name, this tool will split your polygon layer (extent) with your line layer and divide it into different parts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.