ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

面插值图层到面

需要 Geostatistical Analyst 许可。

  • 描述
  • 使用方法
  • 语法
  • 代码示例
  • 环境
  • 许可信息

描述

将面插值图层的预测值重新聚合为一组新面。

了解有关“面插值”的详细信息

使用方法

  • 此工具用于重新聚合面数据。在地统计向导中创建面插值图层之后,此工具会将预测值聚合为一组新面。

  • 可在工作流程中使用此工具,以缩减或扩大面数据,例如通过以邮政编码计数的人口对人口普查区块内的人口进行预测。

  • 输入地统计图层必须是在数据集上执行面插值所得。通过其他插值方法所得的地统计图层无法与此工具结合使用。

  • 输出要素类中的字段可能包括以下内容(如适用):

    • 预测 - 面的预测值。预测值的解释取决于创建面插值地统计图层所使用的数据类型:
      • 平均值(高斯) - 预测面内高斯变量的平均值。
      • 比率(二项式) - 预测具有特定特征的面的人口比例。
      • 事件(过度离散泊松) - 预测面中的计数。如果指定了时间字段,该工具将按照单位时间预测计数。
    • StdError - 面中预测值的标准误差。
    • Included - - 指示能否对面做出稳定的预测。如果无法做出预测,则将有一项描述说明无法做出预测的原因。

语法

arcpy.ga.ArealInterpolationLayerToPolygons(in_areal_interpolation_layer, in_polygon_features, out_feature_class, {append_all_fields})
参数说明数据类型
in_areal_interpolation_layer

由面插值模型生成的输入地统计图层。

Geostatistical Layer
in_polygon_features

预测和标准误差进行聚合的面。

Feature Layer
out_feature_class

包含对新面聚合的预测和标准误差的输出要素类。

Feature Class
append_all_fields
(可选)

确定是否所有字段都将从输入要素复制到输出要素类。

  • ALL — 输入要素的所有字段都将复制到输出要素类。这是默认设置。
  • FID_ONLY — 仅复制要素 ID,并在输出要素类中将其命名为 Source_ID。
Boolean

代码示例

ArealInterpolationLayerToPolygons 示例 1(Python 窗口)

将面插值预测值聚合为一组新面。

import arcpy
arcpy.env.workspace = "C:/gapyexamples/data"
arcpy.ArealInterpolationLayerToPolygons_ga("AI_layer","new_polys","pred_new_polys","ALL")
ArealInterpolationLayerToPolygons 示例 2(独立脚本)

将面插值预测值聚合为一组新面。

# Name: ArealInterpolationLayerToPolygons_Example_02.py
# Description: Averages (in the case of Gaussian data) or aggregates (in the cases of Binomial or Poisson)
#    the predictions of an Areal Interpolation layer to a new set of polygons.
# Requirements: Geostatistical Analyst Extension
# Author: Esri

# Import system modules
import arcpy

# Set environment settings
arcpy.env.workspace = "C:/gapyexamples/data"

# Set local variables
inArealInterpolationLayer = "C:/gapyexamples/data/AI_layer.lyr"
inPolygonFeatures = "C:/gapyexamples/data/new_polys.shp"
outFeatureClass = "C:/gapyexamples/output/aiout.shp"
appendAllFields = "FID_ONLY"

# Check out the ArcGIS Geostatistical Analyst extension license
arcpy.CheckOutExtension("GeoStats")

# Execute ArealInterpolationLayerToPolygons
arcpy.ArealInterpolationLayerToPolygons_ga(inArealInterpolationLayer, inPolygonFeatures, outFeatureClass, appendAllFields)

环境

  • 当前工作空间
  • 范围
  • 地理变换
  • 输出坐标系
  • 临时工作空间

许可信息

  • Basic: 需要 Geostatistical Analyst
  • Standard: 需要 Geostatistical Analyst
  • Advanced: 需要 Geostatistical Analyst

相关主题

  • 使用地统计图层工具集概述

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • Esri 博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2021 Esri. | 隐私政策 | 法律声明