¡Hola!No puedo ejecutar las herramientas ArcHydro en absoluto, y parece que hay un problema con Python. He probado múltiples versiones de ArcGIS Pro (3.0 y 3.1) y las herramientas ArcHydro en varias plataformas, y todas han tenido el mismo problema.Actualmente: ArcGIS Pro 3.2.4ArcHydro Tools 3.2.52versión de python 3.9.18Windows Desktop Runtime 8.0.6Licencia de usuario avanzado de ArcGISLicencia de 3D Analyst.Licencia de Spatial AnalystEntorno clonado del administrador de paquetesInstrucciones de instalación seguidas aquí:https:\/\/www.esri.com\/content\/dam\/esrisites\/en-us\/media\/manuals\/downloading-arc-hydro.pdf<\/A>Ejemplo de la última vez que intenté ejecutarlo:Llamando a c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\buildterraindatasetfromlas.BuildTerrainDatasetfromLAS.executeAH(arg1, arg2)<\/P>Configurando convenciones de nombres y verificando entradas.<\/LI><\/OL>------- Carpeta de entrada = C:\\Users\\shann\\Documents\\Converted LAS\\LAS Files.<\/P>------- GDB de salida = LptProc.gdb.<\/P> Completado, 1. Configurando convenciones de nombres y verificando entradas, ddt=0.113s<\/P>Creando geodatabase de salida y conjunto de entidades.<\/LI><\/OL>------- GDB de archivo = LptProc.gdb.<\/P>------- Conjunto de entidades = C:\\Users\\shann\\Documents\\Converted LAS\\Target Files\\LptProc.gdb\\Lidar_data.<\/P> Completado, 2. Creando geodatabase de salida y conjunto de entidades, ddt=1.597s<\/P>Importando puntos las y líneas de quiebre y polígonos opcionales.<\/LI><\/OL>------- FC de puntos LAS = C:\\Users\\shann\\Documents\\Converted LAS\\Target Files\\LptProc.gdb\\Lidar_data\\Lidar_mpt.<\/P>------- No se proporcionaron líneas de quiebre 3D y no se aplican al conjunto de datos del terreno..<\/P>------- No se proporcionaron polígonos reemplazantes 3D y no se aplican al conjunto de datos del terreno..<\/P> Completado, 3. Importando puntos las y líneas de quiebre y polígonos opcionales, ddt=56.637s<\/P>Creando y construyendo conjunto de datos del terreno.<\/LI><\/OL>------- Conjunto de datos del terreno = C:\\Users\\shann\\Documents\\Converted LAS\\Target Files\\LptProc.gdb\\Lidar_data\\Lidar_trn.<\/P>------- Agregando puntos 3D al conjunto de datos del terreno ....<\/P>('línea 335', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\buildterraindatasetfromlas.py', 'RuntimeError: Object: Error in executing tool')<\/P>('línea 335', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\buildterraindatasetfromlas.py', 'RuntimeError: Object: Error in executing tool')<\/P>Finalizado el 2025-01-28 12:19:48La versión de python en ArcGIS Pro 3.2.4 es la versión python 3.9.18La línea 335 dice:1arcpy.ddd.AddFeatureClassToTerrain(tdFullName, addFC) # agregar puntos masivos al conjunto de datos del terreno7<\/P>
------- Carpeta de entrada = C:\\Users\\shann\\Documents\\Converted LAS\\LAS Files.<\/P>
------- GDB de salida = LptProc.gdb.<\/P>
Completado, 1. Configurando convenciones de nombres y verificando entradas, ddt=0.113s<\/P>
------- GDB de archivo = LptProc.gdb.<\/P>
------- Conjunto de entidades = C:\\Users\\shann\\Documents\\Converted LAS\\Target Files\\LptProc.gdb\\Lidar_data.<\/P>
Completado, 2. Creando geodatabase de salida y conjunto de entidades, ddt=1.597s<\/P>
------- FC de puntos LAS = C:\\Users\\shann\\Documents\\Converted LAS\\Target Files\\LptProc.gdb\\Lidar_data\\Lidar_mpt.<\/P>
------- No se proporcionaron líneas de quiebre 3D y no se aplican al conjunto de datos del terreno..<\/P>
------- No se proporcionaron polígonos reemplazantes 3D y no se aplican al conjunto de datos del terreno..<\/P>
Completado, 3. Importando puntos las y líneas de quiebre y polígonos opcionales, ddt=56.637s<\/P>
------- Conjunto de datos del terreno = C:\\Users\\shann\\Documents\\Converted LAS\\Target Files\\LptProc.gdb\\Lidar_data\\Lidar_trn.<\/P>
------- Agregando puntos 3D al conjunto de datos del terreno ....<\/P>
('línea 335', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\Scripts\\archydro\\buildterraindatasetfromlas.py', 'RuntimeError: Object: Error in executing tool')<\/P>
Finalizado el 2025-01-28 12:19:48La versión de python en ArcGIS Pro 3.2.4 es la versión python 3.9.18La línea 335 dice:1arcpy.ddd.AddFeatureClassToTerrain(tdFullName, addFC) # agregar puntos masivos al conjunto de datos del terreno7<\/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
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.