Create Geostatistical Layer (Geostatisical Analyst)

サマリ

Creates a new geostatistical layer. An existing geostatistical layer or geostatistical model is required to populate the initial values for the new layer. The input to this tool can be created using the Geostatistical Wizard.

使用法

構文

GACreateGeostatisticalLayer_ga (in_ga_model_source, in_datasets, out_layer)
パラメータ説明データ タイプ
in_ga_model_source

The geostatistical model source to be analyzed.

File; Geostatistical Layer
in_datasets
"feature_class field {field}; feature_class field {field}; ..."

A semicolon delimited string of elements. Each element contains:

  • The path to a dataset or the name of a layer in the current table of contents, followed by a space.
  • A list of fields, each field name separated by a space, unless the dataset is a raster.
Geostatistical Value Table
out_layer

The geostatistical layer produced by the tool.

Geostatistical Layer

コードのサンプル

CreateGeostatisticalLayer example 1 (Python window)

Use an existing geostatistical layer to create a new geostatistical layer.

import arcpy
arcpy.env.workspace = "C:/gapyexamples/data"
arcpy.GACreateGeostatisticalLayer_ga("C:/gapyexamples/data/kriging.lyr",
                            "ca_ozone_pts.shp X=Shape Y=Shape F1=OZONE", "outCGL")
CreateGeostatisticalLayer example 2 (stand-alone script)

Use an existing geostatistical layer to create a new geostatistical layer.

# Name: CreateGeostatisticalLayer_Example_02.py
# Description: Uses an existing geostatistical layer to create a new layer,
#   which includes a new feature dataset or variable.
# 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"
inData = "ca_ozone_pts.shp X=Shape Y=Shape F1=OZONE"
outLayer = "outCGL"

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

# Execute CreateGeostatisticalLayer
arcpy.GACreateGeostatisticalLayer_ga(inLayer, inData, outLayer)

環境

関連項目

ライセンス情報

ArcView: 必須 Geostatistical Analyst
ArcEditor: 必須 Geostatistical Analyst
ArcInfo: 必須 Geostatistical Analyst

7/10/2012