コード例 #1
0
ファイル: srs.py プロジェクト: JMassapina/lettuce
 def semi_major(self):
     "Returns the Semi Major Axis for this Spatial Reference."
     return capi.semi_major(self.ptr, byref(c_int()))
コード例 #2
0
ファイル: srs.py プロジェクト: letouriste001/SmartForest_2.0
"""
コード例 #3
0
 def semi_major(self):
     "Returns the Semi Major Axis for this Spatial Reference."
     return capi.semi_major(self.ptr, byref(c_int()))
コード例 #4
0
        Returns a tuple of the ellipsoid parameters:
=======
        Return a tuple of the ellipsoid parameters:
>>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435
         (semimajor axis, semiminor axis, and inverse flattening)
        """
        return (self.semi_major, self.semi_minor, self.inverse_flattening)

    @property
    def semi_major(self):
<<<<<<< HEAD
        "Returns the Semi Major Axis for this Spatial Reference."
=======
        "Return the Semi Major Axis for this Spatial Reference."
>>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435
        return capi.semi_major(self.ptr, byref(c_int()))

    @property
    def semi_minor(self):
<<<<<<< HEAD
        "Returns the Semi Minor Axis for this Spatial Reference."
=======
        "Return the Semi Minor Axis for this Spatial Reference."
>>>>>>> 37c99181c9a6b95433d60f8c8ef9af5731096435
        return capi.semi_minor(self.ptr, byref(c_int()))

    @property
    def inverse_flattening(self):
<<<<<<< HEAD
        "Returns the Inverse Flattening for this Spatial Reference."
=======