+++Areal Interpolation Layer To Polygons (Geostatisical Analyst)

Lizenzstufe:BasicStandardAdvanced

Zusammenfassung

Führt eine neue Aggregation der Vorhersagen für einen Flächeninterpolations-Layer in einen neuen Satz von Polygonen aus.

Verwendung

Syntax

ArealInterpolationLayerToPolygons_ga (in_areal_interpolation_layer, in_polygon_features, out_feature_class, {append_all_fields})
ParameterErläuterungDatentyp
in_areal_interpolation_layer

Input geostatistical layer resulting from an Areal Interpolation model.

Geostatistical Layer
in_polygon_features

The polygons where predictions and standard errors will be aggregated.

Feature Layer
out_feature_class

The output feature class containing the aggregated predictions and standard errors for the new polygons.

Feature Class
append_all_fields
(optional)

Determines whether all fields will be copied from the input features to the output feature class.

  • ALL All fields from the input features will be copied to the output feature class. This is the default.
  • FID_ONLY Only FID will be copied, and it will be named Source_ID on the output feature class.
Boolean

Codebeispiel

ArealInterpolationLayerToPolygons – Beispiel 1 (Python-Fenster)

Aggregieren Sie die Vorhersagen für eine Flächeninterpolation in einen neuen Satz von Polygonen.

import arcpy
arcpy.env.workspace = "C:/gapyexamples/data"
arcpy.ArealInterpolationLayerToPolygons_ga("AI_layer","new_polys","pred_new_polys","ALL")
ArealInterpolationLayerToPolygons – Beispiel 2 (eigenständiges Skript)

Aggregieren Sie die Vorhersagen für eine Flächeninterpolation in einen neuen Satz von Polygonen.

# 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)

Umgebung

Verwandte Themen

Lizenzierungsinformationen

ArcGIS for Desktop Basic: Erfordert Geostatistical Analyst
ArcGIS for Desktop Standard: Erfordert Geostatistical Analyst
ArcGIS for Desktop Advanced: Erfordert Geostatistical Analyst
9/22/2013