class_docstr: A single logical entry from a shapefile, combining the attributes with
  their associated geometry.
class_docstr_tok: ["A","single","logical","entry","from","a","shapefile",",","combining","the","attributes","with","their","associated","geometry","."]
docstr: A shapely.geometry instance for this Record.
  
  The geometry may be ``None`` if a null shape is defined in the
  shapefile.
code: def geometry(self):
      """
      A shapely.geometry instance for this Record.
  
      The geometry may be ``None`` if a null shape is defined in the
      shapefile.
  
      """
      if not self._geometry and self._shape.shapeType != shapefile.NULL:
          self._geometry = sgeom.shape(self._shape)
      return self._geometry
  
imports: import io
  import itertools
  from pathlib import Path
  from urllib.error import HTTPError
  import shapefile
  import shapely.geometry
  from cartopy import config
  from cartopy.io import Downloader
label_desc: Use image node_id 5 for calling the Record obj's underlying member method code with example usage: obj.geometry() and returns: self