Commit 1317ee5
feat(scamin): honor SCAMIN exactly for light sectors
The LIGHTS06 sector figure (arcs/legs) was the one discrete light mark
not getting exact SCAMIN: its flare (point_symbols) and characteristic
text already bucket, but the baker dumped the sector geometry into the
shared `lines` source-layer with NO scamin tag, gated only to integer
floor(z*) by tile content — so sectors popped in up to ~1 zoom too
early when zooming out.
Baker: tag each sector with its parent LIGHTS' SCAMIN and emit it into
its OWN `sector_lines` source-layer (not the shared `lines`), so it can
be bucketed without fanning every coastline/contour into per-SCAMIN
variants. Also stop clamping a sector's tile-availability floor to
bandMin, matching the flare prim, so a SCAMIN-below-band sector stays
available down to its SCAMIN scale.
Client: add `sector_lines` to SCAMIN_BUCKET_LAYERS and two thin style
layers (solid/dashed) mirroring lines-solid/lines-dashed. Sectors now
cut at the exact fractional scale, both directions, like the flare/text.
General `lines`/`areas` deliberately left unbucketed: they're
continuous / best-available gap-fill, where SCAMIN-removal is a
separate (hole-punching) concern.
Requires a re-bake (the `scamin` tag + `sector_lines` layer are new
baked data).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 70130db commit 1317ee5
2 files changed
Lines changed: 26 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
265 | 266 | | |
266 | 267 | | |
267 | 268 | | |
| |||
878 | 879 | | |
879 | 880 | | |
880 | 881 | | |
| 882 | + | |
881 | 883 | | |
882 | 884 | | |
883 | 885 | | |
| |||
1098 | 1100 | | |
1099 | 1101 | | |
1100 | 1102 | | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
1101 | 1107 | | |
1102 | | - | |
1103 | | - | |
1104 | | - | |
1105 | 1108 | | |
1106 | 1109 | | |
1107 | 1110 | | |
| |||
1490 | 1493 | | |
1491 | 1494 | | |
1492 | 1495 | | |
1493 | | - | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
1494 | 1504 | | |
1495 | 1505 | | |
1496 | 1506 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
121 | 125 | | |
122 | 126 | | |
123 | 127 | | |
| |||
1403 | 1407 | | |
1404 | 1408 | | |
1405 | 1409 | | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
1406 | 1417 | | |
1407 | 1418 | | |
1408 | 1419 | | |
| |||
0 commit comments