add centroid info
Browse files
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)
|