GA Layer To Contour (Geostatisical Analyst)

Lizenzstufe:BasicStandardAdvanced

Zusammenfassung

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.

Verwendung

Syntax

GALayerToContour_ga (in_geostat_layer, contour_type, out_feature_class, {contour_quality})
ParameterErläuterungDatentyp
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
(optional)

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

Codebeispiel

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)

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