I reworked the road path instead of just cloning the landmark flow.
The old strategy was decent, but it had three weak spots:
* extraction was line-focused, but not **verification-focused**
* stage 2 could group and package, but it did not have a proper **review loop for ambiguous roads**
* there was no persistent **feature-level override layer** driven by an external visualizer
That mattered because the base IMG extractor already gives enough line semantics to separate roads, ferries, rail, water lines, contours, and raw leftovers through `LINE_TAGS` and the line-class logic, so the next bottleneck is not decoding lines, but **reviewing and correcting them efficiently**.
Also, the landmark stage-2 script already had the right pattern for external visualization hooks and interactive config editing, including `--run-cmd-before-eval` placeholders such as `{lat}`, `{lon}`, `{z}`, `{mapset}`, `{group_id}`, `{group_label}`, `{raw_type}`, and `{name}`. I used that as the model for the road verifier rather than pretending roads need a completely different interaction style.
* extractor v3 successfully ran on your uploaded `gmapsupp.img` for mapset `02235051`
* it produced `13,918` road/path line features
* analyze ran successfully
* build ran successfully and produced OSM/CSV/summary
* I did **not** execute the interactive verifier loop end-to-end here because that needs a live TTY and an external GUI program
Strategy evaluation, after iteration
What is now good:
* road extraction is no longer blind bulk export
* stage 2 has a proper verification layer
* config is now the single source of truth for:
* group rules
* group styling
* postprocess tags
* per-feature corrections
What is still weak:
* road grouping is still mostly based on semantic class and raw fallback, not on **network topology**
* the verifier is feature-by-feature, not yet **intersection-aware**
* no automatic “likely duplicate road geometry” reconciliation across mapsets yet
The next best iteration is a **connectivity-aware verifier**, where roads sharing endpoint hashes or intersecting near the same nodes can be reviewed as a bundle instead of individually. That would be the real “beast mode” next step for road quality.