Coverage for pygeodesy/deprecated.py : 77%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
# -*- coding: utf-8 -*-
''' HeightIDWeuclidean as _HeightIDWeuclidean, \ HeightIDWhaversine as _HeightIDWhaversine
# DEPRECATED classes, for export only '''DEPRECATED, use class L{HeightIDWeuclidean}. '''
'''DEPRECATED, use class L{HeightIDWequirectangular}. '''
'''DEPRECATED, use class L{HeightIDWhaversine}. '''
'''DEPRECATED, use class L{TRFError}. '''
'''DEPRECATED, use function L{areaOf}. ''' from pygeodesy.points import areaOf from pygeodesy.utily import R_M # PYCHOK shadows? r = R_M if radius is _R_M else radius # PYCHOK shadows? return areaOf(points, adjust=adjust, radius=r, wrap=wrap)
'''DEPRECATED, use function L{boundsOf}.
@return: 2-Tuple C{(latlonSW, latlonNE)} as B{C{LatLon}} or 4-Tuple C{(latS, lonW, latN, lonE)} if B{C{LatLon}} is C{None}. '''
'''DEPRECATED, use function L{epsg.decode2}.
@return: 2-Tuple C{(zone, hemipole)} '''
'''DEPRECATED, use function L{epsg.encode}.
@return: C{EPSG} code (C{int}). '''
'''DEPRECATED, use function C{equirectangular_}.
@return: 3-Tuple C{(distance2, delta_lat, delta_lon)}. '''
'''DEPRECATED, use function L{hypot_}. ''' from pygeodesy.fmath import hypot_ return hypot_(x, y, z)
'''DEPRECATED, use function L{isenclosedBy}. ''' from pygeodesy.points import isenclosedBy return isenclosedBy(point, points, wrap=wrap)
'''DEPRECATED, use function L{nearestOn5}.
@return: 3-Tuple C{(lat, lon, distance)} '''
'''DEPRECATED, use function L{nearestOn5}.
@return: 4-Tuple C{(lat, lon, distance, angle)} '''
'''DEPRECATED, use function L{parseUTM5}.
@return: The UTM coordinate (B{L{Utm}}) or 4-tuple C{(zone, hemisphere, easting, northing)} if B{C{Utm}} is C{None}. '''
'''DEPRECATED, use function L{perimeterOf}. ''' from pygeodesy.points import perimeterOf from pygeodesy.utily import R_M # PYCHOK shadows? r = R_M if radius is _R_M else radius # PYCHOK shadows? return perimeterOf(points, closed=closed, adjust=adjust, radius=r, wrap=wrap)
'''DEPRECATED, use function L{points2}. ''' from pygeodesy.bases import points2 return points2(points, closed=closed, base=base)
'''DEPRECATED, use function L{simplifyRW}. ''' from pygeodesy.simplify import simplifyRW from pygeodesy.utily import R_M # PYCHOK shadows? r = R_M if radius is _R_M else radius # PYCHOK shadows? return simplifyRW(points, pipe, radius=r, shortest=shortest, indices=indices, **options)
'''DEPRECATED, use function L{toUtm8}.
@return: The UTM coordinate (B{C{Utm}}) or a 6-tuple C{(zone, easting, northing, band, convergence, scale)} if B{C{Utm}} is C{None} or B{C{cmoff}} is C{False}. ''' # no hemisphere/pole and datum
'''DEPRECATED, use function L{utmZoneBand5}.
@return: 2-Tuple C{(zone, band)}. '''
# **) MIT License # # Copyright (C) 2018-2019 -- mrJean1 at Gmail dot com # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included # in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR # OTHER DEALINGS IN THE SOFTWARE. |