\n",
@@ -731,8 +727,7 @@
"execution_count": 17,
"metadata": {},
"output_type": "execute_result"
- }
- ],
+ }],
"source": [
"at_risk_facilities = riskinfra.layers[0]\n",
"df = at_risk_facilities.query(as_df=True) # read the returned features as a Pandas dataframe\n",
@@ -748,10 +743,9 @@
},
{
"cell_type": "code",
- "execution_count": 18,
+ "execution_count": null,
"metadata": {},
- "outputs": [
- {
+ "outputs": [{
"data": {
"text/html": [
"
\n",
@@ -847,8 +841,7 @@
"execution_count": 18,
"metadata": {},
"output_type": "execute_result"
- }
- ],
+ }],
"source": [
"# view simplified risk facilities table\n",
"df1_simplified = df[['name', 'cat1', 'post_id']]\n",
@@ -857,7 +850,7 @@
},
{
"cell_type": "code",
- "execution_count": 19,
+ "execution_count": null,
"metadata": {},
"outputs": [],
"source": [
@@ -877,17 +870,9 @@
},
{
"cell_type": "code",
- "execution_count": 20,
+ "execution_count": null,
"metadata": {},
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "\n"
- ]
- }
- ],
+ "outputs": [],
"source": [
"# create new map over aoi\n",
"m2 = gis.map('Los Angeles', 9)\n",
@@ -908,22 +893,22 @@
},
{
"cell_type": "code",
- "execution_count": 21,
+ "execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#add the critical infrastructure layer to the map\n",
- "m2.add_layer(infra)"
+ "m2.content.add(infra)"
]
},
{
"cell_type": "code",
- "execution_count": 22,
+ "execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# add at risk facilities layer to fresh map\n",
- "m2.add_layer(riskinfra)\n",
+ "m2.content.add(riskinfra)\n",
" "
]
},
@@ -938,7 +923,7 @@
},
{
"cell_type": "code",
- "execution_count": 23,
+ "execution_count": 6,
"metadata": {},
"outputs": [
{
@@ -954,9 +939,9 @@
"
\n",
"
LA County Infrastructure At Risk\n",
" \n",
- "
A Web Map with critical infrastructure at risk from fires.
Web Map by api_data_owner\n",
+ "
A Web Map with critical infrastructure at risk from fires.
Web Map by api_data_owner\n",
"
Last Modified: December 20, 2023\n",
- "
0 comments, 5 views\n",
+ "
0 comments, 34 views\n",
"
\n",
"