﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
21704	"Incorrect warning ""Water area inside water area"" when natural=water / natural=wetland inside natural=coastline"	rhys.macdonald@…	team	"==== What steps will reproduce the problem?
1. Create a closed way, tagged with natural=coastline with counter-clockwise direction.
2. Create another closed way, instead tagged with natural=water or natural=wetland, contained entirely within the coastline.
3. Run the validator.

==== What is the expected result?
No warnings occur.

==== What happens instead?
""Water area inside water area"" warning is triggered.

==== Please provide any additional information below. Attach a screenshot if possible.
This situation occurs commonly when adding lakes or wetlands to islands. This is valid tagging, so the validator shouldn't give any warnings for this.

{{{
Revision:18303
Build-Date:2021-11-01 22:53:13

Identification: JOSM/1.5 (18303 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19042)
Memory Usage: 1180 MB / 3936 MB (487 MB allocated, but free)
Java version: 17.0.1+12-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_NZ
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.18303, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe]
Dataset consistency test: No problems found

Plugins:
+ FastDraw (35864)
+ apache-commons (35524)
+ apache-http (35589)
+ buildings_tools (35823)
+ centernode (v1.0.4)
+ contourmerge (v0.1.8)
+ ejml (35458)
+ geotools (35458)
+ gridify (1606242219)
+ jaxb (35543)
+ jna (35872)
+ jogl (1.2.3)
+ jts (35458)
+ kendzi3d (1.0.205)
+ kendzi3d-resources (0.0.2)
+ log4j (35881)
+ opendata (35803)
+ reverter (35869)
+ terracer (35827)
+ todo (30306)
+ utilsplugin2 (35856)

Tagging presets:
+ https://raw.githubusercontent.com/osmlab/name-suggestion-index/main/dist/presets/nsi-josm-presets.min.xml

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
- <josm.pref>\styles\sit.mapcss

Last errors/warnings:
- 00000.762 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00000.765 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00005.942 E: java.security.KeyStoreException: Windows-ROOT not found. Cause: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available
- 00853.875 E: Failed to locate image 'https://koordinates.a.ssl.fastly.net/media/settings/branding/favicon-lds.ico'
- 00853.879 E: Failed to locate image 'https://koordinates.a.ssl.fastly.net/media/settings/branding/favicon-lds.ico'
- 00865.451 E: Failed to locate image 'https://koordinates.a.ssl.fastly.net/media/settings/branding/favicon-lds.ico'
- 00865.455 E: Failed to locate image 'https://koordinates.a.ssl.fastly.net/media/settings/branding/favicon-lds.ico'
}}}
"	defect	closed	minor		Core validator	tested	duplicate	template_report water wetland area inside	
