Extract tree points using surface analysis (CreateTrees) Error: Input LAS Dataset: Dataset ".lasd" does not exist or is not supported

1497
1
08-06-2023 11:31 AM
LaraJordan09
New Contributor

Hi all, I am getting the following error when running the Extract Tree Points Using Surface Analysis (CreateTrees) tool, in the TreeManagement toolbox. 

Extract tree points using surface analysis
=====================
Parameters

Input LAS dataset LAS2021.lasd
Point spacing 0.42
Vegetation class codes 1
Building footprints
Buffer distance 1
Minimum canopy height 4
Maximum canopy height 30
Ground Elevation Surface (DTM) https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer
Output Features \\Mac\Home\Desktop\TreeDataManagement\TreeManagement\TreeManagement.gdb\LAS2021_VegetationExtraction
out_layer
first_time true
previous_footprints
first_time_las false
previous_las LAS2021.lasd
=====================
Messages

Failed to execute. Parameters are not valid.
ERROR 000732: Input LAS Dataset: Dataset \\Mac\Home\Desktop\Files\LAS2021.lasd does not exist or is not supported
Failed to execute (MakeLasDatasetLayer).

Error on line 868
Error in file name: \\Mac\Home\Desktop\TreeDataManagement\TreeManagement\scripts\bm_common_lib.py
with error message: AttributeError: Object: Error in parsing arguments for Exists
Failed script Extract tree points using surface analysis...
Failed to execute (VegetationExtraction).

 

The file LAS2021 exists and is properly connected so that can't be the issue. I checked line 868 in bm_common_lib.py and nothing looks abnormal. Does anyone know why this is happening?

1 Reply
lunchtimeres
New Contributor

It seems like you are encountering an error while running the Extract Tree Points Using Surface Analysis (CreateTrees) tool in the TreeManagement toolbox. The error message indicates that the input LAS dataset "LAS2021.lasd" cannot be found or is not supported. However, you mentioned that the file exists and is properly connected. Let's troubleshoot the issue and explore potential solutions:

  1. Check File Path: Double-check the file path for the input LAS dataset "LAS2021.lasd." Ensure that the path is correct and accessible from the location where you are running the tool. Sometimes, a small typo in the file path can cause this error.

  2. File Format: Verify that the LAS dataset "LAS2021.lasd" is in a supported format. The tool might require specific LAS formats, so ensure that the dataset is compatible with the tool's requirements.

  3. Permission Issues: Ensure that you have sufficient permissions to access the LAS dataset file. Sometimes, permission restrictions can prevent the tool from accessing the file, resulting in the error.

  4. ArcGIS Version Compatibility: Verify if the version of ArcGIS you are using is compatible with the LAS dataset. Sometimes, different ArcGIS versions have varying compatibility with certain dataset formats.

  5. Broken Connection: Even though you mentioned the file is properly connected, there might be a broken connection or an issue with the data source. Try removing the connection and re-establishing it to ensure it is valid.

  6. Update ArcGIS: Check if there are any updates available for ArcGIS. Upgrading to the latest version might resolve compatibility issues and bugs related to LAS datasets.

  7. Temporary File Lock: Make sure the file "LAS2021.lasd" is not currently open or locked by another process. Temporary locks on the file can prevent access and cause errors.

  8. Case Sensitivity: Ensure that the file path and file name are spelled correctly, including any capitalization or case sensitivity.

If the issue persists after trying these steps, it's possible that there might be a specific issue related to the tool or your environment. In such cases, consider reaching out to the ArcGIS support community or technical support for further assistance

0 Kudos