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

Best-in-time-and-space performance improvement approach #41

Open
dhardestylewis opened this issue Jun 20, 2022 · 5 comments
Open

Best-in-time-and-space performance improvement approach #41

dhardestylewis opened this issue Jun 20, 2022 · 5 comments
Assignees

Comments

@dhardestylewis
Copy link
Owner

Improve performance of workflow by eliminating tiles which don't intersect any other projects whatsoever

@dhardestylewis
Copy link
Owner Author

dhardestylewis commented Jun 20, 2022

Roughly 70% performance savings

based on area of intersecting projects and area of Texas

@dhardestylewis
Copy link
Owner Author

@andycarter-pe this involved generating that golden vector image which will tell you where the best available point-cloud imagery exists throughout Texas

@dhardestylewis dhardestylewis changed the title Improve performance of workflow by eliminating tiles which don't intersect any other projects whatsoever Improve performance of workflow by eliminating tiles which won't be used Aug 7, 2022
@dhardestylewis
Copy link
Owner Author

dhardestylewis commented Aug 7, 2022

best-in-time-and-space algorithm

Pseudo-code to improve performance of terrain_aggregator workflow described in #44

  1. ✅ dissolve each bucket of tiles separated by the characteristics of the table described in Draft selection table for best-in-time-and-space version of the terrain_aggregator workflow #44 into a single polygon per bucket, creating table of buckets of tiles

  2. ✅ ensure buckets are ordered similarly to how described in this table, although I will be making year first priority characteristic after hearing feedback from TNRIS

  3. ✅ insert polygon 1 (ie bucket 1's dissolved polygon) as row at top of table best-in-time-and-space by bucket

  4. as a loop, starting from the 2nd bucket:

    1. ✅ take polygons 1,...,i

    2. polygon i minus union(polygons 1,...,i-1) = polygon i's remaining tiles as a single polygon

    3. ⏳ store polygon i's remaining tiles as a single polygon as a new row in table best-in-time-and-space by bucket

table best-in-time-and-space by bucket is a set of polygons that cover Texas without gaps and without intersection and describe the highest quality bucket of tiles at every location in Texas.

table best-in-time-and-space by bucket can be merged against the table of buckets of tiles and intersected against the original table of TNRIS Lidar tiles to pull back out a table of best-in-time-and-space tiles at every location in Texas.

@dhardestylewis dhardestylewis changed the title Improve performance of workflow by eliminating tiles which won't be used Best-in-time-and-space performance improvement approach Aug 9, 2022
@dhardestylewis
Copy link
Owner Author

Best-in-time-and-space result can be used to generate highest quality elevation data directly from Lidar point cloud

@dhardestylewis
Copy link
Owner Author

dhardestylewis commented Aug 10, 2022

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