OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
builder.tui Namespace Reference

Curses region selector for the OpenRoadCode map builder. More...

Functions

list[VisibleRegion] visible_regions (list[Region] regions, set[str] expanded, str query="")
 Flatten the currently visible portion of the Geofabrik region tree.
set[str] expanded_ancestors (set[str] selected, dict[str, Region] mapping)
 Return ancestors that must be open to reveal the selected regions.

Detailed Description

Curses region selector for the OpenRoadCode map builder.