Python使用ArcGIS“非类型”对象保存地图不可下标

2024-06-23 18:25:51 发布

您现在位置:Python中文网/ 问答频道 /正文

webmap_properties = {'title':'My first map of badminton courts in HK',
                    'snippet': 'Jupyter notebook saved as a webmap',
                    'tags':['automation', 'python','ArcGIS Notebooks']}
my_first_map.save(webmap_properties)

它说“非类型”对象是不可下标的,我应该怎么做


Tags: ofinmaptitlemyjupyterpropertiessnippet
1条回答
网友
1楼 · 发布于 2024-06-23 18:25:51

你如何申报我的第一张地图

这可能有用

import arcgis
from arcgis.gis import GIS
from arcgis.mapping import WebMap

my_first_map = WebMap()

webmap_properties = {'title':'My first map of badminton courts in HK',
                    'snippet': 'Jupyter notebook saved as a webmap',
                    'tags':['automation', 'python','ArcGIS Notebooks']}

my_first_map.save(item_properties=webmap_properties)

无论如何,以下是一些可能有帮助的例子: https://developers.arcgis.com/python/sample-notebooks/publishing-web-maps-and-web-scenes/

相关问题 更多 >

    热门问题