Data: - sync DB (routes/stations/route_stops/route_provinces/schedules) from web-at-transit-mock/resource/data: route 999 -> bangkok group, 1011 name, 15 stations w/ coordinates, 33 schedules; drop stale stations - add geojson-web route polylines (frontend/public/data) + lib/geojson.ts; route detail now draws the real route path UI: - home: legend (คำอธิบายสีการ์ด) + next-trip chip (เที่ยวถัดไป HH:MM / ดูตาราง / ยังไม่มีตาราง) computed from schedules - route detail: drop the debug 'เมตาดาตา' JSON dump + empty ภาพประกอบ - globals.css: legend styles
1 line
1.8 KiB
JSON
1 line
1.8 KiB
JSON
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"route_id":"902"},"geometry":{"type":"MultiLineString","coordinates":[[[100.45166,14.59467],[100.45227,14.59401],[100.45211,14.59383],[100.45206,14.59369],[100.45212,14.59356],[100.45207,14.59333],[100.45588,14.5848],[100.45646,14.58371],[100.45694,14.58333],[100.45777,14.58264],[100.45858,14.58222],[100.46912,14.57931],[100.46998,14.57903],[100.47079,14.57895],[100.47583,14.57892],[100.47765,14.57908],[100.47899,14.57951],[100.48039,14.58039],[100.48322,14.58213],[100.49056,14.57125],[100.49363,14.56605],[100.49594,14.55982],[100.50181,14.54256],[100.50674,14.52584],[100.50913,14.52145],[100.51302,14.51648],[100.51618,14.5126],[100.51822,14.50921],[100.52025,14.50442],[100.52273,14.49751],[100.5292,14.48314],[100.53765,14.46434],[100.53828,14.46235],[100.54208,14.4412],[100.54289,14.43967],[100.54415,14.43732],[100.54614,14.43524],[100.54912,14.43244],[100.56846,14.41861],[100.59476,14.39529],[100.60037,14.38969],[100.6029,14.38653],[100.60642,14.38038],[100.60958,14.37369],[100.61193,14.36456],[100.61329,14.35742],[100.61347,14.3398],[100.61347,14.24572],[100.61148,14.23117],[100.60922,14.21337],[100.60877,14.20632],[100.60922,14.20017],[100.6104,14.1924],[100.61537,14.17785],[100.6179,14.16881],[100.61844,14.12914],[100.6188,14.10054],[100.61573,14.01897],[100.61465,13.99511],[100.61478,13.99204],[100.61548,13.98834],[100.62068,13.95917],[100.62099,13.95668],[100.62032,13.95384],[100.61815,13.94959],[100.56193,13.84796],[100.55983,13.84426],[100.55807,13.84076],[100.55757,13.83843],[100.55721,13.83599],[100.55959,13.81233],[100.55696,13.80777],[100.55428,13.80336],[100.55289,13.8011],[100.55221,13.79989],[100.55169,13.79878],[100.55108,13.79782],[100.54831,13.79762],[100.54811,13.80903],[100.54872,13.81014],[100.54942,13.81132],[100.54982,13.81224],[100.55034,13.81168]]]}}]} |