- All Implemented Interfaces:
- LatLon, java.io.Serializable
public class OsmLatLon
extends java.lang.Object
implements LatLon, java.io.Serializable
A geo position (without height) implemented using two fixed 1E7 integers, meaning that the
maximum precision is limited to 7 decimal points. Coincidentally, this is exactly the maximum
precision the positions are saved in the OSM database, hence the name OsmLatLon
So, this saves 8 byte per coordinate from an implementation based on doubles ;-)
- See Also:
- Serialized Form