diff --git a/Makefile b/Makefile
index dcc73593..d6af49c2 100644
--- a/Makefile
+++ b/Makefile
@@ -75,9 +75,10 @@ input/sumo.net.xml: input/network.osm
--tls.guess-signals true --tls.discard-simple --tls.join --tls.default-type actuated\
--junctions.join --junctions.corner-detail 5\
--roundabouts.guess --remove-edges.isolated\
- --no-internal-links --keep-edges.by-vclass passenger\
- --remove-edges.by-vclass hov,tram,rail,rail_urban,rail_fast,pedestrian,bicycle\
+ --no-internal-links --keep-edges.by-vclass passenger,truck,bicycle\
+ --remove-edges.by-vclass hov,tram,rail,rail_urban,rail_fast,pedestrian\
--output.original-names --output.street-names\
+ --osm.lane-access true --osm.bike-access true\
--proj "+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"\
--osm-files $< -o=$@
@@ -85,7 +86,12 @@ input/sumo.net.xml: input/network.osm
$p/berlin-$V-network.xml.gz: input/sumo.net.xml
$(sc) prepare network-from-sumo $< --target-crs $(CRS) --output $@
- $(sc) prepare clean-network $@ --output $@ --modes car
+ $(sc) prepare clean-network $@ --output $@ --modes car,ride,truck
+
+ $(sc) prepare reproject-network\
+ --input $@ --output $@\
+ --input-crs $(CRS) --target-crs $(CRS)\
+ --mode truck=freight\
$(sc) prepare apply-network-params freespeed capacity\
--network $@ --output $@\
diff --git a/pom.xml b/pom.xml
index 8067ec3e..0544029d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,10 +6,10 @@
matsim-all
-
+ 16.0-PR3185
- 16.0-PR3184
+
4.0.0
@@ -374,7 +374,7 @@
shade
- ${project.basedir}/${project.build.finalName}-${git.commit.id.abbrev}.jar
+ ${project.basedir}/${project.build.finalName}-${git.commit.id.describe}.jar
remapModes;
- @CommandLine.Option(names = "--output-transit", description = "Desired output path", required = true)
- private Path outputTransit;
-
@CommandLine.Mixin
private CrsOptions crs;
@@ -52,9 +45,6 @@ public Integer call() throws Exception {
config.network().setInputFile(input.toString());
config.network().setInputCRS(crs.getInputCRS());
- config.transit().setInputScheduleCRS(crs.getInputCRS());
- config.transit().setTransitScheduleFile(transitSchedule.toString());
-
// Scenario loader does the reprojection for the network
Scenario scenario = ScenarioUtils.loadScenario(config);
@@ -78,10 +68,6 @@ public Integer call() throws Exception {
NetworkUtils.writeNetwork(scenario.getNetwork(), output.toString());
- TransitScheduleWriter writer = new TransitScheduleWriter(scenario.getTransitSchedule());
- writer.writeFile(outputTransit.toString());
-
-
return 0;
}
}