แผนที่จาก GPKG + บทความ 6 ชิ้น + ลดความหนา footer

== แผนที่ / GIS ==
- qgis-to-web.py: อ่าน GPKG ได้ (--from gpkg) + เพิ่ม dream-Watcharapol
- เพิ่ม dream-*.geojson 6 ไฟล์ (เส้นทางที่เสนอ: บ้านภาชี · ชานเมืองอยุธยา · HSR · เมืองทองธานี · ปากเกร็ด · วัชรพล)
- map.js: ATMap.proposal() วาดเส้นจริงจาก geojson (ไม่ใช่เส้นตรง) · smoothFactor 0.5
  · coordOf() รับ coords=[lat,lng] · fitAll รับได้ทั้งจุดเดี่ยวและเส้น · setStyle บน featureGroup

== บทความ (blog) ==
- text3: ถ้าผมได้ออกแบบสายเดินรถเอง (จาก mydream.html) TH+EN
- text4: วิธีเดินทางไปสถานีรถไฟ และสนามบิน (จาก train-airplane.html) TH+EN
- text5/text6: โครงเปล่ารอเติมเนื้อหา (แสวงหา-โพธิ์ทอง · อำเภอเข้าเมือง)
- แผนที่ความฝัน: map.groups 3 กลุ่ม · คลิกเส้น/หมุด/แถวได้ · ป้ายที่มา
- ย่อหน้า: ระยะห่าง 20px + ย่อหน้าหน้าบรรทัด 1.5em

== ตารางเดินรถ ==
- เปลี่ยนชื่อคีย์ dir_* -> direction_* ทุกไฟล์ (backward-compat ในโค้ด)
- 1011: จุดย่อย 2 ทิศ + offsets [0,25,55]
- 954/2194: จุดย่อย station 8 + offsets
- refreshHighlights: วนข้ามวันเมื่อเลยเที่ยวสุดท้าย + ไฮเทลต์ชิปทุกจุด
- 8 other_stop.md: อัปเดตตรงข้อมูลจริง 8 รายการ

== i18n ==
- แยกไฟล์ต่อภาษา ui/locales/{th,en}.json + i18n.js = loader (ลด 28KB -> 6.5KB)
- resource/tools/check-i18n.py ตรวจคีย์ขาด/ซ้ำ
- ข้อความผู้สนับสนุนหน้าแรก + คำแปล EN

== UI ==
- ฝังฟอนต์ K2D (ui/vendor/fonts/) ออฟไลน์ 100%
- cache busting ?v=<SW VERSION> ทุกรูป (ui/imageurl.js)
- footer: ลดความหนา 468 -> 349px + line-height 1.5 กันสระ/วรรณยุกต์ซ้อน
- QR modal + ปุ่มคัดลอกลิงก์ · หน้าอัปเดตล่าสุดใน #/check
- credits: ขอขอบคุณภาพรถ 3 สาย

== เครื่องมือ ==
- bump-version.py · stamp-schedules.py · derive-times.py (จุดอ้างอิง ± นาที)
This commit is contained in:
Bkk1234 committed 2026-10-05 03:55:09 +07:00
1 parent 1cfaeb1526
commit 656f65b41c
109 files changed
+3335 -1225

No files matched your search

@@ -1,6 +1,8 @@
{
"schema": 3,
"route_id": "101",
"updated": "2026-10-04",
"route_name": "อ่างทอง-ป่าโมก-อยุธยา",
"station_order": [
1,
+14 -10
View File
@@ -1,15 +1,16 @@
{
"schema": 2,
"route_id": "1011",
"updated": "2026-10-04",
"generated_from": "schedules.json",
"station_order": [
1,
8
8,
1
],
"directions": [
{
"dir_id": "from-1",
"dir_label": null,
"direction_id": "from-1",
"direction_label": "จากบขส.อ่างทอง",
"stops": [
{
"station_id": 1,
@@ -17,13 +18,15 @@
"12:00",
"16:00",
"17:00"
]
],
"direction_note": "บขส.อ่างทอง → โพธิ์ทอง → แสวงหา → วัดสีบัวทอง"
}
]
],
"direction_note": "บขส.อ่างทอง → โพธิ์ทอง → แสวงหา → วัดสีบัวทอง"
},
{
"dir_id": "dir-1",
"dir_label": "จากวัดสีบัวทอง",
"direction_id": "dir-1",
"direction_label": "จากวัดสีบัวทอง",
"stops": [
{
"station_id": 8,
@@ -32,9 +35,10 @@
"06:30",
"14:30"
],
"dir_note": "จากวัดสีบัวทอง"
"direction_note": "วัดสีบัวทอง → แสวงหา → โพธิ์ทอง → บขส.อ่างทอง"
}
]
],
"direction_note": "วัดสีบัวทอง → แสวงหา → โพธิ์ทอง → บขส.อ่างทอง"
}
]
}
+8 -6
View File
@@ -1,6 +1,8 @@
{
"schema": 2,
"route_id": "15",
"updated": "2026-10-04",
"generated_from": "schedules.json",
"station_order": [
1,
@@ -11,8 +13,8 @@
],
"directions": [
{
"dir_id": "from-1",
"dir_label": null,
"direction_id": "from-1",
"direction_label": null,
"stops": [
{
"station_id": 1,
@@ -26,8 +28,8 @@
]
},
{
"dir_id": "all",
"dir_label": null,
"direction_id": "all",
"direction_label": null,
"stops": [
{
"station_id": 2,
@@ -60,8 +62,8 @@
]
},
{
"dir_id": "new-3",
"dir_label": null,
"direction_id": "new-3",
"direction_label": null,
"stops": [
{
"station_id": 5,
+11 -8
View File
@@ -1,15 +1,17 @@
{
"schema": 2,
"route_id": "2194",
"updated": "2026-10-04",
"generated_from": "schedules.json",
"station_order": [
4,
8
8,
4
],
"directions": [
{
"dir_id": "dir-1",
"dir_label": "จากวัดหัวเวียง",
"direction_id": "dir-1",
"direction_label": "ออกจากวัดหัวเวียง",
"stops": [
{
"station_id": 8,
@@ -18,13 +20,13 @@
"06:00",
"07:00"
],
"dir_note": "จากวัดหัวเวียง"
"direction_note": "ออกจากวัดหัวเวียง"
}
]
},
{
"dir_id": "from-4",
"dir_label": null,
"direction_id": "from-4",
"direction_label": "ออกจากตลาดเจ้าพรหม",
"stops": [
{
"station_id": 4,
@@ -32,7 +34,8 @@
"16:00",
"17:00",
"18:00"
]
],
"direction_note": "ออกจากตลาดเจ้าพรหม"
}
]
}
@@ -1,15 +1,17 @@
{
"schema": 2,
"route_id": "2231",
"updated": "2026-10-04",
"generated_from": "schedules.json",
"station_order": [
1,
8
8,
1
],
"directions": [
{
"dir_id": "from-1",
"dir_label": null,
"direction_id": "from-1",
"direction_label": null,
"stops": [
{
"station_id": 1,
@@ -20,15 +22,15 @@
]
},
{
"dir_id": "dir-1",
"dir_label": "จากวัดมหานาม",
"direction_id": "dir-1",
"direction_label": "จากวัดมหานาม",
"stops": [
{
"station_id": 8,
"times": [
"08:00"
],
"dir_note": "จากวัดมหานาม"
"direction_note": "จากวัดมหานาม"
}
]
}
@@ -1,15 +1,17 @@
{
"schema": 2,
"route_id": "324",
"updated": "2026-10-04",
"generated_from": "schedules.json",
"station_order": [
1,
8
8,
1
],
"directions": [
{
"dir_id": "from-1",
"dir_label": null,
"direction_id": "from-1",
"direction_label": null,
"stops": [
{
"station_id": 1,
@@ -20,15 +22,15 @@
]
},
{
"dir_id": "dir-1",
"dir_label": "จากวัดไชโยวรวิหาร",
"direction_id": "dir-1",
"direction_label": "จากวัดไชโยวรวิหาร",
"stops": [
{
"station_id": 8,
"times": [
"08:00"
],
"dir_note": "จากวัดไชโยวรวิหาร"
"direction_note": "จากวัดไชโยวรวิหาร"
}
]
}
+24 -58
View File
@@ -1,16 +1,18 @@
{
"schema": 2,
"route_id": "464",
"updated": "2026-10-04",
"generated_from": "schedules.json",
"station_order": [
1,
9,
1,
10
],
"directions": [
{
"dir_id": "all",
"dir_label": null,
"direction_id": "all",
"direction_label": "จากบขส.สุพรรณบุรี / บขส.สระบุรี",
"stops": [
{
"station_id": 9,
@@ -69,71 +71,35 @@
]
},
{
"dir_id": "dir-1",
"dir_label": "ไปสุพรรณบุรี",
"direction_id": "dir-1",
"direction_label": "ออกจากอ่างทอง",
"stops": [
{
"station_id": 1,
"times": [
"06:30",
"07:10",
"07:50",
"08:40",
"09:30",
"10:10",
"10:50",
"11:30",
"12:10",
"12:50",
"13:30",
"14:10",
"14:50",
"15:30",
"16:10",
"16:50",
"17:30",
"18:10",
"18:50",
"19:30"
],
"dir_note": "ไปสุพรรณบุรี"
"times": [],
"direction_note": "ไปสุพรรณบุรี",
"derive": {
"from_station_id": 10,
"offset_min": 90,
"note": "ถึงอ่างทองหลังรถออกจาก บขส.สระบุรี 90 นาที"
}
}
]
},
{
"dir_id": "dir-2",
"dir_label": "ไปสระบุรี",
"direction_id": "dir-2",
"direction_label": "ออกจากอ่างทอง",
"stops": [
{
"station_id": 1,
"times": [
"05:40",
"06:10",
"06:40",
"07:10",
"07:40",
"08:10",
"08:40",
"09:15",
"09:50",
"10:25",
"11:00",
"11:35",
"12:10",
"12:45",
"13:20",
"13:55",
"14:30",
"15:05",
"15:40",
"16:15",
"16:50",
"17:25",
"18:00",
"18:40"
],
"dir_note": "ไปสระบุรี",
"note": null
"times": [],
"direction_note": "ไปสระบุรี",
"note": null,
"derive": {
"from_station_id": 9,
"offset_min": 60,
"note": "ถึงอ่างทองหลังรถออกจาก บขส.สุพรรณบุรี 60 นาที"
}
}
]
}
+42 -7
View File
@@ -1,16 +1,18 @@
{
"schema": 2,
"route_id": "641",
"updated": "2026-10-04",
"generated_from": "schedules.json",
"station_order": [
1,
7,
8
8,
7
],
"directions": [
{
"dir_id": "from-1",
"dir_label": null,
"direction_id": "from-1",
"direction_label": null,
"stops": [
{
"station_id": 1,
@@ -24,13 +26,14 @@
"13:30",
"14:30",
"16:30"
]
],
"note": "10:00 และ 13:30 ไม่ได้มีทุกวัน"
}
]
},
{
"dir_id": "all",
"dir_label": null,
"direction_id": "all",
"direction_label": null,
"stops": [
{
"station_id": 7,
@@ -48,6 +51,38 @@
"note": "10:00 และ 13:30 ไม่ได้มีทุกวัน"
}
]
},
{
"direction_id": "new-3",
"direction_label": "7-11บ้านแพรกไปลพบุรี",
"stops": [
{
"station_id": 8,
"derive": {
"from_station_id": 1,
"offset_min": 25,
"note": null
},
"times": []
}
],
"autoTimes": true
},
{
"direction_id": "new-3",
"direction_label": "7-11บ้านแพรกไปอ่างทอง",
"stops": [
{
"station_id": 8,
"derive": {
"from_station_id": 7,
"offset_min": 25,
"note": "อ่างทอง"
},
"times": []
}
],
"autoTimes": true
}
]
}
+13 -11
View File
@@ -1,6 +1,8 @@
{
"schema": 2,
"route_id": "8",
"updated": "2026-10-04",
"generated_from": "schedules.json",
"station_order": [
13,
@@ -11,8 +13,8 @@
],
"directions": [
{
"dir_id": "all",
"dir_label": null,
"direction_id": "all",
"direction_label": null,
"stops": [
{
"station_id": 13,
@@ -25,8 +27,8 @@
"speedKmh": 60
},
{
"dir_id": "dir-1",
"dir_label": null,
"direction_id": "dir-1",
"direction_label": null,
"stops": [
{
"station_id": 6,
@@ -34,14 +36,14 @@
"10:00",
"13:00"
],
"dir_note": null,
"direction_note": null,
"note": null
}
]
},
{
"dir_id": "rungsit",
"dir_label": "ตลาดแสวงหา",
"direction_id": "rungsit",
"direction_label": "ตลาดแสวงหา",
"stops": [
{
"station_id": 8,
@@ -55,8 +57,8 @@
]
},
{
"dir_id": "rungsit",
"dir_label": "ตลาดสดเทศบาลตำบลโพธิ์ทอง",
"direction_id": "rungsit",
"direction_label": "ตลาดสดเทศบาลตำบลโพธิ์ทอง",
"stops": [
{
"station_id": 8,
@@ -70,8 +72,8 @@
]
},
{
"dir_id": "rungsit",
"dir_label": null,
"direction_id": "rungsit",
"direction_label": null,
"stops": [
{
"station_id": 5,
@@ -1,6 +1,8 @@
{
"schema": 2,
"route_id": "902",
"updated": "2026-10-04",
"generated_from": "schedules.json",
"station_order": [
1,
@@ -9,8 +11,8 @@
],
"directions": [
{
"dir_id": "from-1",
"dir_label": null,
"direction_id": "from-1",
"direction_label": null,
"stops": [
{
"station_id": 1,
@@ -48,8 +50,8 @@
]
},
{
"dir_id": "rungsit",
"dir_label": null,
"direction_id": "rungsit",
"direction_label": null,
"stops": [
{
"station_id": 15,
@@ -63,8 +65,8 @@
]
},
{
"dir_id": "all",
"dir_label": null,
"direction_id": "all",
"direction_label": null,
"stops": [
{
"station_id": 6,
@@ -1,6 +1,8 @@
{
"schema": 2,
"route_id": "951",
"updated": "2026-10-04",
"generated_from": "schedules.json",
"station_order": [
9,
@@ -10,8 +12,8 @@
],
"directions": [
{
"dir_id": "from-9",
"dir_label": null,
"direction_id": "from-9",
"direction_label": null,
"stops": [
{
"station_id": 9,
@@ -64,20 +66,20 @@
{
"station_id": 8,
"times": [],
"dir_note": "ตลาดวิเศษชัยชาญ",
"direction_note": "ตลาดวิเศษชัยชาญ",
"note": "ตลาดวิเศษชัยชาญ"
},
{
"station_id": 8,
"times": [],
"dir_note": "ตลาดอ่างทอง",
"direction_note": "ตลาดอ่างทอง",
"note": "ตลาดอ่างทอง"
}
]
},
{
"dir_id": "new-2",
"dir_label": null,
"direction_id": "new-2",
"direction_label": null,
"stops": [
{
"station_id": 6,
@@ -1,6 +1,8 @@
{
"schema": 2,
"route_id": "952",
"updated": "2026-10-04",
"generated_from": "schedules.json",
"station_order": [
11,
@@ -8,8 +10,8 @@
],
"directions": [
{
"dir_id": "dir-1",
"dir_label": "จากตลาดวิเศษ",
"direction_id": "dir-1",
"direction_label": "จากตลาดวิเศษ",
"stops": [
{
"station_id": 11,
@@ -18,14 +20,14 @@
"10:00",
"15:00"
],
"dir_note": "จากตลาดวิเศษ",
"direction_note": "จากตลาดวิเศษ",
"note": "10:00 มีเฉพาะวันหยุด"
}
]
},
{
"dir_id": "all",
"dir_label": null,
"direction_id": "all",
"direction_label": null,
"stops": [
{
"station_id": 12,
+21 -27
View File
@@ -1,6 +1,8 @@
{
"schema": 2,
"route_id": "954",
"updated": "2026-10-04",
"generated_from": "schedules.json",
"station_order": [
8,
@@ -9,8 +11,8 @@
],
"directions": [
{
"dir_id": "dir-1",
"dir_label": "จากตลาดท่าช้าง",
"direction_id": "to-bkk",
"direction_label": "ไปกรุงเทพ (จตุจักร)",
"stops": [
{
"station_id": 8,
@@ -20,8 +22,18 @@
"10:20",
"12:40"
],
"dir_note": "จากตลาดท่าช้าง"
"direction_note": "ตลาดท่าช้าง"
},
{
"station_id": 6,
"times": []
}
]
},
{
"direction_id": "to-thachang",
"direction_label": "ไปท่าช้าง",
"stops": [
{
"station_id": 6,
"times": [
@@ -29,37 +41,19 @@
"09:00",
"14:00",
"16:00"
],
"dir_note": null
}
]
},
{
"dir_id": "rungsit",
"dir_label": null,
"stops": [
]
},
{
"station_id": 5,
"times": [],
"derive": {
"from_station_id": 6,
"offset_min": 30,
"note": ""
},
"times": []
}
]
},
{
"dir_id": "rungsit",
"dir_label": "ตลาดสามโก้",
"stops": [
"note": "ผ่านรังสิตหลังรถออกจากจตุจักร 30 นาที"
}
},
{
"station_id": 8,
"derive": {
"from_station_id": 8,
"offset_min": 45,
"note": "จากตลาดสามโก้"
},
"times": []
}
]
@@ -1,14 +1,16 @@
{
"schema": 2,
"route_id": "999",
"updated": "2026-10-04",
"generated_from": "schedules.json",
"station_order": [
14
],
"directions": [
{
"dir_id": "from-14",
"dir_label": null,
"direction_id": "from-14",
"direction_label": null,
"stops": [
{
"station_id": 14,