/usr/share/pyshared/geographiclib/geodesiccapability.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 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | # geodesiccapability.py
#
# This gathers the capability constants need by geodesic.py and
# geodesicline.py. See the documentation for the
# GeographicLib::Geodesic 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: 91d8d768ad86c1d65a1d9b5f67ad310466670a49 $
######################################################################
class GeodesicCapability(object):
"""
Capability constants shared between Geodesic and GeodesicLine.
"""
CAP_NONE = 0
CAP_C1 = 1<<0
CAP_C1p = 1<<1
CAP_C2 = 1<<2
CAP_C3 = 1<<3
CAP_C4 = 1<<4
CAP_ALL = 0x1F
OUT_ALL = 0x7F80
NONE = 0
LATITUDE = 1<<7 | CAP_NONE
LONGITUDE = 1<<8 | CAP_C3
AZIMUTH = 1<<9 | CAP_NONE
DISTANCE = 1<<10 | CAP_C1
DISTANCE_IN = 1<<11 | CAP_C1 | CAP_C1p
REDUCEDLENGTH = 1<<12 | CAP_C1 | CAP_C2
GEODESICSCALE = 1<<13 | CAP_C1 | CAP_C2
AREA = 1<<14 | CAP_C4
ALL = OUT_ALL| CAP_ALL
|