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

Create XSection Profile by sampling bathymetry points along the cross section line #3

Open
dwr-psandhu opened this issue Nov 16, 2023 · 2 comments
Assignees

Comments

@dwr-psandhu
Copy link
Contributor

Currently CSDP is able to place cross-sections at regular intervals (user specified). However these cross sections then have to be drawn manually by looking at the cloud of points within the cross-section thickness (perpendicular depth from the x section plane)

Especially for DEM points, these cross-section profiles can be created by sampling along the cross-section line and estimating the depth (averaging, interpolation, nearest-neighbor).

If the resulting cross-section profile has too many redundant points, a line simplification algorithm can be applied to result in a fairly good profile.

@bradtom
Copy link
Contributor

bradtom commented Nov 17, 2023

Line simplification is working. Next I will add features to the cross-section window: 1) A "Create XS" button, 2) an epsilon slider, 3) minimum year specification combo box, 4) maximum year combo box. Changes to options 2-4 will be saved to global variables and remembered until session ends or user modifies them again. Adding an automatic cross-section will also create a metadata entry. Then I will add features to the main window: 1) Automatically create cross-sections for all existing cross-section lines in selected centerline, or for selected cross-section line--probably include a warning and an "are you sure" dialog if any of the cross-section lines already have an existing drawing.
image

@dwr-psandhu
Copy link
Contributor Author

For the metadata, include the simplification epsilon, min and max year. Nice work!

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