﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
16526	Simplify Way on Polygon deletes it with very high values of error	SK53	team	"==== What steps will reproduce the problem?
1. Raise simplify.way.max.error to a very high level (say 100)
2. Select a Polygon
3. Choose Tools ... Simplify Way
3. The Polygon disappears.

==== What is the expected result?

A polygon with fewer nodes (never less than 3) or a warning message that simplifying would delete the feature.

==== What happens instead?

The entire polygon disappears

==== Please provide any additional information below. Attach a screenshot if possible.

In inadvertently used JOSM with a previously set very high simplify.way.max.error and was surprised to see polygons disappearing (I suspect I used JOSM with this setting when writing this blog post: http://sk53-osm.blogspot.com/2016/10/skeletons-in-water.html). Notwithstanding the high setting, I think a fundamental property of simplify way is that it should not delete the element, or at the least raise a warning message.

{{{
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-07-09 01:47:59 +0200 (Mon, 09 Jul 2018)
Build-Date:2018-07-08 23:50:14
Revision:14026
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14026 en_GB) Windows 10 64-Bit
OS Build number: Windows 10 Home 1803 (17134)
Memory Usage: 451 MB / 989 MB (145 MB allocated, but free)
Java version: 1.8.0_171-b11, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 1366x768
Maximum Screen Size: 1366x768
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\Desktop\josm.jnlp, -Djnlpx.remove=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=100m,1024m, -Djnlpx.splashport=15042, -Djnlpx.jvm=<java.home>\bin\javaw.exe]
Dataset consistency test: No problems found

Plugins:
+ BuildingGeneralization (23)
+ ImportImagePlugin (34389)
+ ImproveOsm (137)
+ Mapillary (v1.5.15)
+ apache-commons (34389)
+ apache-http (34389)
+ buildings_tools (34212)
+ ejml (34389)
+ geojson (84)
+ geotools (34125)
+ indoorhelper (34389)
+ jogl (1.2.1)
+ jts (34206)
+ kendzi3d-resources (0.0.1)
+ log4j (34038)
+ mbtiles (v2.4.0)
+ measurement (34206)
+ opendata (34389)
+ poly (34389)
+ rasterfilters (34109)
+ reverter (34271)
+ terracer (34109)
+ todo (30305)
+ turnrestrictions (34129)
+ undelete (34274)
+ utilsplugin2 (34389)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Trees&zip=1
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/GB.zip
+ http://zibi.openstreetmap.org.pl/kendzi/k/Simple3dPreset/s3db-preset.zip

Map paint styles:
+ <josm.pref>\styles\sit.mapcss

Validator rules:
+ <josm.pref>\validator\indoorhelper.validator.mapcss

Last errors/warnings:
- W: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake. Cause: java.io.EOFException: SSL peer shut down incorrectly
- W: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake. Cause: java.io.EOFException: SSL peer shut down incorrectly
- W: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake. Cause: java.io.EOFException: SSL peer shut down incorrectly
- W: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake. Cause: java.io.EOFException: SSL peer shut down incorrectly
- W: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake. Cause: java.io.EOFException: SSL peer shut down incorrectly
- W: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake. Cause: java.io.EOFException: SSL peer shut down incorrectly
- W: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake. Cause: java.io.EOFException: SSL peer shut down incorrectly
- W: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake. Cause: java.io.EOFException: SSL peer shut down incorrectly
- W: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake. Cause: java.io.EOFException: SSL peer shut down incorrectly
- W: org.openstreetmap.josm.io.OsmApiException: ResponseCode=503, Error Body=<<h2>This website is under heavy load (queue full)</h2><p>Were sorry, too many people are accessing this website at the same time. Were working on this problem. Please try again later.</p>>
}}}
"	defect	new	normal		Core	tested		template_report	
