From 8f366f07818ab662221deccc3b6dbf3377ed7d1f Mon Sep 17 00:00:00 2001 From: ingalls Date: Thu, 26 Oct 2023 13:53:44 -0600 Subject: [PATCH] Set Polygon Type --- lib/cot.ts | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cot.ts b/lib/cot.ts index 763a2bd..ba00793 100644 --- a/lib/cot.ts +++ b/lib/cot.ts @@ -175,7 +175,7 @@ export default class CoT { }); } } else if (feature.geometry.type === 'Polygon') { - cot.event._attributes.type = 'u-d-r'; + cot.event._attributes.type = 'u-d-f'; // Inner rings are not yet supported cot.event.detail.link = []; diff --git a/package-lock.json b/package-lock.json index 9a396cd..c3c481c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@turf/point-on-feature": "^6.5.0", "@types/color": "^3.0.3", "@types/geojson": "^7946.0.10", - "ajv": "^8.11.2", + "ajv": "^8.12.0", "color": "^4.2.3", "protobufjs": "^7.1.2", "xml-js": "^1.6.11" diff --git a/package.json b/package.json index 784bb0c..5ff7349 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "@turf/point-on-feature": "^6.5.0", "@types/color": "^3.0.3", "@types/geojson": "^7946.0.10", - "ajv": "^8.11.2", + "ajv": "^8.12.0", "color": "^4.2.3", "protobufjs": "^7.1.2", "xml-js": "^1.6.11"