code: def get_type_id(geometry, **kwargs):
      """Returns the type ID of a geometry.
  
      - None (missing) is -1
      - POINT is 0
      - LINESTRING is 1
      - LINEARRING is 2
      - POLYGON is 3
      - MULTIPOINT is 4
      - MULTILINESTRING is 5
      - MULTIPOLYGON is 6
      - GEOMETRYCOLLECTION is 7
  
      Parameters
      ----------
      geometry : Geometry or array_like
      **kwargs
          See :ref:`NumPy ufunc docs <ufuncs.kwargs>` for other keyword arguments.
  
      See also
      --------
      GeometryType
  
      Examples
      --------
      >>> from shapely import LineString, Point
      >>> get_type_id(LineString([(0, 0), (1, 1), (2, 2), (3, 3)]))
      1
      >>> get_type_id([Point(1, 2), Point(2, 3)]).tolist()
      [0, 0]
      """
      return lib.get_type_id(geometry, **kwargs)
  
imports: import warnings
  from enum import IntEnum
  import numpy
  from shapely import _geometry_helpers, geos_version, lib
  from shapely._enum import ParamEnum
  from shapely.decorators import multithreading_enabled
label_desc: Use image node_id 1 for calling a global function with example usage: get_type_id(geometry) and returns: lib