class_docstr: performs forward and inverse geodetic, or Great Circle,
  computations.  The forward computation (using the 'fwd' method)
  involves determining latitude, longitude and back azimuth of a
  terminus point given the latitude and longitude of an initial
  point, plus azimuth and distance. The inverse computation (using
  the 'inv' method) involves determining the forward and back
  azimuths and distance given the latitudes and longitudes of an
  initial and terminus point.
  
  Attributes
  ----------
  initstring: str
      The string form of the user input used to create the Geod.
  sphere: bool
      If True, it is a sphere.
  a: float
      The ellipsoid equatorial radius, or semi-major axis.
  b: float
      The ellipsoid polar radius, or semi-minor axis.
  es: float
      The 'eccentricity' of the ellipse, squared (1-b2/a2).
  f: float
      The ellipsoid 'flattening' parameter ( (a-b)/a ).
class_docstr_tok: ["performs","forward","and","inverse","geodetic",",","or","Great","Circle",",","computations",".","The","forward","computation","(","using","the","'fwd","'","method",")","involves","determining","latitude",",","longitude","and","back","azimuth","of","a","terminus","point","given","the","latitude","and","longitude","of","an","initial","point",",","plus","azimuth","and","distance",".","The","inverse","computation","(","using","the","'inv","'","method",")","involves","determining","the","forward","and","back","azimuths","and","distance","given","the","latitudes","and","longitudes","of","an","initial","and","terminus","point",".","Attributes","--","--","--","--","--","initstring",":","str","The","string","form","of","the","user","input","used","to","create","the","Geod",".","sphere",":","bool","If","True",",","it","is","a","sphere",".","a",":","float","The","ellipsoid","equatorial","radius",",","or","semi-major","axis",".","b",":","float","The","ellipsoid","polar","radius",",","or","semi-minor","axis",".","es",":","float","The","'eccentricity","'","of","the","ellipse",",","squared","(","1-b2\/a2",")",".","f",":","float","The","ellipsoid","'flattening","'","parameter","(","(","a-b",")","\/a",")","."]
docstr: .. versionadded:: 2.3.0
  
  Returns the geodesic length (meters) of the shapely geometry.
  
  If it is a Polygon, it will return the sum of the
  lengths along the perimeter.
  If it is a MultiPolygon or MultiLine, it will return
  the sum of the lengths.
  
  Example usage:
  
  >>> from pyproj import Geod
  >>> from shapely.geometry import Point, LineString
  >>> line_string = LineString([Point(1, 2), Point(3, 4)])
  >>> geod = Geod(ellps="WGS84")
  >>> f"{geod.geometry_length(line_string):.3f}"
  '313588.397'
  
  Parameters
  ----------
  geometry: :class:`shapely.geometry.BaseGeometry`
      The geometry to calculate the length from.
  radians: bool, default=False
      If True, the input data is assumed to be in radians.
      Otherwise, the data is assumed to be in degrees.
  
  Returns
  -------
  float:
      The total geodesic length of the geometry (meters).
docstr_tok: ["..","versionadded",":",":","2.3.0","Returns","the","geodesic","length","(","meters",")","of","the","shapely","geometry",".","If","it","is","a","Polygon",",","it","will","return","the","sum","of","the","lengths","along","the","perimeter",".","If","it","is","a","MultiPolygon","or","MultiLine",",","it","will","return","the","sum","of","the","lengths",".","Example","usage",":",">",">",">","from","pyproj","import","Geod",">",">",">","from","shapely.geometry","import","Point",",","LineString",">",">",">","line_string","=","LineString","(","[","Point","(","1",",","2",")",",","Point","(","3",",","4",")","]",")",">",">",">","geod","=","Geod","(","ellps=","''","WGS84","''",")",">",">",">","f","''","{","geod.geometry_length","(","line_string",")",":",".3f","}","''","'313588.397'","Parameters","--","--","--","--","--","geometry",":",":","class",":","`","shapely.geometry.BaseGeometry","`","The","geometry","to","calculate","the","length","from",".","radians",":","bool",",","default=False","If","True",",","the","input","data","is","assumed","to","be","in","radians",".","Otherwise",",","the","data","is","assumed","to","be","in","degrees",".","Returns","--","--","--","-","float",":","The","total","geodesic","length","of","the","geometry","(","meters",")","."]
code: def geometry_length(self, geometry, radians: bool = False) -> float:
      """
      .. versionadded:: 2.3.0
  
      Returns the geodesic length (meters) of the shapely geometry.
  
      If it is a Polygon, it will return the sum of the
      lengths along the perimeter.
      If it is a MultiPolygon or MultiLine, it will return
      the sum of the lengths.
  
      Example usage:
  
      >>> from pyproj import Geod
      >>> from shapely.geometry import Point, LineString
      >>> line_string = LineString([Point(1, 2), Point(3, 4)])
      >>> geod = Geod(ellps="WGS84")
      >>> f"{geod.geometry_length(line_string):.3f}"
      '313588.397'
  
      Parameters
      ----------
      geometry: :class:`shapely.geometry.BaseGeometry`
          The geometry to calculate the length from.
      radians: bool, default=False
          If True, the input data is assumed to be in radians.
          Otherwise, the data is assumed to be in degrees.
  
      Returns
      -------
      float:
          The total geodesic length of the geometry (meters).
      """
      try:
          return self.line_length(*geometry.xy, radians=radians)  # type: ignore
      except (AttributeError, NotImplementedError):
          pass
      if hasattr(geometry, "exterior"):
          return self.geometry_length(
              geometry.exterior, radians=radians
          )
      if hasattr(geometry, "geoms"):
          total_length = 0.0
          for geom in geometry.geoms:
              total_length += self.geometry_length(
                  geom, radians=radians
              )
          return total_length
      raise GeodError("Invalid geometry provided.")
  
imports: import math
  import warnings
  from typing import Any
  from pyproj._geod import Geod
  from pyproj._geod import GeodIntermediateReturn, geodesic_version_str
  from pyproj._geod import reverse_azimuth
  from pyproj.enums import GeodIntermediateFlag
  from pyproj.exceptions import GeodError
  from pyproj.list import get_ellps_map
  from pyproj.utils import DataType, _convertback, _copytobuffer
label_desc: Use image node_id 10 for calling the Geod obj's underlying member method code with example usage: obj.geometry_length(geometry, radians) and returns: self, self, total_length