How to use the pygeodesy.basics.property_RO function in PyGeodesy

To help you get started, we’ve selected a few PyGeodesy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mrJean1 / PyGeodesy / pygeodesy / datum.py View on Github external
    @property_RO
    def e12(self):
        '''Get M{1 - e**2} (C{float}).
        '''
        if self._e12 is None:
            self._e12 = 1 - self.e2
        return self._e12  # 1 - e2
github mrJean1 / PyGeodesy / pygeodesy / latlonBase.py View on Github external
    @property_RO
    def philam(self):
        '''Get the lat- and longitude (L{PhiLam2Tuple}C{(phi, lam)}).
        '''
        if self._philam is None:
            self._philam = PhiLam2Tuple(radians(self.lat),
                                        radians(self.lon))
        return self._xnamed(self._philam)
github mrJean1 / PyGeodesy / pygeodesy / ups.py View on Github external
    @property_RO
    def zone(self):
        '''Get the polar pseudo zone (C{0}), like Karney's U{zone UPS}.
        '''
        return _UPS_ZONE
github mrJean1 / PyGeodesy / pygeodesy / latlonBase.py View on Github external
    @property_RO
    def phi(self):
        '''Get the latitude (B{C{radians}}).
        '''
        return self.philam.phi if self._philam is None else self._philam.phi
github mrJean1 / PyGeodesy / pygeodesy / wgrs.py View on Github external
    @property_RO
    def height(self):
        '''Get this georef's height in C{meter} or C{None} if missing.
        '''
        if self._height is _Missing:
            self._decode()
        return self._height
github mrJean1 / PyGeodesy / pygeodesy / points.py View on Github external
    @property_RO
    def isNumpy2(self):
        '''Is this a Numpy2 wrapper?
        '''
        return True  # isinstance(self, (Numpy2LatLon, ...))
github mrJean1 / PyGeodesy / pygeodesy / datum.py View on Github external
    @property_RO
    def _geodesic_Math2(self):
        '''(INTERNAL) Get this ellipsoid's C{Geodesic} and Karney's
           C{Math} class.
        '''
        if Ellipsoid._Math is None:
            from pygeodesy.karney import _wrapped
            Ellipsoid._Math = _wrapped.Math
        return self.geodesic, Ellipsoid._Math
github mrJean1 / PyGeodesy / pygeodesy / webmercator.py View on Github external
    @property_RO
    def radius(self):
        '''Get the earth radius (C{meter}).
        '''
        return self._radius
github mrJean1 / PyGeodesy / pygeodesy / css.py View on Github external
    @property_RO
    def geodesic(self):
        '''Get this projection's I{wrapped} U{Karney Geodesic
           },
           provided package U{geographiclib
           } is installed.
        '''
        return self.datum.ellipsoid.geodesic
github mrJean1 / PyGeodesy / pygeodesy / azimuthal.py View on Github external
    @property_RO
    def equatoradius(self):
        '''Get the geodesic's equatorial (major) radius, semi-axis (C{meter}).
        '''
        return self.datum.ellipsoid.a