code: def parse_geometries(geoseries: gpGeoSeries) -> tuple:
      point_coords = []
      mpoint_coords = []
      line_coords = []
      polygon_coords = []
      all_offsets = []
      type_buffer = []
      point_offsets = [0]
      mpoint_offsets = [0]
      line_offsets = [0]
      polygon_offsets = [0]
  
      for geom in geoseries:
          if geom is None:
              all_offsets.append(NONE_OFFSET)
              type_buffer.append(Feature_Enum.NONE.value)
              continue
          coords = mapping(geom)["coordinates"]
          if isinstance(geom, Point):
              point_coords.append(coords)
              all_offsets.append(point_offsets[-1])
              point_offsets.append(point_offsets[-1] + 1)
              type_buffer.append(Feature_Enum.POINT.value)
          elif isinstance(geom, MultiPoint):
              mpoint_coords.append(coords)
              all_offsets.append(mpoint_offsets[-1])
              mpoint_offsets.append(mpoint_offsets[-1] + 1)
              type_buffer.append(Feature_Enum.MULTIPOINT.value)
          elif isinstance(geom, LineString):
              line_coords.append([coords])
              all_offsets.append(line_offsets[-1])
              line_offsets.append(line_offsets[-1] + 1)
              type_buffer.append(Feature_Enum.LINESTRING.value)
          elif isinstance(geom, MultiLineString):
              line_coords.append(coords)
              all_offsets.append(line_offsets[-1])
              line_offsets.append(line_offsets[-1] + 1)
              type_buffer.append(Feature_Enum.LINESTRING.value)
          elif isinstance(geom, Polygon):
              polygon_coords.append([coords])
              all_offsets.append(polygon_offsets[-1])
              polygon_offsets.append(polygon_offsets[-1] + 1)
              type_buffer.append(Feature_Enum.POLYGON.value)
          elif isinstance(geom, MultiPolygon):
              polygon_coords.append(coords)
              all_offsets.append(polygon_offsets[-1])
              polygon_offsets.append(polygon_offsets[-1] + 1)
              type_buffer.append(Feature_Enum.POLYGON.value)
          else:
              raise TypeError(type(geom))
      return (
          type_buffer,
          all_offsets,
          point_coords,
          mpoint_coords,
          line_coords,
          polygon_coords,
      )
  
file_path: cuspatial/python/cuspatial/cuspatial/io/geopandas_reader.py
imports: from geopandas import GeoSeries
  from shapely.geometry import LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon, mapping
  import cudf
  from cuspatial.core._column.geometa import Feature_Enum
  from cuspatial.io import pygeoarrow
label_desc: Use image node_id 1 for calling a global function with example usage: parse_geometries(geoseries) and returns: type_buffer,  all_offsets,  point_coords,  mpoint_coords,  line_coords,  polygon_coords