ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

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

ArcGIS Online

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

ArcGIS Desktop

完全なプロ仕様の GIS

ArcGIS Enterprise

エンタープライズ GIS

ArcGIS Developers

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

ArcGIS Solutions

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

ArcGIS Marketplace

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

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

ArcMap

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

Dataset properties

  • 概要
  • プロパティ
  • コードのサンプル

概要

The Describe function returns the following properties for Datasets.

Dataset properties are available in many types of Describe objects.

プロパティ

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

Indicates whether the dataset can be versioned.

Boolean
changeTracked
(読み取り専用)

Indicates if this dataset is change tracked.

Boolean
datasetType
(読み取り専用)

Returns the type of dataset being described

  • Any
  • CadastralFabric
  • CadDrawing
  • Container
  • DiagramDataset
  • FeatureClass
  • FeatureDataset
  • Geo
  • GeometricNetwork
  • LasDataset
  • Locator
  • MosaicDataset
  • NetworkDataset
  • ParcelDataset
  • PlanarGraph
  • RasterBand
  • RasterCatalog
  • RasterDataset
  • RelationshipClass
  • RepresentationClass
  • SchematicDataset
  • Table
  • Text
  • TIN
  • Tool
  • Toolbox
  • Topology
  • Terrain
String
DSID
(読み取り専用)

The ID of the dataset.

Integer
extent
(読み取り専用)

The Extent object.

メモ:

extent is available for spatial datasets only.

Extent
isArchived
(読み取り専用)

Indicates whether the dataset has been archived. isArchived is only supported for an enterprise geodatabase.

Boolean
isVersioned
(読み取り専用)

Indicates whether the dataset is versioned.

Boolean
MExtent
(読み取り専用)

A space-delimited string (MMin, MMax).

メモ:

MExtent is available for spatial datasets only.

String
spatialReference
(読み取り専用)

Returns the SpatialReference object for the dataset.

メモ:

spatialReference is available for spatial datasets only.

SpatialReference
ZExtent
(読み取り専用)

A space-delimited string (ZMin, ZMax).

メモ:

ZExtent is available for spatial datasets only.

String

コードのサンプル

Dataset properties example (stand-alone script)

The following stand-alone script displays dataset properties for a shapefile.

import arcpy

# Create a Describe object from the shapefile
#
desc = arcpy.Describe("C:/temp/xy.shp")

# Print dataset properties
#
print("Dataset Type: {0}".format(desc.datasetType))
print("Extent:\n  XMin: {0}, XMax: {1}, YMin: {2}, YMax: {3}".format(
    desc.extent.XMin, desc.extent.XMax, desc.extent.YMin, desc.extent.YMax))
print("MExtent: {0}".format(desc.MExtent))
print("ZExtent: {0}".format(desc.ZExtent))

print("Spatial reference name: {0}:".format(desc.spatialReference.name))

ArcGIS Desktop

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

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

Esri について

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