derhuerst / vbb-shapes

Shapes of VBB lines.
https://github.com/derhuerst/vbb-shapes
ISC License
0 stars 0 forks source link

January 2018 GTFS data contains a weird shape #2

Open derhuerst opened 6 years ago

derhuerst commented 6 years ago
cat 2018-01-29/shapes.txt | grep '^11039'
11039,53.006660,11.800420,0
11039,53.006180,11.800640,1
11039,53.006050,11.800780,2
11039,53.005970,11.801430,3
11039,53.005840,11.801770,4
11039,53.005570,11.802090,5
11039,53.005380,11.801790,6
11039,53.005250,11.801670,7
11039,53.005020,11.801540,8
11039,53.004140,11.801139,9
11039,53.004140,11.801155,10
11039,53.004123,11.801156,11
11039,53.004141,11.801156,12
11039,53.004152,11.801886,13
11039,53.004170,11.802348,14
11039,53.004099,11.802944,15
11039,53.003940,11.804166,16
11039,53.003913,11.804658,17
11039,53.003860,11.805194,18
11039,53.003844,11.805835,19
11039,53.003827,11.806520,20
11039,53.003845,11.806520,21
11039,53.003845,11.806520,22
11039,53.003818,11.806773,23
11039,53.003856,11.808084,24
11039,53.003994,11.809946,25
11039,53.004131,11.811613,26
11039,53.004276,11.812253,27
11039,53.004511,11.812803,28
11039,53.004727,11.813309,29
11039,53.005331,11.814617,30
11039,53.005773,11.815584,31
11039,53.005944,11.815955,32
11039,53.006089,11.816446,33
11039,53.006134,11.816685,34
11039,53.006143,11.816923,35
11039,53.006117,11.817206,36
11039,53.005966,11.818369,37
11039,53.005975,11.818369,38
11039,53.005975,11.818369,39
11039,53.005886,11.818965,40
11039,53.005370,11.822334,41
11039,53.005156,11.823720,42
11039,53.005183,11.823735,43
11039,53.005183,11.823735,44
11039,53.004310,11.829041,45
11039,53.004079,11.830457,46
11039,53.003963,11.830890,47
11039,53.003891,11.831158,48
11039,53.003792,11.831382,49
11039,53.003559,11.831741,50
11039,53.002241,11.833831,51
11039,53.000959,11.835877,52
11039,53.000780,11.836071,53
11039,53.000663,11.836191,54
11039,53.000520,11.836310,55
11039,52.999622,11.836820,56
11039,52.996883,11.838290,57
11039,52.993839,11.839984,58
11039,52.993444,11.840209,59
11039,52.993157,11.840344,60
11039,52.993103,11.840449,61
11039,52.993013,11.840732,62
11039,52.992952,11.841879,63
11039,52.992952,11.841879,64
11039,52.993015,11.841879,65
11039,52.993024,11.842132,66
11039,52.993007,11.842385,67
11039,52.992964,11.843904,68
11039,52.992928,11.844321,69
11039,52.992839,11.844813,70
11039,52.992400,11.846170,71
11039,52.991989,11.847318,72
11039,52.991621,11.848317,73
11039,52.990914,11.850404,74
11039,52.990637,11.851209,75
11039,52.989697,11.854057,76
11039,52.989643,11.854310,77
11039,52.989527,11.855204,78
11039,52.989527,11.855204,79
11039,52.989536,11.855204,80
11039,52.988513,11.864127,81
11039,52.988388,11.864589,82
11039,52.987662,11.866453,83
11039,52.987250,11.867422,84
11039,52.986990,11.867929,85
11039,52.986730,11.868332,86
11039,52.986533,11.868615,87
11039,52.986236,11.868944,88
11039,52.985895,11.869243,89
11039,52.985886,11.869243,90
11039,52.985617,11.869437,91
11039,52.985419,11.869557,92
11039,52.985222,11.869647,93
11039,52.985033,11.869707,94
11039,52.984728,11.869797,95
11039,52.983937,11.869874,96
11039,52.982715,11.869997,97
11039,52.982715,11.870086,98
11039,52.981843,11.870074,99
11039,52.976722,11.870610,100
11039,52.976327,11.870566,101
11039,52.974446,11.868160,102
11039,52.972537,11.864623,103
11039,52.971790,11.863256,104
11039,52.969457,11.858783,105
11039,52.969340,11.858620,106
11039,52.968018,11.857434,107
11039,52.967037,11.856514,108
11039,52.966659,11.856158,109
11039,52.966174,11.855743,110
11039,52.966039,11.855744,111
11039,52.965814,11.855744,112
11039,52.965293,11.855865,113
11039,52.965131,11.855970,114
11039,52.964827,11.856387,115
11039,52.964755,11.856358,116
11039,52.964755,11.856358,117
11039,52.963208,-156.136961,118 <------- WAT
11039,52.963208,-156.136961,119 <------- WAT
11039,52.957482,11.920174,120
11039,52.957482,11.920174,121
11039,52.956439,11.919432,122
11039,52.957581,11.920218,123
11039,52.957922,11.920456,124
11039,52.957878,11.921765,125
11039,52.957682,11.924533,126
11039,52.957218,11.928790,127
11039,52.957021,11.930814,128
11039,52.956682,11.935308,129
11039,52.956628,11.935695,130
11039,52.956467,11.937183,131
11039,52.956414,11.937779,132
11039,52.956173,11.940725,133
11039,52.956164,11.940993,134
11039,52.956146,11.941395,135
11039,52.956039,11.942005,136
11039,52.956039,11.942005,137
11039,52.955644,11.944252,138
11039,52.955501,11.945056,139
11039,52.955331,11.945994,140
11039,52.954990,11.948181,141
11039,52.954980,11.948224,142
11039,52.955019,11.948248,143
11039,52.955155,11.948303,144
11039,52.955645,11.948460,145
11039,52.956036,11.948496,146
11039,52.956231,11.948483,147
11039,52.956390,11.948495,148
11039,52.956595,11.948571,149
11039,52.957200,11.948910,150
11039,52.957350,11.949042,151
11039,52.957482,11.949184,152
11039,52.957681,11.949422,153
11039,52.957688,11.949416,154
11039,52.957687,11.949414,155
11039,52.958024,11.948966,156
11039,52.958189,11.948952,157
11039,52.958189,11.948937,158
11039,52.958415,11.948933,159
11039,52.958797,11.948871,160
11039,52.959174,11.948833,161
11039,52.959351,11.948766,162
11039,52.959829,11.949239,163
11039,52.959963,11.949243,164
11039,52.960139,11.949455,165

Let's look up which route of which operator this shape belongs to:

cat 2018-01-29/trips.txt | head -n 1
cat 2018-01-29/trips.txt | grep ,11039,
"route_id","service_id","trip_id","trip_headsign","trip_short_name","direction_id","block_id","shape_id","wheelchair_accessible","bikes_allowed"
17849_3,1872,83865201,"Bahnhof","",0,2320,11039,0,0
cat 2018-01-29/routes.txt | head -n 1
cat 2018-01-29/routes.txt | grep '^17849_3'
"route_id","agency_id","route_short_name","route_long_name","route_type","route_color","route_text_color","route_desc"
17849_3,816,"958","",3,"","",""
cat 2018-01-29/agency.txt | head -n 1
cat 2018-01-29/agency.txt | grep '^816,'
"agency_id","agency_name","agency_url","agency_timezone","agency_lang","agency_phone"
816,"prignitzbus","http://www.prignitz-bus.de","Europe/Berlin","de",""
derhuerst commented 6 years ago

Okay, so there is a line 17849_3 by "prignitzbus" that has a trip 83865201 which briefly leaves Europe.

derhuerst commented 6 years ago

Turns out there are more shapes:

11039 – [112].lon is lower than 5
11050 – [44].lon is lower than 5
11062 – [44].lon is lower than 5
11063 – [44].lon is lower than 5
11064 – [44].lon is lower than 5
11065 – [44].lon is lower than 5
11068 – [44].lon is lower than 5
11072 – [69].lon is lower than 5
11075 – [195].lon is lower than 5
11347 – [135].lon is lower than 5
11361 – [263].lon is lower than 5
derhuerst commented 6 years ago

With the latest data:

11477 – Z2kKbbl[135].lon is lower than 5
11491 – Z1hF70u[263].lon is lower than 5
11495 – 3jQ2E[112].lon is lower than 5
11506 – 29X5gL[44].lon is lower than 5
11560 – CPzjv[44].lon is lower than 5
11561 – BxsSU[44].lon is lower than 5
11562 – 24jpE9[44].lon is lower than 5
11563 – 2w71BJ[44].lon is lower than 5
11566 – 1Mkueu[44].lon is lower than 5
11570 – Ze8uqy[69].lon is lower than 5
11573 – Z1xNV3w[195].lon is lower than 5