GA Layer To Grid (Geostatisical Analyst)

Lizenzstufe:BasicStandardAdvanced

Zusammenfassung

Exports a Geostatistical layer to a raster.

Verwendung

Syntax

GALayerToGrid_ga (in_geostat_layer, out_surface_grid, {cell_size}, {points_per_block_horz}, {points_per_block_vert})
ParameterErläuterungDatentyp
in_geostat_layer

The geostatistical layer to be analyzed.

Geostatistical Layer
out_surface_grid

The raster to be created.

Raster Dataset
cell_size
(optional)

The cell size at which the output raster will be created.

This value can be explicitly set under Raster Analysis from the Environment Settings. If not set, it is the shorter of the width or the height of the extent of the input point features, in the input spatial reference, divided by 250.

Analysis Cell Size
points_per_block_horz
(optional)

The number of predictions for each cell in the horizontal direction for block interpolation.

Long
points_per_block_vert
(optional)

The number of predictions for each cell in the vertical direction for block interpolation.

Long

Codebeispiel

GALayerToGrid example 1 (Python window)

Convert a geostatistical layer into a raster.

import arcpy
from arcpy import env
arcpy.GALayerToGrid_ga("C:/gapyexamples/data/kriging.lyr", 
                       "C:/gapyexamples/output/krig_grid", "2000", "1", "1")
GALayerToGrid example 2 (stand-alone script)

Convert a geostatistical layer into a raster.

# Name: GALayerToGrid_Example_02.py
# Description: Exports a geostatistical layer to grid.
# 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"
outGrid = "C:/gapyexamples/output/krig_grid"
cellSize = 2000
cellptsHor = 1
cellptsVer = 1

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

# Execute GALayerToGrid
arcpy.GALayerToGrid_ga(inLayer, outGrid, cellSize, cellptsHor, cellptsVer)

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