pysal.explore.spaghetti.Network.compute_snap_dist

Network.compute_snap_dist(pattern, idx)[源代码]

对网络边缘进行捕捉观察后,计算从原始位置到捕捉位置的距离。

参数:
pattern : spaghetti.network.PointPattern

点模式对象

idx : 利息

点ID