ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • ヘルプ
  • Sign Out
ArcGIS Desktop

ArcGIS Online

組織のマッピング プラットフォーム

ArcGIS Desktop

完全なプロ仕様の GIS

ArcGIS Enterprise

エンタープライズ GIS

ArcGIS for Developers

位置情報利用アプリの開発ツール

ArcGIS Solutions

各種業界向けの無料のテンプレート マップおよびテンプレート アプリケーション

ArcGIS Marketplace

組織で使えるアプリとデータを取得

  • ドキュメント
  • サポート
Esri
  • サイン イン
user
  • マイ プロフィール
  • サイン アウト

ArcMap

  • ホーム
  • はじめに
  • マップ
  • 解析
  • データ管理
  • ツール
  • エクステンション

ラスタ バンド プロパティ

  • サマリー
  • プロパティ
  • コードのサンプル

サマリー

Describe 関数はラスタ バンドに対して次のプロパティを返します。テーブル プロパティおよびデータセット プロパティもサポートされます。

ラスタ バンドが返す dataType は RasterBand です。

プロパティ

プロパティ説明データ タイプ
height
(読み取り専用)

The number of rows

Integer
isInteger
(読み取り専用)

Indicates whether the raster band has integer type

Boolean
meanCellHeight
(読み取り専用)

The cell size in y direction

Double
meanCellWidth
(読み取り専用)

The cell size in x direction

Double
noDataValue
(読み取り専用)

The NoData value of the raster band

String
pixelType
(読み取り専用)

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
(読み取り専用)

The index of the field

Integer
tableType
(読み取り専用)

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
(読み取り専用)

The number of columns

Integer

コードのサンプル

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

  • ホーム
  • ドキュメント
  • サポート

ArcGIS プラットフォーム

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

Esri について

  • 会社概要
  • 採用情報
  • Esri ブログ
  • ユーザ カンファレンス
  • デベロッパ サミット
Esri
ご意見・ご感想をお寄せください。
Copyright © 2019 Esri. | プライバシー | リーガル