bguillouet / traj-dist

A python package for computing distance between 2D trajectories.
MIT License
311 stars 80 forks source link

Update to work with python3 and geohash2 #4

Closed djjavo closed 4 years ago

djjavo commented 5 years ago

Given that support for Python 2 will stop on the January 1, 2020. I have updated the code using an automated Python 2 to 3 code translation tool and altered the Geohash library to use geohash2 instead.

The code was tested on Python 3.6 with the following dependencies:

A test was made on a trajectory dataset, where the md5 hashes of the dissimilarity matrices from both the old and new traj-dist packages were identical.

bguillouet commented 4 years ago

First sorry for the VERY late answer. I didn't know very well GitHub untill recently and i never look at this PR. This works perfectly, so thank you very much, for this 🙏. I merged it. .