Replies: 1 comment 1 reply
-
@brvn0 so basically speed from GPSLogger looks somewhat like "12.5" in km/h? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First off thank you for your work by creating this project!!
I tried the guide to update the velocity entries in the database but the statement
points = Point.where(import_id: nil).where.not(velocity: [nil, "0"]).where("velocity NOT LIKE '%.%'")
didn't return any points. That was because the points I had saved were saved in the format X.X and you excluded that format from the statement. I checked the points stored in my database and after confirming that was in fact the issue I ran the following query:points = Point.where(import_id: nil).where.not(velocity: [nil, "0"])
this worked for me and speed is now correctly displayed in the map as well.
Just fyi I use gpslogger on android and until now used SPD_KPH and the velocity was saved as X.X in the DB.
I hope you could alter the release description so other users don't encounter this error.
Beta Was this translation helpful? Give feedback.
All reactions