Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2028 closed defect (fixed)

Railsport should display distance to friends in meters when kilometers aren't applicable

Reported by: avar Owned by: Tom Hughes
Priority: major Milestone:
Component: website Version:
Keywords: Cc: StefanB

Description

The website will just show a friend as "0km" away when said friend is just a few hundred meters away (presumably <0.5>).

Change History (5)

comment:1 Changed 10 years ago by avar

Resolution: fixed
Status: newclosed

Solved in changeset [16310]

comment:2 Changed 10 years ago by Tom Hughes

Just saying "less than 1km" would have been good enough and a lot simpler. I doubt most positions are accurate enough to make reporting metres mean very much.

comment:3 Changed 10 years ago by StefanB

Cc: StefanB added

Distance also in meters instead of only kilometers probably encourages better precision.

It's also true that it could be rounded a bit for larger numbers.

Eg, if someone is 632m away it is shown as "630m" (or even 650m), but if a neighbor is 12m away then it is shown as "12m"

Or trying to generalize it a bit, users are probably only interested in 2 most significant digits, regardless of the unit (1352km -> 1400km, 114 km->110km, 7km->7km, 821m->820m, 35m->35m).

comment:4 Changed 10 years ago by Shaun McDonald

A lot of people intentionally use their local park or similar as their home location to make it ambigous, thus this extra code is a waste of time in the real world.

comment:5 in reply to:  4 Changed 10 years ago by avar

Replying to smsm1:

A lot of people intentionally use their local park or similar as their home location to make it ambigous, thus this extra code is a waste of time in the real world.

As long as some subset of the users set their home location inaccurately reporting on it with >1km precision is a waste of time?

There's another subset of users who do set their location accurately, and semi-accurate distances on the nearby mappers map are also useful for seeing how far these markers being displayed are from you.

Note: See TracTickets for help on using tickets.