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

[REQUEST] Append points to existing PointDataGrid #1918

Open
anja-sheppard opened this issue Sep 26, 2024 · 0 comments
Open

[REQUEST] Append points to existing PointDataGrid #1918

anja-sheppard opened this issue Sep 26, 2024 · 0 comments

Comments

@anja-sheppard
Copy link

Hi everyone--

I'm looking for a way to take an existing PointDataGrid and append points to it. I've considered the following approaches, but so far I haven't figured out a way to make them work:

  • merge two trees: as far as I understand, this is not supported for PointDataTree types
  • use an accessor: I also cannot find any documentation/examples on how to do this, but the idea would be to use setValue to replace the PointDataLeafNode with an updated version, but I cannot discern from the documentation how to create a new leaf node and populate it with new data

For more context, I'm looking to take in multiple scans from a lidar at each timestep into one merged grid. I have some specific things I need to do to properly merge the attributes for each point, which I am thinking I can either do as the points are merged together or during the pruning process. However, I cannot figure out how to append points to an existing PointDataGrid.

I'm hoping that @danrbailey would potentially help with this, as I see that he is the author for the PointDataGrid.h file. Thank you!

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

No branches or pull requests

1 participant