ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Ayuda
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plataforma de representación cartográfica para tu organización

ArcGIS Desktop

Un completo SIG profesional

ArcGIS Enterprise

SIG en tu empresa

ArcGIS for Developers

Herramientas para crear aplicaciones basadas en la ubicación

ArcGIS Solutions

Plantillas de aplicaciones y mapas gratuitas para tu sector

ArcGIS Marketplace

Obtén aplicaciones y datos para tu organización.

  • Documentación
  • Soporte
Esri
  • Iniciar sesión
user
  • Mi perfil
  • Cerrar sesión

ArcMap

  • Inicio
  • Introducción
  • Cartografiar
  • Analizar
  • Administrar datos
  • Herramientas
  • Extensiones

GA Layer To Grid

Disponible con una licencia de Geostatistical Analyst.

  • Resumen
  • Uso
  • Sintaxis
  • Muestra de código
  • Entornos
  • Información sobre licencias

Resumen

Exports a Geostatistical layer to a raster.

Learn more about fundamentals of creating a raster from a geostatistical layer

Uso

  • Select the number of predictions to make for each cell in the horizontal and vertical directions. The value assigned to each output raster cell will be the average of all predictions within that cell.

  • The name you give to the output raster determines the format in which it is created. When not saving to a geodatabase, specify an extension of .tif for a TIFF raster format, .img for ERDAS IMAGINE format, or no extension for an Esri Grid raster format.

Sintaxis

GALayerToGrid_ga (in_geostat_layer, out_surface_grid, {cell_size}, {points_per_block_horz}, {points_per_block_vert})
ParámetroExplicaciónTipo de datos
in_geostat_layer

The geostatistical layer to be analyzed.

Geostatistical Layer
out_surface_grid

The raster to be created.

Raster Dataset
cell_size
(Opcional)

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
(Opcional)

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

Long
points_per_block_vert
(Opcional)

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

Long

Muestra de código

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)

Entornos

  • Tamaño de celda
  • Espacio de trabajo actual
  • Extensión
  • Transformaciones geográficas
  • Máscara
  • Sistema de coordenadas de salida
  • Espacio de trabajo temporal
  • Alinear ráster

Información sobre licencias

  • ArcGIS Desktop Basic: Requiere Geostatistical Analyst
  • ArcGIS Desktop Standard: Requiere Geostatistical Analyst
  • ArcGIS Desktop Advanced: Requiere Geostatistical Analyst

Temas relacionados

  • An overview of the Working With Geostatistical Layers toolset

ArcGIS Desktop

  • Inicio
  • Documentación
  • Soporte

Plataforma ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

Acerca de Esri

  • Quiénes somos
  • Empleo
  • Blog de Esri
  • Conferencia de usuarios
  • Cumbre de desarrolladores
Esri
Díganos su opinión.
Copyright © 2019 Esri. | Privacidad | Legal