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

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

入力データの指定

Spatial Analyst のライセンスで利用可能。

  • 入力ルール

すべてのマップ代数演算ステートメントには、ツールと演算子を適用する入力が必要です (CreateNormalRaster と CreateRandomRaster は例外で、これらはオプションの引数だけを持ちます)。

入力ルール

  • 入力データ (ディスク上のデータ、レイヤー、テーブル、フィールド名) を直接使用するには、引用符で囲む必要があります。
    # The full path and nmae of the dataset is used
    outRas = Slope("C:/Data/elevation")
    
    # If the layer is in the Table of contents or in your workspace then just the quoted name is needed
    outRas2 = Slope("elevation")
    
    # In the following statement Population is a field name
    outRas2 = KernelDensity("inpoints", "Population")
    
  • 既存の入力データを変数に割り当て、その変数をステートメントに使用することができます。変数は、引用符で囲みません。
    inputElevation = "C:/Data/dem"
    outRas = slope(inputElevation)
    
  • Raster オブジェクトを、以降のステートメントへの入力として使用できます。Raster オブジェクトは変数であるため、引用符で囲みません。
    outSource = ExtractByAttributes("inraster", "Value > 3000")
    
    # The output of ExtractByAttributes is used as input to EucDistance
    outDistance = EucDistance(outSource)
    
  • Result オブジェクトを、マップ代数演算式への入力として使用することもできます。
    # Buffer returns a Result object, which is used here as 
    #   input to EucDistance
    dist = EucDistance(arcpy.Select_analysis("schools", "#", "Pop>2000"))
    
  • 多くのツールは、パラメーターの複数入力を受け入れます (複数値の入力)。入力はカンマで区切り、角括弧で囲みます (Python リストを示します)。
    outStats = CellStatistics(["inraster1", "inraster2", "inraster3"], "MEAN")
    

関連トピック

  • マップ代数演算の規則の概要

ArcGIS Desktop

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

ArcGIS プラットフォーム

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

Esri について

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