/usr/share/pyshared/geographiclib/constants.py is in python-geographiclib 1.21-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # constants.py
#
# This is a translation of the GeographicLib::Constants class to python.
# See the documentation for the C++ class for more information at
#
# http://geographiclib.sourceforge.net/html/annotated.html
#
# Copyright (c) Charles Karney (2011) <charles@karney.com> and licensed
# under the MIT/X11 License. For more information, see
# http://geographiclib.sourceforge.net/
#
# $Id: dd3c90107aedf80bead4c3f5c670df2b3eed7492 $
######################################################################
class Constants(object):
"""
WGS84 constants:
WGS84_a, the equatorial radius in meters
WGS84_f, the flattening of the ellipsoid
"""
WGS84_a = 6378137.0 # meters
WGS84_f = 1/298.257223563
|