giswqs commited on
Commit
f9accfc
·
1 Parent(s): 12b4031

Update home page

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. app-bk.py +49 -0
  3. app.py +45 -44
README.md CHANGED
@@ -2,7 +2,7 @@
2
 
3
  A multi-page streamlit app for the geospatial community.
4
 
5
- - Web app: <https://streamlit.geemap.org>
6
  - Source code: <https://github.com/giswqs/streamlit-geospatial>
7
 
8
  ## Real Estate Data and Market Trends
 
2
 
3
  A multi-page streamlit app for the geospatial community.
4
 
5
+ - Web app: <https://geospatial.streamlitapp.com>
6
  - Source code: <https://github.com/giswqs/streamlit-geospatial>
7
 
8
  ## Real Estate Data and Market Trends
app-bk.py ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ from multiapp import MultiApp
3
+ from apps import (
4
+ basemaps,
5
+ census,
6
+ cesium,
7
+ deck,
8
+ device_loc,
9
+ gee,
10
+ gee_datasets,
11
+ heatmap,
12
+ home,
13
+ housing,
14
+ # hurricane,
15
+ plotly_maps,
16
+ raster,
17
+ timelapse,
18
+ vector,
19
+ wms,
20
+ xy,
21
+ )
22
+
23
+ st.set_page_config(layout="wide")
24
+
25
+
26
+ apps = MultiApp()
27
+
28
+ # Add all your application here
29
+
30
+ apps.add_app("Home", home.app)
31
+ apps.add_app("Create Timelapse", timelapse.app)
32
+ # apps.add_app("Hurricane Mapping", hurricane.app)
33
+ apps.add_app("U.S. Real Estate Data", housing.app)
34
+ apps.add_app("U.S. Census Data", census.app)
35
+ apps.add_app("Visualize Raster Data", raster.app)
36
+ apps.add_app("Visualize Vector Data", vector.app)
37
+ apps.add_app("Search Basemaps", basemaps.app)
38
+ apps.add_app("Pydeck Gallery", deck.app)
39
+ apps.add_app("Heatmaps", heatmap.app)
40
+ apps.add_app("Add Points from XY", xy.app)
41
+ apps.add_app("Add Web Map Service (WMS)", wms.app)
42
+ apps.add_app("Google Earth Engine (GEE)", gee.app)
43
+ apps.add_app("Awesome GEE Community Datasets", gee_datasets.app)
44
+ apps.add_app("Geolocation", device_loc.app)
45
+ apps.add_app("Cesium 3D Map", cesium.app)
46
+ apps.add_app("Plotly", plotly_maps.app)
47
+
48
+ # The main app
49
+ apps.run()
app.py CHANGED
@@ -1,49 +1,50 @@
1
  import streamlit as st
2
- from multiapp import MultiApp
3
- from apps import (
4
- basemaps,
5
- census,
6
- cesium,
7
- deck,
8
- device_loc,
9
- gee,
10
- gee_datasets,
11
- heatmap,
12
- home,
13
- housing,
14
- # hurricane,
15
- plotly_maps,
16
- raster,
17
- timelapse,
18
- vector,
19
- wms,
20
- xy,
21
- )
22
 
23
  st.set_page_config(layout="wide")
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
- apps = MultiApp()
27
-
28
- # Add all your application here
29
-
30
- apps.add_app("Home", home.app)
31
- apps.add_app("Create Timelapse", timelapse.app)
32
- # apps.add_app("Hurricane Mapping", hurricane.app)
33
- apps.add_app("U.S. Real Estate Data", housing.app)
34
- apps.add_app("U.S. Census Data", census.app)
35
- apps.add_app("Visualize Raster Data", raster.app)
36
- apps.add_app("Visualize Vector Data", vector.app)
37
- apps.add_app("Search Basemaps", basemaps.app)
38
- apps.add_app("Pydeck Gallery", deck.app)
39
- apps.add_app("Heatmaps", heatmap.app)
40
- apps.add_app("Add Points from XY", xy.app)
41
- apps.add_app("Add Web Map Service (WMS)", wms.app)
42
- apps.add_app("Google Earth Engine (GEE)", gee.app)
43
- apps.add_app("Awesome GEE Community Datasets", gee_datasets.app)
44
- apps.add_app("Geolocation", device_loc.app)
45
- apps.add_app("Cesium 3D Map", cesium.app)
46
- apps.add_app("Plotly", plotly_maps.app)
47
-
48
- # The main app
49
- apps.run()
 
1
  import streamlit as st
2
+ import leafmap.foliumap as leafmap
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
 
4
  st.set_page_config(layout="wide")
5
 
6
+ st.sidebar.title("About")
7
+ st.sidebar.info(
8
+ """
9
+ Web App URL: <https://geospatial.streamlitapp.com>
10
+ GitHub repository: <https://github.com/giswqs/streamlit-geospatial>
11
+ """
12
+ )
13
+
14
+ st.sidebar.title("Contact")
15
+ st.sidebar.info(
16
+ """
17
+ Qiusheng Wu: <https://wetlands.io>
18
+ [GitHub](https://github.com/giswqs) | [Twitter](https://twitter.com/giswqs) | [YouTube](https://www.youtube.com/c/QiushengWu) | [LinkedIn](https://www.linkedin.com/in/qiushengwu)
19
+ """
20
+ )
21
+
22
+ st.title("Streamlit for Geospatial Applications")
23
+
24
+ st.markdown(
25
+ """
26
+ This multi-page web app demonstrates various interactive web apps created using [streamlit](https://streamlit.io) and open-source mapping libraries,
27
+ such as [leafmap](https://leafmap.org), [geemap](https://geemap.org), [pydeck](https://deckgl.readthedocs.io), and [kepler.gl](https://docs.kepler.gl/docs/keplergl-jupyter).
28
+ This is an open-source project and you are very welcome to contribute your comments, questions, resources, and apps as [issues](https://github.com/giswqs/streamlit-geospatial/issues) or
29
+ [pull requests](https://github.com/giswqs/streamlit-geospatial/pulls) to the [GitHub repository](https://github.com/giswqs/streamlit-geospatial).
30
+
31
+ """
32
+ )
33
+
34
+ st.info("Click on the left sidebar menu to navigate to the different apps.")
35
+
36
+ st.subheader("Timelapse of Satellite Imagery")
37
+ st.markdown(
38
+ """
39
+ The following timelapse animations were created using the Timelapse web app. Click `Timelapse` on the left sidebar menu to create your own timelapse for any location around the globe.
40
+ """
41
+ )
42
+
43
+ row1_col1, row1_col2 = st.columns(2)
44
+ with row1_col1:
45
+ st.image("https://github.com/giswqs/data/raw/main/timelapse/spain.gif")
46
+ st.image("https://github.com/giswqs/data/raw/main/timelapse/las_vegas.gif")
47
 
48
+ with row1_col2:
49
+ st.image("https://github.com/giswqs/data/raw/main/timelapse/goes.gif")
50
+ st.image("https://github.com/giswqs/data/raw/main/timelapse/fire.gif")