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

Automatically create globe anchor for georeferenced tileset #690

Open
lilleyse opened this issue Feb 15, 2024 · 0 comments
Open

Automatically create globe anchor for georeferenced tileset #690

lilleyse opened this issue Feb 15, 2024 · 0 comments

Comments

@lilleyse
Copy link
Contributor

If a tileset is tiled in its local coordinates but has a geolocation, we should probably automate its placement with a globe anchor when user adds the asset via the Asset UI.

To do this we would need to:

  • Detect that a tileset is georeferenced and movable (we already have tileset metadata fields for these)
  • Remove the root tile transform
  • Compute the longitude, latitude, height, heading, pitch, roll from the root transform
  • Attach a globe anchor
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

1 participant