Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: Unable to Generate Valid JSONL Output – All Vertices Are Null #56

Open
pedro-mar opened this issue Oct 22, 2024 · 1 comment
Open

Comments

@pedro-mar
Copy link

I encountered some issues while installing and using the Roofer tool.

Installation Issue

I am using Windows 11, and during installation, I had to use the command:

cmake --build build --config Release

instead of:

cmake --build build

When running the original command, I received the following error:

Make Error at build/apps/roofer-app/cmake_install.cmake:39 (file):
  file INSTALL cannot find "PATH/roofer/build/apps/roofer-app/Release/roofer.exe": No error.
Call Stack (most recent call first):
  build/apps/cmake_install.cmake:37 (include)
  build/cmake_install.cmake:42 (include)

Configuration Issue

After installation, I tried running the command:

roofer -c config_file

with configuration files in various formats, including:

  • roofer -c config_file.txt
  • roofer -c config_file.toml

The configurations used were as described in the CLI Application Documentation:

[input.footprint]
source = "PATHTOGPKG.gpkg"

[[input.pointclouds]]
name = "pointcloud"
source = "PATHTOLAZ.laz"

[output]
folder = "PATHTOOUTPUT"

I also tried the format from the FOSS4G presentation:

[input.footprint]
path = "PATHTOGPKG.gpkg"
id_attribute = "id"

[[input.pointclouds]]
name = "pointcloud"
path = "PATHTOLAZ.laz"

[reconstruction]
reconstruction_complexity = 0.7

[output]
path = "PATHTOOUTPUT"

Result Issue

Not all attempts produced an output. When there was output, it always contained:

"vertices": [[0,0,0],[0,0,0],[0,0,0],[0,0,0]]

or something similar, with all vertices being null.

Input Details
Both inputs (GPKG and pointcloud) are in EPSG:31983, and there is overlap between the two datasets. I was also unable to visualize the output with cjseqview, possibly due to the null vertices.

Could you please advise on these issues? Thank you!

@Ylannl
Copy link
Member

Ylannl commented Oct 31, 2024

Is your point cloud classified? By default roofer expects LAS class 6 for building points and class 2 for terrain points.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants