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

does the extract_profile tool ignore the GpsTime attribute? #18

Open
fcespedes-pathway opened this issue Dec 19, 2023 · 7 comments
Open

Comments

@fcespedes-pathway
Copy link

When I use the extract_profile tool, it appears that the points extracted to the .las file do not have the GpsTime data that is in the original pointcloud.
Is it a bug or do I need to pass a parameter?

I run the tool as follows:
./extract_profile.exe "E:\PointClouds\Track_A" -o "E:\tmp\retz.laz" --coordinates "{564615.531, 4405035.518, 189.464},{564663.891, 4405027.402, 189.343}" --width 50 --min-level 0 --max-level 12

and the metadata.json file: metadata.json

@HeadLessHUN
Copy link

Seem to have similar issue...
For me it is only export Intensity attribute only, nothing else.

@m-schuetz
Copy link
Collaborator

Seem to have similar issue... For me it is only export Intensity attribute only, nothing else.

Check out @fcespedes-pathway 's PR: https://github.com/potree/CPotree/pull/21/files

Haven't had the time to test it yet but looks good.

@HeadLessHUN
Copy link

HeadLessHUN commented Mar 26, 2024

thanks for pointing me this direction, i was not able build it right now, based on the readme. Is there any specific version os msvcc, or something like that? I'll take a little bit deeper afternoon.

@m-schuetz
Copy link
Collaborator

I'm using Visual Studio 2022. If the build tool version is the issue, maybe you could specify it explicitly

cmake ../ -G "Visual Studio 17 2022" -A x64

@HeadLessHUN
Copy link

HeadLessHUN commented Mar 26, 2024

well it has build errors, which is suppose comes from an old version of visual studio and compiler.
ends_with (since C++20) as i've told you i'm using very old compiler. Afternoon i'll update probably gonna solve everything.

image

@m-schuetz
Copy link
Collaborator

When you update, also check that platform toolset and C++ language standard are set to the latest. Sometimes C++ language standard still points to something before C++20.

image

@HeadLessHUN
Copy link

after upgradeing it built fine. and looks like it works for attributes what i need (Point source id, classification,intensity) :) Thanks Markus, and thanks for Potree :)

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

3 participants