Skip To Content

在 notebook 中使用 ArcGIS API for Python

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

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

ArcGIS API for Python 入门

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

from arcgis.gis import GIS

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