Skip to content

Commit

Permalink
new counts format for v1.1 (car and freight counts in 1 single file)
Browse files Browse the repository at this point in the history
  • Loading branch information
simei94 committed Jun 17, 2024
1 parent 99bd8c8 commit be73176
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
20 changes: 5 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

N := lausitz
V := v1.0
V := v1.1
CRS := EPSG:25832
JAR := matsim-$(N)-*.jar

Expand All @@ -18,16 +18,6 @@ sc := java -Xmx$(MEMORY) -XX:+UseParallelGC -jar $(JAR)

.PHONY: prepare

# Bast count data
input/2019_A_S.zip:
curl https://www.bast.de/videos/2019_A_S.zip -o $@

input/2019_B_S.zip:
curl https://www.bast.de/videos/2019_B_S.zip -o $@

input/Jawe2019.csv:
curl "https://www.bast.de/DE/Verkehrstechnik/Fachthemen/v2-verkehrszaehlung/Daten/2019_1/Jawe2019.csv?view=renderTcDataExportCSV&cms_strTyp=A" -o $@

input/network.osm: $(NETWORK)

# retrieve detailed network (see param highway) from OSM
Expand Down Expand Up @@ -165,13 +155,13 @@ input/$V/$N-$V-100pct.plans-initial.xml.gz: input/plans-longHaulFreight.xml.gz i
--samples 0.25 0.1 0.01\

# create matsim counts file
input/$V/$N-$V-counts-bast.xml.gz: input/2019_A_S.zip input/2019_B_S.zip input/Jawe2019.csv input/$V/$N-$V-network-with-pt.xml.gz
input/$V/$N-$V-counts-bast.xml.gz: input/$V/$N-$V-network-with-pt.xml.gz

$(sc) prepare counts-from-bast\
--network input/$V/$N-$V-network-with-pt.xml.gz\
--motorway-data input/2019_A_S.zip\
--primary-data input/2019_B_S.zip\
--station-data input/Jawe2019.csv\
--motorway-data $(germany)/bast-counts/2019/2019_A_S.zip\
--primary-data $(germany)/bast-counts/2019/2019_B_S.zip\
--station-data $(germany)/bast-counts/2019/Jawe2019.csv\
--year 2019\
--shp input/shp/lausitz.shp --shp-crs $(CRS)\
--output $@
Expand Down
2 changes: 1 addition & 1 deletion input/v1.1/lausitz-v1.1-10pct.config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
</module>

<module name="counts">
<param name="inputCountsFile" value="https://svn.vsp.tu-berlin.de/repos/public-svn/matsim/scenarios/countries/de/lausitz/input/v1.0/lausitz-v1.0-counts-car-bast.xml.gz"/>
<param name="inputCountsFile" value="https://svn.vsp.tu-berlin.de/repos/public-svn/matsim/scenarios/countries/de/lausitz/input/v1.1/lausitz-v1.1-counts-bast.xml.gz"/>
</module>

<module name="routing">
Expand Down

0 comments on commit be73176

Please sign in to comment.