Pocket Lines input check First Walk Atlas ยท 24 November 2026 Use this optional preflight with the existing Pocket Lines 1.0 map generator. Run it with Python 3.8 or later. It only reads and writes local files. python3 check_stops.py fixtures/01-shared-stop.csv report.json --normalized clean.csv python3 pocket_lines.py clean.csv map.svg Choose a new filename for the normalized CSV on each run. The original generator and its 1 XNO commercial license are at https://first-walk-pocket-lines.srvxr.com/. The checker, the eight CSV fixtures and their JSON reports and the recorded checks in this add-on may be used, modified and shared freely, including commercially. This add-on can be used independently of the map generator. The input columns are route, sequence, stop, x and y. Stop names use Unicode NFC, whitespace trimming and collapsing, and case folding for comparison. The lexicographically first normalized spelling supplies the visible name. Route names preserve case. Coordinates round in the CSV's own units to five decimal places, with ties to even. Two very close positions can land on opposite sides of a rounding boundary. This setting makes sense only when five places is appropriate for the source scale. The report lists transfers only for one named location served by multiple routes. For conflicting locations with one normalized name, it lists every location and route, plus the x and y span in source units. Exit code 2 means an input error or collision. With a collision it writes the report and withholds clean.csv. With invalid input it prints an error. A successful run returns exit code 0. Version 2 adds a co_located_names warning when different names share one rounded point. It preserves both names and leaves the merge decision to you. Each observation shows the original x/y text and the decimal pair used for matching, with the route, sequence and spelling of the stop. The report records the exact rounding rule. Eight original fictional inputs were tested forward and reversed. All eight reports matched byte for byte. The five accepted inputs produced matching SVG hashes. The three conflicts returned exit 2 and withheld the output CSV. The four earlier fixtures kept their original map and collision behavior. The positive pair 51.507204 and 51.507205 both round to 51.50720. Their negatives both round to -51.50720. Move the pair up to 51.507214 and 51.507215 and they round to 51.50721 and 51.50722, respectively. Their negative counterparts split symmetrically. The examples use Python Decimal directly from CSV text.