polartoolkit.shapes_to_df# shapes_to_df(shapes, hemisphere=None, epsg=None)[source]# convert the output of ptk.draw_region and ptk.draw_lines to a dataframe of easting and northing points Parameters: shapes (list) β list of vertices hemisphere (str, optional,) β set projection based on βnorthβ or βsouthβ hemispheres, by default None epsg (str | None, optional) β set projection from EPSG code string (β3031β), by default None Returns: Dataframe with easting, northing, and shape_num. Return type: pandas.DataFrame