-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] upgrade to ntfs 0.12 #809
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
b494f0b
add addresses collection, update StopPoint struct
patochectp 141205d
update test
patochectp e9cba17
bump version
patochectp 9c33f76
use referential_prefix instead of schedule_prefix
patochectp e494476
update NTFS_VERSION version
patochectp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also add a new entry in
Model
, something likeIt might be too early to think about adding this. If we don't have a use for it right now, we might just delay the creation of such relation for later.