#NEWLINE# @ property #NEWLINE# def ellipsoid( self ) : #NEWLINE# #INDENT# '\n        Returns a tuple of the ellipsoid parameters:\n        (semimajor axis, semiminor axis, and inverse flattening).\n        ' #NEWLINE# if gdal . HAS_GDAL : #NEWLINE# #INDENT# return self . srs . ellipsoid #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# m = self . spheroid_regex . match ( self . wkt ) #NEWLINE# if self : #NEWLINE# #INDENT# return ( float ( m . group ( 'major' ) ) , float ( m . group ( 'flattening' ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return None