-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #809 from CanalTP/upgrade_to_ntfs_0.12
[feature] upgrade to ntfs 0.12
- Loading branch information
Showing
25 changed files
with
176 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
authors = ["Kisio Digital <[email protected]>", "Guillaume Pinot <[email protected]>"] | ||
name = "transit_model" | ||
version = "0.40.1" | ||
version = "0.41.0" | ||
license = "AGPL-3.0-only" | ||
description = "Transit data management" | ||
repository = "https://github.com/CanalTP/transit_model" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
stop_id,stop_name,stop_code,visible,fare_zone_id,stop_lon,stop_lat,location_type,parent_station,stop_timezone,geometry_id,equipment_id,level_id,platform_code | ||
ME:stop:11,pouet,,1,,2.372987,48.844746,0,ME:stoparea:1,,,ME:WINTER:0,ME:1,A | ||
ME:stop:22,pouet,,1,,2.372987,48.844746,0,ME:stoparea:1,,,,, | ||
ME:stop:31,pouet,,1,,2.372987,48.844746,0,ME:stoparea:1,,,,, | ||
ME:stop:32,pouet,,1,,2.372987,48.844746,0,ME:stoparea:1,,,,, | ||
ME:stop:33,pouet,,1,,2.372987,48.844746,0,ME:stoparea:1,,,,, | ||
ME:stop:51,pouet,,1,,2.372987,48.844746,0,ME:stoparea:1,,,,, | ||
ME:stop:52,pouet,,1,,2.372987,48.844746,0,ME:stoparea:3,,,,, | ||
ME:stop:53,pouet,,1,,2.372987,48.844746,0,ME:stoparea:3,,,,, | ||
ME:stop:61,pouet,,1,,2.372987,48.844746,0,ME:stoparea:1,,,,, | ||
ME:stoparea:1,plop,,1,,2.372987,48.844746,1,,,,,, | ||
ME:stoparea:3,small stop,,1,,2.372987,48.844746,1,,,,,, | ||
ME:boarding:1,Boarding 1,,0,,2.37299,48.844749,5,ME:stop:11,,,,ME:1, | ||
ME:boarding:2,Boarding 2,,0,,,,5,ME:stop:11,,,,ME:1, | ||
ME:entrance:1,Entrance 1,,0,,2.372988,48.844747,3,ME:stoparea:1,,,,ME:0, | ||
ME:node:1,Node 1,,0,,2.372989,48.844748,4,ME:stoparea:2,,,,ME:0, | ||
ME:node:2,Node 2,,0,,,,4,ME:stoparea:2,,,,ME:0, | ||
stop_id,stop_name,stop_code,visible,fare_zone_id,stop_lon,stop_lat,location_type,parent_station,stop_timezone,geometry_id,equipment_id,level_id,platform_code,address_id | ||
ME:stop:11,pouet,,1,,2.372987,48.844746,0,ME:stoparea:1,,,ME:WINTER:0,ME:1,A, | ||
ME:stop:22,pouet,,1,,2.372987,48.844746,0,ME:stoparea:1,,,,,, | ||
ME:stop:31,pouet,,1,,2.372987,48.844746,0,ME:stoparea:1,,,,,, | ||
ME:stop:32,pouet,,1,,2.372987,48.844746,0,ME:stoparea:1,,,,,, | ||
ME:stop:33,pouet,,1,,2.372987,48.844746,0,ME:stoparea:1,,,,,, | ||
ME:stop:51,pouet,,1,,2.372987,48.844746,0,ME:stoparea:1,,,,,, | ||
ME:stop:52,pouet,,1,,2.372987,48.844746,0,ME:stoparea:3,,,,,, | ||
ME:stop:53,pouet,,1,,2.372987,48.844746,0,ME:stoparea:3,,,,,, | ||
ME:stop:61,pouet,,1,,2.372987,48.844746,0,ME:stoparea:1,,,,,, | ||
ME:stoparea:1,plop,,1,,2.372987,48.844746,1,,,,,,, | ||
ME:stoparea:3,small stop,,1,,2.372987,48.844746,1,,,,,,, | ||
ME:boarding:1,Boarding 1,,0,,2.37299,48.844749,5,ME:stop:11,,,,ME:1,, | ||
ME:boarding:2,Boarding 2,,0,,,,5,ME:stop:11,,,,ME:1,, | ||
ME:entrance:1,Entrance 1,,0,,2.372988,48.844747,3,ME:stoparea:1,,,,ME:0,, | ||
ME:node:1,Node 1,,0,,2.372989,48.844748,4,ME:stoparea:2,,,,ME:0,, | ||
ME:node:2,Node 2,,0,,,,4,ME:stoparea:2,,,,ME:0,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
stop_id,stop_name,stop_code,visible,fare_zone_id,stop_lon,stop_lat,location_type,parent_station,stop_timezone,geometry_id,equipment_id,level_id,platform_code | ||
stop:11,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:22,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:31,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:32,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:33,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:51,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:52,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:53,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:61,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stoparea:1,plop,,1,,2.372987,48.844746,1,,,,,, | ||
stop_id,stop_name,stop_code,visible,fare_zone_id,stop_lon,stop_lat,location_type,parent_station,stop_timezone,geometry_id,equipment_id,level_id,platform_code,address_id | ||
stop:11,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:22,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:31,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:32,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:33,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:51,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:52,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:53,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:61,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stoparea:1,plop,,1,,2.372987,48.844746,1,,,,,,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
stop_id,stop_name,stop_code,visible,fare_zone_id,stop_lon,stop_lat,location_type,parent_station,stop_timezone,geometry_id,equipment_id,level_id,platform_code | ||
stop:31,pouet,stopcode:31,1,,2.372987,48.844746,0,stoparea:1,,,,level2, | ||
stop:33,pouet,stopcode:33,1,,2.372987,48.844746,0,stoparea:1,,,,level4, | ||
stoparea:1,plop,,1,,2.372987,48.844746,1,,,,,level1, | ||
stop_id,stop_name,stop_code,visible,fare_zone_id,stop_lon,stop_lat,location_type,parent_station,stop_timezone,geometry_id,equipment_id,level_id,platform_code,address_id | ||
stop:31,pouet,stopcode:31,1,,2.372987,48.844746,0,stoparea:1,,,,level2,, | ||
stop:33,pouet,stopcode:33,1,,2.372987,48.844746,0,stoparea:1,,,,level4,, | ||
stoparea:1,plop,,1,,2.372987,48.844746,1,,,,,level1,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 11 additions & 11 deletions
22
tests/fixtures/gtfs2ntfs/routes_comments/output/stops.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
stop_id,stop_name,stop_code,visible,fare_zone_id,stop_lon,stop_lat,location_type,parent_station,stop_timezone,geometry_id,equipment_id,level_id,platform_code | ||
stop:11,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:22,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:31,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:32,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:33,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:51,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:52,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:53,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:61,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stoparea:1,plop,,1,,2.372987,48.844746,1,,,,,, | ||
stop_id,stop_name,stop_code,visible,fare_zone_id,stop_lon,stop_lat,location_type,parent_station,stop_timezone,geometry_id,equipment_id,level_id,platform_code,address_id | ||
stop:11,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:22,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:31,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:32,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:33,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:51,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:52,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:53,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:61,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stoparea:1,plop,,1,,2.372987,48.844746,1,,,,,,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 11 additions & 11 deletions
22
tests/fixtures/gtfs2ntfs/routes_comments/output_as_lines/stops.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
stop_id,stop_name,stop_code,visible,fare_zone_id,stop_lon,stop_lat,location_type,parent_station,stop_timezone,geometry_id,equipment_id,level_id,platform_code | ||
stop:11,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:22,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:31,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:32,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:33,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:51,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:52,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:53,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stop:61,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,, | ||
stoparea:1,plop,,1,,2.372987,48.844746,1,,,,,, | ||
stop_id,stop_name,stop_code,visible,fare_zone_id,stop_lon,stop_lat,location_type,parent_station,stop_timezone,geometry_id,equipment_id,level_id,platform_code,address_id | ||
stop:11,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:22,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:31,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:32,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:33,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:51,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:52,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:53,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stop:61,pouet,,1,,2.372987,48.844746,0,stoparea:1,,,,,, | ||
stoparea:1,plop,,1,,2.372987,48.844746,1,,,,,,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
address_id,street_name,house_number | ||
1,rue de Bercy,Face au 9 | ||
2,nation, | ||
3,boulevard Montparnasse,23 | ||
4,must be sanitized, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
stop_id,stop_name,stop_lat,stop_lon,location_type,parent_station | ||
GDL,Gare de Lyon,48.844746,2.372987,1, | ||
GDLR,Gare de Lyon (RER),48.844746,2.372987,0,GDL | ||
GDLM,Gare de Lyon (Metro),48.844746,2.372987,,GDL | ||
GDLB,Gare de Lyon (Bus),48.844746,2.372987,,GDL | ||
NAT,Nation,48.84849,2.396497,1, | ||
NATR,Nation (RER),48.84849,2.396497,0,NAT | ||
NATM,Nation (Metro),48.84849,2.396497,,NAT | ||
CDG,Charles de Gaulle,48.873965,2.295354,1, | ||
CDGR,Charles de Gaulle (RER),48.873965,2.295354,0,CDG | ||
CDGM,Charles de Gaulle (Metro),48.973965,2.795354,,CDG | ||
DEF,La Défense,48.891737,2.238964,1, | ||
DEFR,La Défense (RER),48.891737,2.238964,0,DEF | ||
CHA,Châtelet,48.858137,2.348145,1, | ||
CHAM,Châtelet (Metro),48.858137,2.348145,0,CHA | ||
MTP,Montparnasse,48.842481,2.321783,1, | ||
MTPB,Montparnasse (Bus),48.842481,2.321783,0,MTP | ||
MTPZ,Montparnasse Zone,48.842481,2.321783,2, | ||
CDGZ,Charles de Gaulle Zone,48.842481,2.321783,2, | ||
stop_id,stop_name,stop_lat,stop_lon,location_type,parent_station,address_id | ||
GDL,Gare de Lyon,48.844746,2.372987,1,, | ||
GDLR,Gare de Lyon (RER),48.844746,2.372987,0,GDL,1 | ||
GDLM,Gare de Lyon (Metro),48.844746,2.372987,,GDL, | ||
GDLB,Gare de Lyon (Bus),48.844746,2.372987,,GDL, | ||
NAT,Nation,48.84849,2.396497,1,, | ||
NATR,Nation (RER),48.84849,2.396497,0,NAT,2 | ||
NATM,Nation (Metro),48.84849,2.396497,,NAT, | ||
CDG,Charles de Gaulle,48.873965,2.295354,1,, | ||
CDGR,Charles de Gaulle (RER),48.873965,2.295354,0,CDG, | ||
CDGM,Charles de Gaulle (Metro),48.973965,2.795354,,CDG, | ||
DEF,La Défense,48.891737,2.238964,1,, | ||
DEFR,La Défense (RER),48.891737,2.238964,0,DEF, | ||
CHA,Châtelet,48.858137,2.348145,1,, | ||
CHAM,Châtelet (Metro),48.858137,2.348145,0,CHA, | ||
MTP,Montparnasse,48.842481,2.321783,1,, | ||
MTPB,Montparnasse (Bus),48.842481,2.321783,0,MTP,3 | ||
MTPZ,Montparnasse Zone,48.842481,2.321783,2,, | ||
CDGZ,Charles de Gaulle Zone,48.842481,2.321783,2,, | ||
FOO,Sanitized,48.842481,2.321783,1,,,4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
stop_id,stop_name,stop_code,visible,fare_zone_id,stop_lon,stop_lat,location_type,parent_station,stop_timezone,geometry_id,equipment_id,level_id,platform_code | ||
sp:1,Point 1,,1,,2.37,48.84,0,sa:1,,,,, | ||
sp:2,Point 2,,1,,2.37,48.84,0,sa:1,,,,, | ||
sp:4,Point 4,,1,,2.37,48.84,0,sa:2,,,,, | ||
sa:1,Area 1,,1,,2.37,48.84,1,,,,,, | ||
sa:2,Area 2,,1,,2.37,48.84,1,,,,,, | ||
stop_id,stop_name,stop_code,visible,fare_zone_id,stop_lon,stop_lat,location_type,parent_station,stop_timezone,geometry_id,equipment_id,level_id,platform_code,address_id | ||
sp:1,Point 1,,1,,2.37,48.84,0,sa:1,,,,,, | ||
sp:2,Point 2,,1,,2.37,48.84,0,sa:1,,,,,, | ||
sp:4,Point 4,,1,,2.37,48.84,0,sa:2,,,,,, | ||
sa:1,Area 1,,1,,2.37,48.84,1,,,,,,, | ||
sa:2,Area 2,,1,,2.37,48.84,1,,,,,,, |
Oops, something went wrong.