西西软件下载最安全的下载网站、值得信赖的软件下载站!

首页编程开发其它知识 → 谷歌公共交通信息标准化通用数据标准GTFS简介

谷歌公共交通信息标准化通用数据标准GTFS简介

相关软件相关文章发表评论 来源:西西整理时间:2012/12/9 17:15:46字体大小:A-A+

作者:西西点击:0次评论:1次标签: 谷歌

andriod谷歌卫星地图google earthv8.0.2.2334 中文免费版
  • 类型:Android平台大小:9.1M语言:中文 评分:8.0
  • 标签:
立即下载

为了公共交通信息标准化和便于使用地图显示工具信息,谷歌推出了“谷歌通用数据标准“GTFS,具体规定有很多,简单来讲,使用CSV文本格式,并使用简单的字符。Google在全球应用的GTFS数据标准下的数据样本,可清楚看到Google对公交数据的设计特点。

agency.txt (机构)必须

stoPS.txt (站点)必须

routes.txt (路线)必须

trips.txt (路趟)必须

stop_times.txt (停车-时间)必须

calendar.txt (日历)必须

calendar_dates.txt (日历-日期)可选

fare_rules.txt (票价-规定)可选

fare_attributes.txt (票价-属性)可选

shapes.txt (形状)可选

frequencies.txt (频率)可选

transfers.txt (转车)可选

以下是各个文件的实例:
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,
按照这些规定整理数据,您的公交系统信息就会在谷歌公交地图工具中显示出来了。

数据标准包括以下文件见(http://code.google.com/transit/s ... ransitAgencyExample

    google earth中文版
    (16)google earth中文版
    谷歌地球是一款公司开发的虚拟地球软件,把卫星照片航空照相和布置在一个地球的三维模型上,用户可以在上面标注自己的地标,并上传自己拍摄的照片。用户们可以通过一个下载到自己电脑上的客户端软件,免费浏览全球各地的高清晰度卫星图片。专业版除了具备免费版中提供的易用功能和图像外,还提供了专为企业用户设计的专业工具。地球专业版已经成为我们不可或缺的好帮手。它是我们在开发住宅和商业太阳能项目时使用的第一款工具,它...更多>>

    相关评论

    阅读本文后您有什么感想? 已有人给出评价!

    • 8 喜欢喜欢
    • 3 顶
    • 1 难过难过
    • 5 囧
    • 3 围观围观
    • 2 无聊无聊

    热门评论

    最新评论

    发表评论 查看所有评论(1)

    昵称:
    表情: 高兴 可 汗 我不要 害羞 好 下下下 送花 屎 亲亲
    字数: 0/500 (您的评论需要经过审核才能显示)
    推荐文章

    没有数据