Using arrow symbols
Line features convey location, but sometimes you also need to convey a direction along a line. QGIS recently added a symbol that does just that by turning lines into arrows. In this recipe, we'll symbolize some line features showing historical human migration routes around the world. This data requires directional arrows for us to understand it.
Getting ready
We will use two shapefiles in this example. One is a world boundaries (countries) shapefile and the other is a route shapefile. You can download the countries shapefile here:
https://github.com/GeospatialPython/Learn/raw/master/countries.zip
You can download the routes shapefile here:
https://github.com/GeospatialPython/Learn/raw/master/human_migration_routes.zip
Download these ZIP files and unzip the shapefiles into your qgis_data
directory.
How to do it...
We will load the countries shapefile as a background reference layer followed by the route shapefile. Before we display the layers on the map, we'll create the arrow...