-
Notifications
You must be signed in to change notification settings - Fork 1
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
add a constructor that just needs the pointcloud #48
Conversation
beacf57
to
a1654e7
Compare
Signed-off-by: Megan Dawson <meganldawson42@gmail.com>
a1654e7
to
6718503
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, I think this is a good compromise for now to be able to get subsets of datasets until we think of a nicer interface to do this with. Can you please also bump the version in the Project.toml?
Signed-off-by: Megan Dawson <meganldawson42@gmail.com>
src/header.jl
Outdated
""" | ||
$(TYPEDSIGNATURES) | ||
|
||
Get the scale for point positions in a LAS file from a header `h`. Checks consistent scale for ALL axis. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Axis is singular, if you mean plural it should be axes.
src/header.jl
Outdated
""" | ||
function scale(h::LasHeader) | ||
|
||
@assert (h.spatial_info.scale.x == h.spatial_info.scale.y) && (h.spatial_info.scale.y == h.spatial_info.scale.z) "We expect all axis to be scale similarly" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here and "scaled" for past tense
Signed-off-by: Megan Dawson <meganldawson42@gmail.com>
Add a LASDataset constructor from a pointcloud (no preconstructed header required)
Description
Minor change to add a constructor from ONLY a pointcloud
Types of Changes
Review
List of tasks the reviewer must do to review the PR