﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
20174	"Exclude administrative borders, especially national administrative borders from ""very long segment"""	mkoniecz	team	"==== What steps will reproduce the problem?
1. Try to debug subtly broken geometries (why Belarus is partially in Poland, see final section for more details)
2. Try using JOSM validator
3. Download Poland border for validation

==== What is the expected result?
No spurious validator warnings.

==== What happens instead?
Very long segment of 18 kilometres (1)
https://www.openstreetmap.org/way/715181351

Very long segment of 20 kilometres (1)
https://www.openstreetmap.org/way/9419404

Very long segment of 27 kilometres (1)
https://www.openstreetmap.org/way/9419404

But nowadays I think that national borders are fairly accurate and very long segments there actually happen. This reports seem spurious and unwanted.


==== Please provide any additional information below. Attach a screenshot if possible.
Right now I am trying to debug why Belarus is in Poland using JOSM validator and this errors seem spurious

Broken (land area of Poland): http://overpass-turbo.eu/s/10CN https://www.openstreetmap.org/relation/936128

Working (Poland): http://overpass-turbo.eu/s/10CO https://www.openstreetmap.org/relation/49715

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-11-25 13:40:57 +0100 (Wed, 25 Nov 2020)
Revision:17360
Build-Date:2020-11-26 02:30:53
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (17360 en_GB) Linux Ubuntu 20.04.1 LTS
Memory Usage: 473 MB / 976 MB (107 MB allocated, but free)
Java version: 11.0.9.1+1-Ubuntu-0ubuntu1.20.04, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Desktop environment: LXQt
Java package: openjdk-11-jre:amd64-11.0.9.1+1-0ubuntu1~20.04
Java ATK Wrapper package: libatk-wrapper-java:all-0.37.1-1
Environment variable LANG: en_GB.UTF-8
libcommons-logging-java: libcommons-logging-java:all-1.2-2
fonts-noto: fonts-noto:-
Dataset consistency test: No problems found

Plugins:
+ buildings_tools (35640)
+ measurement (35640)
+ reverter (35640)
+ todo (30306)

Last errors/warnings:
- 00166.625 W: java.net.NoRouteToHostException: No route to host (Host unreachable)
- 00166.626 E: java.net.NoRouteToHostException: No route to host (Host unreachable)
- 00166.655 E: java.util.concurrent.ExecutionException: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: java.net.NoRouteToHostException: No route to host (Host unreachable)
- 00166.663 E: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: java.net.NoRouteToHostException: No route to host (Host unreachable)
- 00166.667 W: java.net.NoRouteToHostException: No route to host (Host unreachable)
- 00166.673 E: java.net.NoRouteToHostException: No route to host (Host unreachable)
- 00166.745 E: Network exception - <html>Failed to open a connection to the remote server<br>'https://api.openstreetmap.org/api/0.6/nodes?nodes=3826719559,7429244288,7738176106,615635937,3826719558,7429244289,7429244290,1741658269,7738176104,615635939,7429244291,7738176105,615635938,7429244292,615635941,952747933,7429244293,7738176111,7429244294,1741658265,615635943,7429244295,615635942,7429244296,7738176098,7429244297,1741658262,7738176099,7429244298,7738176096,615635947,7429244299,7738176097,615635946,7429244300,7738176102,7429244301,1741658258,7738176103,615635948,7429244302,7738176100,615635951,7429244303,7738176101,615635950,7429244336,1741658287,7738176090,615635921,7429244337,7738176091,7429244338,1741658285,7738176088,615635923,7429244339,7738176089,615635922,7429244340,1741658283,7738176094,615635925,7429244341,7738176095,7429244342,7738176092,615635927,7429244343,7738176093,615635926,7429244344,1741658279,615635929,7429244345,7429244346,7429244347,615635930,7429244348,1741658275,7738176086,615635933,7429244349,7738176087,615635932,7429244350,615635935,7429244351,1741658272,7738176085,615635934,7429244320,7429244321,1741658302,615635904,7429244322,615635907,7429244323,615635906,7429244324,7429244325,1741658298,615635908,7429244326,615635911,7429244327,1741658296,615635910,7429244328,615635913,7429244329,1741658294,7429244330,615635915,7429244331,1741658292,615635914,7429244332,7429244333,615635916,7429244334,1741658289,615635919,7429244335,615635918,7429244240,615635761,7429244241,615635760,7429244242,615635763,7429244243,615635762,7429244244,7429244245,615635764,7429244246,615635767,7429244247,2001832150,615635766,7429244248,615635769,7429244249,615635768,7429244250,615635771,7429244251,615635770,7429244252,615635773,7429244253,615635772,7429244254,7429244255,615635774,7429244224,615635745,7429244225,615635744,7429244226,615635747,7429244227,7429244228,7429244229,615635748,7429244230,615635751,7429244231,615635750'.<br>Please check your internet connection.</html>
- 02691.478 W: java.net.SocketTimeoutException: Read timed out. Cause: java.net.SocketTimeoutException: Read timed out
}}}
"	enhancement	closed	normal	20.12	Core validator		fixed	template_report long segment boundary	
