Zeel commited on
Commit
b206b8c
1 Parent(s): ebfd724

add centroid info

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -226,7 +226,7 @@ if "df" in st.session_state:
226
  st.plotly_chart(fig)
227
 
228
  st.subheader("Visual Inspection")
229
-
230
  cols = st.columns(2)
231
  with cols[0]:
232
  start_date = st.selectbox("Start Date", df.Date, index=0)
 
226
  st.plotly_chart(fig)
227
 
228
  st.subheader("Visual Inspection")
229
+ write_info(f"Centroid of the selected geometry: {selected_shape.geometry.centroid.values[0]}")
230
  cols = st.columns(2)
231
  with cols[0]:
232
  start_date = st.selectbox("Start Date", df.Date, index=0)