update app.py
Browse files
app.py
CHANGED
@@ -227,7 +227,7 @@ if file_upload is not None:
|
|
227 |
st.stop() # Stop further processing if polygons are detected
|
228 |
|
229 |
# Processing the point data
|
230 |
-
with st.spinner('Processing
|
231 |
if locations_df is not None and not locations_df.empty:
|
232 |
# For GeoJSON data, the coordinates are in the geometry column
|
233 |
if 'geometry' in locations_df.columns:
|
@@ -284,7 +284,7 @@ if file_upload is not None:
|
|
284 |
st.stop() # Stop further processing if point data is detected
|
285 |
|
286 |
# Processing the polygon data
|
287 |
-
with st.spinner('Processing
|
288 |
if locations_df is not None and not locations_df.empty:
|
289 |
# Ensure the 'geometry' column exists in the dataframe
|
290 |
if 'geometry' not in locations_df.columns:
|
|
|
227 |
st.stop() # Stop further processing if polygons are detected
|
228 |
|
229 |
# Processing the point data
|
230 |
+
with st.spinner('Processing Map...'):
|
231 |
if locations_df is not None and not locations_df.empty:
|
232 |
# For GeoJSON data, the coordinates are in the geometry column
|
233 |
if 'geometry' in locations_df.columns:
|
|
|
284 |
st.stop() # Stop further processing if point data is detected
|
285 |
|
286 |
# Processing the polygon data
|
287 |
+
with st.spinner('Processing Map...'):
|
288 |
if locations_df is not None and not locations_df.empty:
|
289 |
# Ensure the 'geometry' column exists in the dataframe
|
290 |
if 'geometry' not in locations_df.columns:
|