GIS / app.py
lokeshloki143's picture
Update app.py
2c24e8c verified
import streamlit as st
import time
st.set_page_config(page_title="TerraFusion Studio", layout="wide")
st.markdown("""
<style>
body {
background-color: #0f0f0f;
color: white;
font-family: 'Poppins', sans-serif;
}
.header {
color: #00ff88;
font-weight: bold;
font-size: 32px;
margin-bottom: 10px;
}
.sub-header {
color: #00ffaa;
font-weight: bold;
font-size: 22px;
}
.box {
background-color: #111;
padding: 15px;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0,255,153,0.2);
margin-top: 10px;
}
</style>
""", unsafe_allow_html=True)
st.markdown('<div class="header">πŸ›°οΈ TerraFusion Studio</div>', unsafe_allow_html=True)
st.write("Manage 3D City, Mapping, Powerline, Highway, and other infrastructure projects with Terra products suite.")
col1, col2 = st.columns(2)
with col1:
st.markdown('<div class="sub-header">🌍 Industries</div>', unsafe_allow_html=True)
industries = [
"3D City",
"Mapping",
"Powerline",
"Road and Highway",
"Railway and Tram",
"Water Resources",
"Forest and Parks",
"Mining"
]
for industry in industries:
st.markdown(f"➀ {industry}")
with col2:
st.markdown('<div class="sub-header">βš™οΈ Products</div>', unsafe_allow_html=True)
products = [
"TerraScan",
"TerraModeler",
"TerraMatch",
"TerraPhoto",
"TerraStereo",
"TerraBatch",
"Other Products"
]
for product in products:
st.markdown(f"βœ”οΈ {product}")
st.markdown("---")
st.markdown('<div class="sub-header">πŸ“‚ Upload Work Files</div>', unsafe_allow_html=True)
uploaded_file = st.file_uploader("Upload file (LAS, LAZ, CSV, TIF)", type=["las", "laz", "csv", "tif"])
if uploaded_file:
st.success(f"File '{uploaded_file.name}' uploaded successfully!")
with st.spinner("Processing file..."):
for progress in range(100):
time.sleep(0.01)
st.progress(progress + 1)
st.success("Processing completed!")
st.markdown("---")
st.markdown('<div class="sub-header">⚑ Automated Batch Operation</div>', unsafe_allow_html=True)
st.write("Automate classification, matching, and modeling workflows.")
if st.button("Run Batch Process"):
with st.spinner("Running batch tasks..."):
time.sleep(3)
st.success("Batch processing finished successfully!")
st.markdown("""
<div style='text-align:center; margin-top:40px; color:#888;'>
Built with ❀️ using Streamlit β€” Designed for Geo and Terra Industries
</div>
""", unsafe_allow_html=True)