FABallemand / ezGPX

Python GPX library
GNU General Public License v3.0
16 stars 1 forks source link

Negative long readings #15

Open SpinDoc96 opened 2 months ago

SpinDoc96 commented 2 months ago

I have a GPX file that uses negative longitudinal values for those west of the prime meridian. In matplotlib_plots there is the following line:

min_lat, min_lon = max(0, min_lat - offset), max(0, min_lon - offset)

that will force both the min and max longitudinal values to be zero if they are negative (and within offset of zero).

FABallemand commented 1 month ago

Thanks for taking the time to report this bug. It should be fixed with the next version of ezGPX.