giswqs commited on
Commit
c074aeb
·
1 Parent(s): 4ded1d1

Added support for MapInfo Tab format

Browse files
Files changed (2) hide show
  1. apps/timelapse.py +1 -1
  2. apps/upload.py +3 -2
apps/timelapse.py CHANGED
@@ -38,7 +38,7 @@ def app():
38
  st.markdown("""
39
  An interactive web app for creating timelapse of annual Landsat imagery (1984-2021) for any location around the globe.
40
  The app was built using [streamlit](https://streamlit.io), [geemap](https://geemap.org), and [Google Earth Engine](https://earthengine.google.com).
41
- See a [video demo] (https://youtu.be/VVRK_-dEjR4).
42
  """)
43
 
44
  row1_col1, row1_col2 = st.columns([2, 1])
 
38
  st.markdown("""
39
  An interactive web app for creating timelapse of annual Landsat imagery (1984-2021) for any location around the globe.
40
  The app was built using [streamlit](https://streamlit.io), [geemap](https://geemap.org), and [Google Earth Engine](https://earthengine.google.com).
41
+ See a [video demo](https://youtu.be/VVRK_-dEjR4).
42
  """)
43
 
44
  row1_col1, row1_col2 = st.columns([2, 1])
apps/upload.py CHANGED
@@ -13,7 +13,8 @@ def save_uploaded_file(file_content, file_name):
13
 
14
  _, file_extension = os.path.splitext(file_name)
15
  file_id = str(uuid.uuid4())
16
- file_path = os.path.join(tempfile.gettempdir(), f"{file_id}{file_extension}")
 
17
 
18
  with open(file_path, "wb") as file:
19
  file.write(file_content.getbuffer())
@@ -48,7 +49,7 @@ def app():
48
  )
49
 
50
  data = st.file_uploader(
51
- "Upload a vector dataset", type=["geojson", "kml", "zip"]
52
  )
53
 
54
  container = st.container()
 
13
 
14
  _, file_extension = os.path.splitext(file_name)
15
  file_id = str(uuid.uuid4())
16
+ file_path = os.path.join(tempfile.gettempdir(),
17
+ f"{file_id}{file_extension}")
18
 
19
  with open(file_path, "wb") as file:
20
  file.write(file_content.getbuffer())
 
49
  )
50
 
51
  data = st.file_uploader(
52
+ "Upload a vector dataset", type=["geojson", "kml", "zip", "tab"]
53
  )
54
 
55
  container = st.container()