gpx icon indicating copy to clipboard operation
gpx copied to clipboard

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

Open Qwertie- opened this issue 6 years ago • 1 comments

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.

Qwertie- avatar Aug 19 '18 14:08 Qwertie-

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

tyrauber avatar Feb 18 '21 17:02 tyrauber