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

[Feature Request] GPS data in coordinate measurement #537

Open
yawstick opened this issue Oct 14, 2018 · 6 comments
Open

[Feature Request] GPS data in coordinate measurement #537

yawstick opened this issue Oct 14, 2018 · 6 comments

Comments

@yawstick
Copy link

Modify the format of the GPS lat/lon data displayed when doing a coordinate measurement on a 3d map. The current format is not so user friendly.

@smathermather
Copy link
Contributor

Ah, the git issue bot strikes again.

@smathermather
Copy link
Contributor

I think you can prevent this by putting “Feature request” in brackets.

Anyway, based on the community dialog, the current coordinates are in UTM with an offset. At the very least, having these display in UTM, and better yet in geographic coordinates is what you’re looking for, correct?

@pierotofy pierotofy changed the title Feature request.. GPS data in coordinate measurement [Feature Request] GPS data in coordinate measurement Oct 15, 2018
@yawstick
Copy link
Author

yawstick commented Oct 16, 2018

yes that is correct... preferably decimal degrees lat/lon... it would then match what you see when your mouse is hovering over the 2d map.

My first time here...I will remember the bracket thing

It would be helpful if you could point me to where this is done... I'm not a programmer but I have connected with a local python user group where I'm trying to recruit some help.

@smathermather
Copy link
Contributor

smathermather commented Oct 16, 2018

The high-level would be to convert the coordinates with offsets to their UTM equivalent and then transform those to geographic coordinates (latitude and longitude), and display the converted version.

@pierotofy
Copy link
Member

Yup. Part of the difficulty is that UTM coordinates without offsets are large numbers, and WebGL uses floats to represent vertex coordinates, so we can't just add the offsets to the vertices and call it done. I like how glTF's Cesium RTC extension handles it. https://github.com/KhronosGroup/glTF/tree/master/extensions/1.0/Vendor/CESIUM_RTC

Perhaps just recording what the UTM offset is and then adding it for visualization/measurement purposes would be a reasonable solution.

@smathermather
Copy link
Contributor

Yes, the simplest is to just display the correct UTM values, but something like proj4js could convert to geographic pretty easily too, I think.

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

3 participants