4

texturedBoundary

I came across this map and would like to replicate the textured styling found along the borders. I'm starting with a multipart polygon but my process has perhaps too many steps. I'm using QGIS 2.8.2.

  1. Processing algorithm: Convert original polygon to lines
  2. Processing algorithm: Fixed distance buffer
  3. Clip buffer using the original multipart polygon
  4. Style the clipped buffer with Line Pattern Fill, adjusting transparency, line width, etc.

Here is my output:
enter image description here

Any ideas on how to achieve this effect in fewer steps? I sense I'm overlooking an option like color burst, but where you can use a line pattern as a fill. Or, perhaps there's a way to do an inverted or negative buffer, which would save me the clipping step.

Update: Buffers with negative values create smaller versions of the original multipart polygons, not a sort of boundary area. (Note: I'm using Vector/Geoprocessing/Create Buffer.)

I think the buffer layer itself does need to be clipped too, presuming you have outermost boundaries to consider.

enter image description here

  • 1
    Looks like a future version will be able to do this in less steps - the blog post is based on new features coming to QGIS 2.12 – Mapperz Jul 21 '15 at 20:16
  • This link shows how to do hatching with polygons and this link talks about using a negative value for the buffers. I am not really familur with QGIS, but these 2 links make it sound achievable. – TsvGis Jul 21 '15 at 22:37
  • 1
    I think polygon - boundary - buffer is right but you don't need to clip your existing then, draw the buffer with a stroke fill over the top of the exiting polygons with a transparent background as the stroke is the same for each. In your sample map the strokes fade, that would be more difficult to emulate but I think not totally impossible. – Michael Stimson Jul 22 '15 at 0:26
2

Following on from what you wrote and the links in the comments sections, I got a more refined hatched boundary (only within the polygons).

enter image description here

I used the "Difference Tool" (Vector/Geoprocessing Tools/Difference) and used the following settings to clip the buffer to the extent that I wanted:

enter image description here

I used a -20m value for the buffer, but if you wanted longer hatched lines you could use a greater value.

Hope this helps. Oh This was done on QGIS 2.2.0

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.