bmwcarit / barefoot

Java map matching library for integrating the map into software and services with state-of-the-art online and offline map matching that can be used stand-alone and in the cloud.
Apache License 2.0
671 stars 186 forks source link

mapmatching error response #84

Closed aggour211 closed 6 years ago

aggour211 commented 6 years ago

Hello, First of all, i've been using the library for quite some time and it works like a charm, you are doing a great Job. Thank you. I've found during my tests an issue that cause a mapmatch error. Whenever the trip passes from a lat or lon that are in the range ]-0.1, 0.1[ the server returns an error.

Here are some samples where the problem occurs: sans titre 1

data.txt latlon.txt

Thank you a lot, Issam

smattheis commented 6 years ago

Thanks for reporting this issue. I assume that you used the offline matcher. Could you please post the log output of the server for that error?

smattheis commented 6 years ago

As said before, to verify the bug the server log output would be good. In turn, to verify the bugfix before I push on the master branch, you could try the following patch intercept-bugfix.txt if it fixes the problem for your sample traces. You can apply the bugfix as follows:

cd barefoot
git apply path/to/intercept-bugfix.txt
mvn package -DskipTests

Thanks!

aggour211 commented 6 years ago

Thank you very much for your fast response. The bugfix works i'll keep testing. Thanks a lot.