Select to view content in your preferred language

Extract Roof Form Error 3d Solution

175
1
12-16-2024 07:08 AM
CliftonGreene
New Contributor

Hello,

I'm working on a project for school where I need to recreate a coloroized LiDAR point cloud and am using the Solution walk through. I have created the DEM, DSM, and nDSM but once I attempt to create buildings at the first step it fails after a few seconds and I cant figure out why. I think there may be a coding error that it keeps running into but I'm not sure how to soleve it. 

Extract Roof Form

=====================

Tool Path

 

C:\Users\Bigre\OneDrive\Documents\ArcGIS\Solutions\CreateBuildings.tbx\ExtractRoofForm

=====================

Parameters

 

Buildings     SEAFPnew

Elevation Surface (DSM)     SEA16_dsm_surface

Ground Elevation Surface (DTM)     SEA16_dtm_surface

Normalized Elevation Surface (nDSM)     SEA16_ndsm_surface

Create Flat Roofs Only     false

Minimum Flat Roof Area     250

Minimum Slope Roof Area     75

Minimum Roof Height     8

Output Building Polygons     C:\Users\Bigre\OneDrive\Documents\ArcGIS\Solutions\3DBuildings.gdb\SEA_BLDG

Simplify Buildings     true

Simplify Tolerance     0.1

layer1    

first_time     false

previous_layer     SEAFPnew

first_time_dsm     false

=====================

Messages

 

Start Time: Monday, December 16, 2024 3:05:19 AM

ArcGIS Pro version: 3.4

Project Home Directory is: C:\Users\Bigre\OneDrive\Documents\ArcGIS\Solutions

Shapefiles are not supported. Please copy to a geodatabase.

Input data is not valid. Check your data.

Error on line 2393

Error in file name:  C:\Users\Bigre\OneDrive\Documents\ArcGIS\Solutions\scripts\bm_common_lib.py

with error message:  AttributeError: Object: Error in parsing arguments for Exists

Failed script Extract Roof Form...

Failed to execute (ExtractRoofForm).

Failed at Monday, December 16, 2024 3:05:21 AM (Elapsed Time: 2.42 seconds)

Tags (2)
0 Kudos
1 Reply
NickPopovich
New Contributor

Clifton,

We are glad you are exploring using this tool. From the error log it looks like you have an issue: "Shapefiles are not supported. Please copy to a geodatabase."

All of your data must be contained within a GeoDatabase for the tool to function properly. By default the paths are always set to create the data in a local geodatabase on your computer. Did you download the sample dataset and run the tools? That would give you an example of what the geodatabase would look like.

Let us know if this fixes your issues.

Thanks

Nick