Add viewport to example
This commit is contained in:
parent
48b6afe31d
commit
1f6b05339f
8
main.py
8
main.py
|
@ -25,12 +25,10 @@ try:
|
|||
ConstructionFactory(construction_format, city).enrich()
|
||||
UsageFactory(usage_format, city).enrich()
|
||||
|
||||
# Matsim(city, 'output_files').export()
|
||||
# MatSimEngine('output_files/Montreal_config.xml').run()
|
||||
# MatSimEngine('equil/config.xml').run()
|
||||
Matsim(city, 'output_files').export()
|
||||
MatSimEngine('output_files/Montreal_config.xml').run()
|
||||
|
||||
visualizer = MatsimVisualizer('output_files/Montreal/output_network.xml.gz', 'output_files/Montreal/output_events.xml.gz', 'output_files')
|
||||
# visualizer = MatsimVisualizer('output/output_network.xml.gz', 'output/output_events.xml.gz', 'output_files')
|
||||
visualizer = MatsimVisualizer('output_files/Montreal/output_network.xml.gz', 'output_files/Montreal/output_events.xml.gz', 'output_files', (3827652.8297388176, 6039933.844748944, 3873591.6501221485, 6042487.096594835))
|
||||
visualizer.visualize()
|
||||
|
||||
except Exception as ex:
|
||||
|
|
Loading…
Reference in New Issue
Block a user