spaghetti icon indicating copy to clipboard operation
spaghetti copied to clipboard

option to snap to nearest *n* locations

Open jGaboardi opened this issue 7 years ago • 2 comments

Currently, network.snapobservations() finds one single nearest location along the network to snap a point. As an option / improvement:

  1. locate the n nearest locations along the network
  2. add restricted links to the network on which a shortest path can enter/exit exactly twice
  3. calculate network.allneighbordistances() from the update network in (2)

jGaboardi avatar Aug 18 '18 01:08 jGaboardi

Gaboardi, J.D., Folch, D.C. and Horner, M.W. (2019), Connecting Points to Spatial Networks: Effects on Discrete Optimization Models. Geogr Anal. doi:10.1111/gean.12211

jGaboardi avatar Dec 29 '19 17:12 jGaboardi

The is exactly related to #198 (pysal/pysal#650).

jGaboardi avatar Mar 04 '20 19:03 jGaboardi