Coverage for pygeodesy/deprecated/datum.py: 100%
6 statements
« prev ^ index » next coverage.py v7.2.2, created at 2023-10-04 14:05 -0400
« prev ^ index » next coverage.py v7.2.2, created at 2023-10-04 14:05 -0400
2# -*- coding: utf-8 -*-
4u'''DEPRECATED, use module L{datums} or L{ellipsoids} instead.
5'''
6# XXX only the items previously public
7from pygeodesy.constants import R_M, R_MA, R_MB, R_KM, R_NM, R_SM, R_FM, R_VM
8from pygeodesy.ellipsoids import Ellipsoid, Ellipsoids, Curvature2Tuple # PYCHOK exported
9from pygeodesy.datums import Datum, Datums, Transform, Transforms
10# from pygeodesy.props import _deprecated_module
12__all__ = (R_M.name, R_MA.name, R_MB.name,
13 R_KM.name, R_NM.name, R_SM.name, R_FM.name, R_VM.name,
14 Datum.__name__, Ellipsoid.__name__, Transform.__name__, Curvature2Tuple.__name__,
15 Datums.name, Ellipsoids.name, Transforms.name)
16__version__ = '22.09.12'
18# _deprecated_module(__name__)
20# **) MIT License
21#
22# Copyright (C) 2016-2023 -- mrJean1 at Gmail -- All Rights Reserved.
23#
24# Permission is hereby granted, free of charge, to any person obtaining a
25# copy of this software and associated documentation files (the "Software"),
26# to deal in the Software without restriction, including without limitation
27# the rights to use, copy, modify, merge, publish, distribute, sublicense,
28# and/or sell copies of the Software, and to permit persons to whom the
29# Software is furnished to do so, subject to the following conditions:
30#
31# The above copyright notice and this permission notice shall be included
32# in all copies or substantial portions of the Software.
33#
34# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
35# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
36# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
37# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
38# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
39# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40# OTHER DEALINGS IN THE SOFTWARE.