You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: A mosaic sheet's panels take a label, a bookmark and a scale each #3579
A "style": "mosaic" sheet takes "panels": anonymous [west, south, east, north] boxes, each fitted to a round scale and numbered. An atlas page needs more: each panel named, a place already saved as a bookmark used as a panel, and one scale chosen for a panel instead of the fitted one. Today that means editing the frames and texts by hand after the sheet is made, which loses the numbering the key map keeps in sync (#3513).
Proposed solution
Each entry of "panels" may also be an object (the list of four stays valid, and they mix): {"extent": [w, s, e, n], "label": "Providencia", "scale": 2000000} or {"bookmark": "Providencia", …}.
label: the number's plate widens and reads "1 · Providencia", in the number's bold 10 pt. A label wider than its cell is cut with "…" and said in a warning.
bookmark: the panel shows what that bookmark's camera covers, as the map view shows it, fitted like any panel. A name that doesn't exist is an error that lists the bookmarks there are.
scale: the panel is drawn at 1:N, centred on its extent. One that doesn't hold the whole extent in its cell is kept and warned about, as nothing is cut silently.
A bad entry (an object with neither extent nor bookmark, or both; a scale that isn't a positive number; a label that isn't text) is an error naming panels[i].
Sheets with plain lists draw exactly as today.
Estimated scope
Small: a focused change, about 160 lines of code.
Alternatives considered
Editing each frame and text with layout.update after the sheet is made (many steps, and the key map's numbers are the sheet's to keep in sync); parallel lists "labels" and "scales" (they drift apart when a panel is removed).
Activity
jgregoriorincon commentedon Dec 2, 2026
I'm taking this one.
fix(layout): a mosaic panel's scale is held to a frame's range, and i…
fix(layout): a panel's label is one line, and a scale below 1 is writ…
fix(layout): a mosaic panel's scale check and label are measured as t…
fix(layout): a panel label's layer statistics are measured as the fig…
fix(layout): a cut panel label never ends in half a token (opengeos#3579
fix(layout): a label's token guard looks at the last brace, not the c…
feat(layout): a mosaic's panels take a label, a bookmark and a scale …