Hallo!Ich kann die ArcHydro-Tools überhaupt nicht ausführen, und es sieht nach einem Problem mit Python aus. Ich habe mehrere Versionen von ArcGIS Pro (3.0 und 3.1) und ArcHydro-Tools auf verschiedenen Plattformen ausprobiert, und alle hatten dasselbe Problem.Derzeit: ArcGIS Pro 3.2.4ArcHydro Tools 3.2.52Python-Version 3.9.18Windows Desktop Runtime 8.0.6ArcGIS Advanced User License3D Analyst Lizenz.Spatial Analyst LizenzKlonte Package Manager UmgebungInstallationsanweisungen befolgt hier:https:\/\/www.esri.com\/content\/dam\/esrisites\/en-us\/media\/manuals\/downloading-arc-hydro.pdf<\/A>Beispiel vom letzten Versuch, es auszuführen:Aufruf von c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\buildterraindatasetfromlas.BuildTerrainDatasetfromLAS.executeAH(arg1, arg2)<\/P>Namenkonventionen festlegen und Eingaben prüfen.<\/LI><\/OL>------- Eingabeordner = C:\\Users\\shann\\Documents\\Converted LAS\\LAS Files.<\/P>------- Ausgabe-GDB = LptProc.gdb.<\/P> Abgeschlossen, 1. Namenkonventionen festlegen und Eingaben prüfen, ddt=0.113s<\/P>Erstellen der Ausgabegedodatenbank und Feature-Dataset.<\/LI><\/OL>------- File GDB = LptProc.gdb.<\/P>------- Feature-Dataset = C:\\Users\\shann\\Documents\\Converted LAS\\Target Files\\LptProc.gdb\\Lidar_data.<\/P> Abgeschlossen, 2. Erstellen der Ausgabegedodatenbank und Feature-Dataset, ddt=1.597s<\/P>Importieren von LAS-Punkten sowie optionalen Breaklines und Polygonen.<\/LI><\/OL>------- LAS-Punkt-FC = C:\\Users\\shann\\Documents\\Converted LAS\\Target Files\\LptProc.gdb\\Lidar_data\\Lidar_mpt.<\/P>------- 3D-Breaklines wurden nicht bereitgestellt und werden nicht in das Terrain-Dataset eingearbeitet..<\/P>------- 3D-Ersetzungs-Polygone wurden nicht bereitgestellt und werden nicht in das Terrain-Dataset eingearbeitet..<\/P> Abgeschlossen, 3. Importieren von LAS-Punkten sowie optionalen Breaklines und Polygonen, ddt=56.637s<\/P>Erstellen und Aufbau des Terrain-Datasets.<\/LI><\/OL>------- Terrain-Dataset = C:\\Users\\shann\\Documents\\Converted LAS\\Target Files\\LptProc.gdb\\Lidar_data\\Lidar_trn.<\/P>------- Hinzufügen von 3D-Punkten zum Terrain-Dataset ....<\/P>('line 335', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\buildterraindatasetfromlas.py', 'RuntimeError: Object: Fehler bei der Ausführung des Werkzeugs')<\/P>('line 335', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\buildterraindatasetfromlas.py', 'RuntimeError: Object: Fehler bei der Ausführung des Werkzeugs')<\/P>Beendet am 2025-01-28 12:19:48Version von Python in ArcGIS Pro 3.2.4 ist Python-Version 3.9.18Zeile 335 lautet:22arcpy.ddd.AddFeatureClassToTerrain(tdFullName, addFC) # Masspunkte zum Terrain-Dataset hinzufügen22<\/P>
------- Eingabeordner = C:\\Users\\shann\\Documents\\Converted LAS\\LAS Files.<\/P>
------- Ausgabe-GDB = LptProc.gdb.<\/P>
Abgeschlossen, 1. Namenkonventionen festlegen und Eingaben prüfen, ddt=0.113s<\/P>
------- File GDB = LptProc.gdb.<\/P>
------- Feature-Dataset = C:\\Users\\shann\\Documents\\Converted LAS\\Target Files\\LptProc.gdb\\Lidar_data.<\/P>
Abgeschlossen, 2. Erstellen der Ausgabegedodatenbank und Feature-Dataset, ddt=1.597s<\/P>
------- LAS-Punkt-FC = C:\\Users\\shann\\Documents\\Converted LAS\\Target Files\\LptProc.gdb\\Lidar_data\\Lidar_mpt.<\/P>
------- 3D-Breaklines wurden nicht bereitgestellt und werden nicht in das Terrain-Dataset eingearbeitet..<\/P>
------- 3D-Ersetzungs-Polygone wurden nicht bereitgestellt und werden nicht in das Terrain-Dataset eingearbeitet..<\/P>
Abgeschlossen, 3. Importieren von LAS-Punkten sowie optionalen Breaklines und Polygonen, ddt=56.637s<\/P>
------- Terrain-Dataset = C:\\Users\\shann\\Documents\\Converted LAS\\Target Files\\LptProc.gdb\\Lidar_data\\Lidar_trn.<\/P>
------- Hinzufügen von 3D-Punkten zum Terrain-Dataset ....<\/P>
('line 335', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\buildterraindatasetfromlas.py', 'RuntimeError: Object: Fehler bei der Ausführung des Werkzeugs')<\/P>
Beendet am 2025-01-28 12:19:48Version von Python in ArcGIS Pro 3.2.4 ist Python-Version 3.9.18Zeile 335 lautet:22arcpy.ddd.AddFeatureClassToTerrain(tdFullName, addFC) # Masspunkte zum Terrain-Dataset hinzufügen22<\/P>
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
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.