Skip to content

Commit

Permalink
Reapply "Add initial feeds for the UK"
Browse files Browse the repository at this point in the history
This reverts commit f2d0c93.
  • Loading branch information
jbruechert committed Mar 1, 2024
1 parent 1ac7c6a commit a3a0edc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
16 changes: 16 additions & 0 deletions feeds/uk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"maintainers": [
{
"name": "Jonah Brüchert",
"github": "jbruechert"
}
],
"sources": [
{
"name": "great-britain",
"type": "http",
"url": "https://gtfs.pro/files/uran/improved-gtfs-great-britain.zip",
"fix": true
}
]
}
3 changes: 2 additions & 1 deletion src/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ def postprocess(self, source: Source, path: Path):

output_file_path = str(outdir.absolute() / path.name)

command = ["gtfstidy", str(path.absolute()), "--output", output_file_path]
command = ["gtfstidy", str(path.absolute()), "--check-null-coords",
"--output", output_file_path]
if source.fix:
command.append("--fix")

Expand Down

0 comments on commit a3a0edc

Please sign in to comment.