change ownership for freeway layer
},
{
"cell_type": "code",
- "execution_count": null,
- "metadata": {
- "collapsed": true
- },
+ "execution_count": 1,
+ "metadata": {},
"outputs": [],
"source": [
"from arcgis.gis import *\n",
},
{
"cell_type": "code",
- "execution_count": null,
- "metadata": {
- "collapsed": true
+ "execution_count": 2,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "application/vnd.jupyter.widget-view+json": {
+ "model_id": "d86ddedee4254428a8effa949a678476",
+ "version_major": 2,
+ "version_minor": 0
},
- "outputs": [],
+ "text/plain": [
+ "MapView(layout=Layout(height='400px', width='100%'))"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "data": {
+ "text/html": [
+ "<div class=\"map-static-img-preview-6fc6b383-f8a1-45cb-8edb-6ac00f4f73ec\"><img src=\"\"></img></div>"
+ ],
+ "text/plain": [
+ "<IPython.core.display.HTML object>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "data": {
+ "text/html": [
+ "<div class=\"map-html-embed-preview-6fc6b383-f8a1-45cb-8edb-6ac00f4f73ec\"></div>"
+ ],
+ "text/plain": [
+ "<IPython.core.display.HTML object>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
"source": [
"map1 = gis.map('USA',3)\n",
"map1"
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
- "[<Item title:\"USA Freeway System\" type:Feature Service owner:esri>]"
+ "[<Item title:\"USA Freeway System\" type:Feature Layer Collection owner:esri_dm>,\n",
+ " <Item title:\"USA Freeway System\" type:Feature Layer Collection owner:esri_dm>]"
]
},
- "execution_count": null,
+ "execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
- "search_result = gis.content.search('title:USA freeway system AND owner:esri', \n",
+ "search_result = gis.content.search('title:USA freeway system AND owner:esri_dm', \n",
" item_type = 'Feature Layer')\n",
"search_result"
]
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.5.2"
+ "version": "3.6.10"
}
},
"nbformat": 4,
