code: def _points_from_linestrings(geoseries):
      """Convert a geoseries of linestrings into a geoseries of points.
      The length of the result is equal to the sum of the lengths of the
      linestrings in the original geoseries."""
      return cuspatial.GeoSeries.from_points_xy(geoseries.lines.xy)
  
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 14 for calling a global function with example usage: _points_from_linestrings(geoseries) and returns: cuspatial