ArcGIS for Desktop

  • Documentación
  • Precios
  • Soporte

  • My Profile
  • Ayuda
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

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

ArcGIS for Desktop

Un completo SIG profesional

ArcGIS for Server

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
  • Precios
  • Soporte
Esri
  • Iniciar sesión
user
  • Mi perfil
  • Cerrar sesión

Help

  • Inicio
  • Introducción
  • Mapa
  • Analizar
  • Administrar datos
  • Herramientas
  • Más...

Extract Values To Table

Disponible con una licencia de Geostatistical Analyst.

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

Resumen

Extracts cell values from a set of rasters to a table, based on a point or polygon feature class.

Uso

  • This tool is primarily designed to analyze the output from the Gaussian Geostatistical Simulations tool.

  • All the rasters must have the same spatial reference and cell size.

  • If a point feature class is used, the output table has a record for each point and each raster that has data. Polygonal data will be treated as point data. The cell center of the input rasters will determine the number of points and will also be used to decide whether the cell is contained within the polygon or not.

  • Values outside the raster's extent will be ignored.

  • Multipart feature classes are not supported.

  • In the case of coincident points, the last one encountered will be used and the rest will be ignored. In the same vane, if overlapping polygons are encountered only one of the intersected features will be processed.

  • If Spatial Analyst is available, the Sample tool can also be used. However, the output table needs to be transposed if the values are to be graphed.

Sintaxis

ExtractValuesToTable_ga (in_features, in_rasters, out_table, {out_raster_names_table}, {add_warning_field})
ParámetroExplicaciónTipo de datos
in_features

The points or polygon features to be created.

Feature Layer
in_rasters
[in_raster,...]

The rasters must all have the same extent, coordinate system, and cell size.

Raster Layer; Mosaic Layer
out_table

The output table contains a record for each point and each raster that has data. If polygon features are input, they are converted to points that coincide with the raster cell centers.

Table
out_raster_names_table
(Opcional)

Saves the names of the Input rasters to disc.

Table
add_warning_field
(Opcional)

Records if input features are partially or completely covered by the Input rasters.

  • TRUE — Warning field is added to the output table and populated with a P when a feature is partially covered by raster values.
  • FALSE — Warning field is not added to the output table.
Boolean

Ejemplo de código

ExtractValuesToTable example 1 (Python window)

Extract the cell values from a raster to a table, based on a point feature class.

import arcpy
from arcpy import env
env.workspace = "C:/gapyexamples/data"
arcpy.ExtractValuesToTable_ga("C:/gapyexamples/data/ca_ozone_pts.shp",
                              "C:/gapyexamples/data/inraster", 
                              "C:/gapyexamples/output/outEVFR.dbf", "", "")
ExtractValuesToTable example 2 (stand-alone script)

Extract the cell values from a raster to a table, based on a point feature class.

# Name: ExtractValuesToTable_Example_02.py
# Description: Extract the cell values from a raster, based on 
#              a point feature class, to a table.
# Requirements: Geostatistical Analyst Extension

# Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = "C:/gapyexamples/data"

# Set local variables
inPoints = "C:/gapyexamples/data/ca_ozone_pts.shp"
raster = "C:/gapyexamples/data/inraster"
outTable = "C:/gapyexamples/output/outEVFR.dbf"

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

# Execute ExtractValuesToTable
arcpy.ExtractValuesToTable_ga(inPoints, raster, outTable, "", "")

Entornos

  • Espacio de trabajo actual
  • Extensión
  • Espacio de trabajo temporal

Información sobre licencias

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

Temas relacionados

  • An overview of the Simulation toolset
¿Algún comentario sobre este tema?

ArcGIS for Desktop

  • Inicio
  • Documentación
  • Precios
  • Soporte

Plataforma ArcGIS

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

Acerca de Esri

  • Quiénes somos
  • Empleo
  • Blog interno
  • Conferencia de usuarios
  • Cumbre de desarrolladores
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacidad | Legal