คำถามที่พบบ่อย
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ต่อไปนี้เป็นคําถามและคําตอบสําหรับปัญหาที่พบบ่อยเมื่อใช้งาน GTFS
ถาม: มีสภาพแวดล้อมการทดสอบสำหรับฟีดก่อนที่จะเผยแพร่ต่อสาธารณะไหม
ตอบ: ได้ เราจะเตรียมสภาพแวดล้อมการทดสอบเมื่อคุณอัปโหลดฟีดเรียบร้อยแล้ว
ถาม: เราจำเป็นต้องอัปโหลดฟีดด้วยตนเองทุกครั้งที่มีการอัปเดต หรือขอให้ Google ดึงข้อมูลจากเซิร์ฟเวอร์ของเราได้ไหม
ตอบ: โดยทั่วไป Google ต้องการตั้งค่าการดึงข้อมูลปกติ (ผ่าน FTP GET) ความถี่จะเป็นรายสัปดาห์โดยค่าเริ่มต้น นอกจากนี้ คุณยังอัปโหลดไฟล์จากคอนโซลด้วยตนเองได้
ถาม: หากเรามีทั้งสายด่วนและสายในพื้นที่ เราจะส่งฟีดแยกกันได้ไหม
ตอบ: ได้ เอเจนซีสามารถส่งฟีดแยกหลายรายการได้ แต่ปกติแล้วเราขอแนะนำให้ใช้ฟีดเดียว
ถาม: ในกรณีที่ราคาแตกต่างกันไปตามที่นั่ง เช่น ชั้น C กับชั้น A เราต้องทำอย่างไร
ตอบ: โปรดระบุราคาทั่วไปมากที่สุด
ถาม: หากราคาแตกต่างกันไปตามวันที่ เช่น ราคาช่วงเทศกาล เราต้องทำอย่างไร
ตอบ: โปรดสร้างเส้นทางแยกกัน
ถาม: เมื่อมีหลายโดเมนการจองสำหรับ agency.agency_fare_url
เราจะเพิ่มโดเมนทั้งหมดโดยคั่นด้วยคอมมาได้ไหม
ตอบ: โปรดใส่ URL เพียงรายการเดียว หากมีปัญหาในการแสดงเพียงรายการเดียว โปรดเว้นว่างไว้
ถาม: routes.route_long_name
สามารถใช้ชื่อเดียวกันได้ไหม
ตอบ: ได้ คุณตั้งชื่อแอตทริบิวต์นั้นให้เหมือนกันได้
ถาม: หากเราตั้งค่าทั้งสถานีหลักและสถานีย่อยสำหรับรายการต่อไปนี้ ระบบจะใช้สถานีใด
คำตอบ:
stop_code
: หยุด
stop_name
: station (ในอนาคตเราอาจใช้ stop)
stop_desc
: ไม่มี
stop_lat
: ทั้ง 2 อย่าง
stop_lon
: ทั้ง 2 อย่าง
zone_id
: หยุด
stop_url
: สถานี
wheelchair_boarding
: ทั้ง 2 อย่าง
ถาม: เราอัปเดตฟีดในวันที่มีการเปลี่ยนแปลงกำหนดการได้ไหม
ตอบ: คุณระบุวันที่ที่ฟีดใช้งานได้ใน GTFS ได้ คุณต้องอัปโหลดฟีด 2 สัปดาห์ก่อนวันที่ที่ควรเผยแพร่ โปรดทราบว่าข้อมูลปฏิทินต้องทับซ้อนกัน
มีเครื่องมือสําหรับ "ผสาน" ฟีด 2 รายการ
ถาม: เราใช้รหัสที่ไม่ซ้ำกันที่มีอยู่ซึ่งใช้ภายในได้ไหม
ตอบ: ได้ รหัสใน GTFS จะเป็นค่าใดก็ได้
ถาม: การอัปโหลดฟีดของฉันไม่สำเร็จอยู่ตลอด ปัญหาที่อาจเกิดขึ้นคืออะไร
ตอบ: โปรดตรวจสอบว่าไฟล์อยู่ในไดเรกทอรีระดับบนสุดในไฟล์ ZIP
ถาม: ผลการค้นหาขนส่งสาธารณะไม่ได้สร้างขึ้นจากการค้นหาตัวอย่างในเวอร์ชันตัวอย่าง ปัญหาอาจเกิดจากอะไร
ตอบ: โปรดตรวจสอบเวลาของตัวอย่างเหล่านั้นและตรวจสอบว่ารถประจำทางวิ่งตามเวลาที่คุณเลือก หากไม่แสดง แสดงว่าอาจไม่มีการสร้างผลลัพธ์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eGoogle prefers a regularly fetched GTFS feed via FTP, with weekly updates as the default.\u003c/p\u003e\n"],["\u003cp\u003eSeparate routes should be created for services with date-dependent pricing, such as peak season fares.\u003c/p\u003e\n"],["\u003cp\u003eFor stops with both parent and child stations defined, station information will be prioritized for \u003ccode\u003estop_name\u003c/code\u003e and \u003ccode\u003estop_url\u003c/code\u003e while stop information will be used for other attributes.\u003c/p\u003e\n"],["\u003cp\u003eGTFS feeds must be uploaded two weeks prior to their effective date and should specify the valid date range within the feed itself.\u003c/p\u003e\n"],["\u003cp\u003eTroubleshooting feed upload failures often involves ensuring all files are in the ZIP file's top-level directory and verifying transit schedules align with preview query times.\u003c/p\u003e\n"]]],["GTFS implementation involves a test environment after feed upload. Google prefers regular feed fetching (weekly default) via FTP, though manual uploads are possible. Multiple feeds are accepted, but a single feed is preferred. Include the most generic price; for date-dependent pricing, create separate routes. Only one URL is allowed for `agency_fare_url`. IDs can be internal values. Files should be at the top level of the ZIP. Feeds are needed two weeks prior to live date.\n"],null,["# Frequently Asked Questions\n\nThe following are questions and answers for common issues when implementing GTFS.\n\n##### Q: Is there a test environment for the feed before making it public?\n\nA: Yes, we will prepare the test environment once your feed is successfully uploaded.\n\n##### Q: Do we need to manually upload the feed every time there is an update or can we ask Google to\nfetch it from our server?\n\nA: In general, Google prefers to set up a regular fetch (via FTP GET). The frequency\nis weekly by default. In addition, you can manually upload a file from the console.\n\n##### Q: If we have both the express line and local line, can we submit separate feeds?\n\nA: Yes, it is possible for an agency to submit multiple separate feeds but we usually prefer having\na single feed.\n\n##### Q: In case the price is different depending on the seat --e.g., class C vs. class A, what do we need to do?\n\nA: Please include the most generic price.\n\n##### Q: If the price is different depending on the date --e.g., peak season price, what do we need to do?\n\nA: Please create separate routes.\n\n##### Q: When there are multiple booking domains for `agency.agency_fare_url`, can we add them all separating\nthem with comma?\n\nA: Please only include one URL. If there is a problem in just showing one, please leave it blank.\n\n##### Q: Is it ok to have the same name for `routes.route_long_name`?\n\nA: Yes, you can set the same name for that attribute.\n\n##### Q: If we set both the parent station and child station for the following, which will be used?\n\nA:\n\n- `stop_code`: stop\n- `stop_name`: station (in the future, we might use stop)\n- `stop_desc`: none\n- `stop_lat`: both\n- `stop_lon`: both\n- `zone_id`: stop\n- `stop_url`: station\n- `wheelchair_boarding`: both\n\n\u003cbr /\u003e\n\n##### Q: Can we update the feed exactly on the date when the schedule is changed?\n\nA: You can specify to which date the feed is valid in GTFS. The feeds must be uploaded\ntwo weeks prior to the date when it should go live. Note that the calendar information must overlap.\nThere is a tool for \"merging\" two feeds.\n\n##### Q: Can we use our existing unique ids we have been using internally?\n\nA: Yes, IDs in GTFS can be any value.\n\n##### Q: My feed upload keeps failing. What could be a problem?\n\nA: Please ensure that the files are in the top level directory in your ZIP file.\n\n##### Q: Transit results are not generated from the sample queries in Preview. What could be the issue?\n\nA: Please check the time of those samples and make sure that your transits are running at those selected\ntimes. If not, it is possible that there is no result generated."]]