﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
20103	Warn about short ways	skyper	team	"See my [/ticket/20057#comment:4 comment 4] and follow-ups on #20057 for the origin.

==== What steps will reproduce the problem?
1. Have a `highway=motorway` with total way length of less than one meter
1. Run validator

==== What is the expected result?
A (info) warning about a uncommen short way

==== What happens instead?
No warning

==== Please provide any additional information below. Attach a screenshot if possible.
MapCSS java eval expression `waylength()` can be used.
Can `JOSM_pref(key, default)` be used to set a minimum allowed length and maybe even tags to check on or tags to ignore?
I think of at least two levels as user might want to set a tiny default (0.01 meter) to not get warnings about `highway=steps` or `waterway=stream` but still handle major highways and other waterways with length below one meter.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-11-17 02:38:27 +0100 (Tue, 17 Nov 2020)
Revision:17322
Build-Date:2020-11-17 02:31:05
URL:https://josm.openstreetmap.de/svn/trunk
}}}
"	enhancement	new	normal		Core validator			template_report short way length	
