From 1e08deb7823af157237b64f96219b3c333e08c16 Mon Sep 17 00:00:00 2001 From: Joe McMahon Date: Wed, 11 Feb 2026 09:45:40 -0500 Subject: [PATCH] Updated with lint and build clean up --- public/modules/io/export.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/modules/io/export.js b/public/modules/io/export.js index f4166f96..3f9db732 100644 --- a/public/modules/io/export.js +++ b/public/modules/io/export.js @@ -664,7 +664,8 @@ function saveGeoJsonZones() { const coordinates = getZonePolygonCoordinates(zone.cells); // Only add feature if we have valid coordinates - if (coordinates[0].length > 1) { + // GeoJSON LinearRing requires at least 4 positions (with first == last) + if (coordinates[0].length >= 4) { const properties = { id: zone.i, name: zone.name,