こんにちは!ArcHydro toolsをまったく実行できず、Pythonに問題があるようです。複数のバージョンのArcGIS Pro(3.0および3.1)と複数のプラットフォームでArcHydro toolsを試しましたが、すべて同じ問題が発生しています。現在の環境: ArcGIS Pro 3.2.4ArcHydro Tools 3.2.52python バージョン 3.9.18Windows Desktop Runtime 8.0.6ArcGIS Advanced User License3D Analyst ライセンス。Spatial Analyst ライセンスクローンされた package manager 環境インストール手順は以下に従いました:https:\/\/www.esri.com\/content\/dam\/esrisites\/en-us\/media\/manuals\/downloading-arc-hydro.pdf<\/A>最後に実行を試みた例:c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\archydro\buildterraindatasetfromlas.BuildTerrainDatasetfromLAS.executeAH(arg1, arg2) を呼び出し命名規則の設定と入力の確認。<\/LI><\/OL>------- 入力フォルダー = C:\Users\shann\Documents\Converted LAS\LAS Files.<\/P>------- 出力 GDB = LptProc.gdb.<\/P> 完了、1. 命名規則の設定と入力の確認、ddt=0.113秒<\/P>出力ジオデータベースとフィーチャデータセットの作成。<\/LI><\/OL>------- ファイル gdb = LptProc.gdb.<\/P>------- フィーチャデータセット = C:\Users\shann\Documents\Converted LAS\Target Files\LptProc.gdb\Lidar_data.<\/P> 完了、2. 出力ジオデータベースとフィーチャデータセットの作成、ddt=1.597秒<\/P>lasポイントおよびオプションのブレークラインとポリゴンのインポート。<\/LI><\/OL>------- LASポイント FC = C:\Users\shann\Documents\Converted LAS\Target Files\LptProc.gdb\Lidar_data\Lidar_mpt.<\/P>------- 3D ブレークラインは提供されておらず、地形データセットには強制されていません。<\/P>------- 3D 置換ポリゴンは提供されておらず、地形データセットには強制されていません。<\/P> 完了、3. lasポイントおよびオプションのブレークラインとポリゴンのインポート、ddt=56.637秒<\/P>地形データセットの作成と構築。<\/LI><\/OL>------- 地形データセット = C:\Users\shann\Documents\Converted LAS\Target Files\LptProc.gdb\Lidar_data\Lidar_trn.<\/P>------- 地形データセットに3Dポイントを追加中 ....<\/P>('line 335', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\buildterraindatasetfromlas.py', 'RuntimeError: Object: ツール実行中にエラーが発生しました')<\/P>('line 335', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\buildterraindatasetfromlas.py', 'RuntimeError: Object: ツール実行中にエラーが発生しました')<\/P>終了日時 2025-01-28 12:19:48ArcGIS Pro 3.2.4上のpythonバージョンは python version 3.9.18 です。335行目は以下の通りです:22arcpy.ddd.AddFeatureClassToTerrain(tdFullName, addFC) # 地形データセットにマスポイントを追加22
------- 入力フォルダー = C:\Users\shann\Documents\Converted LAS\LAS Files.<\/P>
------- 出力 GDB = LptProc.gdb.<\/P>
完了、1. 命名規則の設定と入力の確認、ddt=0.113秒<\/P>
------- ファイル gdb = LptProc.gdb.<\/P>
------- フィーチャデータセット = C:\Users\shann\Documents\Converted LAS\Target Files\LptProc.gdb\Lidar_data.<\/P>
完了、2. 出力ジオデータベースとフィーチャデータセットの作成、ddt=1.597秒<\/P>
------- LASポイント FC = C:\Users\shann\Documents\Converted LAS\Target Files\LptProc.gdb\Lidar_data\Lidar_mpt.<\/P>
------- 3D ブレークラインは提供されておらず、地形データセットには強制されていません。<\/P>
------- 3D 置換ポリゴンは提供されておらず、地形データセットには強制されていません。<\/P>
完了、3. lasポイントおよびオプションのブレークラインとポリゴンのインポート、ddt=56.637秒<\/P>
------- 地形データセット = C:\Users\shann\Documents\Converted LAS\Target Files\LptProc.gdb\Lidar_data\Lidar_trn.<\/P>
------- 地形データセットに3Dポイントを追加中 ....<\/P>
('line 335', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\buildterraindatasetfromlas.py', 'RuntimeError: Object: ツール実行中にエラーが発生しました')<\/P>
終了日時 2025-01-28 12:19:48ArcGIS Pro 3.2.4上のpythonバージョンは python version 3.9.18 です。335行目は以下の通りです:22arcpy.ddd.AddFeatureClassToTerrain(tdFullName, addFC) # 地形データセットにマスポイントを追加22
Found the problem. The python scripts in ArcTools Pro do not like any paths where the name has spaces. So you have to make sure none of the directories you're using have spaces in the name.
i guess you were faster, never mind my answer :-).
Shannon,
This does not seem to be a problem with python or Arc Hydro (AH) tools in general, otherwise the tool would have failed right away not after few steps (successfully creating a gdb and feature dataset). Where the tool failed is in the import of your point data into the feature dataset. This can be caused by few items:
1. Do you have 3D Analyst license available? It seems you have access to it, just make sure they are all not checked out if they are of shared type.
2. Problem with the data structure (folder and file naming convention - check the best practice document - for example, you have spaces in folder names - not what we recommend and sometimes can cause problems).
3. Problem with LAS files.
Please try to do the following using standard Pro tools:
1. Create a gdb.
2. Create a feature dataset (FD) with correct spatial reference (matching the SR of LAS data).
3. Add one (or several) LAS files from your existing folder structure into the FD created in #2 using standard 3D Analyst "LAS To Multipoint" function. Basically create points from LAS. (You can start with one file and then keep adding the rest if the first one works).
If that works, we can eliminate most of the potential "general" problems and then focus on terrain dataset construction process as next potential issue. Please zip two of your LAS files and share with me - use ddjokic@esri.com to share the data. Thanks.
Dean
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.