﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
20716	[PATCH][RFC] Search for missing power line support features	gaben	GerdP	"==== Problem
The power lines are sometimes drawn from low quality satellite imagery, and support features can be easily missed.

==== Proposed solution
Add a java validator test to sort these issues out. It works as following:
- an average node distance calculated for the whole way (`line` or `minor_line`)
- using mean and individual segment lengths, the standard deviation calculated
- if exceeds a threshold, a warning message created where both nodes highlighted to make manual checks faster

Way requirements to lower false positives:
- the way has to have at least 5 nodes
- segment length must be higher than a specific value, calculated as follows:

default `threshold`
- power=line -> `1.6`
- power=minor_line -> `1.4`
if `(mean / stdDev) < 4` (high inconsistency) an extra `0.2` threshold value added.

If any segment length exceeds `mean * threshold`, the warning fired. In my testing, they give good results.

==== Usage
Run the validator as usual, an extra warning appears if the issue detected."	enhancement	closed	normal	22.09	Core validator		fixed	power line segment	Klumbumbus
