GA Layer To Contour (Geostatisical Analyst)

Niveau de licence :BasicStandardAdvanced

Récapitulatif

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.

Utilisation

Syntaxe

GALayerToContour_ga (in_geostat_layer, contour_type, out_feature_class, {contour_quality})
ParamètreExplicationType de données
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
(Facultatif)

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

Exemple de code

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)

Environnements

Thèmes connexes

Informations de licence

ArcGIS for Desktop Basic: Requis Geostatistical Analyst
ArcGIS for Desktop Standard: Requis Geostatistical Analyst
ArcGIS for Desktop Advanced: Requis Geostatistical Analyst
4/26/2014