You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An additional version of TurfMisc.nearestPointOnLine() where the distance unit can be specified could be useful.
Current Behavior
TurfMisc.nearestPointOnLine() uses miles as unit for dist
(see e.g. TurfMisc.java#L237 ).
Possible Implementation
If this is a valid issue, maybe I can try and produce a pull request.
The text was updated successfully, but these errors were encountered:
gwimmel
changed the title
nearestpointonline miles
TurfMisc.nearestPointoOnLine() should use kilometers as default unit for dists
Jun 19, 2019
gwimmel
changed the title
TurfMisc.nearestPointoOnLine() should use kilometers as default unit for dists
TurfMisc.nearestPointoOnLine() should use kilometers as default unit for dist
Jun 19, 2019
gwimmel
changed the title
TurfMisc.nearestPointoOnLine() should use kilometers as default unit for dist
TurfMisc.nearestPointOnLine() should use kilometers as default unit for dist
Jun 19, 2019
Expected Behavior
TurfMisc.nearestPointOnLine() should use kilometers as default unit for dist, as documented in http://turfjs.org/docs/#nearestPointOnLine .
An additional version of TurfMisc.nearestPointOnLine() where the distance unit can be specified could be useful.
Current Behavior
TurfMisc.nearestPointOnLine() uses miles as unit for dist
(see e.g. TurfMisc.java#L237 ).
Possible Implementation
If this is a valid issue, maybe I can try and produce a pull request.
The text was updated successfully, but these errors were encountered: