Skip to content

Latest commit

 

History

History
57 lines (34 loc) · 3.25 KB

File metadata and controls

57 lines (34 loc) · 3.25 KB

SVG symbology of the OSM-Carto alternative colors map style

This directory contains all SVG based symbology used in the style. The point symbols are mostly based on work done by OSM-Carto developers, the polygon and line patterns are mostly specific designs made for the AC-Style.

Most of the symbols are processed by python scripts into the version actually used for rendering.

Details on this can be seen below. The scripts also produces a contact sheet with previous of the symbols processed which can be found below.

Point symbols

contact sheet point symbols

The point symbols are processed with a script (/scripts/generate_symbols_labels.py) that colorizes the symbols and generates the SQL/MSS code for the POI layer. The whole process is described in this blog post.

Symbol sources can be found in the sources/ subdirectory, the definition of colors and rendering parameters in symbols-labels.yaml

Addon symbols for augmenting other point symbols are rendered directly from their SVG sources. These can be seen in preview here:

contact sheet point symbols contact sheet currency symbols

Single symbol patterns

Single symbol patterns are rendered directly from SVG files. They are currently used for indicating the type of sport on leisure=pitch, parking spaces and some building types. Here are uncolored previews of the symbols used:

contact sheet landcover contact sheet buildings

Line patterns

contact sheet line patterns

contact sheet parametric line patterns

The line pattern SVGs are processed with (/scripts/generate_line_patterns.py) based on parameters in line_patterns.yaml

Polygon fill patterns

contact sheet patterns

The polygon pattern SVGs are processed with (/scripts/generate_patterns.py) based on parameters in patterns.yaml

Unpaved road patterns

contact sheet unpaved road patterns

The unpaved road pattern SVGs are processed with (/scripts/generate_unpaved_patterns.py) based on parameters in unpaved_patterns.yaml