GA Layer To Contour (Geostatisical Analyst)

ライセンス レベル:BasicStandardAdvanced

サマリ

Creates a feature class of coutours from a geostatiscal analysis layer. The output feature class can be either a line feature class of contour lines or a polygon feature class of filled contours.

使用法

構文

GALayerToContour_ga (in_geostat_layer, contour_type, out_feature_class, {contour_quality})
パラメータ説明データ タイプ
in_geostat_layer

The geostatistical layer to be analyzed.

Geostatistical Layer
contour_type

Type of contour to represent the geostatistical layer.

  • CONTOUR The contour or isoline representation of the geostatistical layer. Displays the lines in either draft or presentation quality.
  • FILLED CONTOURThe polygon representation of the geostatistical layer. It assumes for the graphical display that the values between contour lines are the same for all locations within the polygon. Displays the lines in either draft or presentation quality.
String
out_feature_class

The output feature class will either be a polyline or a polygon, depending on the selected Contour type.

Feature Class
contour_quality
(オプション)

Determines the smoothness of contour line representation.

  • DRAFT The default Draft quality presents a generalized version of isolines for faster display.
  • PRESENTATIONThe Presentation option ensures more detailed isolines for the output feature class.
String

コードのサンプル

GALayerToContour interactive window example

Export a geostatistical layer to a contour feature class.

import arcpy
from arcpy import env
env.workspace = "C:/gapyexamples/data"
arcpy.GALayerToContour_ga("C:/gapyexamples/data/kriging.lyr", "Contour",
                          "C:/gapyexamples/output/krig_cont", "Presentation")
GALayerToContour script example

Export a geostatistical layer to a contour feature class.

# Name: GALayerToContour_Example_02.py
# Description: Exports a geostatistical layer to contours.
# 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"
contType = "Contour"
outCont = "C:/gapyexamples/output/krig_cont"
contQuality = "Presentation"

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

# Execute GALayerToContour
arcpy.GALayerToContour_ga(inLayer, contType, outCont, contQuality)

環境

関連トピック

ライセンス情報

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