My task is to reproduce a map of a specific place. The problem are the borders which I can´t reproduce in QGIS.
The attached picture shows the line. It looks like a polygon filled with slashes.
Any ideas how I could reproduce this?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
There is actually a quite immediate way to obtain that effect:
Always through a style-based only approach, a more refined way is to:
Geometry generatorfeature of QGIS to create a buffer at render time (I just set this to
Much nicer effect, IMHO:
You could create the border as a line then buffer the line the right distance (it will depend of your map scale) to get a polygon and style this polygon with a line pattern fill and no border.
To create the buffer you may use the tool from the processing toolbox (create a new polygon layer) or use the geometry generator in the border line style (better if you dont want to create new layer)
The geometry generator expression will be like this :
it create a 50m buffer (the buffer unit is the same as layer unit, in this case meters) with pointy end (second value : 1, the bigger the value the more the end are circular)