ecoscope.io.smartio =================== .. py:module:: ecoscope.io.smartio Module Contents --------------- .. py:data:: logger .. py:class:: SmartIO(**kwargs) .. py:attribute:: _urlBase .. py:attribute:: _username .. py:attribute:: _password .. py:attribute:: _session .. py:attribute:: _token .. py:attribute:: _verify_ssl .. py:method:: login() .. py:method:: query_data(url, params = None) .. py:method:: query_geojson_data(url, params = None) .. py:method:: get_patrols_list(ca_uuid, language_uuid, start, end, patrol_mandate, patrol_transport, station_uuid = None) .. py:method:: extract_coordinates(gdf) Extract coordinates and timestamps from a GeoDataFrame with MultiLineString geometries. :param gdf: GeoDataFrame with MultiLineString geometries :type gdf: gpd.GeoDataFrame :returns: Three lists containing longitudes, latitudes, and timestamps :rtype: tuple .. py:method:: process_patrols_gdf(df) 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 .. py:method:: get_patrol_observations(ca_uuid, language_uuid, start, end, patrol_mandate = None, patrol_transport = None, station_uuid = None) .. py:method:: get_events(ca_uuid, language_uuid, start, end) .. py:method:: extract_event_attributes(attr_str)