I am trying to create a buffer which would include only the Mediterranean coast of Spain (excluding borders), running from the south western extremity close to Portugal, to the north eastern extremity close to France. Is there a way to to this based on the map I have?

enter image description here

1 Answer 1


You need to do the following:

  • Convert your polygons to lines using Convert polygons to lines tool from Processing toolbox -> Saga -> Vector line tools -> Convert polygons to lines
  • Start editing the line shapefile
  • Use Split Features tool, shown at the image below, to split the line boundary at both sides of the coastal region, and save the edits

enter image description here

  • Select the line along the coast and use Buffer tool to buffer only that line.
  • And then use Difference to remove the side of the buffer which overlaps the landmass. Nov 1, 2018 at 14:13
  • Or use the single-sided buffer tool.
    – csk
    Nov 1, 2018 at 17:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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