Skip to content

Commit bdcc848

Browse files
committed
__pycache__ removed and visualize_graphML.py moved
1 parent cb85b91 commit bdcc848

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
*.lib
2828

2929
# Generated Files
30+
__pycache__/
3031
build/.cmake
3132
build/bin
3233
build/Simulator

Tools/gis2graph/visualize_graphML.py renamed to Tools/graphMLVis/visualize_graphML.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import math
99

1010
# Load data from XML
11-
tree = ET.parse('graph_files/King_county_NG911.graphml')
11+
tree = ET.parse('Tools\gis2graph\graph_files\King_county_NG911.graphml')
1212
root = tree.getroot()
1313

1414
# Initialize the network graph
@@ -31,8 +31,8 @@
3131

3232
square_counter = 0
3333

34-
psap_layer = gpd.read_file("GIS_data/Layers/PSAP_layer.gpkg")
35-
provisioning_layer = gpd.read_file("GIS_data/Layers/Provisioning_layer.gpkg")
34+
psap_layer = gpd.read_file("Tools\gis2graph\GIS_data\Layers\PSAP_layer.gpkg")
35+
provisioning_layer = gpd.read_file("Tools\gis2graph\GIS_data\Layers\Provisioning_layer.gpkg")
3636

3737
# create series of boolean values denoting whether geometry is within King County
3838
psap_within_kc = psap_layer.within(provisioning_layer.iloc[21].geometry)

0 commit comments

Comments
 (0)