waterways and transit have the same over-division as roads and rail #27
Labels
No labels
claude-wip
map-report
map:is
map:se
needs-review
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
art/ismap#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Both still measure ~2 points per feature at coarse zoom, the signature that
merge_linesexists for (see
docs/performance.md, "Where the bytes are after both").Measured now:
waterwaystransitA trial merge of Swedish
waterwaysat z6 gives 6 627 → 1 221 features (5.4×), andwaterwaysis 47 kB of the z5 central-Europe tile and 62 kB at z7 — second only tocovernow that roads and rail are done.
transitis smaller but the change is the same fourconfig lines.
Deliberately not folded into #10, because
waterwaysis entangled with two openissues and the interaction wants thinking about rather than a config edit:
importanceladder, andmerging groups by
importance, so chains break at every step of it.transiton its own is safe and could go first — it groups bymodealone.The mechanism, the safety measurements and the
merge_from_zoomrule are all inCLAUDE.md, "Generalization strategies". The one thing to check per layer is the merge
ratio, not the runtime.
transitwill not merge: the tram network is 73% junction nodes #38merge_lineslanded for both layers in3ae69c3. The over-division signature is gone fromwaterways:waterwaysz6 featuresand points-per-feature at z9 is now 4.8 (SE) / 5.1 (PL) / 5.8 (IS), against the flat 2.0
this issue measured.
merge_from_zoom: 12came out of the ratio measurements — 1.7× at z13,2.5× at z11, 3.3× at z9, 5.4× at z6, climbing monotonically as the network thins.
transitmerged 1 764 → 862 (2.0×) in Sweden and 1.14× in Poland, which is the one partthat did not land. It is not a "merge earlier" problem and not a precision problem: 73% of
Poland's tram nodes are junctions (BDOT10k models each track separately and splits it at
every crossover), and
ST_LineMergeonly chains through degree-2 nodes. That is trackedwith its own measurements in #38, so there is nothing left under this number.
The entanglement this issue was held back for is also resolved: #26 and #20 are closed
alongside it.