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
  • マイ プロフィール
  • サイン アウト

Help

  • ホーム
  • はじめに
  • マップ
  • 解析
  • データ管理
  • ツール
  • その他...

RecordSet/FeatureSet properties

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

サマリー

The Describe function returns the following properties for instances of RecordSet and FeatureSet. Table Properties and Dataset Properties are also supported by both. In addition, FeatureSet supports FeatureClass Properties. Many of these properties will be empty unless the RecordSet or FeatureSet has been populated by calling its load method.

A RecordSet returns a dataType of "RecordSet".

A FeatureSet returns a dataType of "FeatureSet".

A REST client (such as a web application that uses a geoprocessing service) uses JSON streams to exchange data with a Service End point. You can use the json or pjson property for generating test input for a service or to examine the JSON representation of features and tables that are used by an ArcGIS REST Service. For an example of this, see Using a service in Python scripts.

注意:

For typical ArcPy use, passing a table or feature class as an argument to a service is faster than passing the JSON string representation of the same table or feature class.

プロパティ

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

A JSON string representing the table or feature class that underlies the arcpy.RecordSet or arcpy.FeatureSet.

String
pjson
(読み取り専用)

Pretty JSON. A JSON string formatted to be easily readable. This string is a little larger because it includes extra newline and whitespace characters.

String

コードのサンプル

FeatureSet properties example (stand-alone script)

The following stand-alone script loads a feature class into an arcpy.FeatureSet, then prints the pjson string.

import arcpy

# Describe a populated arcpy.FeatureSet
#
fSet = arcpy.FeatureSet()
fSet.load("C:\data\moad.gdb\Water_Bodies")
desc = arcpy.Describe(fSet)

# print a JSON representation
print (desc.pjson)

ArcGIS Desktop

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

ArcGIS プラットフォーム

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

Esri について

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