From 7af6a23604c6d62fd0b1b30f762617b0181fae22 Mon Sep 17 00:00:00 2001
From: Derick M <58572875+TurtIeSocks@users.noreply.github.com>
Date: Thu, 25 Jul 2024 09:13:11 -0400
Subject: [PATCH 1/6] feat: export feature cutouts
---
client/src/pages/map/popups/Polygon.tsx | 18 ++++++++++-
client/src/services/geoUtils.ts | 40 +++++++++++++++++++++++++
2 files changed, 57 insertions(+), 1 deletion(-)
diff --git a/client/src/pages/map/popups/Polygon.tsx b/client/src/pages/map/popups/Polygon.tsx
index 1336f30f..521ee0a7 100644
--- a/client/src/pages/map/popups/Polygon.tsx
+++ b/client/src/pages/map/popups/Polygon.tsx
@@ -41,7 +41,11 @@ import {
splitMultiPolygons,
} from '@services/utils'
import { useImportExport } from '@hooks/useImportExport'
-import { filterPoints, filterPolys } from '@services/geoUtils'
+import {
+ filterPoints,
+ filterPolys,
+ getFeatureCutouts,
+} from '@services/geoUtils'
import { usePersist } from '@hooks/usePersist'
const { add, remove, updateProperty } = useShapes.getState().setters
@@ -312,6 +316,18 @@ export function PolygonPopup({
>
Export
+