# charleyglynn/osm-shapefile-qgis-stylesheets architecture

> Architecture diagram of the GitHub repository charleyglynn/osm-shapefile-qgis-stylesheets, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/charleyglynn/osm-shapefile-qgis-stylesheets
- Repository: https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets

## Overview

This repository is a collection of QGIS QML stylesheets for styling OpenStreetMap data distributed as ESRI Shapefiles. The user loads the data in QGIS and applies thematic styles for map rendering; a separate greyscale set is also provided. The README documents intended data sources, a large-scale use range, and a sea-background tint. No source excerpts were supplied, so the graph shows only relationships documented in the README and does not infer styling internals or layer-order links.

Main entry points: [`QML files/buildings.qml`](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/buildings.qml) (Buildings style), [`QML files/land_polygons.qml`](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/land_polygons.qml) (Land polygons style), [`QML files/landuse.qml`](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/landuse.qml) (Landuse style), [`QML files/natural.qml`](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/natural.qml) (Natural style)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_color["Color styles"]
  node_buildings["Buildings style<br/>[buildings.qml]"]
  node_land_polygons["Land polygons style<br/>[land_polygons.qml]"]
  node_landuse["Landuse style<br/>[landuse.qml]"]
  node_natural["Natural style<br/>[natural.qml]"]
  node_places["Places style<br/>[places.qml]"]
  node_railways["Railways style<br/>[railways.qml]"]
  node_roads["Roads style<br/>[roads.qml]"]
  node_water["Water style<br/>[water.qml]"]
  node_waterways["Waterways style<br/>[waterways.qml]"]
end

subgraph group_gray["Greyscale styles"]
  node_gray_buildings["Buildings style<br/>[buildings.qml]"]
  node_gray_land_polygons["Land polygons style<br/>[land_polygons.qml]"]
  node_gray_landuse["Landuse style<br/>[landuse.qml]"]
  node_gray_natural["Natural style<br/>[natural.qml]"]
  node_gray_places["Places style<br/>[places.qml]"]
  node_gray_railways["Railways style<br/>[railways.qml]"]
  node_gray_roads["Roads style<br/>[roads.qml]"]
  node_gray_waterways["Waterways style<br/>[waterways.qml]"]
end

node_mapper(("Map user"))
node_qgis["QGIS"]
node_shapefiles["OSM shapefiles"]
node_land_source["Land polygons"]

node_mapper -->|"uses"| node_qgis
node_mapper -->|"obtains data"| node_shapefiles
node_mapper -->|"obtains data"| node_land_source
node_qgis -->|"applies style"| node_buildings
node_qgis -->|"applies style"| node_land_polygons
node_qgis -->|"applies style"| node_landuse
node_qgis -->|"applies style"| node_natural
node_qgis -->|"applies style"| node_places
node_qgis -->|"applies style"| node_railways
node_qgis -->|"applies style"| node_roads
node_qgis -->|"applies style"| node_water
node_qgis -->|"applies style"| node_waterways
node_qgis -->|"applies style"| node_gray_buildings
node_qgis -->|"applies style"| node_gray_land_polygons
node_qgis -->|"applies style"| node_gray_landuse
node_qgis -->|"applies style"| node_gray_natural
node_qgis -->|"applies style"| node_gray_places
node_qgis -->|"applies style"| node_gray_railways
node_qgis -->|"applies style"| node_gray_roads
node_qgis -->|"applies style"| node_gray_waterways
node_shapefiles -->|"loads into"| node_qgis
node_land_source -->|"loads into"| node_qgis

click node_buildings "https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/buildings.qml"
click node_land_polygons "https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/land_polygons.qml"
click node_landuse "https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/landuse.qml"
click node_natural "https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/natural.qml"
click node_places "https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/places.qml"
click node_railways "https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/railways.qml"
click node_roads "https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/roads.qml"
click node_water "https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/water.qml"
click node_waterways "https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/waterways.qml"
click node_gray_buildings "https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/greyscale/buildings.qml"
click node_gray_land_polygons "https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/greyscale/land_polygons.qml"
click node_gray_landuse "https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/greyscale/landuse.qml"
click node_gray_natural "https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/greyscale/natural.qml"
click node_gray_places "https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/greyscale/places.qml"
click node_gray_railways "https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/greyscale/railways.qml"
click node_gray_roads "https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/greyscale/roads.qml"
click node_gray_waterways "https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/greyscale/waterways.qml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_buildings,node_land_polygons,node_landuse,node_natural,node_places,node_railways,node_roads,node_water,node_waterways,node_mapper toneBlue
class node_gray_buildings,node_gray_land_polygons,node_gray_landuse,node_gray_natural,node_gray_places,node_gray_railways,node_gray_roads,node_gray_waterways toneAmber
class node_qgis,node_shapefiles,node_land_source toneIndigo
```

## Components

### Color styles

- [Buildings style](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/buildings.qml): `QML files/buildings.qml`
- [Land polygons style](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/land_polygons.qml): `QML files/land_polygons.qml`
- [Landuse style](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/landuse.qml): `QML files/landuse.qml`
- [Natural style](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/natural.qml): `QML files/natural.qml`
- [Places style](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/places.qml): `QML files/places.qml`
- [Railways style](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/railways.qml): `QML files/railways.qml`
- [Roads style](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/roads.qml): `QML files/roads.qml`
- [Water style](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/water.qml): `QML files/water.qml`
- [Waterways style](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/waterways.qml): `QML files/waterways.qml`

### Greyscale styles

- [Buildings style](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/greyscale/buildings.qml): `QML files/greyscale/buildings.qml`
- [Land polygons style](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/greyscale/land_polygons.qml): `QML files/greyscale/land_polygons.qml`
- [Landuse style](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/greyscale/landuse.qml): `QML files/greyscale/landuse.qml`
- [Natural style](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/greyscale/natural.qml): `QML files/greyscale/natural.qml`
- [Places style](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/greyscale/places.qml): `QML files/greyscale/places.qml`
- [Railways style](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/greyscale/railways.qml): `QML files/greyscale/railways.qml`
- [Roads style](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/greyscale/roads.qml): `QML files/greyscale/roads.qml`
- [Waterways style](https://github.com/charleyglynn/osm-shapefile-qgis-stylesheets/blob/master/QML%20files/greyscale/waterways.qml): `QML files/greyscale/waterways.qml`

### Other components

- **Map user**
- **QGIS**
- **OSM shapefiles**
- **Land polygons**

## Connections

- Map user → QGIS: uses (evidence: `README.md`)
- Map user → OSM shapefiles: obtains data (evidence: `README.md`)
- Map user → Land polygons: obtains data (evidence: `README.md`)
- QGIS → Buildings style: applies style (evidence: `README.md`)
- QGIS → Land polygons style: applies style (evidence: `README.md`)
- QGIS → Landuse style: applies style (evidence: `README.md`)
- QGIS → Natural style: applies style (evidence: `README.md`)
- QGIS → Places style: applies style (evidence: `README.md`)
- QGIS → Railways style: applies style (evidence: `README.md`)
- QGIS → Roads style: applies style (evidence: `README.md`)
- QGIS → Water style: applies style (evidence: `README.md`)
- QGIS → Waterways style: applies style (evidence: `README.md`)
- QGIS → Buildings style: applies style (evidence: `README.md`)
- QGIS → Land polygons style: applies style (evidence: `README.md`)
- QGIS → Landuse style: applies style (evidence: `README.md`)
- QGIS → Natural style: applies style (evidence: `README.md`)
- QGIS → Places style: applies style (evidence: `README.md`)
- QGIS → Railways style: applies style (evidence: `README.md`)
- QGIS → Roads style: applies style (evidence: `README.md`)
- QGIS → Waterways style: applies style (evidence: `README.md`)
- OSM shapefiles → QGIS: loads into (evidence: `README.md`)
- Land polygons → QGIS: loads into (evidence: `README.md`)
