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

fix(measure): measure line should be absolutely positioned #751

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wallw-teal
Copy link
Contributor

Measure lines should be drawn on the mean ellipsoid surface since that is where the calculation is occurring. If we want the line clamped to terrain then we will need to pull the highest quality meshes that intersect the line, clamp the line, and calculate distance from that.

@wallw-teal wallw-teal requested a review from schmidtk September 9, 2019 22:22
swtyler pushed a commit to swtyler/opensphere that referenced this pull request Oct 9, 2019
…phere:upscanMerge to master

* commit 'b5a11fbd35933af4f203e8844b99f3c4f3ca1962':
  fix(CSVExport): Prevent hidden columns from being included in export
  test(cypress): Reduces size of server responses
  feat(compiler): upgrade compiler and library and fix errors
  fix(csv): Use custom checkbox in CSV export options.
  feat(datebinmethod): Add Month of Year
  test(cypress): Removes reserved character from fixture filenames
@schmidtk
Copy link
Contributor

schmidtk commented Nov 21, 2019

This accurately depicts what is being measured, but the user interaction in 3D with terrain is not ideal. The mouse cursor is almost always disjoint from the line being drawn. Should 3D/terrain measurements switch to straight line distance and use the exact coordinate (lon, lat, alt) at each mouse event?

@wallw-teal
Copy link
Contributor Author

That's possible but we'll need to update the measurement as the terrain is loaded and each vertex is moved due to clampToGround.

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

Successfully merging this pull request may close these issues.

2 participants