-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
158 additions
and
18 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
647375444 | ||
-647375444 | ||
883834076 | ||
-883834076 | ||
178253966 | ||
-178253966 | ||
936729763 | ||
178253967 | ||
744696593 | ||
-744696593 | ||
374301094#1 | ||
-374301094#1 | ||
178253961#1 | ||
178253972 | ||
178253961#0 | ||
-1060659771 | ||
178253969 | ||
374301096 | ||
-374301096 | ||
1007431595 | ||
-1007431595 | ||
1007431597 | ||
-1007431597 | ||
374301095#0 | ||
374301095#1 | ||
-647375378 | ||
647375378 | ||
682423175 | ||
-647375376 | ||
647375376 | ||
682423176 | ||
-1060659769#1 | ||
1060659769#1 | ||
-883834166 | ||
883834166 | ||
-1060659769#0 | ||
672144104#1 |
Binary file not shown.
27 changes: 27 additions & 0 deletions
27
src/main/java/org/matsim/policies/gartenfeld/CreateGartenfeldNetwork.java
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,27 @@ | ||
package org.matsim.policies.gartenfeld; | ||
|
||
import org.matsim.application.MATSimAppCommand; | ||
import org.matsim.prepare.network.ModifyNetwork; | ||
import picocli.CommandLine; | ||
|
||
@CommandLine.Command(name = "create-gartenfeld-network", description = "Create the network for the Gartenfeld scenario.") | ||
public class CreateGartenfeldNetwork implements MATSimAppCommand { | ||
|
||
public static void main(String[] args) { | ||
new CreateGartenfeldNetwork().execute(args); | ||
} | ||
|
||
@Override | ||
public Integer call() throws Exception { | ||
|
||
new ModifyNetwork().execute( | ||
"--network", "input/v6.3/berlin-v6.3-network-with-pt.xml.gz", | ||
"--remove-links", "input/gartenfeld/DNG_LinksToDelete.txt", | ||
"--shp", "input/gartenfeld/DNG_network.gpkg", | ||
"--output", "input/gartenfeld/gartenfeld-network.xml.gz" | ||
); | ||
|
||
return 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