Network.
compute_snap_dist
(self, pattern, idx)[source]¶Given an observation snapped to a network arc, calculate the distance from the original location to the snapped location.
point pattern object
point id
euclidean distance from original location to snapped location.