Skip to content

Commit

Permalink
tidy bwgesamt before processing further
Browse files Browse the repository at this point in the history
  • Loading branch information
hbruch committed Jun 24, 2024
1 parent c58df45 commit 0641640
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,13 @@ data/gtfs/SPNV-BW.%.filtered.gtfs: data/gtfs/SPNV-BW.raw.gtfs config/gtfs-rules/
$(TRANSFORM) --transform=$(TOOL_CFG)/SPNV-BW.$*.rule $(TOOL_DATA)/SPNV-BW.raw.gtfs $(TOOL_DATA)/$(@F)
./patch_filtered_gtfs.sh "SPNV-BW.$*" "data/gtfs/$(@F)"
touch $@
data/gtfs/bwgesamt.%.filtered.gtfs: data/gtfs/bwgesamt.raw.gtfs config/gtfs-rules/bwgesamt.%.rule
data/gtfs/bwgesamt.tidied.gtfs: data/gtfs/bwgesamt.raw.gtfs
$(info tidying bwgesamt.raw GTFS feed using Patrick Brosi's gtfstidy)
$(GTFSTIDY) --fix -o $(TOOL_DATA)/gtfs/$(@F) $(TOOL_DATA)/gtfs/bwgesamt.raw.gtfs
touch $@
data/gtfs/bwgesamt.%.filtered.gtfs: data/gtfs/bwgesamt.tidied.gtfs config/gtfs-rules/bwgesamt.%.rule
$(info patching bwgesamt.$* GTFS feed using OBA GTFS Transformer & config/gtfs-rules/bwgesamt.$*.rule)
$(TRANSFORM) --transform=$(TOOL_CFG)/bwgesamt.$*.rule $(TOOL_DATA)/bwgesamt.raw.gtfs $(TOOL_DATA)/$(@F)
$(TRANSFORM) --transform=$(TOOL_CFG)/bwgesamt.$*.rule $(TOOL_DATA)/bwgesamt.tidied.gtfs $(TOOL_DATA)/$(@F)
./patch_filtered_gtfs.sh "bwgesamt.$*" "data/gtfs/$(@F)"
touch $@

Expand Down

0 comments on commit 0641640

Please sign in to comment.