ecoscope.analysis.geofence
#
Module Contents#
- class ecoscope.analysis.geofence.Region(geometry, unique_id=None, region_name=None)[source]#
Bases:
collections.UserDict
- Parameters
geometry (Any) –
unique_id (str) –
region_name (str) –
- class ecoscope.analysis.geofence.GeoFence(geometry, unique_id=None, fence_name=None, warn_level=None)[source]#
Bases:
collections.UserDict
Represents Virtual Fence Boundary
- Parameters
geometry (Any) –
unique_id (str) –
fence_name (str) –
warn_level (str) –
- class ecoscope.analysis.geofence.GeoCrossingProfile[source]#
- property geofence_df#
- property region_df#
- geofences :List[GeoFence]#
- regions :List[Region]#
- class ecoscope.analysis.geofence.GeoFenceCrossing[source]#
- classmethod analyse(geocrossing_profile, trajectory)[source]#
Analyze the trajectory of each subject in relation to set of virtual fences and regions to determine where/when the polylines were crossed and what the containment of the individual was before and after any geofence crossings.
- Parameters
geocrossing_profile (GeoCrossingProfile) – Object that contains the geonfences and regions
trajectory (ecoscope.base.Trajectory) – Geodataframe stores goemetry, speed_kmhr, heading etc. for each subject.
- Return type