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

Ability to get the lat max/min, lon max/min #33

Open
Qwertie- opened this issue Aug 19, 2018 · 1 comment
Open

Ability to get the lat max/min, lon max/min #33

Qwertie- opened this issue Aug 19, 2018 · 1 comment

Comments

@Qwertie-
Copy link

Would be useful if this library let you get the maximum and minimum values for longitude and latitude. Use case being you would be able to draw a box on a map that fits the whole gpx file inside of it.

@tyrauber
Copy link
Contributor

This is resolved. The bounds method on GPXFile will return GPX::Bounds, with min_lat, min_lon, min_lat, max_lon attributes.

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

2 participants