11-12 Nov 2026 - where Safe2Go stands (updated 12 Nov 2026, evening)
DONEServers: new server live, old server cut off
- The app runs on the NEW server (144.76.156.29): database, map tiles, road routes (Valhalla) and timetable search (RAPTOR). Checked from the logs of both servers.
- The OLD server (178.104.175.3) is completely cut off since 11 Nov 19:30 UTC: no open ports, services stopped, nothing deleted; SSH only from the owner's PC; an undo script is saved on it. No fallback to it remains in the code.
- Timetable search engine: 5 instances behind one pool, each with a 4 GB feed cache (was 4 instances, 2.5 GB).
DONENo outside services in the live app
- Removed: Photon and Nominatim (address search), Overpass (nearby stops), the public OSRM router (road routes), ipwho.is (country from IP).
- Now: our own place and address index (search), our own hierarchy (pin to address), our own GTFS + OSM stops, our own Valhalla (a labelled straight-line estimate where no map exists), device or browser region (billing country).
- Phone app code switched to our own server (parking from DNW SmartPark, route lines from Valhalla) - in git, reaches phones only with the next app build.
- Cost: hotel and shop NAMES no longer resolve in search (no table of places of interest yet).
DONE 12 NovVillages worldwide in search, and search speed
- GeoNames villages loaded (CC-BY, stored on our server, insert-only, deduplicated): 3.56 million new places, the search index is now 11.4 million (was 7.8 million). Thailand 5,300 to 125,000, Vietnam 8,900 to 116,000, Philippines 6,700 to 50,000, Indonesia 27,000 to 302,000, Peru 2,300 to 62,000. Random new villages in 8 countries were all found by name, top hit at 0.0 km.
- Uncached searches were taking 2.3-3.3 s (Germany and parts of India): the building-footprint check looked for the nearest building in a 137 GB table and hit a 3 s timeout. Now it looks 60 m around the point (same answers): 0.2-0.4 s. Also removed: the English Wikipedia lookup (an outside call), and the address lookup can no longer hold the answer for more than 0.9 s.
- Map tiles can now be cached by the phone (Cache-Control, ETag, Last-Modified were missing). The app still stores almost nothing offline (72 MB vs Google's 1.36 GB): real offline maps need a new app build (file storage + MapLibre offline regions) - owner's decision.
- Landmarks and attractions loaded (GeoNames, 12 Nov): 4.76 million rows - mountains, lakes, rivers, bays, parks, monuments, towers, castles, museums, stadiums, schools, colleges, universities, hospitals, stations, banks, post offices, churches, mosques, hotels, piers/ghat steps - with English names and a fame weight (1000 x number of translations) so Table Mountain (Cape Town), the Matterhorn, Everest, the Statue of Liberty rank first.
- Named buildings, famous places, ghats and open waters added (12 Nov 2026). 3.98 million named buildings (halls, blocks, towers, houses with only a name and a building tag) from fresh continent extracts; 4.16 million famous places (OSM objects with a Wikipedia / Wikidata tag: monuments, temples, castles, ghats, bays) with a fame weight, shops/restaurants/stations among them kept at a low weight; 1,383 ghats (India, Nepal, Bangladesh); 197 oceans, seas, gulfs and bays outside any country (Bay of Bengal, Arabian Sea ...). Search now shows a famous place once (same name within 400 m) and ranks famous landmarks level with cities by fame, so a replica or a village with the same name no longer comes first. Tested live: Taj Mahal (Agra), Eiffel Tower (Paris), Big Ben (London), Statue of Liberty, Colosseum, Golden Temple, Uluru, Dashashwamedh Ghat, Assi Ghat, Bay of Bengal, IFC Hanoi, Newquay Rowing Club.
- Places of interest table: 17.9 million named rows. 13.6 million from our own OSM POI extract (Europe, USA, Russia, Africa, Japan, Canada, India, Australia, Brazil, China, Argentina, Mexico, Malaysia/Singapore) plus 4.3 million from fresh regional OSM extracts for 69 more countries (Thailand, Vietnam, Philippines, Indonesia, Cambodia, Laos, Taiwan, Sri Lanka, Nepal, Bangladesh, Pakistan, Afghanistan, Myanmar, South Korea, Central Asia, Mongolia, Israel/Palestine, the Gulf, Jordan, Lebanon, Iraq, Iran, Syria, Armenia, Azerbaijan, Yemen, all of Latin America from Chile to Cuba, and the Pacific islands). Shops, supermarkets, hypermarkets, malls, offices, schools, universities, hotels, restaurants, pharmacies, craft and healthcare places. Words match in any order near the user or inside the named town; "hotel / bank / school" are optional category words: "Hotel Maritim Mannheim" finds Maritim Parkhotel, Friedrichsplatz 2. Tested live: 7-Eleven Phuket, Jollibee and SM City Cebu, Highlands Coffee Hanoi, Dolmen Mall Karachi, Plaza Vea Lima, Jumbo Santiago, Azadi Tower Tehran.
- Still missing: Turkey/Europe-wide fame ranking for non-GeoNames landmarks (the Taj Mahal in Agra ranks behind a village with many spelling variants), Varanasi-style ghats and other very local features that exist only as unnamed or untagged OSM objects, and shops in Japan/India older extracts (only as fresh as the 10 Nov POI extract).
DONE 12 NovOwn road routing for the whole world (own tiles, no outside router)
- What was wrong: the South/South-East Asia and Central Asia/Korea road engines (built 28 Oct) were never connected to nginx, so the Philippines, Thailand, Vietnam, Cambodia, Indonesia, Sri Lanka, Nepal, Bangladesh, Taiwan, Pakistan, Afghanistan, Myanmar, South Korea and Central Asia had no road routes through the planner. Fixed: both engines are now reachable.
- Boxes fixed: Alaska and Hawaii (USA engine), Mauritius and Réunion (Africa engine), Tibet (China engine) were built but outside the routing boxes.
- New engine built from our own tiles: Fiji, Papua New Guinea, Solomon Islands, New Caledonia, Vanuatu, Samoa, American Oceania, Tonga, French Polynesia, Cook Islands, Kiribati, Tuvalu, Nauru, Palau, Marshall Islands, Micronesia, Maldives, Guyana, Suriname, Greenland and Yemen (3,880 tiles, 218 MB, on demand).
- Router: a "no path" answer from one engine now hands over to the next candidate engine (Paraguay was dying in the Argentina engine).
- Result, live audit of 120 world cities (one short real route each): 102 had a road route before, 119 now (the last, Dhaka, is a probe artefact: an ordinary Dhaka route works). Paraguay and Uruguay needed the Latin America box widened; a "no path" from one engine now hands over to the next. Water crossings now show "own car + car ferry" from our own road data (Cebu - Bohol, Batangas - Puerto Galera).
DONESpeed of long trips (live, steady state)
| Trip | Before | Now |
| Mannheim - Heidelberg | 2.2 s | 1.3-1.5 s |
| Palermo - Naples | 6.6 s | 4.3-4.6 s |
| Delhi - Agra | 8.8 s | 4.2-5.9 s |
| Paris - Lyon | 13.3 s | 8.0-8.6 s |
| Berlin - Munich | 20.7 s | 10.2-11.2 s |
How: a long trip's 2-hour departure window is searched as 3 parallel parts; tomorrow's first train and coach searches start beside the main one; the engine keeps its built networks (bigger feed cache). Every plan answer carries searchCalls (a timeline of each search). Tried and withdrawn: separate bus/ferry searches (slower).
DONETransport data for the whole world (what exists today)
- Real timetables: 1.13 million routes (trains, buses, metros, trams, ferries, flights); 71 on-demand (GTFS-Flex) feeds with 38,035 services, shown by the app with booking rules.
- Croatian ferries: Jadrolinija 29 of 37 lines, KSC (9601, 844), TP Line state lines + catamarans 842/654/661, agency feed (14 lines).
- Published-range layer (no timetable, sourced typical hours, shown as estimates below real timetables): 114 routes - 55 boats, 34 trains, 23 buses, 2 shared taxis - about 40 countries; confidence 10 high, 58 medium, 25 low.
- Informal local modes for villages (okada, habal-habal, qingqi, tonga, tractor-trolley and others): 14 modes in 19 regions (61 rows), shown as estimates; village to station chains work.
TO DO, in this orderNext
- GNV and Travelmar - done as far as the sources allow. Travelmar: collector built and checked against the printed timetable (52 trips a day), but switched OFF because its terms prohibit commercial use of its timetable PDFs without permission - your decision whether to enable it. GNV: its robots.txt blocks the departures calendar, so no timetable collector; GNV and Travelmar routes were added as published ranges from public notes with sources and confidence: GNV Genoa - Palermo, Civitavecchia - Palermo, Naples - Palermo, Genoa - Olbia, Genoa - Tunis, Naples - Termini Imerese, Barcelona - Nador; Travelmar Salerno - Amalfi, Amalfi - Positano, Salerno - Positano (typical durations and frequency; exact times need the operators' own timetables).
- Croatia leftovers: 7-8 Jadrolinija lines (Ist/Siroka, Sibenik-Prvic layout, dated Sunday tables, about 60 footnoted times, 4 lines with no PDF); agency lines 406, 501, 612; TP Line 652 (image PDF, needs OCR); G&V Line and Rapska plovidba (their sites have broken certificates - not bypassed).
- Ferry countries: added as published ranges from public notes (12 Nov): Thailand (Surat Thani - Koh Samui), Vietnam (Rach Gia - Phu Quoc), Cambodia (Sihanoukville - Koh Rong Samloem), Philippines (Cebu - Tagbilaran, Batangas - Puerto Galera), Hong Kong - Macau, Spain - Morocco (Algeciras - Tanger Med, Tarifa - Tangier), Egypt - Saudi Arabia (Safaga - Duba), India (Gateway of India - Mandwa), Samoa (Upolu - Savai'i). Still to do: Trinidad - Tobago (no sourced passenger time found), Phuket - Phi Phi and Lake Titicaca (ports not in our data yet), then the countries with no data at all.
- Published-range layer: more countries. No sourced hours found yet for Niger, Guinea, Burundi, Sudan, South Sudan, Somalia, Damascus-Aleppo and others - nothing is invented; each route needs published times with a source.
- Informal-mode speeds with no usable source yet: Iraq, Haiti, Namibia, Botswana, Tibet.
- Own table of places of interest, so hotel and shop names resolve again.
- Check that the village_transport build (7.2 million places) feeds the planner.
- More speed on long trips: the bus-only search (about 4 s) and the flight chain; the Europe hub or hierarchy search (owner decision - it was switched off on 9 Nov after a slow test).
- "All possible routes" mode (many passes, sort views, multi-ferry chains).
OWNER ACTIONWaiting on you
- App build: the phone app still shows the OLD behaviour (direct Overpass and OSRM calls) until a new build is made. Pushing code never starts a store build.
- Travelmar: enable it or leave it off (its terms prohibit commercial use without permission; I did not contact the operator).
- Say yes to deleting the TomTom, Mappls, LocationIQ and OpenCage keys in Railway.
- Rotate the
safe2go_reader database password (it was printed once in a work log; it only works from inside the new server).
- Old server: cancel the machine and its volume after 3-7 days of the new one running (nothing is deleted before you decide).
- Redundant-data cleanup: only through the owner deletion page, when the external drive is connected.
26 Oct 2026 - Ferry blueprint ("SAFE2GO - FERRY BluePrint.pdf"): phases and tasks
DONE 26 OctPhase 1 - foundation and source register (commit 27af9b8)
| # | Item | Detail |
| 1.1 | mobility_ferry schema (db/mobility_ferry 001-005, DB mobility_graph) | operators, ports + aliases, routes, trips, stop times (seconds from service-day midnight), service dates; data_source + licence_policy (all 4.2 fields); import runs; schedule versions (atomic publish, previous kept); supporting tables; cruise itineraries apart; coverage views. Hard-locked. |
| 1.2 | Seeded | 322 sources (308 GTFS ferry feeds: 7 open licence approved, 301 pending; 11 collectors pending; OSM pending), 717 operators (owner list 177 unverified + feed agencies), 4,758 ports (64 OSM terminal positions), 5,802 source links |
| 1.3 | Publication gate + gated nightly ferries job | import run + content hash (unchanged = skipped), sailings drop by half = quarantined, licence not approved = held, approved = loaded + published. Tested held / unchanged / quarantined. |
| 1.4 | 11 operator collectors | Scandlines (live before the gate), Color Line (live before the gate), Stena, DFDS, Tallink, Eckerö, Finnlines, Polsca (Polferries + Unity), Smyril, Wasaline, Steam Packet - collected ~25,000 sailings, held for licence review |
OWNER ACTIONFerry blueprint - waiting on you
| # | What | How |
| O1 | Licence decisions - Stena APPROVED 27 Oct (s2g-stena-v20261027 live); 10 collectors + 301 feeds still pending | /root/ferries/licence_review.sh approve|reject <source_key> "<note>"; list = all pending |
| O2 | DONE by owner 27 Oct: nightly ferries job queued | copy /root/ferries/ferries_job.sh to /root/night_queue.d/61_ferries.sh (blocked for Claude) |
| O3 | DONE by owner 27 Oct: old Color Line job retired (publishes without the gate) | replace /root/colorline/colorline_job.sh with /root/ferries/colorline_job_moved.sh (blocked for Claude) |
| O4 | Scandlines + Color Line: stay live or off until approved? | both were live before the gate existed |
IN PROGRESSPhase 2 - automated imports (blueprint weeks 3-4)
| # | Task | Done when |
| 2.1 | DONE 27 Oct (6486c8f): GTFS adapter - 306 sources, 455,015 trips imported; air (route type 1100-1199) filter bug fixed;: ferry routes / trips / stop times / service dates of the 308 feeds + the 11 collector zips into mobility_ferry | every ferry trip in the canonical tables with import run + schedule version; ports matched to canonical ports |
| 2.2 | DONE 27 Oct: Port time zones (6,416 of 6,476; rest have no position) (IANA) for all ports | no published port without timezone_name |
| 2.3 | DONE 27 Oct: Country from the position (2,552 feed-country errors corrected; 6,469 of 6,476) for ports without one (20 OSM ports on the coast + 411 feed ports) | nearest country boundary within 25 km |
| 2.A | DONE 27 Oct: audit for fabrication + other modes (owner) | 882,372 legs checked: 59 ports at 0,0 placeholder positions cleared (e.g. SKYE (ARMADALE) in the UK rail feeds); 3,707 trips with impossible legs (>90 km/h, moving in 0 min) quarantined; 8 airlines seeded as ferry operators set inactive. Live planner already drops such journeys (noPosition / maxKmh). |
| 2.4 | OSM port discovery: all 16,174 OSM ferry stops as port candidates; OSM ferry routes as geographic candidates | candidates linked, never shown as scheduled services (6.2) |
| 2.5 | Duplicate reconciliation (ports <300 m with similar names, operators by alias) | duplicate_candidate issues raised, nothing merged silently |
| 2.6 | Government dataset: US National Census of Ferry Operators | operator / route inventory linked, schedule coverage marked separately |
| 2.7 | Feed discovery (weekly): Mobility Database ferry feeds not yet loaded | new candidates registered as pending_review sources |
| 2.8 | Daily checks: stale sources, versions expiring within 14 days, coverage report | data_quality_issue rows + coverage file |
QUEUEDPhase 3 - global operator coverage (blueprint weeks 5-8)
| # | Task | Detail |
| 3.1 | Mediterranean collectors (21) | Moby, SNAV, Caremar, Siremar, La Méridionale, Ichnusa, Adria, Minoan, Seajets, Golden Star, Levante, Ventouris, Ioniansea, A-Ships, Naviera Armas / Trasmed, AML, Algérie Ferries, Cotunav, Gestaş, Go Nordic (CPH-OSL), Torghatten Nord |
| 3.2 | Replace the 10 old repeated timetables with current sources | GNV, Tirrenia, Grimaldi, Baleària, İDO / Turyol, Interislander, Ålandstrafiken, Catalina, Steamship Authority |
| 3.3 | North America, Asia-Pacific, small / urban ferries (32) | Marine Atlantic, Bay Ferries, Northumberland, Baja, Alaska Marine Highway, NC Ferry; 2GO, Lite, Cokaliong, FastCat, SuperCat, ASDP, Pelni, Taiheiyō, Shin Nihonkai, MOL Sunflower, Camellia, Bluebridge, Star Ferry, Penang, Lomprayah, Mano; Batobus, Chao Phraya, FRS Elbfähre, King Harry, Reedham, Windermere, Millersburg, Rocky Hill, BIWTC, Lake Koman |
| 3.4 | Permission requests (drafts for the owner) | Viking Line, TT-Line, P&O (block automated access) + every collector pending licence review |
| 3.5 | Review tools: owner page for licence decisions, data-quality issues and held versions | replaces the command line review |
| 3.6 | Real ferry fares where the source has them | Tallink personPrice first |
QUEUEDPhase 4 - Safe2Go integration (blueprint weeks 9-10) and cruises
| # | Task | Detail |
| 4.1 | Ferry API /v1/ferry/* | ports/search, ports/{id}, departures, arrivals, routes/{id}, journeys, operators/{id}, data-quality/coverage, admin/sources - published versions only, local + UTC times, freshness |
| 4.2 | Journey planner uses the canonical ferry legs | transfer buffers, schedule status, no connection without evidence |
| 4.3 | Tests | overnight + daylight-saving cases, load test, database restore + version rollback test |
| 4.4 | Coverage dashboard (admin page) | country / operator / port / schedule coverage, stale sources, held versions |
| 5.1 | Cruise and river itineraries (59 lines) | cruise_itinerary / cruise_port_call only - never offered as point-to-point journeys |
26 Oct 2026 - ferries, Lofoten
UPDATEFerries and long trips
| # | Item | Detail |
|---|
| E | DONE 26 Oct: Color Line ferries | Official sailings from colorline.com (Kiel-Oslo, Hirtshals-Kristiansand, Hirtshals-Larvik, Stromstad-Sandefjord), 90 days, nightly (47_colorline.sh). Stena Frederikshavn-Oslo no longer exists; DFDS Copenhagen-Oslo still to check. Fjord Line (Bergen/Stavanger-Hirtshals) already in Entur. |
| F | Kiel city -> Oslo: ferry not offered | Terminal to terminal the 14:00 -> 10:00 ferry is found; from Kiel city centre only earlier train/bus options are listed - check why the 1-vehicle ferry is dropped. |
| G | Mannheim -> Lofoten (Moskenes): no route (owner 26 Oct) | Parts work (Oslo -> Bodo, Bodo -> Moskenes ferry), the 2-3 day whole trip does not (full search, Europe hub off). Plan: chain long trips through big stations; Europe hub to 0 worse; flights combined. |
| H | Place search: "Lofoten" wrong (owner 26 Oct) | First hit 63.30, 15.61 (central Sweden); then STREETS named Lofoten in Netherlands/France/Alaska. Real archipelago (~68.2, 14.0) missing; "Moskenes ferry" ranks Goa ferries first. Same family as Thekkady -> Tamil Nadu: rank places above streets, fix positions. |
26 Oct 2026 - owner reports
NEWReported by the owner
| # | Report | Finding / next step |
|---|
| A | Ferries to Oslo / Norway missing (owner 25 Oct) | Test 26 Oct: Kiel -> Oslo, Copenhagen -> Oslo, Frederikshavn -> Oslo only by rail/bus - no Color Line, DFDS, Stena; Hirtshals -> Kristiansand NONE (Color Line / Fjord Line). Not in any open GTFS - add real sailings (ferry stage, as GNV). |
| B | Norway routes failing in the app (owner 25 Oct) | Engine finds Oslo -> Bergen / Trondheim, Bergen -> Stavanger, Oslo city. Check the APP path; full search for Kiel -> Oslo took 29 s (Europe hub off) - likely timeouts. |
| C | Japan public transport missing (owner 25 Oct) | Tokyo -> Osaka and Kyoto -> Nara NONE (Shinkansen / JR missing - JR licence); Osaka Umeda -> Namba returns a Tokushima bus (wrong). 962 JP feeds; city networks (Tokyo Metro) work. Need JR / private railways (Hankyu, Keihan, Kintetsu, Osaka Metro). |
| D | CarPlay map white (owner 26 Oct) | Phone map fine (web view). CarPlay = native MapLibre (CarMap.js) - own blue turn box shows, map white. Android Auto blank too -> native map + our style/tiles. Car log needed (admin key) / native render test. |
22 Oct 2026
OWNER ACTIONWaiting on you
| # | What | Why |
|---|
| 1 | Bus collection runs: may they pause in the night? | Pause them during the renewal / Paris window and restart the route engines first. Swap is 100% full every night; the renewal was killed 2 nights running and Paris needs 6 GB free. |
| 2 | Car builds (iOS + Android) | Only on your word. iOS build 27 (#64) has the CarPlay directions fix - drive result unknown. Not built yet: c51736d / f2754b7 (arrow, speed sign + cameras on the car screen), c6db46e (Android Auto map car-log entries). |
| 3 | Railway outage | Deploys paused by Railway since 21 Oct. Waiting there: own maps only (no openstreetmap.org), new map regions, deletion page with select-all, this page. |
TONIGHTNight queue 22 → 23 Oct (result lines in /var/log/safe2go-night-queue.log)
| # | Job | Note |
|---|
| 1 | Backup | needs ~35 GB - disk had 74 GB free after the 22 Oct cleanup |
| 2 | 43_europe_hub_air: Europe hub WITH flights, strict test 120 trips (corridor 3.5x + 200 km), switch on only at 0 worse | diagnosis 22 Oct: misses = narrow corridor (Lyon -> CDG -> Lorraine) + flights in timetable feeds left out (DY273, WF191). Wide corridor alone: 7 -> 3 worse |
| 3 | 45_india_buses + India hub refresh (switch only at 0 worse) | last night: hub-in-202610212328 0 of 120 worse, switched on by itself |
| 4 | Feed renewal (76 Canadian feeds first), hub night work, lock audit | renewal OOM-killed 21 + 22 Oct nights - see owner item 1 |
QUEUEDNext, in this order
| # | Task | Detail |
|---|
| 1 | Kerala + Uttarakhand gaps (owner test 22 Oct: routes not working) | Engine test 22 Oct: Kochi/Kottayam/Madurai/Munnar/Trivandrum -> Thekkady found (KSRTC Kerala). NOT found: Thiruvananthapuram -> Kollam (trains run - check Indian Railways feed), Haldwani -> Nainital, Rishikesh -> Sonprayag; Dehradun -> Mussoorie gives a nonsense answer; Delhi -> Dehradun only private bus (no train). Uttarakhand state buses (UTC) not collected yet. Check the APP path too (owner saw failures in the app). |
| 2 | Place search label | "Thekkady" first suggestion says "Gudalur, Theni, Tamil Nadu" - Thekkady is Kumily, Idukki, Kerala. |
| 3 | Haryana stop in Kerala | in-haryana feed has a stop "4Th Mile" at Kumily (9.637, 77.172) - wrong-state placement; converter must keep Haryana stops in Haryana / neighbours. |
| 4 | Paris (IDFM) new version | tdg-80921-v20261021 (to 18 Nov) held; snapshot needs 6 GB free - old version ends 26 Oct. |
| 5 | Metro timetables (approximate, frequency based) | Mumbai, Kolkata, Pune, Nagpur, Lucknow, Jaipur, Kanpur, Agra, Bhopal, Indore, Ahmedabad, Patna, Gurgaon: ordered stations from OSM ready (/root/metro_in); official first/last train + headways to collect. |
| 6 | IRCTC buses back in | 10,754 boarding points now placeable (real names, no piles, no ambiguous names); conversion only at night (memory). |
| 7 | Bus collectors | Bihar (BSRTC), Uttarakhand (UTC), J&K, Sikkim, Assam; more city meter fares. |
| 8 | 10 Canadian feeds with dead links | Barrie, Grand River, Middlesex, Miramichi, Orangeville, Perth County, Prince Albert, Quinte, Outaouais, Whitehorse - find current links (Mobility Database / Transitland). |
DONE21 + 22 Oct
- Maps: world fixed (--bounds=world), Asia-rest + Americas-rest built, India rebuilt; all 22 map files + 224,252 route tiles locked, re-locked nightly; E2E test 24/24 cities.
- India buses: no invented positions (IRCTC out, 98% stacked); converter: real place names, ambiguity + pile guards, state-aware towns, MSRTC names (4 -> 3,030 trips), TNSTC 38 -> 264.
- India hub: rebuilt + strict-tested after every bus load, switched on only at 0 worse - live.
- Europe hub switched off (7-14 of 40 worse); night job now needs 0 worse.
- Search engine: access stops per source feed within 2 km (Delhi -> Jaipur direct bus).
- Held renewals switched after checking: Estonia, Metz, Valencia. FlixBus/Greyhound country = US.
- 76 Canadian feeds: operator links + fares (Canada 65 -> 75 feeds with fares).
- Cleanup (owner exception 22 Oct): 699 files / 53 GB deleted, all md5-verified on D: first; data disk 21 -> 74 GB free. Stale feed rows of 315 feeds exported to D: (verified).
Waiting on the owner — updated 20 Oct 2026
OWNER ACTIONOpen
| # | What | How | Why |
| 1 | Car test of iOS 1.4 (26) and the new Android build | Install 1.4 (26) from TestFlight; drive with a planned trip. If a box "Safe2Go: last start crashed" appears, send a screenshot | Checks the crash fix (speech now on the main thread), the turn box on the car map, yellow route, alternatives; Android Auto map |
| 2 | Save the car log after the drive | curl.exe -s -H "x-admin-key: YOUR-ADMIN-KEY" https://safe2go.dnw-ai.com/api/admin/car-log -o $HOME\Downloads\carlog.json — before the next deploy (memory only) | Shows exactly where the car guidance stops, without videos |
| 3 | Server move: Hetzner AX102 or Contabo | Decide in the next days (comparison 20 Oct: AX102 128 GB / 2×1.92 TB NVMe €257.30, LTD €157.30 if in stock; Contabo only if 2 TB disk + price after year 1 stay below) | Today 15 GB RAM (~1 GB free) and the data disk is 96 % full |
| 5 | Mappls key | Check the key/quota in the Mappls console and on Railway | Satyam Enclave / Shri Radhapuram Estate were only ever found through Mappls (until our own colony import covers them) |
| 6 | Render: remove its GitHub access | GitHub → Settings → Applications → Render → Uninstall (Render service already removed from the repo, f233a63) | No more Render deploy mails, nothing on Render |
| 7 | Older, still open | Delhi OTD API key · Korea KTDB · Hungary MÁV / Austria MVO forms · Twilio login in Railway · replace the Codemagic token · Play Console: switch on Android Auto after the test · reject request #1 on /owner-delete.html (if not done) | |
Tonight 19 → 20 Oct (one night queue, one job after another)
QUEUED / RUNNINGNight queue
| Step | What | Status |
| Backup | Full nightly backup (databases + Railway) | running since 21:00 UTC |
| Maps (51) | Own map tiles for the missing regions: Middle East → Latin America → South & East Asia → Asia rest → Americas rest. New: starts a region only with 30 GB free on the data disk | queued — a region may now start until 01:00 UTC (owner 20 Oct; was 23:00) |
| India colonies (52) | Every named residential area of India from OpenStreetMap (colonies, enclaves, estates, societies, apartment complexes) added to the search, with the nearest town | queued — report tomorrow (counts + Satyam Enclave / Radhapuram test) |
| Town labels (53) | Nearest town + district + state + country next to every search result that has none (official GeoNames code lists) | queued — the website uses it as soon as the table exists |
| Real fares (54) | The operators' own fares from 1,969 timetable files already on the server (then the remaining feeds online); stops 01:30 UTC, continues next night | queued — tested on 4 operators (e.g. São Paulo R$5.95) |
| Speed cameras (56) | Speed cameras per country from OpenStreetMap; stops 02:00 UTC, continues the next nights | queued — tested: Luxembourg 47 |
| Feed renewal | Newer timetables for the feeds | last run took 13 h and ended with an error — check |
| Europe hub | Transfer patterns of hub-eu-20261018, one worker (~620 / 7,468 stations); protected from the Sunday reset (owner swap 19 Oct) | after the renewal |
| Lock audit | Checks all locks | end of the night |
Next, in this order
QUEUEDAfter tonight
| # | What | Notes |
| 1 | Real prices in the route suggestions | Use the loaded fares per leg; where an operator publishes none, mark the price "≈ estimated". Germany (VRN) and India (Delhi Metro, DTC) have no fares in their files → official price lists per network, with source and date |
| 2 | Speed limits + speed cameras on the screens | API live (speed limits from our own map data; cameras per box). Next: speed-limit sign, camera symbols, "speed camera in 400 m", one-time driver-rule note — website first, then car (new app build, owner's go). Hidden in Switzerland (forbidden) and France (only danger zones) |
| 3 | Apple's own turn card in CarPlay | Never appeared, even with Trip → Go; read the car log after the build-26 drive |
| 4 | Hubs | Europe until complete → North America → India fix (13 / 40 test trips worse) → slow long-distance searches (Paris–Lyon, Madrid–Barcelona > 30 s) |
| 5 | Maps | Remaining 5 regions; check the World overview map (only 44 KB — probably built almost empty); then remove the last OpenStreetMap tile links |
| 6 | Feed renewal | Why it ran 13 h with an error on 18→19 Oct; it takes the hub's night |
| 7 | Phone's native map screen | Same arrow-on-the-line / gliding / yellow route as the car and the website |
| 8 | Table count question | Compare with the 12 Oct backups on E: when connected ("1576 tables" not found on the server: gtfs 90, osm_transit 33, mobility_graph 30) |
Done 1 – 20 Oct 2026
DONEThe last weeks
- 1 Oct: 7 lost timetable feeds found and restored (Netherlands, Helsinki, Mexico City, Grand Est, Bogotá, AMT Italy, Flanders); database deletion guard + daily feed inventory; no-fabrication rule (estimated transit legs removed); RAPTOR real-timetable search live; split search index (Europe + Canada searchable, 0.2–0.7 s).
- 2–6 Oct: owner work queue (Phase 0 repairs, transfer graph, traffic plan); USA address import; Japan routing; rule "every fix worldwide + checked by the coverage loop".
- 7–8 Oct: hierarchical hub index (Europe first, hub tables hard-locked); 4 routing fixes (CTA feed rule, RAPTOR results dropped by the app, Berlin night bus, flight + long taxi); Hetzner database port closed to everything but Railway (BSI report); E: drive offload plan; transfer-pattern test: only faster in Europe → Europe-only plan.
- 12 Oct: feed renewal loop (expiry table, new version from 14 days before expiry, same-month-last-year extension, hard-locked); 42 "no data" cities listed with sources (Istanbul loaded; Korea needs KTDB); iPhone 60 s "Load failed" fix + no heavy jobs by day.
- 13–14 Oct: real ferry stage (sailings of the next 7 days) + strict mode filter (Mannheim → Palermo); CarPlay prepared (Navigation category); India hub; extension gap + hub lock; one night queue (21:00 backup → one-offs → renewal → hub → locks).
- 15 Oct: Apple granted CarPlay; Android Auto ported (internal test build live); own car / park & ride / SmartPark; heading-up navigation with instant reroute; map libraries self-hosted; Owner Deletion page for files; backups 13–15 Oct verified on E:; Railway backup password renewed.
- 16 Oct: iOS 1.3 white screen / CarPlay crash traced (builds 11–19): cause = MapLibre 11 renamed components on the CarPlay screen → CarPlay works from build 19; background map from our own server live (Europe and other regions); routing for southern Europe fixed (no longer sent to the Africa engine); MongoDB start-up safety + atomic save live; Render removed from the repo; hub one worker per night.
- 18 Oct: Sunday hub rebuild found to reset the transfer patterns → fix prepared.
- 19 Oct: iOS 1.3.1 live in the App Store; iOS 1.4 builds 22–26 + Android builds:
car map follows the phone GPS (also locked), new S2G navigation arrow (3× road width), turn arrows + distance + remaining + route choice in car and website, guidance starts by itself, "No GPS update" warning, own turn box on the car map, car log, arrow snapped to the centre of the route and gliding, yellow route with the arrow on top, alternative routes drawn on the map, crash fix (speech on the main thread), Android Auto map fix.
- 19 Oct server: hub Sunday-reset fix active (owner); 15/16 Oct server backups deleted (owner page); backups moved D: → E:; table check: no table missing vs 17 Oct; Middle East map failed on 18 Oct (disk full) → 30 GB guard added.
- 19 Oct search: "Franziska berg straße" 4–12 s → 0.35 s (hyphenated streets typed with spaces, all countries); "Rajendra Nagar Sahibabad" without a comma (any "place town"); region tags ("europe", "usa") removed from results.
- 19 Oct website: opening the map fills in the current location as the start (still changeable); bus / tram / train number right after "Bus" / "Tram" / "Train".
- 19–20 Oct new data: speed-limit and speed-camera API live; real fares, India colonies, town labels and speed cameras queued for the night.
History below — lists of 15 Oct and earlier
Waiting on the owner — 15 Oct 2026 (history; current list at the top)
OWNER ACTIONStill open
| # | What | How | What it unlocks |
| 1 | Delhi Open Transit Data API key | Register at otd.delhi.gov.in | Missing weekday Delhi Metro timetables (e.g. Red Line from Shaheed Sthal) |
| 2 | Korea KTDB | A call or email to KTDB — their sign-up needs a Korean phone number | The Korean routes not covered by the data.go.kr files already loaded |
| 3 | Hungary MÁV data form and Austria MVO registration | Both need the company's legal contact | Official Hungarian rail and Austrian national timetables |
| 4 | Twilio login details | Account SID, auth token and a sending number, entered in Railway (not in chat) | SMS and calls from the safety check-in |
| 5 | Replace the Codemagic API token | Codemagic → Account settings → Personal access tokens; then send the new one | The old token was shared in chat on 13 Oct |
| 6 | Test CarPlay in the car, then submit iOS 1.3 | Install build 1.3 (11) from TestFlight, connect to the car; then submit 1.3 for review with the "What's New" text | CarPlay for all iPhone users (Apple granted the CarPlay entitlement 15 Oct) |
| 7 | Android Auto test | Install the internal-testing build on the phone (Play Console → Testing → Internal testing → Testers → "Join on the web" link). Then phone: Android Auto → tap Version 10× → ⋮ Start head unit server; Developer options → USB debugging; connect to the PC by USB | Testing the Android Auto car screens on the car-screen simulator before release |
| 8 | Play Console: switch on Android Auto (after the test) | Release → Advanced settings → Form factors → Android Auto; Google reviews it | Android Auto reaching cars |
| 9 | Reject request #1 on the Owner Deletion page | /owner-delete.html → tick #1 (path /x) → Reject | Clears a harmless test row left by Claude's guard test |
Also waiting (no action unless Google asks): Google Play review of Android 1.5 (version code 15, submitted 15 Oct; draft → you press rollout after approval). Done 15 Oct: iOS 1.2 is live; Apple granted CarPlay; the Railway backup password was renewed (first real run in the next 21:00 backup).
Queued — 15 Oct 2026 (owner: "keep all these queued"; heavy work at night only, one job after another)
QUEUEDNext, in this order
| # | What | When / status |
| 1 | Europe hub (hierarchical search) — last stage, transfer patterns, continues from ~53% (3,625 of ~6,700 stations). The 15 Oct morning run was stopped by the out-of-memory killer, before the Europe road engine's memory cap went in. | 15→16 Oct night: worker 2 of 2 was stopped by the out-of-memory killer (by design), worker 1 ran on; the rest runs the next night. Owner choice for next nights: one worker (recommended) or a smaller search cache during the hub run |
| 2 | North America hub | The night after Europe completes |
| 3 | India hub fix — find why 13 of 40 test trips were slower or worse with the India hub, then rebuild | Analysis by day (light), rebuild at night |
| 4 | Slow long-distance searches — Paris–Lyon, Paris–Milan, Madrid–Barcelona sometimes take over 30 s (seen in the loop test results) | With the hub work |
| 5 | Background map from our own server — regions with our own map data first (Germany, India, USA, Canada, Japan, China, Russia, Africa, Australia, Brazil, Argentina, Mexico, Malaysia/Singapore); OpenStreetMap stays elsewhere until a Europe map-data build (heavy, night, ~25 GB) | After the hubs |
| 6 | Android Auto — library ported to React Native 0.84; test build live on Google Play's internal-testing track (15 Oct 22:05 UTC, after the Play permission fix); car-screen simulator installed on the PC | Waiting for the phone test (owner action 7) |
| 7 | Railway database backup — new password in place 15 Oct; first real run in the next 21:00 backup, checked by md5 | Next night |
| 8 | User data safe when MongoDB Atlas is unreachable at start-up — today the server then starts with an EMPTY user list (every signed-in user gets "User not found" and trip search stops) until the next restart. Fix: retry the connection and refuse to start with an empty user list instead of falling back to an empty file. | App code (Railway), no server load — tested before deploy |
| 9 | Safe save of user data to MongoDB — every change empties the whole collection (deleteMany) and writes all rows back; a failed write leaves it empty or partial. Fix: write row by row (upsert by id), never empty first; tested against a copy, never the live data. | App code (Railway), with item 8 |
Loop testing needs no change: every test result is already stored per cycle (coverage_results); steady 104–106 passing of 159 checks. Every deletion now needs the owner's approval on
/owner-delete.html.
Work queue — owner-approved 1 Oct 2026 (in this order)
QUEUED / RUNNINGPhases, estimates and what each depends on
Estimates are working time, not guarantees. Progress of each phase will show in the daily journey test (example trips from the TO-BE document are added as each phase starts).
| Phase | Scope | Estimate | Status |
| 0 | Repairs: running-days reload (378 + 161 feeds, Switzerland), RAPTOR rebuild, Istanbul, USA search index, transfers tables, database safeguards | 1 Oct | running |
| Traffic A | Store official open live-traffic data every few minutes and build per-road, per-hour profiles: Netherlands (NDW, every minute), Finland (Digitraffic, 5 min), Germany (Autobahn API warnings/closures; licence check first), then UK, France, Norway, Denmark, US 511 | first version ~1–2 weeks | sources verified 1 Oct; collectors next |
| Traffic B | "Typical traffic" everywhere: road class + speed limits + time-of-day factors calibrated from A; always labelled typical, never live | ~1 week after A starts | queued |
| 1 | Transfer graph (operators' transfers/pathways), airport graph (connecting flights through hubs; times "check airline" until a paid schedule source exists), ferry graph | 3–5 working days | transfers tables in progress |
| 2 | Global node/place model, connector graph, cross-border stitching of the regional road graphs, one time-dependent search across all modes | 2–4 weeks | queued |
| 3 | Remove external search/routing APIs (Photon, Nominatim, Mappls runtime, Overpass, Geoapify/Foursquare, public OSRM, ipwho.is), each only after a latency/accuracy test | 1–2 weeks | queued |
| Traffic C | Safe2Go users' own GPS history (needs the owner's consent wording first) | months to mature | waiting for owner |
Limits outside the code: real flight times need a paid schedule source; most ferry schedules need operator agreements; Nepal (the TO-BE example Sahibabad → Kathmandu) has no road/address region or bus timetable yet; TomTom stays the live traffic layer until our own coverage is enough (its data is not stored — licence).
OPEN CHECKLISTNothing left unfinished — items still open (1 Oct)
- Running-days reload part 1 (378) and part 2 (161) — running; Switzerland reload queued after part 2
- RAPTOR rebuild + restart + journey test after each part — automatic
- Istanbul (assembled from data.ibb.gov.tr) — waits for the self-checking loader to go live
- Transfers/pathways tables + self-checking loader — installer waiting for a free moment
- USA in the search index — running; latency test afterwards
- DDL guard on the timetable database — waits for the USA search addition
- Melbourne (11 timetables in one file), Sweden/Norway size limit
- Watcher for new source files (Vitré, Mexico City, Buenos Aires, Transfort, Mountain Metro, Grand Valley, expired feeds)
- Fill in operators' transfers for feeds already loaded
- Golden backup of the repaired state, made unchangeable, after the reloads
- Handover document update
- Owner: remove Claude's automatic server access rules; GitHub branch protection; connect drive E:; rotate the database password and GitHub token; switch Railway to the restricted database user; consent wording for GPS traffic (C)
1 Oct 2026 — lost timetable feeds, safeguards, open bugs
RESTORING (started 2026-10-01 04:34 UTC)7 timetable feeds silently lost — Netherlands, Flanders, Helsinki, Mexico City, Grand Est, Bogotá, AMT Italy
Found from the owner's video (Mannheim Käfertal → Almere showed no train or bus). These feeds had been loaded with real data and were then removed by two automated server jobs:
- The nightly
gtfs-freshness deleted a feed's old timetable before reloading it, so a failed reload left the feed empty. This was fixed on 28 Sep.
- Then the weekly
gtfs-refresh start-up cleanup deleted the empty feed's record altogether.
- The 28 Sep repair only restored feeds that still had a record, so these 7 were missed.
Full evidence:
Safe2Go-Evidence/2026-10-01_deletion_audit/AUDIT_REPORT.md. Of 2,998 feed IDs ever seen, 2,934 are present and 64 records are missing. 57 of the missing ones show no data when lost (see Feeds Monitor → "Lost feeds").
- OVapi (Netherlands) — RESTORED 05:10 UTC: 1,042,567 trips, 20,262,245 stop_times (3 Sep load: 16,378,225).
- Running, one at a time at low priority: HSL Helsinki → Mexico City → Fluo Grand Est → SIMUR Bogotá → AMT Italy, then De Lijn (Flanders, 11.2M on 3 Sep). Logs:
/var/log/gtfs-restore-20261001*.log.
ON since 2026-10-01 05:37 UTCSafeguards: no data deleted without the owner
- Database deletion guard (
infra/hetzner-gtfs-pipeline/gtfs_guard.sql):
- A feed can't disappear and its timetable can't be emptied unless the owner switches the guard off. Every switch-off is recorded in
gtfs_guard_override.
- Direct deletes or TRUNCATE on timetable tables are rejected.
- Normal reloads (delete + reinsert in one transaction) still work.
- Tested on a scratch database with the real reload code: 10/10 pass (
server/scripts/test_gtfs_guard.js).
- Installed on the live database 05:37:43 UTC (attempt 71,
/var/log/gtfs_guard_apply.log): 16 rules, all enabled; a live test delete was rejected.
- Limit: a database superuser can still switch triggers off, so the inventory below counts the real rows independently.
- Daily feed inventory on the owner's PC: Windows task "Safe2Go feed inventory", 07:45 daily.
- Saves real per-feed trip and stop_times counts to
D:\Safe2Go-Backups\feed-inventory\, copied to E: when connected.
- Writes
CHANGES_<date>.txt listing every feed that disappeared, emptied or shrank by more than 10%, plus the guard's state.
- Weekly job fixed: the
gtfs_ingest_all.js start-up cleanup now only reports unfinished feeds and retries them. It no longer deletes them. Deployed; md5 matches git.
OPEN BUGS (recorded 2026-10-01)Open bugs and gaps
- Cross-border trains not found (Käfertal → Almere: 0 RAPTOR journeys at 23:12 and at 08:00). There are two causes:
- No Dutch timetable. Fixed by the OVapi restore above.
- RAPTOR only uses feeds with stops within 1–2 km of either end, or within ~30 km of both, and only allows walking at the ends (max 2 km).
Owner approved: hub-based feed selection and taxi/car for the first and last stretch. Queued next.
- 39 feeds that are active in the catalog were already empty when lost (route-connections build
rows=0, 8–12 Sep), mostly small US demand-response operators. A further 8 active feeds were lost with no build record: Edmonton, PID Prague, Odesa, Alexandria, Reus, Zaratán, mdb-2046 and mdb-2434. Reload decision pending with the owner.
- 5 feeds are smaller than their 30 Sep snapshot: tdg-84037, mdb-787, mdb-1918, mdb-1847 and jbda-gan-wu-shiokazeline. The cause is not determined; it may be a newer, smaller timetable from the operator.
gtfs-reingest.service is in "failed" state. Its 26 Sep run was killed by the automatic Postgres restart on 27 Sep. Next run 3 Oct.
- Destination labels show "europe" instead of the city or country (seen in the owner's video). Fix: hierarchical index (below).
- RAPTOR snapshot
ca-l'inter_des_laurentides: apostrophe fix (ed722b5) confirmed, rebuilt 1 Oct with 113 stops and 1,901 stop_times (= database). It is a duplicate of tld-5722.
- Scratch database
gtfs_guard_test was left "invalid" by a cancelled drop on 1 Oct. It is empty and touches nothing live; it will be dropped when the imports finish. gtfs_guard_test2 will be dropped then too.
World OSM Address Pipeline
DONEMexico, Malaysia/Singapore/Brunei, Japan, Russia, Africa
Real address/locality data imported and verified against the live database
DONE (2026-09-25)Brazil — data recovery
Restored 1,891,233 addresses / 1,245,999 localities (above the original ~1.88M/1.24M — fresh download vs. the original), after a pre-fix import bug wiped it on 2026-09-22
DONE (2026-09-25)Per-country table restructure
Split the shared world_osm_addresses/localities tables into one physical table per country (unified by a view, transparent to the app). Structurally eliminates the cross-border ID-collision bug — no country's import can touch another country's table anymore, at all. Verified: all 6 unaffected countries migrated with exact matching row counts.
DONE (2026-09-25)Argentina & China — clean re-import into isolated tables
Restored the small border-overlap losses (Argentina lost rows to Brazil, China lost rows to Russia) by re-importing both fresh into their new, isolated tables. Argentina: 2,356,348 addresses. China: 181,324 addresses. Both backed up.
DONE (2026-09-29)Europe — OSM import
Finished 2026-09-29 07:37 UTC: 106,747,407 addresses, 10,628,636 place names, 0 duplicates, 0 missing geometries; backed up and md5-verified on the server, D: and the external drive. Not yet searchable in the app — see "Search index split" below.
DONE (2026-09-29)Canada — OSM import
6,457,741 addresses, 94,811 place names; backed up (country_canada_175121.dump). Not yet searchable in the app — included in the search index split below.
IN PROGRESS (started 2026-09-29 17:58 UTC)USA — OSM import
1,598,211,317 nodes done. Ways: 155.2M of 161.95M at 1 Oct 04:57 UTC, ~82,000 per minute, so finish expected ~06:20 UTC 1 Oct. That is well before the osm-transit-reimport on 5 Oct 05:00 UTC, which uses the same staging tables. No errors in this run; the 8 ERROR lines in the log date from 22–27 Sep, before it started. Owner decision: let it run, no stop or restart. (Correction: a 04:20 UTC status misread the log's thousands as single ways and said "weeks".)
LIVE (2026-09-30 07:29 UTC)Search index split — Europe & Canada searchable
On 29 Sep the single search index grew 27M → 145M rows with Europe and every app search timed out (>6 s), so the old 27M index was restored. Fix being built next to the live index (live search untouched):
place_search_places — 7,320,935 place names (cities, localities, post offices, POIs), duplicates removed, Canada included. Live.
place_search_addresses — 135,846,517 street addresses, street-first accent-folded key ("Hauptstrasse 5" = "Hauptstraße 5"), 0.5° grid cell for "near me". Live.
- Every query is an index range read with a hard row limit; typo tolerance only over place names.
- Gate before go-live:
server/scripts/test_split_search_latency.js — 28 real queries (DE, IN, FR, IT, CA, PL, typo), p95 ≤ 1 s and every query must find the right place. Tables are switched in only if it passes. Result: p50 6–11 ms, p95 90–100 ms, 0 wrong of 28 (first run found 4 ranking bugs — fixed before go-live). Live app: typing suggestions 0.2–0.7 s end to end (was 0.6–6.2 s).
- Search box speed (fixed 2026-09-30, a9ced3a):
/api/geocode/search still takes ~2.5–5 s (it waits for Mappls + building snap), so the search box now shows Safe2Go's own results first (/suggest, ~0.25 s; ~0.4 s after the last keystroke) and merges the full search in when it lands; Plan-without-picking uses the full answer if it comes within 1.5 s. /suggest has its own rate limit (600 per 5 min; /search stays 120). Verified in Chrome on the live site ("Kurfürstendamm 21": own results at 251 ms, full search 4.9 s later). Open: Place labels show "europe"/"canada" instead of the city/region — fixed properly by the hierarchical index below. Backed up by the nightly gtfs_core set from 30 Sep 21:00 UTC. The old 145M place_search_index_full (52 GB) and 27M place_search_index (10 GB) are kept until the owner OKs removal.
Build script:
infra/hetzner-osm-pipeline/build_split_search_index.sql, log
/var/log/build_split_search_index.log.
LIVE + BUILDING (started 2026-09-30)No fabrication + RAPTOR real-timetable journeys
Owner's rule 2026-09-30: "I DO NOT NEED ANY FABRICATION."
- Done (e5f33be): routes with estimated bus/metro/tram/train/ferry legs are dropped (invented "every 5 min" metros, ferries "every 120 min", Berlin → Munich "Ferry + Train from Genoa"). Flight routes: airline route real, times shown as ≈ estimates. Master-timetable sample time no longer shown as the next departure; 29:05 → 05:05. Closed airports (Tegel) excluded everywhere (0a1e6dc). Deploy-gating tests: 14/14.
- Root cause found: the old per-request timetable SQL timed out (6 s) in every dense city although the data is there (Paris 11.1M rows, TTC 4.4M, DB long-distance).
- RAPTOR live (9bae65b): round-based timetable search over per-feed snapshots (
infra/raptor), up to 6 vehicles, walking changes across operators. Service safe2go-raptor on Hetzner, nginx :8091/raptor/. Live results: Paris GdN → Eiffel RER B + RER C / Bus 32; Berlin → Munich ICE 29 + S2; Toronto Line 1 (day) / Bus 320 (night); Mannheim → Heidelberg IC 55. Search 0.1–0.8 s.
- Building: snapshots for all 2,807 distinct feeds (
build_all.sh, log /var/log/raptor_build.log) — 801 done by 09:20 UTC, 0 failures; nationwide Germany feed (38M rows, local trams/buses incl. Mannheim) in progress.
- Status 1 Oct: 2,804 of 2,807 snapshots built. 3 large feeds (mdb-2027, mdb-3412, gb-bods-all 72M) are deferred until the USA import finishes. The service has been up since 30 Sep 09:50 with 0 restarts.
- Next (owner-approved 1 Oct): pick feeds through major hubs so long cross-border trips (e.g. Mannheim → Almere) can be connected · taxi/car for the first and last stretch, not only walking · planner total time (4–30 s, not RAPTOR) · fares are still distance-formula estimates (GTFS fare data not ingested) · rebuild snapshots automatically after each feed re-ingest · connecting flights + a current flight schedule source (OpenFlights is stale) · ferry schedules.
QUEUED — after the USA import + search split is live (added 2026-09-30)Hierarchical place & address index
Owner's direction: search should be organised as a hierarchy —
Country → Region/State → City/District → Locality → Street → House number (how Nominatim / Pelias / Photon work) — for accuracy, speed and easy narrowing.
- Accuracy: "Hauptstraße 5" exists in hundreds of towns; each result carries its full parent chain ("…, Heidelberg, Baden-Württemberg, Germany") and "Hauptstraße 5 Heidelberg" matches the right one.
- Speed/size: one row per street per city instead of one per house number (estimated ~10–15M streets instead of ~290M address rows incl. USA — to be measured); house numbers looked up inside the matched street.
- Duplicate names: "Frankfurt am Main" vs "Frankfurt (Oder)" resolved by region; ranking by city importance, not only distance.
Steps: (1) check whether OSM admin boundaries (country/state/district polygons) were kept by the import, import them if not; (2) measure real street counts; (3) build step assigning every place/address to its parents by location; (4) query parser (street / house number / city parts) matched level by level; (5) same latency + accuracy gate as the split index before go-live. Reuses the split index's street-first keys and grid cells.
CHECKLIST — when Europe finishes, in this orderAfter-Europe run order (recorded 2026-09-26)
- Before the index phase: review data-disk space (~27–30 GB/day used during the import) and free safe items if needed (tile files not yet wired in, old dumps) — with the owner's OK.
- Verify Europe: real row counts, rebuild
place_search_index, test real addresses and routes.
- Back up Europe (final
pg_dump to _osm_backups/) and stop the 2-hourly partial backup loop.
- Re-enable autovacuum on
planet_osm_nodes (switched off for the Europe run).
- Clean up: the Europe extract file and partial snapshots, once the final backup is verified.
- Import disk priority: later imports run with
ionice + nice (card below).
- USA & Canada imports (with low priority), each backed up right after.
- Phase 2 change times: station platform/parent/level details + operators' transfers/pathways.
- Connecting-route logic (flights first, as the airport graph), then MobilityDatabase discovery and the Transport Source Registry.
- India Place & Address Master, Phase 4–6.
Awaiting the owner's decision: "street names" search pass (named streets without addressed buildings aren't searchable outside India) ·
Twilio account for SMS/calls (done 2026-09-30, live app reports SMS & calls enabled; real-phone test pending) ·lock-screen safety notification (native app update).
QUEUED — right after Europe, before USA & CanadaLower the import's disk priority so live timetable searches aren't starved
Found 2026-09-26: while the Europe import runs, the data disk is ~80–90% busy and the app's real-timetable searches (6 s limit) time out, so users intermittently get only taxi/estimated routes instead of real trams and buses (seen live: Mannheim Hbf → Käfertal). The same would happen during USA/Canada.
Fix (queued per instruction, not applied to the running Europe import): start every later import (USA, Canada, …) with low disk and CPU priority (ionice -c2 -n7 + nice) in import_world_addresses.sh, so live user queries always go first. Then check that timetable routes still come back during the import.
QUEUED — after EuropeStation details & operators' official change times (Phase 2)
Phase 1 is live (2026-09-26): realistic change times from walking routes, crossings, level changes, platform numbers, station size and rush hour, stored in the new station_profile / transfer_time tables. Phase 2: re-import stations' platform / parent-station / level details (dropped at the original import) and the operators' own transfers.txt / pathways.txt where published, then backfill transfer_time worldwide. Needs feed re-downloads, so it waits for the Europe import (disk load).
STARTED (Canada done, USA running — see above)USA & Canada — added to the pipeline (2026-09-25)
Both already have Valhalla routing tiles from earlier work, but were never part of this address-search pipeline at all until now. Added with auto-download support, explicitly sequenced after Europe per direct instruction.
Backups (Hetzner data disk, _osm_backups/)
Per-country backups taken so far
Real pg_dump files, taken immediately after each country's import finishes — not a placeholder list
| Country | Size | Taken | Covers |
| Brazil | 80MB | 2026-09-25 03:58 UTC | world_osm_addresses_brazil + world_osm_localities_brazil |
| Argentina | 57MB | 2026-09-25 04:16 UTC | world_osm_addresses_argentina + world_osm_localities_argentina |
| China | 22MB | 2026-09-25 09:55 UTC | world_osm_addresses_china + world_osm_localities_china |
| Mexico | 38MB | 2026-09-25 11:30 UTC | world_osm_addresses_mexico + world_osm_localities_mexico |
| Malaysia/Singapore/Brunei | 9.5MB | 2026-09-25 11:30 UTC | world_osm_addresses_malaysia_singapore_brunei + localities |
| Japan | 15MB | 2026-09-25 11:30 UTC | world_osm_addresses_japan + world_osm_localities_japan |
| Russia | 307MB | 2026-09-25 11:31 UTC | world_osm_addresses_russia + world_osm_localities_russia |
| Africa | 101MB | 2026-09-25 11:32 UTC | world_osm_addresses_africa + world_osm_localities_africa |
| Pre-restructure snapshot | 625MB | 2026-09-25 01:01 UTC | Full world_osm_addresses/localities (shared table), taken right before splitting into per-country tables |
Stored on the Hetzner data disk at /var/lib/postgresql/18/main/_osm_backups/. Moved there 2026-09-26: they used to sit in /tmp, which turned out to be a 7.7GB RAM disk — it filled up (one Europe snapshot was truncated) and would have been wiped on any reboot. Plus the latest 5 Europe partial snapshots (~1.5GB each, every 2 hours, each verified readable).
All 8 currently-imported countries now have a post-restructure backup. Europe, Canada, and USA will each get one automatically right after they finish, per standing practice.
Route & Journey Engine
QUEUED — after EuropeConnecting-route logic (flights, trains, buses)
Currently only a single direct city-pair is checked against real schedule/route data. Real one-stop connections (e.g. Mannheim → Dar es Salaam via a verified hub) fail even though the underlying real legs exist. Fix: general on-demand logic — works for any city pair worldwide by chaining verified legs through a real hub, never fabricating a route.
QUEUED — after connecting routesMobilityDatabase.org feed discovery
Check this open GTFS/GTFS-RT/GBFS catalog (6,000+ feeds, 99+ countries) for real transit feeds not yet ingested beyond the ~2,800 already in the system.
API access token obtained and verified working (2026-09-24) — real OAuth2 exchange tested server-side, ready to use when this phase starts.
QUEUED — after connecting routesTransport Source Registry
A tracked table/doc recording, per country + mode + operator: source type (API/GTFS/GTFS-RT/timetable/commercial), URL, license, coverage, last-successful-fetch, confidence — so every data source's provenance is answerable in one query.
India
RESEARCH STARTEDDelhi ↔ Mathura bus data (UPSRTC / Haryana Roadways / private operators)
No official UPSRTC or Haryana Roadways GTFS/API found. Independent lead found: "Haryana Bus Info" (GitHub org haryanabusinfo, 154,000+ verified schedules across 100+ Haryana cities) — real feed URL not yet confirmed. UP-side (Mathura) still has no identified open source. RedBus/MakeMyTrip are commercial platforms requiring real API/partner access, not a scrapeable public feed.
QUEUED — after EuropeIndia Place & Address Master, Phase 4–6
Mappls (MapmyIndia) selective enrichment, government open-address datasets, user-correction feedback loop. Deferred pending a real cost/scoping decision — Mappls is a paid API, unlike OSM.