GA Layer To Contour (Geostatisical Analyst)

Resumen

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.

Uso

Sintaxis

GALayerToContour_ga (in_geostat_layer, contour_type, out_feature_class, {contour_quality})
ParámetroExplicaciónTipo de datos
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
(Opcional)

Determines the smoothness of contour line representation.

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

Ejemplo de código

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)

Entornos

Temas relacionados

Información de licencia

ArcView: Requiere Geostatistical Analyst
ArcEditor: Requiere Geostatistical Analyst
ArcInfo: Requiere Geostatistical Analyst

7/11/2012