Skip to content

Commit

Permalink
update gtfs schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Oct 28, 2024
1 parent c609ce9 commit 1b59768
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ $p/berlin-$V-network.xml.gz: input/sumo.net.xml

$p/berlin-$V-network-with-pt.xml.gz: $p/berlin-$V-network.xml.gz
$(sc) prepare transit-from-gtfs --network $< --output=$p\
--name berlin-$V --date "2024-11-18" --target-crs $(CRS) \
$(germany)/gtfs/complete-pt-2024-10-21.zip\
--name berlin-$V --date "2024-11-19" --target-crs $(CRS) \
$(germany)/gtfs/complete-pt-2024-10-27.zip\
--copy-late-early\
--transform-stops org.matsim.prepare.pt.CorrectStopLocations\
--transform-routes org.matsim.prepare.pt.CorrectRouteTypes\
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/matsim/prepare/pt/CorrectStopLocations.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ public class CorrectStopLocations implements Consumer<Stop> {
public void accept(Stop stop) {

// Harpe, Ort
if (stop.stop_id.equals("240019")) {
if (stop.stop_id.equals("592385")) {
stop.stop_lat = 52.8519613;
stop.stop_lon = 10.8828626;
}

// Quastenberger Damm
if (stop.stop_id.equals("490866")) {
if (stop.stop_id.equals("152719")) {
stop.stop_lat = 53.4978109;
stop.stop_lon = 13.3297704;
}
Expand Down

0 comments on commit 1b59768

Please sign in to comment.