GA Layer To Points (Geostatisical Analyst)

ライセンス レベル:BasicStandardAdvanced

サマリ

Exports a geostatistical layer to points. The tool can also be used to predict values at unmeasured locations or to validate predictions made at measured locations.

使用法

構文

GALayerToPoints_ga (in_geostat_layer, in_locations, {z_field}, out_feature_class, {append_all_fields})
パラメータ説明データ タイプ
in_geostat_layer

The geostatistical layer to be analyzed.

Geostatistical Layer
in_locations

Point locations where predictions or validations will be performed.

Feature Layer
z_field
(オプション)

If this field is left blank, predictions are made at the location points. If a field is selected, predictions are made at the location points and compared to their Z_value_field values and a validation analysis is performed.

Field
out_feature_class

The output feature class containing either the predictions or the predictions and the validation results.

Feature Class
append_all_fields
(オプション)

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

コードのサンプル

GALayerToPoints (Python window)

Export a geostatistical layer to a point feature class.

import arcpy
arcpy.env.workspace = "C:/gapyexamples/data"
arcpy.GALayerToPoints_ga("C:/gapyexamples/data/kriging.lyr", 
                         "C:/gapyexamples/data/obs_pts.shp",                   
                         "", "C:/gapyexamples/output/krig_pts")
GALayerToPoints (stand-alone script)

Export a geostatistical layer to a point feature class.

# Name: GALayerToPoints_Example_02.py
# Description: Exports a geostatistical layer to points.
# Requirements: Geostatistical Analyst Extension

# Import system modules
import arcpy

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

# Set local variables
inLayer = "C:/gapyexamples/data/kriging.lyr"
inPoints = "C:/gapyexamples/data/obs_pts.shp"
zField = ""
outPoints = "C:/gapyexamples/output/krig_pts"

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

# Execute GALayerToPoints
arcpy.GALayerToPoints_ga(inLayer, inPoints, zField, outPoints)

環境

関連トピック

ライセンス情報

ArcGIS for Desktop Basic: 次のものが必要 Geostatistical Analyst
ArcGIS for Desktop Standard: 次のものが必要 Geostatistical Analyst
ArcGIS for Desktop Advanced: 次のものが必要 Geostatistical Analyst
4/26/2014