caesar0301 / s2g

(S)hapefile to(2) (G)raph/network converter in Python
https://pypi.python.org/pypi/s2g
MIT License
24 stars 8 forks source link

Fixed problematic function #7

Closed lobisquit closed 5 years ago

lobisquit commented 5 years ago

point_projects_to_line function has been rewritten, as a workaround for #5. Now it seems to work on my dataset, but needs another pair of eyes in order to be sure it does what it is intended to.

caesar0301 commented 5 years ago

@lobisquit You algorithm seems more efficient. I review my own code and think about it for a few days. Still can't recall why I gave an extra projection from points on line to the line itself. What a shame!!!

Anyway, your improvement is reasonable. Thank you.

lobisquit commented 5 years ago

Perfect then.

Thank you very much for the library by the way