﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
15415	PT_assistant: remove warning about gap if route contains only one way	bxl-forever	darya	"==== What steps will reproduce the problem?
1. Have the PT_assistant plugin
2. Create a public transport route relation (type=route, public_transport:version=2, route=bus), containing some stops but only *one* way
3. Attempt to upload

==== What is the expected result?
Validation without any warning.

==== What happens instead?
PT assistant triggers warning: ""Route relation contains a gap"".

==== Please provide any additional information below. Attach a screenshot if possible.

The warning does not appear if one splits the way—proving that it is really linked to the fact that there is only one way in the relation.
Despite it may look silly to have only one way in a public transport route relation, sometime we have this for very short relations such as turnaround maneuvers at terminal stations and so on, or for cases where ways are long enough to cover the whole route (like in railways or trams).  Solving the code upstream makes more sense than imposing to split ways in OSM.

{{{
URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-10-03 21:43:00 +0200 (Tue, 03 Oct 2017)
Build-Date:2017-10-03 19:50:21
Revision:12921
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12921 en) Linux Arch Linux
Java version: 1.8.0_144-b01, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Djosm.restart=true]
Dataset consistency test: No problems found

Plugins:
+ log4j (32699)
+ measurement (33088)
+ pt_assistant (33619)
+ routing (33004)
}}}
"	defect	new	normal		Plugin pt_assistant	latest		template_report validator gap	michael2402 floscher Polyglot
