mattritchey commited on
Commit
f8439e1
·
1 Parent(s): ca58898

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -158,7 +158,8 @@ indicents = list(gdf_cut['Incident'].values)
158
  incident_edge = st.sidebar.selectbox(
159
  'Find Distance to Closest Edge:', indicents)
160
 
161
- gdf_cut[gdf_cut['Incident']==incident_edge]
 
162
  vertices = extract_vertices(gdf_cut[gdf_cut['Incident']==incident_edge])
163
  vertices["Lat_address"] = lat
164
  vertices["Lon_address"] = lon
 
158
  incident_edge = st.sidebar.selectbox(
159
  'Find Distance to Closest Edge:', indicents)
160
 
161
+
162
+ gdf_cut[gdf_cut['Incident']==incident_edge].geometry.apply(lambda x: x.coords)
163
  vertices = extract_vertices(gdf_cut[gdf_cut['Incident']==incident_edge])
164
  vertices["Lat_address"] = lat
165
  vertices["Lon_address"] = lon