-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Magical java typing for additional attributes (#124)
* add assuming java types for additional attributes when writing to xml * add assuming python types for additional java-typed attributes when reading from xml * fix lingering dependence on long form attributes * update notebooks with simple form attributes * extra fixes, add dtype param to road pricing to match with OSM ID dtypes * increase code coverage * address PR comments * PR update: enable forcing long form when reading matsim networks * lint
- Loading branch information
Showing
41 changed files
with
14,706 additions
and
13,622 deletions.
There are no files selected for viewing
360 changes: 180 additions & 180 deletions
360
example_data/example_google_speed_data/api_requests_viz.geojson
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
example_data/pt2matsim_network/road_pricing/osm_to_network_ids.json
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 |
---|---|---|
@@ -1 +1 @@ | ||
{"26997928": ["1", "2", "3", "4"], "546461337": ["998", "999"]} | ||
{"26997928.0": ["1", "2", "3", "4"], "546461337.0": ["998", "999"]} |
4 changes: 2 additions & 2 deletions
4
example_data/pt2matsim_network/road_pricing/osm_toll_id_ref.csv
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
osm_id,osm_ref,osm_name | ||
26997928,A400,Charing Cross Road | ||
546461337,A3211,Byward Street | ||
26997928.0,A400,Charing Cross Road | ||
546461337.0,A3211,Byward Street |
4 changes: 2 additions & 2 deletions
4
example_data/pt2matsim_network/road_pricing/osm_tolls_with_network_ids.csv
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
,osm_id,osm_ref,osm_name,network_id,vehicle_type,toll_amount,start_time,end_time | ||
0,26997928,A400,Charing Cross Road,True,type2,2.9,00:00,23:59 | ||
1,546461337,A3211,Byward Street,True,type2,2.9,00:00,23:59 | ||
0,26997928.0,A400,Charing Cross Road,True,type2,2.9,00:00,23:59 | ||
1,546461337.0,A3211,Byward Street,True,type2,2.9,00:00,23:59 |
4 changes: 2 additions & 2 deletions
4
example_data/pt2matsim_network/road_pricing/roadpricing-file.xml
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
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
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
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
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
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
Oops, something went wrong.