﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
18903	Polygons are exported to GeoJSON incorrectly	Zverikk	team	"How to reproduce:

1. Create an empty layer
2. Draw a closed way
3. Add a natural=water tag on it
4. Double-check you've got the default JOSM mappaint style on
5. Save the layer as GeoJSON
6. Open it to double-check the feature is saved as a polygon, not a linestring
7. Open it in an external GeoJSON reader, e.g. http://geojson.io

The coordinates in the polygon geometry are not enclosed in an extra array. Instead they are stored just like for a linestring. This makes for a broken data.

I assume geojson exporting hasn't been tested by anybody because of #18902."	defect	closed	normal		Core geojson	latest	irreproducible	geojson	
