code: def _multipoints_from_geometry(geoseries):
      """Wrapper function that converts any homogeneous geoseries into
      a geoseries of multipoints."""
      if geoseries.column_type == ColumnType.POINT:
          return _multipoints_from_points(geoseries)
      elif geoseries.column_type == ColumnType.MULTIPOINT:
          return geoseries
      elif geoseries.column_type == ColumnType.LINESTRING:
          return _multipoints_from_linestrings(geoseries)
      elif geoseries.column_type == ColumnType.POLYGON:
          return _multipoints_from_polygons(geoseries)
      else:
          raise NotImplementedError(
              "Cannot convert type {} to multipoints".format(
                  geoseries.type
              )
          )
  
imports: import cupy
  import numpy
  import cudf
  import cuspatial
  from cuspatial.core._column.geocolumn import ColumnType
  from cuspatial.core._column.geometa import Feature_Enum
label_desc: Use image node_id 13 for calling a global function with example usage: _multipoints_from_geometry(geoseries) and returns: _multipoints_from_points, geoseries, _multipoints_from_linestrings, _multipoints_from_polygons