﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12427	[patch] add curvature based distance calculation to LatLon class, add way segment lengths between nodes to InspectorDialog	cmuelle8	team	"An elliptical function for length calculation has not yet been added.

AUTO value of DistanceTypes in LatLon class should later on decide sensible what distance Calculation to use - i.e. in very high zoom with close LatValues, curvature based algorithm can be used.

Additionally the ellipsoid and datum are now gettable from josm's main projection instance..


Additional info on the net can be found here:
  http://clynchg3c.com/Technote/geodesy/radiigeo.pdf

and here:
  https://en.wikipedia.org/wiki/Earth_radius#Radii_of_curvature

Greetings

ps: please review and test - this is core functionality, so please do not apply without having tested it a second/third time - that said, the main distance function is still greatCircleDistance - performance-wise I guess we could use the curvature based function as well, and it promises to be (a little) more accurate when editing locally - comparing the functions at runtime can be done by drawing a way and then using Ctrl+I to get the Inspector.."	enhancement	new	normal		Core	latest			latlon distance segment length curvature greatCircle meridional
