ecoscope.analysis.proximity
#
Module Contents#
- class ecoscope.analysis.proximity.SpatialFeature[source]#
A spatial geometry with an associated name and unique ID. Becomes a useful construct in several movdata calculations
- name :str =#
- unique_id :Any#
- geometry :Any#
- class ecoscope.analysis.proximity.Proximity[source]#
- classmethod calculate_proximity(proximity_profile, trajectory)[source]#
A function to analyze the trajectory of a subject in relation to a set of spatial features and regions to determine where/when the subject was proximal to the spatial feature.
- Parameters
proximity_profile (ProximityProfile) – proximity setting for performing calculation
trajectory (ecoscope.base.Trajectory) – Geodataframe stores goemetry, speed_kmhr, heading etc. for each subject.
- Return type
pd.DataFrame