This chapter studies the processing and analysis of public transport data. In Sect. 11.1 we explain the various types of mobility data that can be available in a city and present the standardized formats of these data. An important family of file formats is the Google Transit Feed Specification (GTFS), which consists of two parts, GTFS Schedule and GTFS Realtime, that concern, respectively, the scheduled and the real-time positions of public transport vehicles. Section 11.2 describes the data loading and analysis of GTFS Schedule using data from the city of Riga, Latvia. Section 11.3 shows the same methodology using data from the city of Genova, Italy. Section 11.4 explains how to load and query actual trip data from GTFS Realtime feeds. Section 11.5 explains how schedule and real-time data together can be used to analyze the actual speeds and delays of vehicles. This is a challenging task, since the two formats have significant differences. GTFS Schedule is a cyclic format where the schedule is defined as a set of rules for generating trips. In contrast, GTFS Realtime is a flat format representing the actual positions of the vehicles. It is thus necessary to do a series of conversions to bring the two sources to a form that can be joined. The section illustrates the two formats and the joining pipeline in detail..

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Urban Mobility Use Case

  • Mahmoud Sakr,
  • Alejandro Vaisman,
  • Esteban Zimányi

摘要

This chapter studies the processing and analysis of public transport data. In Sect. 11.1 we explain the various types of mobility data that can be available in a city and present the standardized formats of these data. An important family of file formats is the Google Transit Feed Specification (GTFS), which consists of two parts, GTFS Schedule and GTFS Realtime, that concern, respectively, the scheduled and the real-time positions of public transport vehicles. Section 11.2 describes the data loading and analysis of GTFS Schedule using data from the city of Riga, Latvia. Section 11.3 shows the same methodology using data from the city of Genova, Italy. Section 11.4 explains how to load and query actual trip data from GTFS Realtime feeds. Section 11.5 explains how schedule and real-time data together can be used to analyze the actual speeds and delays of vehicles. This is a challenging task, since the two formats have significant differences. GTFS Schedule is a cyclic format where the schedule is defined as a set of rules for generating trips. In contrast, GTFS Realtime is a flat format representing the actual positions of the vehicles. It is thus necessary to do a series of conversions to bring the two sources to a form that can be joined. The section illustrates the two formats and the joining pipeline in detail..