ecoscope.io.smartio#
Module Contents#
- ecoscope.io.smartio.logger#
- class ecoscope.io.smartio.SmartIO(**kwargs)[source]#
- _urlBase#
- _username#
- _password#
- _session#
- _token#
- _verify_ssl#
- extract_coordinates(gdf)[source]#
Extract coordinates and timestamps from a GeoDataFrame with MultiLineString geometries.
- Parameters:
gdf (gpd.GeoDataFrame) – GeoDataFrame with MultiLineString geometries
- Returns:
Three lists containing longitudes, latitudes, and timestamps
- Return type:
tuple
- process_patrols_gdf(df)[source]#
Process multiple geometries in a vectorized way. :param df: Input DataFrame with geometry column containing MULTILINESTRING Z data
Returns: gpd.GeoDataFrame: Processed GeoDataFrame with expanded coordinate data
- Parameters:
df (pandas.DataFrame)
- Return type:
geopandas.GeoDataFrame