Skip to main content

在笔记本中使用 ArcGIS API for Python

ArcGIS API for Python 将提供库,以编程方式执行 GIS 可视化和分析、空间数据管理以及 GIS 系统管理任务。 它可以以脚本或交互式笔记本格式运行,例如由 ArcGIS Notebooks 提供支持的托管 Python 笔记本。

有关 API 的完整介绍,请参阅其 文档 。

ArcGIS API for Python 入门

要在笔记本中使用 API,首先要通过运行以下单元格来导入库。 该单元格包含于默认 notebook 模板中。

from arcgis.gis import GIS

查看 ArcGIS Notebooks 随附的 示例 notebook ,了解如何在您自己的 notebook 中使用 ArcGIS API for Python。