This video goes over how to create a custom SVG symbol for use in QGIS. This approach would would for creating your own icons. I will be using an image from a PDF that I downloaded at https://mutcd.fhwa.dot.gov/SHSe/Guide.pdf
Either Adobe Illustrator or Affinity Designer, and QGIS.
Creating the SVG
If you’re mostly using areas for the symbol, the original size of the symbol shouldn’t matter.
- For the data source, I googled MUTCD Interstate Symbol and found a pdf.
- Open PDF with either Illustrator of Designer.
- Delete everything but the red, blue and outline.
- Change the fill of the outline to white because it doesn’t have a fill.
- Center the object on the artboard.
- Export as SVG
- Option in Illustrator: Styling = Presentation Attributes
- Option in Designer: Preset = SVG (for export)
Using the SVG (basic approach)
- Add a point to the map with a route number field
- Do not symbolize
- Set text style
Background = SVG, set size of background to something like 30 pt.
Set type font and size
Set offset to center
You should get an icon with type placed in the center.
Issues that may arise
- If the SVG isn’t in a library that travels with your map file, you will likely not have the symbol when you need it.
- In Affinity Designer, if you don’t center the image and export the SVG as the whole document, the the text will not be aligned to the background icon. If you export the selected artwork as the \”SVG without background\” you won\’t have an issue.
Further possible topics
Other videos should address adding color to icons within QGIS, and setting the size of the icon based on the map\’s scale. Setting the icon for use Illustrator text placement.