面插值图层转面 (地统计分析)

许可等级:BasicStandardAdvanced

摘要

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

用法

语法

ArealInterpolationLayerToPolygons_ga (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 仅复制 FID,并将在输出要素类上将其命名为 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)

环境

相关主题

许可信息

ArcGIS for Desktop Basic:需要 Geostatistical Analyst
ArcGIS for Desktop Standard:需要 Geostatistical Analyst
ArcGIS for Desktop Advanced:需要 Geostatistical Analyst
9/15/2013