此图是公交刷卡一部分数据,属性值分别是DEAL_TYPE,EXIT_TIME,GRANT_CARD_CODE,CARD_TYPE,LINE_CODE,VEHICLE_CODE,ON_STATION,OFF_STATION,
RUN_COMP_CODE,DRIVER_CODE
各自所代表的意义分别是:
- DEAL_TYPE:交易类型
- EXIT_TIME:下车时间
- GRANT_CARD_CODE:卡号
- CARD_TYPE:卡的类型(老年卡或学生卡之类)
- LINE_CODE:线路号
- VEHICLE_CODE:车牌号
- ON_STATION:上车站点
- OFF_STATION:下车站点
- RUN_COMP_CODE:运行公司编号?
- DRIVER_CODE:司机编号
注意缺少的上车时间,知道的是下车时间,而且上行还是下行不清楚,编号是如何编的,这些都需要匹配GPS数据,来获得
GPS数据
可以看到,一日的数据放在一个目录下,其中每一分钟一个文件(08-10-00-00到08-10-23-59)
其中每一个文件:
每辆车,每隔三秒钟上传,共传4-5次,传完之后一分钟之后再如此。
GPS数据的属性值有线路,车辆编号,时间,经纬度等??
因此GPS数据还是挺难搞定的