cboettig commited on
Commit
58f1141
Β·
1 Parent(s): 19d03d3
Files changed (1) hide show
  1. pages/2_πŸ“Š_Chart_Demo.py +20 -3
pages/2_πŸ“Š_Chart_Demo.py CHANGED
@@ -10,8 +10,8 @@ import geopandas as gpd
10
  import pandas as pd
11
  from shapely import wkb
12
 
13
- st.set_page_config(page_title="Protected Areas Database Chat", page_icon="🦜", layout="wide")
14
- st.title("Protected Areas Database Chat")
15
 
16
  ## Database connection, reading directly from remote parquet file
17
  from sqlalchemy import create_engine
@@ -125,11 +125,28 @@ main = st.container()
125
  with main:
126
 
127
  '''
128
- ##### Example Queries returning summary tables
 
 
 
 
 
 
 
 
 
 
 
 
 
129
 
130
  - gap 1, 2, 3 are labelled 'conserved lands' and gap 4 is labeled 'other'
131
  - exclude gap 4, include only Federal manager types, labelled by manager_name
132
  - label gap 1, 2 as "permanently protected", label gap 3 as "additional conserved area", and gap 4 as other
 
 
 
 
133
 
134
 
135
 
 
10
  import pandas as pd
11
  from shapely import wkb
12
 
13
+ st.set_page_config(page_title="Explore US Protected Areas", page_icon="🦜", layout="wide")
14
+ st.title("Explore US Protected Areas")
15
 
16
  ## Database connection, reading directly from remote parquet file
17
  from sqlalchemy import create_engine
 
125
  with main:
126
 
127
  '''
128
+ The US [recently announced](https://www.conservation.gov/pages/america-the-beautiful-initiative) the first-ever national goal to conserve at least 30 percent of our lands and waters by the year 2030.
129
+ But which 30%?
130
+
131
+ Protected areas span a range of "GAP" areas [indicating the degree of protection](https://www.protectedlands.net/uses-of-pad-us/#conservation-of-biodiversity-2). Protected areas include not only owned or "fee"-based parcels such as National Parks and Monuments,
132
+ but also "easements" (see [feature classes](https://www.protectedlands.net/pad-us-technical-how-tos/#feature-classes-in-pad-us-2))
133
+
134
+ - GAP 1: Managed for biodiversity with natural disturbance events allowed (for example, Wilderness, Research Natural Areas, some National Parks, some State or NGO Nature Preserves)
135
+ - GAP 2: Managed for biodiversity with management that may interfere with natural processes (for example, suppress wildfire or flood)
136
+ - GAP 3: Permanent protection, but the land is subject to multiple uses (forestry, farming, intensive recreation, etc.
137
+ - GAP 4: No known institutional mandates to prevent conversion of natural habitat types
138
+
139
+ Use the chat tool below to specify your own groupings of the data and see how they compare.
140
+
141
+ ##### Try these example queries:
142
 
143
  - gap 1, 2, 3 are labelled 'conserved lands' and gap 4 is labeled 'other'
144
  - exclude gap 4, include only Federal manager types, labelled by manager_name
145
  - label gap 1, 2 as "permanently protected", label gap 3 as "additional conserved area", and gap 4 as other
146
+ - label gap 1, 2 areas in category ="Easements" as "protected easements", gap 1,2 category="Fee" as "protected areas", gap 3 easements as "mixed use easements", gap 3 Fee as "mixed use lands". exclude gap 4.
147
+
148
+
149
+
150
 
151
 
152