Skip to content

feat(render): add --line-scale option for road line thickness#194

Open
utaysi wants to merge 1 commit intooriginalankur:mainfrom
utaysi:feat/line-scale
Open

feat(render): add --line-scale option for road line thickness#194
utaysi wants to merge 1 commit intooriginalankur:mainfrom
utaysi:feat/line-scale

Conversation

@utaysi
Copy link

@utaysi utaysi commented Feb 14, 2026

Problem

When generating posters for small areas (e.g. individual districts or neighborhoods), the default road line thickness produces very thin, hard-to-see roads because the zoom level makes the area roads too fine.

Solution

Add a --line-scale option that applies a multiplier to road line thickness. This allows users to increase thickness when rendering small areas where the defaults are insufficient.

Usage:

uv run ./create_map_poster.py --city "Stadtwald" --country "Marburg" -lat 50.7906111111 -long 8.73826111111 -d 1650 --line-scale 5

Before / After

Stadtwald: a small neighbourhood

--line-scale 1 (Default) vs --line-scale 5

Before After
stadtwald-before stadtwald-after

With default line thickness, roads in small-area maps like Stadtwald or neighbourhoods are very thin and hard to see. With an increased --line-scale value, roads become clearly visible.

Add CLI argument to scale road/structure line widths with a configurable multiplier. Useful for small areas where default line thickness appears too thin (recommended 2-4x for those).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant