The latitudeType and longitudeType defined by the GPX 1.1 specification expect latitude to be between [-90.0, 90.0] and longitude to be between [-180.0, 180.0[.
This PR adds checks to verify these expectations are met. Is it something useful for this library?
If so, is the check implemented in a reasonable way? I have Java background and I'm still learning Rust, so I fear the code might not be idiomatic yet :)...
The latitudeType and longitudeType defined by the GPX 1.1 specification expect latitude to be between [-90.0, 90.0] and longitude to be between [-180.0, 180.0[.
This PR adds checks to verify these expectations are met. Is it something useful for this library?
If so, is the check implemented in a reasonable way? I have Java background and I'm still learning Rust, so I fear the code might not be idiomatic yet :)...
Thank you.