I'm using QGIS to construct some fixed width buffers from a coastline shapefile. Is there a way to easily handle overlaps/ median lines? (I'm not sure if there's a particular term or phrase I should be searching for here.)

I have a shapefile for several islands. I need to create a 12nm territorial sea coastal zone. This is straightforward with the buffer function.

However, if the distance between two islands is less than 24nm (12 + 12), the boundary should follow the median line.

Is there a way to calculate this in QGIS so that, instead of a merged polygon, I can generate two polygons (one around each island) with a boundary along the mid point.

For bonus points, I need to generate a second smaller coastal zone. This lies 4nm from the coast, or 1/3 of the distance to the territorial sea boundary described above. Is there a way to construct a buffer with a proportional distance?

  • In case anyone is as confused, nm does not stand for SI nanometers here, but nautical miles. >< Commented Aug 21, 2012 at 16:24
  • yes, sorry. I should probably follow convention rather than my own personal shorthand :) Commented Aug 23, 2012 at 4:27

2 Answers 2


The QGIS buffer tool by default does not merge overlapping buffers, but there is the option to allow you to do so.

More difficult is to define what is the "median line" between two islands: it is define by the shoreline of one of the two islands? It is an interesting problem, but I don't think it is trivial to solve.

QGIS also allows you to create buffers using the distance defined in a attribute of the vector you are buffering. I believe you can use the Sextante modeler (available in the Sextante plugin) to introduce some kind of logic.

  • thanks giovanni. the median line is equidistant between both shorelines, bit I agree this is non-trivial to apply in practice. i will have a look at sextante, thanks for the suggestion Commented Aug 23, 2012 at 4:29

I don't really know how to do this, but you can get the intersection between the buffers of the different islands and then the center line.

To obtain the buffers that intersect you can do it manually or by discarding the previously generated buffers at a fixed distance that do not intersect.

To obtain the centreline, check out this link on our site:

Finding centrelines from polygons in QGIS?

And this other, but in spanish (need translation): https://sisteme-ig.com/questions/20845/crear-una-linea-central-entre-2-polilineas-qgis-duplicado

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.