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

coordinate for images #114

Closed
mengzhibin opened this issue Mar 27, 2020 · 3 comments
Closed

coordinate for images #114

mengzhibin opened this issue Mar 27, 2020 · 3 comments

Comments

@mengzhibin
Copy link

We need images with coordinate such as gps, but I cannot understand the converting function of your api. Is there such dataset?

@janesjanes
Copy link
Contributor

Hey mengzhibin,
this might help answering your question #95

We don't currently have gps in the dataset but you can convert to that pretty easily. The city coordinate we are using is based on UTM system.

"City coordinates can be converted to the UTM (Universal Transverse Mercator) coordinate system by simply adding the city’s origin in UTM coordinates to the object’s city coordinate pose"

Then you can just convert from UTM to lat/long

@johnwlambert
Copy link
Contributor

Thanks for your interest in our work @mengzhibin. As @janesjanes said, the real conversion here is from UTM to GPS: our city coordinate system origin is simply a constant offset from UTM. In the Supplemental Material we refer to the following paper for the math:
J. P. Snyder. Map projections: A working manual. u.s. geological survey professional paper. page 61, 1987.
https://pubs.usgs.gov/pp/1395/report.pdf
pages 57-64

We don't provide a UTM->GPS converter in our API, but there are many other python packages that do.

@mengzhibin
Copy link
Author

Thanks for your reply

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