西西軟件下載最安全的下載網(wǎng)站、值得信賴的軟件下載站!

首頁編程開發(fā)其它知識 → 谷歌公共交通信息標(biāo)準(zhǔn)化通用數(shù)據(jù)標(biāo)準(zhǔn)GTFS簡介

谷歌公共交通信息標(biāo)準(zhǔn)化通用數(shù)據(jù)標(biāo)準(zhǔn)GTFS簡介

相關(guān)軟件相關(guān)文章發(fā)表評論 來源:西西整理時間:2012/12/9 17:15:46字體大。A-A+

作者:西西點擊:0次評論:1次標(biāo)簽: 谷歌

  • 類型:Android平臺大小:9.1M語言:中文 評分:8.0
  • 標(biāo)簽:
立即下載

為了公共交通信息標(biāo)準(zhǔn)化和便于使用地圖顯示工具信息,谷歌推出了“谷歌通用數(shù)據(jù)標(biāo)準(zhǔn)“GTFS,具體規(guī)定有很多,簡單來講,使用CSV文本格式,并使用簡單的字符。Google在全球應(yīng)用的GTFS數(shù)據(jù)標(biāo)準(zhǔn)下的數(shù)據(jù)樣本,可清楚看到Google對公交數(shù)據(jù)的設(shè)計特點。

agency.txt。C(jī)構(gòu))必須

stoPS.txt (站點)必須

routes.txt。肪)必須

trips.txt (路趟)必須

stop_times.txt。ㄍ\嚕瓡r間)必須

calendar.txt。ㄈ諝v)必須

calendar_dates.txt。ㄈ諝v-日期)可選

fare_rules.txt。ㄆ眱r-規(guī)定)可選

fare_attributes.txt (票價-屬性)可選

shapes.txt。ㄐ螤睿┛蛇x

frequencies.txt。l率)可選

transfers.txt。ㄞD(zhuǎn)車)可選

以下是各個文件的實例:
agency.txt
agency_id, agency_name,agency_url,agency_timezone,agency_phone,agency_lang
FunBus,The Fun Bus,http://www.thefunbus.org,America/Los_Angeles,(310) 555-0222,en

stops.txt
stop_id,stop_name,stop_desc,stop_lat,stop_lon,stop_url,location_type,parent_station
S1,Mission St. & Silver Ave.,The stop is located at the southwest corner of the intersection.,37.728631,-122.431282,,
S2,Mission St. & Cortland Ave.,The stop is located 20 feet south of Mission St.,37.74103,-122.422482,,
S3,Mission St. & 24th St.,The stop is located at the southwest corner of the intersection.,37.75223,-122.418581,,
S4,Mission St. & 21st St.,The stop is located at the northwest corner of the intersection.,37.75713,-122.418982,,
S5,Mission St. & 18th St.,The stop is located 25 feet west of 18th St.,37.761829,-122.419382,,
S6,Mission St. & 15th St.,The stop is located 10 feet north of Mission St.,37.766629,-122.419782,,
S7,24th St. Mission Station,37.752240,-122.418450,,,S8
S8,24th St. Mission Station,37.752240,-122.418450,http://www.bart.gov/stations/sta ... onoverview_24st.asp,1,routes.txt
route_id,route_short_name,route_long_name,route_desc,route_type
A,17,Mission,"The ""A"" route travels from lower Mission to Downtown. The ""A"" route is available for service on weekdays and weekends, but weekend service has limited stops.",3

trips.txt
route_id,service_id,trip_id,trip_headsign,block_id
A,WE,AWE1,Downtown,1
A,WE,AWE2,Downtown,2

stop_times.txt
trip_id,arrival_time,departure_time,stop_id,stop_sequence,pickup_type,dropoff_type
AWE1,0:06:10,0:06:10,S1,1,0,0,0
AWE1,,,S2,2,0,1,3
AWE1,0:06:20,0:06:30,S3,3,0,0,0
AWE1,,,S5,4,0,0,0
AWE1,0:06:45,0:06:45,S6,5,0,0,0
AWD1,0:06:10,0:06:10,S1,1,0,0,0
AWD1,,,S2,2,0,0,0
AWD1,0:06:20,0:06:20,S3,3,0,0,0
AWD1,,,S4,4,0,0,0
AWD1,,,S5,5,0,0,0
AWD1,0:06:45,0:06:45,S6,6,0,0,0

calendar.txt
service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date
WE,0,0,0,0,0,1,1,20060701,20060731
WD,1,1,1,1,1,0,0,20060701,20060731

calendar_dates.txt
This example shows service exceptions for the Independence Day holiday in 2006. On Monday July 3, 2006, regular weekday service (service_id=WD) is interrupted (exception_type=2). Instead, weekend service (service_id=WE) runs on that date (exception_type=1). The same change applies on Tuesday July 4, as well.
service_id,date,exception_type
WD,20060703,2
WE,20060703,1
WD,20060704,2
WE,20060704,1

fare_attributes.txt
fare_id,price,currency_type,payment_method,transfers,transfer_duration
1,0.00,USD,0,0,0
2,0.50,USD,0,0,0
3,1.50,USD,0,0,0
4,2.00,USD,0,0,0
5,2.50,USD,0,0,0

fare_rules.txt
fare_id,route_id,origin_id,destination_id,contains_id
a,TSW,1,1,
a,TSE,1,1,
a,GRT,1,1,
a,GRJ,1,1,
a,SVJ,1,1,
a,JSV,1,1,
a,GRT,2,4,
a,GRJ,4,2,
b,GRT,3,3,
c,GRT,,,6

shapes.txt
shape_id,shape_pt_lat,shape_pt_lon,shape_pt_sequence,shape_dist_traveled
A_shp,37.61956,-122.48161,1,0
A_shp,37.64430,-122.41070,2,6.8310
A_shp,37.65863,-122.30839,3,15.8765

frequencies.txt
trip_id,start_time,end_time,headway_secs
AWE1,05:30:00,06:30:00,300
AWE1,06:30:00,20:30:00,180
AWE1,20:30:00,28:00:00,420

transfers.txt
from_stop_id,to_stop_id,transfer_type,min_transfer_time
S6,S7,2,300
S7,S6,3,
S23,S7,1,
按照這些規(guī)定整理數(shù)據(jù),您的公交系統(tǒng)信息就會在谷歌公交地圖工具中顯示出來了。

數(shù)據(jù)標(biāo)準(zhǔn)包括以下文件見(http://code.google.com/transit/s ... ransitAgencyExample

    google earth中文版
    (16)google earth中文版
    谷歌地球是一款公司開發(fā)的虛擬地球軟件,把衛(wèi)星照片航空照相和布置在一個地球的三維模型上,用戶可以在上面標(biāo)注自己的地標(biāo),并上傳自己拍攝的照片。用戶們可以通過一個下載到自己電腦上的客戶端軟件,免費瀏覽全球各地的高清晰度衛(wèi)星圖片。專業(yè)版除了具備免費版中提供的易用功能和圖像外,還提供了專為企業(yè)用戶設(shè)計的專業(yè)工具。地球?qū)I(yè)版已經(jīng)成為我們不可或缺的好幫手。它是我們在開發(fā)住宅和商業(yè)太陽能項目時使用的第一款工具,它...更多>>

    相關(guān)評論

    閱讀本文后您有什么感想? 已有人給出評價!

    • 8 喜歡喜歡
    • 3 頂
    • 1 難過難過
    • 5 囧
    • 3 圍觀圍觀
    • 2 無聊無聊

    熱門評論

    最新評論

    發(fā)表評論 查看所有評論(1)

    昵稱:
    表情: 高興 可 汗 我不要 害羞 好 下下下 送花 屎 親親
    字?jǐn)?shù): 0/500 (您的評論需要經(jīng)過審核才能顯示)
    推薦文章

    沒有數(shù)據(jù)