Skip to content

Commit 8ff7e47

Browse files
author
Sandeep Kumar
committed
incorporated changes
1 parent b626548 commit 8ff7e47

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

guide/05-working-with-the-spatially-enabled-dataframe/introduction-to-the-spatially-enabled-dataframe.ipynb

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,22 +1289,6 @@
12891289
"> The ArcGIS API for Python installs on all `macOS` and `Linux` machines, as well as those `Windows` machines not using Python interpreters that have access to `ArcPy` will only be able to write out to shapefile format with the `to_featureclass` method. Writing to file geodatabases requires the `ArcPy` site-package."
12901290
]
12911291
},
1292-
{
1293-
"cell_type": "markdown",
1294-
"metadata": {},
1295-
"source": [
1296-
"#### Example: Export dataset to a featureclass in FileGDB:"
1297-
]
1298-
},
1299-
{
1300-
"cell_type": "code",
1301-
"execution_count": 23,
1302-
"metadata": {},
1303-
"outputs": [],
1304-
"source": [
1305-
"sdf.spatial.to_featureclass(location=r\"c:\\output_examples\\census.gdb\\cities\");"
1306-
]
1307-
},
13081292
{
13091293
"cell_type": "markdown",
13101294
"metadata": {},
@@ -1352,6 +1336,22 @@
13521336
"sdf[columns].head().spatial.to_featureclass(location=r\"/path/to/your/data/directory/sdf_head_output.shp\")"
13531337
]
13541338
},
1339+
{
1340+
"cell_type": "markdown",
1341+
"metadata": {},
1342+
"source": [
1343+
"#### Example: Export dataset to a featureclass in FileGDB:"
1344+
]
1345+
},
1346+
{
1347+
"cell_type": "code",
1348+
"execution_count": 23,
1349+
"metadata": {},
1350+
"outputs": [],
1351+
"source": [
1352+
"sdf.spatial.to_featureclass(location=r\"c:\\output_examples\\census.gdb\\cities\");"
1353+
]
1354+
},
13551355
{
13561356
"cell_type": "markdown",
13571357
"metadata": {},
@@ -1365,40 +1365,40 @@
13651365
},
13661366
{
13671367
"cell_type": "code",
1368-
"execution_count": 9,
1368+
"execution_count": 7,
13691369
"metadata": {},
13701370
"outputs": [
13711371
{
13721372
"data": {
13731373
"text/html": [
13741374
"<div class=\"item_container\" style=\"height: auto; overflow: hidden; border: 1px solid #cfcfcf; border-radius: 2px; background: #f6fafa; line-height: 1.21429em; padding: 10px;\">\n",
13751375
" <div class=\"item_left\" style=\"width: 210px; float: left;\">\n",
1376-
" <a href='https://deldev.maps.arcgis.com/home/item.html?id=34522a1267904b9c9c5ad1be2e5e97af' target='_blank'>\n",
1376+
" <a href='https://geosaurus.maps.arcgis.com/home/item.html?id=95455c26d51d4fcaaf4cb88cfe7d5293' target='_blank'>\n",
13771377
" <img src='http://static.arcgis.com/images/desktopapp.png' class=\"itemThumbnail\">\n",
13781378
" </a>\n",
13791379
" </div>\n",
13801380
"\n",
13811381
" <div class=\"item_right\" style=\"float: none; width: auto; overflow: hidden;\">\n",
1382-
" <a href='https://deldev.maps.arcgis.com/home/item.html?id=34522a1267904b9c9c5ad1be2e5e97af' target='_blank'><b>cities</b>\n",
1382+
" <a href='https://geosaurus.maps.arcgis.com/home/item.html?id=95455c26d51d4fcaaf4cb88cfe7d5293' target='_blank'><b>census_cities</b>\n",
13831383
" </a>\n",
1384-
" <br/><img src='https://deldev.maps.arcgis.com/home/js/jsapi/esri/css/images/item_type_icons/featureshosted16.png' style=\"vertical-align:middle;\">Feature Layer Collection by demos_deldev\n",
1385-
" <br/>Last Modified: September 05, 2019\n",
1384+
" <br/><img src='https://geosaurus.maps.arcgis.com/home/js/jsapi/esri/css/images/item_type_icons/featureshosted16.png' style=\"vertical-align:middle;\">Feature Layer Collection by api_data_owner\n",
1385+
" <br/>Last Modified: September 11, 2019\n",
13861386
" <br/>0 comments, 0 views\n",
13871387
" </div>\n",
13881388
" </div>\n",
13891389
" "
13901390
],
13911391
"text/plain": [
1392-
"<Item title:\"cities\" type:Feature Layer Collection owner:demos_deldev>"
1392+
"<Item title:\"census_cities\" type:Feature Layer Collection owner:api_data_owner>"
13931393
]
13941394
},
1395-
"execution_count": 9,
1395+
"execution_count": 7,
13961396
"metadata": {},
13971397
"output_type": "execute_result"
13981398
}
13991399
],
14001400
"source": [
1401-
"lyr = sdf.spatial.to_featurelayer('cities', folder='census')\n",
1401+
"lyr = sdf.spatial.to_featurelayer('census_cities', folder='census')\n",
14021402
"lyr"
14031403
]
14041404
},

0 commit comments

Comments
 (0)