ArcGIS Desktop

  • Documentación
  • Soporte

  • 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

Propiedades de la Banda de ráster

  • Resumen
  • Propiedades
  • Muestra de código

Resumen

La función Describir devuelve las siguientes propiedades para las Bandas de ráster Las Propiedades de la tabla y las Propiedades del dataset también son compatibles.

Una banda de ráster devuelve un tipo de datos de "RasterBand".

Propiedades

PropiedadExplicaciónTipo de datos
height
(Sólo lectura)

The number of rows

Integer
isInteger
(Sólo lectura)

Indicates whether the raster band has integer type

Boolean
meanCellHeight
(Sólo lectura)

The cell size in y direction

Double
meanCellWidth
(Sólo lectura)

The cell size in x direction

Double
noDataValue
(Sólo lectura)

The NoData value of the raster band

String
pixelType
(Sólo lectura)

The pixel type

  • U1 —1 bit
  • U2 —2 bits
  • U4 —4 bits
  • U8 —Unsigned 8 bit integers
  • S8 —8 bit integers
  • U16 —Unsigned 16 bit integers
  • S16 —16 bit integers
  • U32 —Unsigned 32 bit integers
  • S32 —32 bit integers
  • F32 —Single precision floating point
  • F64 —Double precision floating point
String
primaryField
(Sólo lectura)

The index of the field

Integer
tableType
(Sólo lectura)

The class names of the table

  • Value —Values in the table are used for values only, not for indexing.
  • Index —Values in the table are used as indexes in the raster table.
  • Invalid —Values are invalid.
String
width
(Sólo lectura)

The number of columns

Integer

Muestra de código

Raster Band properties example (stand-alone script)

The following stand-alone script displays some properties for a raster band.

import arcpy

# Create a Describe object from the raster band
#
desc = arcpy.Describe("C:/data/preston.img/Band_1")

# Print some raster band properties
#
print "Height: %d" % desc.height
print "Width:  %d" % desc.width
print "Integer Raster: %s" % desc.isInteger

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 interno
  • Conferencia de usuarios
  • Cumbre de desarrolladores
Esri
Díganos su opinión.
Copyright © 2018 Esri. | Privacidad | Legal