trep / opentrep

Open Travel Request Parser
https://trep.github.io/opentrep
GNU Lesser General Public License v2.1
11 stars 5 forks source link

distance computation #12

Open pgrandjean opened 7 years ago

pgrandjean commented 7 years ago

seems like some distances are not correctly computed. example: CGI-STL should be close to 182 km, but is reported as 165 km MAZ-SJU should be close to 122 km, but is reported as 112 km

da115115 commented 6 years ago

Thanks for reporting that issue!

The distance is calculated in the Django (Python) view script directly. Do not hesitate to create a pull request. Or, if you do not have time, could you please point to your preferred formula?