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

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

テレイン ピラミッド レベルの削除 (Remove Terrain Pyramid Level)

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

  • サマリー
  • 使用法
  • 構文
  • コードのサンプル
  • 環境
  • ライセンス情報

サマリー

テレイン データセットからピラミッド レベルを削除します。

使用法

  • レベル 0 以外のあらゆるピラミッド レベルを削除できます。レベル 0 は、フル解像度のピラミッドを表します。

  • エンタープライズ ジオデータベースで使用する場合は、入力テレインをバージョン対応登録できません。

構文

RemoveTerrainPyramidLevel_3d (in_terrain, pyramid_level_resolution)
パラメーター説明データ タイプ
in_terrain

処理対象のテレイン データセット。

Terrain Layer
pyramid_level_resolution

削除するピラミッド レベルを解像度で指定します。

Double

派生した出力

名前説明データ タイプ
derived_out_terrain

コードのサンプル

RemoveTerrainPyramidLevel (テレイン ピラミッド レベルの削除) の例 1 (Python ウィンドウ)

次のサンプルは、Python ウィンドウでこのツールを使用する方法を示しています。

import arcpy
from arcpy import env

arcpy.CheckOutExtension("3D")
env.workspace = "C:/data"
arcpy.RemoveTerrainPyramidLevel_3d("sample.gdb/featuredataset/terrain", 10)
RemoveTerrainPyramidLevel (テレイン ピラミッド レベルの削除) の例 2 (スタンドアロン スクリプト)

次のサンプルは、スタンドアロン Python スクリプトでこのツールを使用する方法を示しています。

'''****************************************************************************
Name: RemoveTerrainPyramidLevel Example
Description: This script demonstrates how to add new 
             points to a terrain with the DeleteTerrainPoints tool, then use 
             the ChangeTerrainReferenceScale and RemoveTerrainPyramidLevel to
             to adjust the pyramids for reducing the amount of data stored for 
             providing an optimized display performance.
****************************************************************************'''
# Import system modules
import arcpy
from arcpy import env
import traceback, sys

try:
    # Obtain a license for the ArcGIS 3D Analyst extension
    arcpy.CheckOutExtension("3D")
    # Set environment settings
    env.workspace = "C:/data"
    # Set Local Variables
    inTerrain = "sample.gdb/featuredataset/terrain"
    targetPts = "mass_pts_embed"
    AOI = "1379938.43267328 235633.08128634 1382756.00752135 237681.848838107"
    #Execute DeleteTerrainPoints
    arcpy.DeleteTerrainPoints_3d(inTerrain, targetPts, AOI)
    arcpy.AddMessage("Changing the terrain reference scale...")
    # Execute ChangeTerrainReferenceScale
    arcpy.ChangeTerrainReferenceScale_3d(inTerrain, 500, 1000)
    # Execute RemoveTerrainPyramidLevel
    arcpy.RemoveTerrainPyramidLevel_3d(inTerrain, 4)

except arcpy.ExecuteError:
    print arcpy.GetMessages()
except:
    # Get the traceback object
    tb = sys.exc_info()[2]
    tbinfo = traceback.format_tb(tb)[0]
    # Concatenate error information into message string
    pymsg = "PYTHON ERRORS:\nTraceback info:\n{0}\nError Info:\n{1}"\
          .format(tbinfo, str(sys.exc_info()[1]))
    msgs = "ArcPy ERRORS:\n {0}\n".format(arcpy.GetMessages(2))
    # Return python error messages for script tool or Python Window
    arcpy.AddError(pymsg)
    arcpy.AddError(msgs)

環境

  • 現在のワークスペース
  • 自動コミット

ライセンス情報

  • ArcGIS Desktop Basic: 次のものが必要 3D Analyst
  • ArcGIS Desktop Standard: 次のものが必要 3D Analyst
  • ArcGIS Desktop Advanced: 次のものが必要 3D Analyst

関連トピック

  • データ管理ツールセットの概要
  • サーフェスの基礎
  • サーフェスの形式
  • テレイン データセットとは
  • テレイン データセットを使用する利点

ArcGIS Desktop

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

ArcGIS プラットフォーム

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

Esri について

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