From 79ed2f507455f499473149203c231867f4261d58 Mon Sep 17 00:00:00 2001 From: Abby Vath Meyer Date: Tue, 29 Jul 2025 17:27:47 +0000 Subject: [PATCH 01/14] Remove error caching behavior --- packages/geoprocessing/src/aws/helpers.ts | 25 +++++++++--- packages/geoprocessing/src/aws/tasks.ts | 46 ++++++++++------------- 2 files changed, 39 insertions(+), 32 deletions(-) diff --git a/packages/geoprocessing/src/aws/helpers.ts b/packages/geoprocessing/src/aws/helpers.ts index ad7c11081c..6fdd7801f8 100644 --- a/packages/geoprocessing/src/aws/helpers.ts +++ b/packages/geoprocessing/src/aws/helpers.ts @@ -24,6 +24,8 @@ import { byteSize } from "../util/byteSize.js"; * @param region AWS region specified in geoprocessing.json * @param functionParameters parameters required by lambda worker function * @param request + * @param options + * @param options.enableCache Whether cache of worker task should be enabled, defaults to false * @returns Lambda invocation response */ export async function runLambdaWorker( @@ -99,17 +101,30 @@ export function parseLambdaResponse( const payload = JSON.parse(Buffer.from(lambdaResult.Payload).toString()); - if (payload.statusCode !== 200) - throw new Error( - `Lambda result parsing failed: ${JSON.stringify(JSON.parse(payload.body))}`, - ); + if (payload.statusCode !== 200) { + let errorMessage = `Lambda result parsing failed`; + try { + const body = JSON.parse(payload.body); + if (body.error) { + errorMessage = body.error; + } else if (body.data && body.data.error) { + errorMessage = body.data.error; + } + } catch { + errorMessage = `Lambda result parsing failed: ${JSON.stringify(payload.body)}`; + } + throw new Error(errorMessage); + } return JSON.parse(payload.body).data; - } catch { + } catch (error) { console.log( "Failed to parse response from lambdaResult", JSON.stringify(lambdaResult, null, 2), ); + if (error instanceof Error) { + throw error; + } throw new Error(`Failed to parse response from AWS lambda`); } } diff --git a/packages/geoprocessing/src/aws/tasks.ts b/packages/geoprocessing/src/aws/tasks.ts index 56b702f458..14f4999374 100644 --- a/packages/geoprocessing/src/aws/tasks.ts +++ b/packages/geoprocessing/src/aws/tasks.ts @@ -339,38 +339,30 @@ export default class TasksModel { task.duration = Date.now() - new Date(task.startedAt).getTime(); task.error = errorDescription; - const shouldCache = - task.disableCache === undefined || task.disableCache === false; - - if (shouldCache) { - await this.db.send( - new UpdateCommand({ - TableName: this.table, - Key: { - id: task.id, - service: task.service, - }, - UpdateExpression: - "set #error = :error, #status = :status, #duration = :duration", - ExpressionAttributeNames: { - "#error": "error", - "#status": "status", - "#duration": "duration", - }, - ExpressionAttributeValues: { - ":error": errorDescription, - ":status": task.status, - ":duration": task.duration, - }, - }), - ); - } + // Update task status to failed but don't cache error data + await this.db.send( + new UpdateCommand({ + TableName: this.table, + Key: { + id: task.id, + service: task.service, + }, + UpdateExpression: "set #status = :status, #duration = :duration", + ExpressionAttributeNames: { + "#status": "status", + "#duration": "duration", + }, + ExpressionAttributeValues: { + ":status": task.status, + ":duration": task.duration, + }, + }), + ); return { statusCode: 500, headers: { ...commonHeaders, - "Cache-Control": "max-age=0", }, body: JSON.stringify(task), }; From 61c7cffa75d3d42b70853a62a6e9115923e0e9a4 Mon Sep 17 00:00:00 2001 From: Abby Vath Meyer Date: Tue, 29 Jul 2025 19:01:32 +0000 Subject: [PATCH 02/14] Delete failed task from cached table --- .../geoprocessing/src/aws/tasks.test.e2e.ts | 37 ++++++++++++++++++- packages/geoprocessing/src/aws/tasks.ts | 14 ++----- 2 files changed, 38 insertions(+), 13 deletions(-) diff --git a/packages/geoprocessing/src/aws/tasks.test.e2e.ts b/packages/geoprocessing/src/aws/tasks.test.e2e.ts index a5462ee3ee..3aaa4ff383 100644 --- a/packages/geoprocessing/src/aws/tasks.test.e2e.ts +++ b/packages/geoprocessing/src/aws/tasks.test.e2e.ts @@ -321,10 +321,43 @@ describe("DynamoDB local", () => { service: SERVICE_NAME, }, }); + expect(item && item.Item).toBeUndefined(); // Task should be completely deleted expect(response.statusCode).toBe(500); + expect(JSON.parse(response.body).status).toBe("failed"); // Status in response should be failed expect(JSON.parse(response.body).error).toBe("It broken"); - expect(item && item.Item && item.Item.status).toBe("failed"); - expect(item && item.Item && item.Item.duration).toBeGreaterThan(0); + expect(JSON.parse(response.body).duration).toBeGreaterThan(0); + + // Try to get the same task - should not find anything + const cachedResult = await Tasks.get(SERVICE_NAME, task.id); + expect(cachedResult).toBeUndefined(); // Should not find any cached task + + // Complete the same task with success (creates new task with same ID) + const successData = { + metrics: [createMetric({ value: 42, sketchId: "test" })], + }; + const successResponse = await Tasks.complete(task, successData); + expect(successResponse.statusCode).toBe(200); + + // Verify the success is cached + const successItem = await docClient.get({ + TableName: "tasks-core", + Key: { + id: task.id, + service: SERVICE_NAME, + }, + }); + expect(successItem && successItem.Item && successItem.Item.status).toBe( + "completed", + ); + expect( + successItem && successItem.Item && successItem.Item.data, + ).toBeDefined(); + + // Verify retrieval of result + const finalCachedResult = await Tasks.get(SERVICE_NAME, task.id); + expect(finalCachedResult).toBeDefined(); + expect(finalCachedResult?.status).toBe("completed"); + expect(finalCachedResult?.data).toEqual(successData); }); afterAll(async () => { diff --git a/packages/geoprocessing/src/aws/tasks.ts b/packages/geoprocessing/src/aws/tasks.ts index 14f4999374..cb5b19a0c3 100644 --- a/packages/geoprocessing/src/aws/tasks.ts +++ b/packages/geoprocessing/src/aws/tasks.ts @@ -8,6 +8,7 @@ import { paginateQuery, DynamoDBDocumentPaginationConfiguration, QueryCommandInput, + DeleteCommand, } from "@aws-sdk/lib-dynamodb"; import { updateCommandsSync } from "./dynamodb/updateCommandsSync.js"; @@ -339,23 +340,14 @@ export default class TasksModel { task.duration = Date.now() - new Date(task.startedAt).getTime(); task.error = errorDescription; - // Update task status to failed but don't cache error data + // Delete the task completely from database to allow fresh retries await this.db.send( - new UpdateCommand({ + new DeleteCommand({ TableName: this.table, Key: { id: task.id, service: task.service, }, - UpdateExpression: "set #status = :status, #duration = :duration", - ExpressionAttributeNames: { - "#status": "status", - "#duration": "duration", - }, - ExpressionAttributeValues: { - ":status": task.status, - ":duration": task.duration, - }, }), ); From 44b650bb397af691d20be54819f38d534bf0cefc Mon Sep 17 00:00:00 2001 From: Abby Meyer Date: Thu, 13 Nov 2025 13:57:19 -0800 Subject: [PATCH 03/14] Make datasets bucket private (#400) * Make s3 bucket private * Presign private bucket urls in lambda * Clarify presign code --- package-lock.json | 443 ++++++++++++++---- packages/geoprocessing/package.json | 1 + packages/geoprocessing/scripts/aws/buckets.ts | 9 +- packages/geoprocessing/scripts/aws/types.ts | 9 +- .../geoprocessing/src/dataproviders/cog.ts | 7 +- .../src/dataproviders/flatgeobuf.ts | 6 +- .../geoprocessing/src/dataproviders/index.ts | 1 + .../src/dataproviders/presignedUrl.test.ts | 107 +++++ .../src/dataproviders/presignedUrl.ts | 47 ++ 9 files changed, 529 insertions(+), 101 deletions(-) create mode 100644 packages/geoprocessing/src/dataproviders/presignedUrl.test.ts create mode 100644 packages/geoprocessing/src/dataproviders/presignedUrl.ts diff --git a/package-lock.json b/package-lock.json index cd9ab05014..b4515a4cfc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1395,6 +1395,175 @@ "node": ">=18.0.0" } }, + "node_modules/@aws-sdk/s3-request-presigner": { + "version": "3.930.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/s3-request-presigner/-/s3-request-presigner-3.930.0.tgz", + "integrity": "sha512-kIjYM2a3xkg5Ll8TUBVjE5mM/uTswE6JycUsND7y3nbEHUd7OXBShAspFZxgTjga33bsdaIRbggligC8tu25pg==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/signature-v4-multi-region": "3.930.0", + "@aws-sdk/types": "3.930.0", + "@aws-sdk/util-format-url": "3.930.0", + "@smithy/middleware-endpoint": "^4.3.9", + "@smithy/protocol-http": "^5.3.5", + "@smithy/smithy-client": "^4.9.5", + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/core": { + "version": "3.930.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.930.0.tgz", + "integrity": "sha512-E95pWT1ayfRWg0AW2KNOCYM7QQcVeOhMRLX5PXLeDKcdxP7s3x0LHG9t7a3nPbAbvYLRrhC7O2lLWzzMCpqjsw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.930.0", + "@aws-sdk/xml-builder": "3.930.0", + "@smithy/core": "^3.18.2", + "@smithy/node-config-provider": "^4.3.5", + "@smithy/property-provider": "^4.2.5", + "@smithy/protocol-http": "^5.3.5", + "@smithy/signature-v4": "^5.3.5", + "@smithy/smithy-client": "^4.9.5", + "@smithy/types": "^4.9.0", + "@smithy/util-base64": "^4.3.0", + "@smithy/util-middleware": "^4.2.5", + "@smithy/util-utf8": "^4.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/middleware-sdk-s3": { + "version": "3.930.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.930.0.tgz", + "integrity": "sha512-bnVK0xVVmrPyKTbV5MgG6KP7MPe87GngBPD5MrYj9kWmGrJIvnt0qer0UIgWAnsyCi7XrTfw7SMgYRpSxOYEMw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/core": "3.930.0", + "@aws-sdk/types": "3.930.0", + "@aws-sdk/util-arn-parser": "3.893.0", + "@smithy/core": "^3.18.2", + "@smithy/node-config-provider": "^4.3.5", + "@smithy/protocol-http": "^5.3.5", + "@smithy/signature-v4": "^5.3.5", + "@smithy/smithy-client": "^4.9.5", + "@smithy/types": "^4.9.0", + "@smithy/util-config-provider": "^4.2.0", + "@smithy/util-middleware": "^4.2.5", + "@smithy/util-stream": "^4.5.6", + "@smithy/util-utf8": "^4.2.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/signature-v4-multi-region": { + "version": "3.930.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.930.0.tgz", + "integrity": "sha512-UOAq1ftbrZc9HRP/nG970OONNykIDWunjth9GvGDODkW0FR7DHJWBmTwj61ZnrSiuSParp1eQfa+JsZ8eXNPcw==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/middleware-sdk-s3": "3.930.0", + "@aws-sdk/types": "3.930.0", + "@smithy/protocol-http": "^5.3.5", + "@smithy/signature-v4": "^5.3.5", + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/types": { + "version": "3.930.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.930.0.tgz", + "integrity": "sha512-we/vaAgwlEFW7IeftmCLlLMw+6hFs3DzZPJw7lVHbj/5HJ0bz9gndxEsS2lQoeJ1zhiiLqAqvXxmM43s0MBg0A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/util-arn-parser": { + "version": "3.893.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-arn-parser/-/util-arn-parser-3.893.0.tgz", + "integrity": "sha512-u8H4f2Zsi19DGnwj5FSZzDMhytYF/bCh37vAtBsn3cNDL3YG578X5oc+wSX54pM3tOxS+NY7tvOAo52SW7koUA==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@aws-sdk/s3-request-presigner/node_modules/@aws-sdk/xml-builder": { + "version": "3.930.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.930.0.tgz", + "integrity": "sha512-YIfkD17GocxdmlUVc3ia52QhcWuRIUJonbF8A2CYfcWNV3HzvAqpcPeC0bYUhkK+8e8YO1ARnLKZQE0TlwzorA==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.9.0", + "fast-xml-parser": "5.2.5", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@aws-sdk/s3-request-presigner/node_modules/@smithy/node-config-provider": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-4.3.5.tgz", + "integrity": "sha512-UTurh1C4qkVCtqggI36DGbLB2Kv8UlcFdMXDcWMbqVY2uRg0XmT9Pb4Vj6oSQ34eizO1fvR0RnFV4Axw4IrrAg==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/property-provider": "^4.2.5", + "@smithy/shared-ini-file-loader": "^4.4.0", + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@aws-sdk/s3-request-presigner/node_modules/fast-xml-parser": { + "version": "5.2.5", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.2.5.tgz", + "integrity": "sha512-pfX9uG9Ki0yekDHx2SiuRIyFdyAr1kMIMitPvb0YBo8SUfKvia7w7FIyd/l6av85pFYRhZscS75MwMnbvY+hcQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "dependencies": { + "strnum": "^2.1.0" + }, + "bin": { + "fxparser": "src/cli/cli.js" + } + }, + "node_modules/@aws-sdk/s3-request-presigner/node_modules/strnum": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.1.1.tgz", + "integrity": "sha512-7ZvoFTiCnGxBtDqJ//Cu6fWtZtc7Y3x+QOirG15wztbdngGSkht27o2pyGWrVy0b4WAy3jbKmnoK6g5VlVNUUw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT" + }, "node_modules/@aws-sdk/signature-v4-multi-region": { "version": "3.744.0", "license": "Apache-2.0", @@ -1472,6 +1641,34 @@ "node": ">=18.0.0" } }, + "node_modules/@aws-sdk/util-format-url": { + "version": "3.930.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-format-url/-/util-format-url-3.930.0.tgz", + "integrity": "sha512-FW6Im17Zc7F5WT39XUgDOjtJO95Yu8rsmeRHf7z+Y3FamtTSzH4f713BD/qMyJBrZIlFACWlok/Uuvdl5/qtMg==", + "license": "Apache-2.0", + "dependencies": { + "@aws-sdk/types": "3.930.0", + "@smithy/querystring-builder": "^4.2.5", + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@aws-sdk/util-format-url/node_modules/@aws-sdk/types": { + "version": "3.930.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.930.0.tgz", + "integrity": "sha512-we/vaAgwlEFW7IeftmCLlLMw+6hFs3DzZPJw7lVHbj/5HJ0bz9gndxEsS2lQoeJ1zhiiLqAqvXxmM43s0MBg0A==", + "license": "Apache-2.0", + "dependencies": { + "@smithy/types": "^4.9.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/@aws-sdk/util-locate-window": { "version": "3.723.0", "license": "Apache-2.0", @@ -5613,10 +5810,12 @@ } }, "node_modules/@smithy/abort-controller": { - "version": "4.0.1", + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-4.2.5.tgz", + "integrity": "sha512-j7HwVkBw68YW8UmFRcjZOmssE77Rvk0GWAIN1oFBhsaovQmZWYCIcGa9/pwRB0ExI8Sk9MWNALTjftjHZea7VA==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.1.0", + "@smithy/types": "^4.9.0", "tslib": "^2.6.2" }, "engines": { @@ -5690,16 +5889,20 @@ } }, "node_modules/@smithy/core": { - "version": "3.1.2", + "version": "3.18.3", + "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.18.3.tgz", + "integrity": "sha512-qqpNskkbHOSfrbFbjhYj5o8VMXO26fvN1K/+HbCzUNlTuxgNcPRouUDNm+7D6CkN244WG7aK533Ne18UtJEgAA==", "license": "Apache-2.0", "dependencies": { - "@smithy/middleware-serde": "^4.0.2", - "@smithy/protocol-http": "^5.0.1", - "@smithy/types": "^4.1.0", - "@smithy/util-body-length-browser": "^4.0.0", - "@smithy/util-middleware": "^4.0.1", - "@smithy/util-stream": "^4.0.2", - "@smithy/util-utf8": "^4.0.0", + "@smithy/middleware-serde": "^4.2.5", + "@smithy/protocol-http": "^5.3.5", + "@smithy/types": "^4.9.0", + "@smithy/util-base64": "^4.3.0", + "@smithy/util-body-length-browser": "^4.2.0", + "@smithy/util-middleware": "^4.2.5", + "@smithy/util-stream": "^4.5.6", + "@smithy/util-utf8": "^4.2.0", + "@smithy/uuid": "^1.1.0", "tslib": "^2.6.2" }, "engines": { @@ -5794,13 +5997,15 @@ } }, "node_modules/@smithy/fetch-http-handler": { - "version": "5.0.1", + "version": "5.3.6", + "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.3.6.tgz", + "integrity": "sha512-3+RG3EA6BBJ/ofZUeTFJA7mHfSYrZtQIrDP9dI8Lf7X6Jbos2jptuLrAAteDiFVrmbEmLSuRG/bUKzfAXk7dhg==", "license": "Apache-2.0", "dependencies": { - "@smithy/protocol-http": "^5.0.1", - "@smithy/querystring-builder": "^4.0.1", - "@smithy/types": "^4.1.0", - "@smithy/util-base64": "^4.0.0", + "@smithy/protocol-http": "^5.3.5", + "@smithy/querystring-builder": "^4.2.5", + "@smithy/types": "^4.9.0", + "@smithy/util-base64": "^4.3.0", "tslib": "^2.6.2" }, "engines": { @@ -5857,7 +6062,9 @@ } }, "node_modules/@smithy/is-array-buffer": { - "version": "4.0.0", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-4.2.0.tgz", + "integrity": "sha512-DZZZBvC7sjcYh4MazJSGiWMI2L7E0oCiRHREDzIxi/M2LY79/21iXt6aPLHge82wi5LsuRF5A06Ds3+0mlh6CQ==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.6.2" @@ -5891,16 +6098,18 @@ } }, "node_modules/@smithy/middleware-endpoint": { - "version": "4.0.3", + "version": "4.3.10", + "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-4.3.10.tgz", + "integrity": "sha512-SoAag3QnWBFoXjwa1jenEThkzJYClidZUyqsLKwWZ8kOlZBwehrLBp4ygVDjNEM2a2AamCQ2FBA/HuzKJ/LiTA==", "license": "Apache-2.0", "dependencies": { - "@smithy/core": "^3.1.2", - "@smithy/middleware-serde": "^4.0.2", - "@smithy/node-config-provider": "^4.0.1", - "@smithy/shared-ini-file-loader": "^4.0.1", - "@smithy/types": "^4.1.0", - "@smithy/url-parser": "^4.0.1", - "@smithy/util-middleware": "^4.0.1", + "@smithy/core": "^3.18.3", + "@smithy/middleware-serde": "^4.2.5", + "@smithy/node-config-provider": "^4.3.5", + "@smithy/shared-ini-file-loader": "^4.4.0", + "@smithy/types": "^4.9.0", + "@smithy/url-parser": "^4.2.5", + "@smithy/util-middleware": "^4.2.5", "tslib": "^2.6.2" }, "engines": { @@ -5908,12 +6117,14 @@ } }, "node_modules/@smithy/middleware-endpoint/node_modules/@smithy/node-config-provider": { - "version": "4.0.1", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-4.3.5.tgz", + "integrity": "sha512-UTurh1C4qkVCtqggI36DGbLB2Kv8UlcFdMXDcWMbqVY2uRg0XmT9Pb4Vj6oSQ34eizO1fvR0RnFV4Axw4IrrAg==", "license": "Apache-2.0", "dependencies": { - "@smithy/property-provider": "^4.0.1", - "@smithy/shared-ini-file-loader": "^4.0.1", - "@smithy/types": "^4.1.0", + "@smithy/property-provider": "^4.2.5", + "@smithy/shared-ini-file-loader": "^4.4.0", + "@smithy/types": "^4.9.0", "tslib": "^2.6.2" }, "engines": { @@ -5963,10 +6174,13 @@ } }, "node_modules/@smithy/middleware-serde": { - "version": "4.0.2", + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-4.2.5.tgz", + "integrity": "sha512-La1ldWTJTZ5NqQyPqnCNeH9B+zjFhrNoQIL1jTh4zuqXRlmXhxYHhMtI1/92OlnoAtp6JoN7kzuwhWoXrBwPqg==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.1.0", + "@smithy/protocol-http": "^5.3.5", + "@smithy/types": "^4.9.0", "tslib": "^2.6.2" }, "engines": { @@ -5974,10 +6188,12 @@ } }, "node_modules/@smithy/middleware-stack": { - "version": "4.0.1", + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-4.2.5.tgz", + "integrity": "sha512-bYrutc+neOyWxtZdbB2USbQttZN0mXaOyYLIsaTbJhFsfpXyGWUxJpEuO1rJ8IIJm2qH4+xJT0mxUSsEDTYwdQ==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.1.0", + "@smithy/types": "^4.9.0", "tslib": "^2.6.2" }, "engines": { @@ -6030,13 +6246,15 @@ } }, "node_modules/@smithy/node-http-handler": { - "version": "4.0.2", + "version": "4.4.5", + "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.4.5.tgz", + "integrity": "sha512-CMnzM9R2WqlqXQGtIlsHMEZfXKJVTIrqCNoSd/QpAyp+Dw0a1Vps13l6ma1fH8g7zSPNsA59B/kWgeylFuA/lw==", "license": "Apache-2.0", "dependencies": { - "@smithy/abort-controller": "^4.0.1", - "@smithy/protocol-http": "^5.0.1", - "@smithy/querystring-builder": "^4.0.1", - "@smithy/types": "^4.1.0", + "@smithy/abort-controller": "^4.2.5", + "@smithy/protocol-http": "^5.3.5", + "@smithy/querystring-builder": "^4.2.5", + "@smithy/types": "^4.9.0", "tslib": "^2.6.2" }, "engines": { @@ -6044,10 +6262,12 @@ } }, "node_modules/@smithy/property-provider": { - "version": "4.0.1", + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-4.2.5.tgz", + "integrity": "sha512-8iLN1XSE1rl4MuxvQ+5OSk/Zb5El7NJZ1td6Tn+8dQQHIjp59Lwl6bd0+nzw6SKm2wSSriH2v/I9LPzUic7EOg==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.1.0", + "@smithy/types": "^4.9.0", "tslib": "^2.6.2" }, "engines": { @@ -6055,10 +6275,12 @@ } }, "node_modules/@smithy/protocol-http": { - "version": "5.0.1", + "version": "5.3.5", + "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-5.3.5.tgz", + "integrity": "sha512-RlaL+sA0LNMp03bf7XPbFmT5gN+w3besXSWMkA8rcmxLSVfiEXElQi4O2IWwPfxzcHkxqrwBFMbngB8yx/RvaQ==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.1.0", + "@smithy/types": "^4.9.0", "tslib": "^2.6.2" }, "engines": { @@ -6066,11 +6288,13 @@ } }, "node_modules/@smithy/querystring-builder": { - "version": "4.0.1", + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-4.2.5.tgz", + "integrity": "sha512-y98otMI1saoajeik2kLfGyRp11e5U/iJYH/wLCh3aTV/XutbGT9nziKGkgCaMD1ghK7p6htHMm6b6scl9JRUWg==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.1.0", - "@smithy/util-uri-escape": "^4.0.0", + "@smithy/types": "^4.9.0", + "@smithy/util-uri-escape": "^4.2.0", "tslib": "^2.6.2" }, "engines": { @@ -6078,10 +6302,12 @@ } }, "node_modules/@smithy/querystring-parser": { - "version": "4.0.1", + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-4.2.5.tgz", + "integrity": "sha512-031WCTdPYgiQRYNPXznHXof2YM0GwL6SeaSyTH/P72M1Vz73TvCNH2Nq8Iu2IEPq9QP2yx0/nrw5YmSeAi/AjQ==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.1.0", + "@smithy/types": "^4.9.0", "tslib": "^2.6.2" }, "engines": { @@ -6099,10 +6325,12 @@ } }, "node_modules/@smithy/shared-ini-file-loader": { - "version": "4.0.1", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-4.4.0.tgz", + "integrity": "sha512-5WmZ5+kJgJDjwXXIzr1vDTG+RhF9wzSODQBfkrQ2VVkYALKGvZX1lgVSxEkgicSAFnFhPj5rudJV0zoinqS0bA==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.1.0", + "@smithy/types": "^4.9.0", "tslib": "^2.6.2" }, "engines": { @@ -6110,16 +6338,18 @@ } }, "node_modules/@smithy/signature-v4": { - "version": "5.0.1", + "version": "5.3.5", + "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.3.5.tgz", + "integrity": "sha512-xSUfMu1FT7ccfSXkoLl/QRQBi2rOvi3tiBZU2Tdy3I6cgvZ6SEi9QNey+lqps/sJRnogIS+lq+B1gxxbra2a/w==", "license": "Apache-2.0", "dependencies": { - "@smithy/is-array-buffer": "^4.0.0", - "@smithy/protocol-http": "^5.0.1", - "@smithy/types": "^4.1.0", - "@smithy/util-hex-encoding": "^4.0.0", - "@smithy/util-middleware": "^4.0.1", - "@smithy/util-uri-escape": "^4.0.0", - "@smithy/util-utf8": "^4.0.0", + "@smithy/is-array-buffer": "^4.2.0", + "@smithy/protocol-http": "^5.3.5", + "@smithy/types": "^4.9.0", + "@smithy/util-hex-encoding": "^4.2.0", + "@smithy/util-middleware": "^4.2.5", + "@smithy/util-uri-escape": "^4.2.0", + "@smithy/util-utf8": "^4.2.0", "tslib": "^2.6.2" }, "engines": { @@ -6127,15 +6357,17 @@ } }, "node_modules/@smithy/smithy-client": { - "version": "4.1.3", + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-4.9.6.tgz", + "integrity": "sha512-hGz42hggqReicRRZUvrKDQiAmoJnx1Q+XfAJnYAGu544gOfxQCAC3hGGD7+Px2gEUUxB/kKtQV7LOtBRNyxteQ==", "license": "Apache-2.0", "dependencies": { - "@smithy/core": "^3.1.2", - "@smithy/middleware-endpoint": "^4.0.3", - "@smithy/middleware-stack": "^4.0.1", - "@smithy/protocol-http": "^5.0.1", - "@smithy/types": "^4.1.0", - "@smithy/util-stream": "^4.0.2", + "@smithy/core": "^3.18.3", + "@smithy/middleware-endpoint": "^4.3.10", + "@smithy/middleware-stack": "^4.2.5", + "@smithy/protocol-http": "^5.3.5", + "@smithy/types": "^4.9.0", + "@smithy/util-stream": "^4.5.6", "tslib": "^2.6.2" }, "engines": { @@ -6143,7 +6375,9 @@ } }, "node_modules/@smithy/types": { - "version": "4.1.0", + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.9.0.tgz", + "integrity": "sha512-MvUbdnXDTwykR8cB1WZvNNwqoWVaTRA0RLlLmf/cIFNMM2cKWz01X4Ly6SMC4Kks30r8tT3Cty0jmeWfiuyHTA==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.6.2" @@ -6153,11 +6387,13 @@ } }, "node_modules/@smithy/url-parser": { - "version": "4.0.1", + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-4.2.5.tgz", + "integrity": "sha512-VaxMGsilqFnK1CeBX+LXnSuaMx4sTL/6znSZh2829txWieazdVxr54HmiyTsIbpOTLcf5nYpq9lpzmwRdxj6rQ==", "license": "Apache-2.0", "dependencies": { - "@smithy/querystring-parser": "^4.0.1", - "@smithy/types": "^4.1.0", + "@smithy/querystring-parser": "^4.2.5", + "@smithy/types": "^4.9.0", "tslib": "^2.6.2" }, "engines": { @@ -6165,11 +6401,13 @@ } }, "node_modules/@smithy/util-base64": { - "version": "4.0.0", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-4.3.0.tgz", + "integrity": "sha512-GkXZ59JfyxsIwNTWFnjmFEI8kZpRNIBfxKjv09+nkAWPt/4aGaEWMM04m4sxgNVWkbt2MdSvE3KF/PfX4nFedQ==", "license": "Apache-2.0", "dependencies": { - "@smithy/util-buffer-from": "^4.0.0", - "@smithy/util-utf8": "^4.0.0", + "@smithy/util-buffer-from": "^4.2.0", + "@smithy/util-utf8": "^4.2.0", "tslib": "^2.6.2" }, "engines": { @@ -6177,7 +6415,9 @@ } }, "node_modules/@smithy/util-body-length-browser": { - "version": "4.0.0", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-4.2.0.tgz", + "integrity": "sha512-Fkoh/I76szMKJnBXWPdFkQJl2r9SjPt3cMzLdOB6eJ4Pnpas8hVoWPYemX/peO0yrrvldgCUVJqOAjUrOLjbxg==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.6.2" @@ -6197,10 +6437,12 @@ } }, "node_modules/@smithy/util-buffer-from": { - "version": "4.0.0", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-4.2.0.tgz", + "integrity": "sha512-kAY9hTKulTNevM2nlRtxAG2FQ3B2OR6QIrPY3zE5LqJy1oxzmgBGsHLWTcNhWXKchgA0WHW+mZkQrng/pgcCew==", "license": "Apache-2.0", "dependencies": { - "@smithy/is-array-buffer": "^4.0.0", + "@smithy/is-array-buffer": "^4.2.0", "tslib": "^2.6.2" }, "engines": { @@ -6208,7 +6450,9 @@ } }, "node_modules/@smithy/util-config-provider": { - "version": "4.0.0", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-4.2.0.tgz", + "integrity": "sha512-YEjpl6XJ36FTKmD+kRJJWYvrHeUvm5ykaUS5xK+6oXffQPHeEM4/nXlZPe+Wu0lsgRUcNZiliYNh/y7q9c2y6Q==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.6.2" @@ -6300,7 +6544,9 @@ } }, "node_modules/@smithy/util-hex-encoding": { - "version": "4.0.0", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-4.2.0.tgz", + "integrity": "sha512-CCQBwJIvXMLKxVbO88IukazJD9a4kQ9ZN7/UMGBjBcJYvatpWk+9g870El4cB8/EJxfe+k+y0GmR9CAzkF+Nbw==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.6.2" @@ -6310,10 +6556,12 @@ } }, "node_modules/@smithy/util-middleware": { - "version": "4.0.1", + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-4.2.5.tgz", + "integrity": "sha512-6Y3+rvBF7+PZOc40ybeZMcGln6xJGVeY60E7jy9Mv5iKpMJpHgRE6dKy9ScsVxvfAYuEX4Q9a65DQX90KaQ3bA==", "license": "Apache-2.0", "dependencies": { - "@smithy/types": "^4.1.0", + "@smithy/types": "^4.9.0", "tslib": "^2.6.2" }, "engines": { @@ -6333,16 +6581,18 @@ } }, "node_modules/@smithy/util-stream": { - "version": "4.0.2", + "version": "4.5.6", + "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-4.5.6.tgz", + "integrity": "sha512-qWw/UM59TiaFrPevefOZ8CNBKbYEP6wBAIlLqxn3VAIo9rgnTNc4ASbVrqDmhuwI87usnjhdQrxodzAGFFzbRQ==", "license": "Apache-2.0", "dependencies": { - "@smithy/fetch-http-handler": "^5.0.1", - "@smithy/node-http-handler": "^4.0.2", - "@smithy/types": "^4.1.0", - "@smithy/util-base64": "^4.0.0", - "@smithy/util-buffer-from": "^4.0.0", - "@smithy/util-hex-encoding": "^4.0.0", - "@smithy/util-utf8": "^4.0.0", + "@smithy/fetch-http-handler": "^5.3.6", + "@smithy/node-http-handler": "^4.4.5", + "@smithy/types": "^4.9.0", + "@smithy/util-base64": "^4.3.0", + "@smithy/util-buffer-from": "^4.2.0", + "@smithy/util-hex-encoding": "^4.2.0", + "@smithy/util-utf8": "^4.2.0", "tslib": "^2.6.2" }, "engines": { @@ -6350,7 +6600,9 @@ } }, "node_modules/@smithy/util-uri-escape": { - "version": "4.0.0", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-4.2.0.tgz", + "integrity": "sha512-igZpCKV9+E/Mzrpq6YacdTQ0qTiLm85gD6N/IrmyDvQFA4UnU3d5g3m8tMT/6zG/vVkWSU+VxeUyGonL62DuxA==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.6.2" @@ -6360,10 +6612,12 @@ } }, "node_modules/@smithy/util-utf8": { - "version": "4.0.0", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-4.2.0.tgz", + "integrity": "sha512-zBPfuzoI8xyBtR2P6WQj63Rz8i3AmfAaJLuNG8dWsfvPe8lO4aCPYLn879mEgHndZH1zQ2oXmG8O1GGzzaoZiw==", "license": "Apache-2.0", "dependencies": { - "@smithy/util-buffer-from": "^4.0.0", + "@smithy/util-buffer-from": "^4.2.0", "tslib": "^2.6.2" }, "engines": { @@ -6382,6 +6636,18 @@ "node": ">=18.0.0" } }, + "node_modules/@smithy/uuid": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@smithy/uuid/-/uuid-1.1.0.tgz", + "integrity": "sha512-4aUIteuyxtBUhVdiQqcDhKFitwfd9hqoSDYY2KRXiWtgoWJ9Bmise+KfEPDiVHWeJepvF8xJO9/9+WDIciMFFw==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/@storybook/addon-actions": { "version": "8.5.3", "license": "MIT", @@ -30063,6 +30329,7 @@ "@aws-sdk/client-lambda": "^3.637.0", "@aws-sdk/client-s3": "^3.637.0", "@aws-sdk/lib-dynamodb": "^3.637.0", + "@aws-sdk/s3-request-presigner": "^3.637.0", "@babel/core": "^7.25.2", "@babel/plugin-transform-class-properties": "^7.25.4", "@babel/plugin-transform-nullish-coalescing-operator": "7.24.7", diff --git a/packages/geoprocessing/package.json b/packages/geoprocessing/package.json index 3b5ca6d090..462344d7e3 100644 --- a/packages/geoprocessing/package.json +++ b/packages/geoprocessing/package.json @@ -64,6 +64,7 @@ "@aws-sdk/client-lambda": "^3.637.0", "@aws-sdk/client-s3": "^3.637.0", "@aws-sdk/lib-dynamodb": "^3.637.0", + "@aws-sdk/s3-request-presigner": "^3.637.0", "@babel/core": "^7.25.2", "@babel/plugin-transform-class-properties": "^7.25.4", "@babel/plugin-transform-nullish-coalescing-operator": "7.24.7", diff --git a/packages/geoprocessing/scripts/aws/buckets.ts b/packages/geoprocessing/scripts/aws/buckets.ts index c98f10f3b1..fe1ce9e114 100644 --- a/packages/geoprocessing/scripts/aws/buckets.ts +++ b/packages/geoprocessing/scripts/aws/buckets.ts @@ -11,13 +11,8 @@ export const createPublicBuckets = ( dataset: new Bucket(stack, `GpDatasetBucket`, { bucketName: `gp-${stack.props.projectName}-datasets`, versioned: false, - blockPublicAccess: new BlockPublicAccess({ - blockPublicPolicy: false, - blockPublicAcls: false, - restrictPublicBuckets: false, - ignorePublicAcls: false, - }), - publicReadAccess: true, + blockPublicAccess: BlockPublicAccess.BLOCK_ALL, + publicReadAccess: false, cors: [ { allowedOrigins: ["*"], diff --git a/packages/geoprocessing/scripts/aws/types.ts b/packages/geoprocessing/scripts/aws/types.ts index 1c23c2f22e..8a6f796843 100644 --- a/packages/geoprocessing/scripts/aws/types.ts +++ b/packages/geoprocessing/scripts/aws/types.ts @@ -49,13 +49,14 @@ export interface GpDynamoTables { export interface GpPublicBuckets { /** - * Publicly accessible bucket for large datasets that need to be stored outside of project code assets - * Location is not published or able to be listed. Can be read by gp functions whether in Lambda, local, or CI + * Private bucket for large datasets that need to be stored outside of project code assets. + * Access is restricted to Lambda functions deployed in the stack via IAM policies. + * Can be read by gp functions in Lambda with proper permissions. */ dataset: Bucket; /** - * Create publicly accessible bucket for function results that aren't simple JSON serializable - * Location is not published or able to be listed. + * Private bucket for function results that aren't simple JSON serializable. + * Access is restricted to Lambda functions deployed in the stack via IAM policies. */ result?: Bucket; } diff --git a/packages/geoprocessing/src/dataproviders/cog.ts b/packages/geoprocessing/src/dataproviders/cog.ts index e515c91c63..5c18e667cf 100644 --- a/packages/geoprocessing/src/dataproviders/cog.ts +++ b/packages/geoprocessing/src/dataproviders/cog.ts @@ -1,5 +1,6 @@ import geoblaze from "geoblaze"; import { callWithRetry } from "../helpers/callWithRetry.js"; +import { genPresignedUrl } from "./presignedUrl.js"; import "./fetchPolyfill.js"; /** @@ -11,7 +12,11 @@ import "./fetchPolyfill.js"; */ export const loadCog = async (url: string) => { if (process.env.NODE_ENV !== "test") console.log("loadCog", url); - return await callWithRetry(geoblaze.parse, [url], { + + // Convert to presigned URL if running in Lambda with private S3 bucket + const signedUrl = await genPresignedUrl(url); + + return await callWithRetry(geoblaze.parse, [signedUrl], { ifErrorMsgContains: "fetch failed", }); }; diff --git a/packages/geoprocessing/src/dataproviders/flatgeobuf.ts b/packages/geoprocessing/src/dataproviders/flatgeobuf.ts index 76ee0bc2e0..8977339588 100644 --- a/packages/geoprocessing/src/dataproviders/flatgeobuf.ts +++ b/packages/geoprocessing/src/dataproviders/flatgeobuf.ts @@ -4,6 +4,7 @@ import { takeAsync } from "flatgeobuf/lib/mjs/streams/utils.js"; import { deserialize } from "flatgeobuf/lib/mjs/geojson.js"; import { BBox, Feature, FeatureCollection, Geometry } from "../types/index.js"; import { callWithRetry } from "../helpers/callWithRetry.js"; +import { genPresignedUrl } from "./presignedUrl.js"; import "./fetchPolyfill.js"; export interface FgBoundingBox { @@ -48,6 +49,9 @@ export async function loadFgb>( url: string, bbox?: BBox, ) { + // Convert to presigned URL if running in Lambda with private S3 bucket + const signedUrl = await genPresignedUrl(url); + const fgBox = (() => { if (!bbox && !Array.isArray(bbox)) { return fgBoundingBox([-180, -90, 180, 90]); // fallback to entire world @@ -64,7 +68,7 @@ export async function loadFgb>( takeAsync(deserialize(url, fgBox) as AsyncGenerator); // retry up to 3 times if SocketError - const features: F[] = (await callWithRetry(takeFeatures, [url, fgBox], { + const features: F[] = (await callWithRetry(takeFeatures, [signedUrl, fgBox], { ifErrorMsgContains: "fetch failed", })) as F[]; diff --git a/packages/geoprocessing/src/dataproviders/index.ts b/packages/geoprocessing/src/dataproviders/index.ts index 5179b0bb61..be556330d9 100644 --- a/packages/geoprocessing/src/dataproviders/index.ts +++ b/packages/geoprocessing/src/dataproviders/index.ts @@ -2,3 +2,4 @@ export * from "./cog.js"; export * from "./flatgeobuf.js"; export * from "./getDatasourceFeatures.js"; export * from "./getFeaturesForSketchBBoxes.js"; +export * from "./presignedUrl.js"; diff --git a/packages/geoprocessing/src/dataproviders/presignedUrl.test.ts b/packages/geoprocessing/src/dataproviders/presignedUrl.test.ts new file mode 100644 index 0000000000..657f636f31 --- /dev/null +++ b/packages/geoprocessing/src/dataproviders/presignedUrl.test.ts @@ -0,0 +1,107 @@ +import { describe, test, expect, vi, beforeEach, afterEach } from "vitest"; +import { genPresignedUrl } from "./presignedUrl.js"; + +describe("genPresignedUrl", () => { + const originalEnv = process.env.AWS_LAMBDA_FUNCTION_NAME; + + beforeEach(() => { + // Clean up environment before each test + delete process.env.AWS_LAMBDA_FUNCTION_NAME; + }); + + afterEach(() => { + // Restore original environment after each test + if (originalEnv === undefined) { + delete process.env.AWS_LAMBDA_FUNCTION_NAME; + } else { + process.env.AWS_LAMBDA_FUNCTION_NAME = originalEnv; + } + }); + + test("should return original URL when not in Lambda environment", async () => { + const url = + "https://gp-test-project-datasets.s3.us-west-1.amazonaws.com/data.fgb"; + const result = await genPresignedUrl(url); + expect(result).toBe(url); + }); + + test("should return original URL for non-S3 URLs", async () => { + const url = "https://example.com/data.fgb"; + const result = await genPresignedUrl(url); + expect(result).toBe(url); + }); + + test("should return original URL for http (non-https) URLs", async () => { + const url = "http://example.com/data.fgb"; + const result = await genPresignedUrl(url); + expect(result).toBe(url); + }); + + test("should return original URL for relative URLs", async () => { + const url = "/data/test.fgb"; + const result = await genPresignedUrl(url); + expect(result).toBe(url); + }); + + test("should parse S3 URL correctly and identify bucket, region, and key", async () => { + const url = + "https://gp-test-project-datasets.s3.us-west-1.amazonaws.com/subfolder/data.fgb"; + + // Not in Lambda, so should return original + const result = await genPresignedUrl(url); + expect(result).toBe(url); + + // Verify URL pattern matching by testing the regex + const s3UrlMatch = url.match( + /^https:\/\/([^.]+)\.s3\.([^.]+)\.amazonaws\.com\/(.+)$/, + ); + expect(s3UrlMatch).not.toBeNull(); + if (s3UrlMatch) { + const [, bucket, region, key] = s3UrlMatch; + expect(bucket).toBe("gp-test-project-datasets"); + expect(region).toBe("us-west-1"); + expect(key).toBe("subfolder/data.fgb"); + } + }); + + test("should handle URL with complex key path", async () => { + const url = + "https://my-bucket.s3.eu-west-2.amazonaws.com/path/to/deeply/nested/file.tif"; + + const s3UrlMatch = url.match( + /^https:\/\/([^.]+)\.s3\.([^.]+)\.amazonaws\.com\/(.+)$/, + ); + expect(s3UrlMatch).not.toBeNull(); + if (s3UrlMatch) { + const [, bucket, region, key] = s3UrlMatch; + expect(bucket).toBe("my-bucket"); + expect(region).toBe("eu-west-2"); + expect(key).toBe("path/to/deeply/nested/file.tif"); + } + }); + + test("should not match S3 URL without region", async () => { + // Old-style S3 URL format (s3.amazonaws.com without region) + const url = "https://my-bucket.s3.amazonaws.com/data.fgb"; + + const s3UrlMatch = url.match( + /^https:\/\/([^.]+)\.s3\.([^.]+)\.amazonaws\.com\/(.+)$/, + ); + // Should not match because region segment is just "amazonaws" + expect(s3UrlMatch).toBeNull(); + }); + + test("should return original URL when in Lambda but URL is external", async () => { + // Simulate Lambda environment + process.env.AWS_LAMBDA_FUNCTION_NAME = "test-function"; + + const url = "https://external-data-source.com/data.fgb"; + const result = await genPresignedUrl(url); + expect(result).toBe(url); + }); + + // Note: We cannot easily test the actual presigned URL generation without + // mocking the AWS SDK, which would require more complex setup. + // In a real Lambda environment with proper IAM permissions, the presigned + // URL generation is tested through integration tests. +}); diff --git a/packages/geoprocessing/src/dataproviders/presignedUrl.ts b/packages/geoprocessing/src/dataproviders/presignedUrl.ts new file mode 100644 index 0000000000..82eaa48bf7 --- /dev/null +++ b/packages/geoprocessing/src/dataproviders/presignedUrl.ts @@ -0,0 +1,47 @@ +import { S3Client, GetObjectCommand } from "@aws-sdk/client-s3"; +import { getSignedUrl } from "@aws-sdk/s3-request-presigner"; + +/** + * Generates a presigned URL for an S3 object if in Lambda environment + * and the URL points to an S3 bucket. Otherwise returns the original URL. + * + * @param url - The S3 URL to convert to a presigned URL + * @param expiresIn - Seconds until the presigned URL expires (default: 15 minutes) + * @returns Presigned URL if in Lambda with S3 URL, otherwise original URL + */ +export async function genPresignedUrl( + url: string, + expiresIn: number = 900, +): Promise { + // Only presign in Lambda + if (process.env.AWS_LAMBDA_FUNCTION_NAME === undefined) return url; + + // Check this is an S3 URL + const s3UrlMatch = url.match( + /^https:\/\/([^.]+)\.s3\.([^.]+)\.amazonaws\.com\/(.+)$/, + ); + if (!s3UrlMatch) return url; + + const [, bucket, region, key] = s3UrlMatch; + + try { + const client = new S3Client({ region }); + const command = new GetObjectCommand({ + Bucket: bucket, + Key: key, + }); + + const presignedUrl = await getSignedUrl(client, command, { expiresIn }); + + if (process.env.NODE_ENV !== "test") { + console.log(`Generated presigned URL for s3://${bucket}/${key}`); + } + + return presignedUrl; + } catch (error) { + console.error("Error generating presigned URL:", error); + throw new Error( + `Failed to generate presigned URL for ${url}: ${error instanceof Error ? error.message : String(error)}`, + ); + } +} From 44ab860e90c5a1936b006d91e261c47b0e0b2846 Mon Sep 17 00:00:00 2001 From: Abby Vath Meyer Date: Thu, 13 Nov 2025 22:14:06 +0000 Subject: [PATCH 04/14] Remove extraneous files in base-project. Add default clients and functions to geoprocessing.json --- .../gp-clip-ocean-both-sides-barbados.json | 16 - .../gp-clip-ocean-cuba-channel-span.json | 16 - .../gp-clip-ocean-inner-channel-islands.json | 20 - .../features/gp-clip-ocean-no-land-eez.json | 16 - .../gp-clip-ocean-north-zone-extend.json | 15 - .../features/gp-clip-ocean-north-zone.json | 15 - .../gp-clip-ocean-surround-island.json | 18 - .../fsm-east-west-coll/simpleFunction.json | 3 - .../output/fsm-east-west/simpleFunction.json | 3 - .../clipToLand.json | 1919 ----------------- .../clipToOcean.json | 1195 ---------- .../clipToOceanEez.json | 1211 ----------- .../validatePolygon.json | 33 - .../clipToLand.json | 167 -- .../clipToOcean.json | 1125 ---------- .../clipToOceanEez.json | 1125 ---------- .../validatePolygon.json | 33 - .../clipToLand.json | 1159 ---------- .../clipToOcean.json | 1743 --------------- .../clipToOceanEez.json | 1743 --------------- .../validatePolygon.json | 49 - .../clipToOcean.json | 33 - .../clipToOceanEez.json | 31 - .../validatePolygon.json | 33 - .../clipToLand.json | 1663 -------------- .../clipToOcean.json | 1647 -------------- .../clipToOceanEez.json | 1799 --------------- .../validatePolygon.json | 33 - .../clipToLand.json | 1563 -------------- .../clipToOcean.json | 1719 --------------- .../clipToOceanEez.json | 1735 --------------- .../validatePolygon.json | 33 - .../clipToLand.json | 115 - .../clipToOcean.json | 231 -- .../clipToOceanEez.json | 231 -- .../validatePolygon.json | 41 - .../output/undefined/simpleFunction.json | 3 - .../examples/sketches/fsm-east-west-coll.json | 52 - .../examples/sketches/fsm-east-west.json | 21 - .../base-project/project/geoprocessing.json | 21 +- 40 files changed, 18 insertions(+), 22610 deletions(-) delete mode 100644 packages/base-project/examples/features/gp-clip-ocean-both-sides-barbados.json delete mode 100644 packages/base-project/examples/features/gp-clip-ocean-cuba-channel-span.json delete mode 100644 packages/base-project/examples/features/gp-clip-ocean-inner-channel-islands.json delete mode 100644 packages/base-project/examples/features/gp-clip-ocean-no-land-eez.json delete mode 100644 packages/base-project/examples/features/gp-clip-ocean-north-zone-extend.json delete mode 100644 packages/base-project/examples/features/gp-clip-ocean-north-zone.json delete mode 100644 packages/base-project/examples/features/gp-clip-ocean-surround-island.json delete mode 100644 packages/base-project/examples/output/fsm-east-west-coll/simpleFunction.json delete mode 100644 packages/base-project/examples/output/fsm-east-west/simpleFunction.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-both-sides-barbados.json/clipToLand.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-both-sides-barbados.json/clipToOcean.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-both-sides-barbados.json/clipToOceanEez.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-both-sides-barbados.json/validatePolygon.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-cuba-channel-span.json/clipToLand.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-cuba-channel-span.json/clipToOcean.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-cuba-channel-span.json/clipToOceanEez.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-cuba-channel-span.json/validatePolygon.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-inner-channel-islands.json/clipToLand.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-inner-channel-islands.json/clipToOcean.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-inner-channel-islands.json/clipToOceanEez.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-inner-channel-islands.json/validatePolygon.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-no-land-eez.json/clipToOcean.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-no-land-eez.json/clipToOceanEez.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-no-land-eez.json/validatePolygon.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-north-zone-extend.json/clipToLand.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-north-zone-extend.json/clipToOcean.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-north-zone-extend.json/clipToOceanEez.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-north-zone-extend.json/validatePolygon.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-north-zone.json/clipToLand.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-north-zone.json/clipToOcean.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-north-zone.json/clipToOceanEez.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-north-zone.json/validatePolygon.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-surround-island.json/clipToLand.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-surround-island.json/clipToOcean.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-surround-island.json/clipToOceanEez.json delete mode 100644 packages/base-project/examples/output/gp-clip-ocean-surround-island.json/validatePolygon.json delete mode 100644 packages/base-project/examples/output/undefined/simpleFunction.json delete mode 100644 packages/base-project/examples/sketches/fsm-east-west-coll.json delete mode 100644 packages/base-project/examples/sketches/fsm-east-west.json diff --git a/packages/base-project/examples/features/gp-clip-ocean-both-sides-barbados.json b/packages/base-project/examples/features/gp-clip-ocean-both-sides-barbados.json deleted file mode 100644 index 7bb7c701fb..0000000000 --- a/packages/base-project/examples/features/gp-clip-ocean-both-sides-barbados.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-59.4854736328125, 14.141902399847732], - [-59.91943359375001, 9.958029972336439], - [-59.853515625, 9.958029972336439], - [-59.4305419921875, 14.131248778377424], - [-59.4854736328125, 14.141902399847732] - ] - ] - } -} diff --git a/packages/base-project/examples/features/gp-clip-ocean-cuba-channel-span.json b/packages/base-project/examples/features/gp-clip-ocean-cuba-channel-span.json deleted file mode 100644 index 1a1695994e..0000000000 --- a/packages/base-project/examples/features/gp-clip-ocean-cuba-channel-span.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-82.8973388671875, 21.906100421878413], - [-82.86712646484375, 21.915019085230302], - [-82.89459228515624, 22.093274832590485], - [-82.94952392578125, 22.083094832921418], - [-82.8973388671875, 21.906100421878413] - ] - ] - } -} diff --git a/packages/base-project/examples/features/gp-clip-ocean-inner-channel-islands.json b/packages/base-project/examples/features/gp-clip-ocean-inner-channel-islands.json deleted file mode 100644 index 37ed724fe3..0000000000 --- a/packages/base-project/examples/features/gp-clip-ocean-inner-channel-islands.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-120.00091552734375, 33.97553819495448], - [-119.99576568603516, 33.95959297365403], - [-119.96246337890624, 33.94392957889264], - [-119.91199493408203, 33.95133445208438], - [-119.86255645751955, 33.973260489231485], - [-119.86633300781249, 34.01197318692261], - [-119.88899230957031, 34.024209560512354], - [-119.99679565429688, 33.998881160274586], - [-120.00091552734375, 33.97553819495448] - ] - ] - } -} diff --git a/packages/base-project/examples/features/gp-clip-ocean-no-land-eez.json b/packages/base-project/examples/features/gp-clip-ocean-no-land-eez.json deleted file mode 100644 index 539f360d01..0000000000 --- a/packages/base-project/examples/features/gp-clip-ocean-no-land-eez.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-64.85990449042059, 32.23756147854181], - [-64.85930874141398, 32.24136530490877], - [-64.84073295619807, 32.24287570663742], - [-64.83552857489327, 32.23843266647438], - [-64.85990449042059, 32.23756147854181] - ] - ] - } -} diff --git a/packages/base-project/examples/features/gp-clip-ocean-north-zone-extend.json b/packages/base-project/examples/features/gp-clip-ocean-north-zone-extend.json deleted file mode 100644 index e7ae7a8358..0000000000 --- a/packages/base-project/examples/features/gp-clip-ocean-north-zone-extend.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "type": "Feature", - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-50.0537109375, 15.072123545811683], - [-60.13422961546577, 8.283416579624516], - [-59.78678698851251, 8.184199738096492], - [-50.09765625, 14.944784875088372], - [-50.0537109375, 15.072123545811683] - ] - ] - } -} diff --git a/packages/base-project/examples/features/gp-clip-ocean-north-zone.json b/packages/base-project/examples/features/gp-clip-ocean-north-zone.json deleted file mode 100644 index 6f81ae2c8e..0000000000 --- a/packages/base-project/examples/features/gp-clip-ocean-north-zone.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "type": "Feature", - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-59.95020861937195, 8.719398198558203], - [-59.707136109606225, 8.63387102144518], - [-59.78678698851251, 8.184199738096492], - [-60.13422961546577, 8.283416579624516], - [-59.95020861937195, 8.719398198558203] - ] - ] - } -} diff --git a/packages/base-project/examples/features/gp-clip-ocean-surround-island.json b/packages/base-project/examples/features/gp-clip-ocean-surround-island.json deleted file mode 100644 index eb9cf81498..0000000000 --- a/packages/base-project/examples/features/gp-clip-ocean-surround-island.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-119.35575842857361, 34.01721121101167], - [-119.35623049736022, 34.01778034866227], - [-119.35746431350708, 34.017575815258326], - [-119.35879468917847, 34.01683771235474], - [-119.35766816139221, 34.016215210941404], - [-119.35638070106505, 34.01642864051162], - [-119.35575842857361, 34.01721121101167] - ] - ] - } -} diff --git a/packages/base-project/examples/output/fsm-east-west-coll/simpleFunction.json b/packages/base-project/examples/output/fsm-east-west-coll/simpleFunction.json deleted file mode 100644 index ca0b67c7b8..0000000000 --- a/packages/base-project/examples/output/fsm-east-west-coll/simpleFunction.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "area": 92400484528.74194 -} \ No newline at end of file diff --git a/packages/base-project/examples/output/fsm-east-west/simpleFunction.json b/packages/base-project/examples/output/fsm-east-west/simpleFunction.json deleted file mode 100644 index ca0b67c7b8..0000000000 --- a/packages/base-project/examples/output/fsm-east-west/simpleFunction.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "area": 92400484528.74194 -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-both-sides-barbados.json/clipToLand.json b/packages/base-project/examples/output/gp-clip-ocean-both-sides-barbados.json/clipToLand.json deleted file mode 100644 index 50ce2fe8c1..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-both-sides-barbados.json/clipToLand.json +++ /dev/null @@ -1,1919 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -59.5962613238974, - 13.073781817855814 - ], - [ - -59.596037, - 13.0738065 - ], - [ - -59.5959841, - 13.0737411 - ], - [ - -59.5959686, - 13.0736434 - ], - [ - -59.595935, - 13.073601 - ], - [ - -59.5958623, - 13.0735924 - ], - [ - -59.5958116, - 13.0736277 - ], - [ - -59.595747, - 13.0736816 - ], - [ - -59.5953939, - 13.0737293 - ], - [ - -59.594877, - 13.0737819 - ], - [ - -59.5946538, - 13.0737133 - ], - [ - -59.5944702, - 13.0737294 - ], - [ - -59.5941506, - 13.0736894 - ], - [ - -59.594014, - 13.0733911 - ], - [ - -59.5939167, - 13.0734176 - ], - [ - -59.5938938, - 13.0734638 - ], - [ - -59.5933978, - 13.0734675 - ], - [ - -59.5928532, - 13.0734587 - ], - [ - -59.5923469, - 13.0734437 - ], - [ - -59.5921753, - 13.0734515 - ], - [ - -59.5920997, - 13.0734827 - ], - [ - -59.5919763, - 13.0733407 - ], - [ - -59.5918714, - 13.0733598 - ], - [ - -59.5913958, - 13.0733293 - ], - [ - -59.5912649, - 13.073317 - ], - [ - -59.5911532, - 13.0732941 - ], - [ - -59.5910129, - 13.0732407 - ], - [ - -59.5909005, - 13.0731857 - ], - [ - -59.5908375, - 13.0731779 - ], - [ - -59.5907651, - 13.0731818 - ], - [ - -59.5904244, - 13.0732941 - ], - [ - -59.5899551, - 13.073349 - ], - [ - -59.5896104, - 13.0733594 - ], - [ - -59.5891531, - 13.0733268 - ], - [ - -59.5888433, - 13.0732575 - ], - [ - -59.5886032, - 13.0731765 - ], - [ - -59.5883283, - 13.0730629 - ], - [ - -59.5881017, - 13.0730002 - ], - [ - -59.587757, - 13.0729205 - ], - [ - -59.5876148, - 13.072897 - ], - [ - -59.587521, - 13.0728761 - ], - [ - -59.5874311, - 13.0728369 - ], - [ - -59.5873761, - 13.0727755 - ], - [ - -59.5873466, - 13.0727298 - ], - [ - -59.5873413, - 13.0726971 - ], - [ - -59.5873506, - 13.0726553 - ], - [ - -59.5874043, - 13.0726096 - ], - [ - -59.5874257, - 13.0725861 - ], - [ - -59.5874217, - 13.0725573 - ], - [ - -59.5874096, - 13.0725482 - ], - [ - -59.5871884, - 13.0724711 - ], - [ - -59.5871314, - 13.072426 - ], - [ - -59.587041, - 13.0722873 - ], - [ - -59.586993, - 13.0721072 - ], - [ - -59.586869, - 13.0720151 - ], - [ - -59.5862927, - 13.0717463 - ], - [ - -59.5861225, - 13.0716402 - ], - [ - -59.5860246, - 13.0715579 - ], - [ - -59.5858945, - 13.0714299 - ], - [ - -59.5856933, - 13.0713411 - ], - [ - -59.5854386, - 13.0714584 - ], - [ - -59.5846098, - 13.0713876 - ], - [ - -59.5841437, - 13.0713284 - ], - [ - -59.5837768, - 13.071244 - ], - [ - -59.5833617, - 13.0711763 - ], - [ - -59.5828584, - 13.0711121 - ], - [ - -59.5824547, - 13.071028 - ], - [ - -59.5820416, - 13.0708467 - ], - [ - -59.5816796, - 13.0707295 - ], - [ - -59.5814558, - 13.0705138 - ], - [ - -59.581223, - 13.07033 - ], - [ - -59.5811097, - 13.070166 - ], - [ - -59.5808138, - 13.0697928 - ], - [ - -59.580213, - 13.0690965 - ], - [ - -59.5801681, - 13.0690855 - ], - [ - -59.5799985, - 13.069163 - ], - [ - -59.57961, - 13.0692048 - ], - [ - -59.5792169, - 13.0692526 - ], - [ - -59.5790824, - 13.069181 - ], - [ - -59.5790422, - 13.0691761 - ], - [ - -59.5788877, - 13.0691899 - ], - [ - -59.5783106, - 13.0690641 - ], - [ - -59.5782788, - 13.069056 - ], - [ - -59.5775557, - 13.0689374 - ], - [ - -59.5772206, - 13.0690145 - ], - [ - -59.5771867, - 13.0689979 - ], - [ - -59.5769337, - 13.0688113 - ], - [ - -59.5766569, - 13.0687224 - ], - [ - -59.5763228, - 13.0687034 - ], - [ - -59.5762181, - 13.0686931 - ], - [ - -59.5760451, - 13.0686709 - ], - [ - -59.5757662, - 13.0686278 - ], - [ - -59.575616, - 13.0685951 - ], - [ - -59.575512, - 13.0685573 - ], - [ - -59.5754322, - 13.0685122 - ], - [ - -59.5753437, - 13.0684266 - ], - [ - -59.575329, - 13.0683443 - ], - [ - -59.5753414, - 13.0682581 - ], - [ - -59.5753413, - 13.0682574 - ], - [ - -59.5754161, - 13.0681431 - ], - [ - -59.5755434, - 13.0679363 - ], - [ - -59.5755483, - 13.0678119 - ], - [ - -59.5755229, - 13.0677676 - ], - [ - -59.5754343, - 13.0677139 - ], - [ - -59.5750094, - 13.0675204 - ], - [ - -59.5750459, - 13.0673132 - ], - [ - -59.5749777, - 13.067288 - ], - [ - -59.5749506, - 13.0673643 - ], - [ - -59.5747827, - 13.0674484 - ], - [ - -59.5742002, - 13.0672346 - ], - [ - -59.5737666, - 13.0671099 - ], - [ - -59.5737679, - 13.0669788 - ], - [ - -59.5737329, - 13.066979 - ], - [ - -59.5735027, - 13.0670569 - ], - [ - -59.5733997, - 13.0670351 - ], - [ - -59.5729052, - 13.0669345 - ], - [ - -59.5722717, - 13.0669625 - ], - [ - -59.5717598, - 13.0667224 - ], - [ - -59.5716586, - 13.0667018 - ], - [ - -59.5716165, - 13.066514 - ], - [ - -59.5716008, - 13.0663841 - ], - [ - -59.5715591, - 13.0663888 - ], - [ - -59.5715598, - 13.066442 - ], - [ - -59.5714946, - 13.0664426 - ], - [ - -59.5712899, - 13.0664729 - ], - [ - -59.571013, - 13.0664974 - ], - [ - -59.5706688, - 13.0665162 - ], - [ - -59.5703551, - 13.0665141 - ], - [ - -59.5701068, - 13.0664973 - ], - [ - -59.569863, - 13.0664825 - ], - [ - -59.5696571, - 13.0664787 - ], - [ - -59.5694126, - 13.0664919 - ], - [ - -59.5691576, - 13.0664936 - ], - [ - -59.5689213, - 13.0664718 - ], - [ - -59.5686218, - 13.0664169 - ], - [ - -59.5683839, - 13.0663405 - ], - [ - -59.5681626, - 13.0662714 - ], - [ - -59.567975, - 13.0661924 - ], - [ - -59.5678302, - 13.0661187 - ], - [ - -59.5676335, - 13.0660113 - ], - [ - -59.5674682, - 13.0658778 - ], - [ - -59.5672369, - 13.0656599 - ], - [ - -59.5671798, - 13.0653646 - ], - [ - -59.5670565, - 13.0650297 - ], - [ - -59.566955, - 13.0648916 - ], - [ - -59.5669557, - 13.0648515 - ], - [ - -59.5669788, - 13.0648008 - ], - [ - -59.5669915, - 13.064767 - ], - [ - -59.5669944, - 13.0647422 - ], - [ - -59.5669861, - 13.0647161 - ], - [ - -59.5669489, - 13.0647337 - ], - [ - -59.5668676, - 13.064733 - ], - [ - -59.5667948, - 13.0647262 - ], - [ - -59.5667281, - 13.0647249 - ], - [ - -59.5666632, - 13.0647186 - ], - [ - -59.566536, - 13.0646888 - ], - [ - -59.5663737, - 13.0646588 - ], - [ - -59.5662479, - 13.0646259 - ], - [ - -59.5661791, - 13.0645919 - ], - [ - -59.5661394, - 13.0645575 - ], - [ - -59.5661289, - 13.0645259 - ], - [ - -59.5661346, - 13.0645045 - ], - [ - -59.5660453, - 13.0644858 - ], - [ - -59.5659522, - 13.0644553 - ], - [ - -59.5658806, - 13.0644258 - ], - [ - -59.5658295, - 13.0643897 - ], - [ - -59.5657755, - 13.0643496 - ], - [ - -59.5656877, - 13.0643216 - ], - [ - -59.5656455, - 13.0643195 - ], - [ - -59.5656005, - 13.0643208 - ], - [ - -59.5655606, - 13.0643152 - ], - [ - -59.5655289, - 13.0643036 - ], - [ - -59.5655151, - 13.0642831 - ], - [ - -59.5655091, - 13.0642678 - ], - [ - -59.5655032, - 13.0642514 - ], - [ - -59.5655127, - 13.0642322 - ], - [ - -59.565513, - 13.064213 - ], - [ - -59.5654844, - 13.0641908 - ], - [ - -59.5653954, - 13.0641504 - ], - [ - -59.5653142, - 13.0641227 - ], - [ - -59.5652504, - 13.0640973 - ], - [ - -59.565166, - 13.0640736 - ], - [ - -59.5650947, - 13.0640663 - ], - [ - -59.5650506, - 13.0640591 - ], - [ - -59.5649593, - 13.0640408 - ], - [ - -59.5648461, - 13.0640374 - ], - [ - -59.564619, - 13.0640063 - ], - [ - -59.5645812, - 13.0640136 - ], - [ - -59.5645061, - 13.0640187 - ], - [ - -59.5643748, - 13.0640437 - ], - [ - -59.564226, - 13.0640839 - ], - [ - -59.5638922, - 13.0641741 - ], - [ - -59.5637605, - 13.0642013 - ], - [ - -59.5636763, - 13.0642128 - ], - [ - -59.5635915, - 13.0642238 - ], - [ - -59.5634985, - 13.0642567 - ], - [ - -59.5634334, - 13.0642756 - ], - [ - -59.5633695, - 13.0642912 - ], - [ - -59.5633255, - 13.0642334 - ], - [ - -59.5632331, - 13.0642657 - ], - [ - -59.56309, - 13.0643058 - ], - [ - -59.562955, - 13.0643255 - ], - [ - -59.5628276, - 13.0643329 - ], - [ - -59.5627125, - 13.0643326 - ], - [ - -59.5625713, - 13.0643176 - ], - [ - -59.5624255, - 13.0642888 - ], - [ - -59.5623252, - 13.0642518 - ], - [ - -59.5622592, - 13.0642264 - ], - [ - -59.562203, - 13.064215 - ], - [ - -59.5621536, - 13.06422 - ], - [ - -59.5621111, - 13.0642484 - ], - [ - -59.5620621, - 13.0642951 - ], - [ - -59.562002, - 13.0643354 - ], - [ - -59.5618618, - 13.0643932 - ], - [ - -59.5617157, - 13.0644362 - ], - [ - -59.5615709, - 13.0644657 - ], - [ - -59.5614417, - 13.064481 - ], - [ - -59.561373, - 13.0645015 - ], - [ - -59.5613026, - 13.0645306 - ], - [ - -59.5612331, - 13.0645763 - ], - [ - -59.561141, - 13.0646475 - ], - [ - -59.5610173, - 13.0647491 - ], - [ - -59.5608678, - 13.0648436 - ], - [ - -59.5607106, - 13.0649088 - ], - [ - -59.5605387, - 13.0649588 - ], - [ - -59.5603314, - 13.0650048 - ], - [ - -59.5601487, - 13.0650258 - ], - [ - -59.559974, - 13.0650358 - ], - [ - -59.5599351, - 13.0650221 - ], - [ - -59.559847, - 13.0650245 - ], - [ - -59.5597451, - 13.0650514 - ], - [ - -59.5596865, - 13.065079 - ], - [ - -59.559496, - 13.0650993 - ], - [ - -59.5591987, - 13.065149 - ], - [ - -59.5589462, - 13.0652102 - ], - [ - -59.5587694, - 13.0652599 - ], - [ - -59.5586438, - 13.0652871 - ], - [ - -59.5585191, - 13.0653017 - ], - [ - -59.5584405, - 13.0653402 - ], - [ - -59.5579152, - 13.065213 - ], - [ - -59.5575637, - 13.0651865 - ], - [ - -59.5573264, - 13.0651221 - ], - [ - -59.5570089, - 13.0650803 - ], - [ - -59.5566367, - 13.0651655 - ], - [ - -59.5552923, - 13.0654733 - ], - [ - -59.5551378, - 13.0652559 - ], - [ - -59.5544029, - 13.0654329 - ], - [ - -59.5536773, - 13.065573 - ], - [ - -59.5533408, - 13.065638 - ], - [ - -59.5521766, - 13.0657241 - ], - [ - -59.5519196, - 13.0656403 - ], - [ - -59.5518445, - 13.0655384 - ], - [ - -59.5518472, - 13.0654391 - ], - [ - -59.5518727, - 13.0654245 - ], - [ - -59.5518798, - 13.0653866 - ], - [ - -59.5518674, - 13.0653418 - ], - [ - -59.5517806, - 13.0652797 - ], - [ - -59.5515584, - 13.0652831 - ], - [ - -59.5514265, - 13.0652391 - ], - [ - -59.551038, - 13.0651304 - ], - [ - -59.5510287, - 13.0648547 - ], - [ - -59.5509726, - 13.0648364 - ], - [ - -59.5493598, - 13.0647672 - ], - [ - -59.5488992, - 13.0647317 - ], - [ - -59.5486652, - 13.0644759 - ], - [ - -59.5485683, - 13.0644839 - ], - [ - -59.5482662, - 13.0644906 - ], - [ - -59.5469324, - 13.0643027 - ], - [ - -59.5459735, - 13.0641387 - ], - [ - -59.5450985, - 13.0640634 - ], - [ - -59.5449407, - 13.0639618 - ], - [ - -59.5447839, - 13.0637661 - ], - [ - -59.5443063, - 13.0635049 - ], - [ - -59.5442809, - 13.0634941 - ], - [ - -59.5440792, - 13.0634173 - ], - [ - -59.5439614, - 13.0633615 - ], - [ - -59.5437696, - 13.0632642 - ], - [ - -59.5437228, - 13.0632482 - ], - [ - -59.5435201, - 13.0631604 - ], - [ - -59.5431226, - 13.0629916 - ], - [ - -59.5418941, - 13.0625386 - ], - [ - -59.5419456, - 13.0622376 - ], - [ - -59.5415374, - 13.06184 - ], - [ - -59.541525, - 13.0618279 - ], - [ - -59.5411817, - 13.0616272 - ], - [ - -59.5408212, - 13.0613095 - ], - [ - -59.5406066, - 13.0610587 - ], - [ - -59.5405551, - 13.0607242 - ], - [ - -59.5408641, - 13.060557 - ], - [ - -59.5406925, - 13.0601808 - ], - [ - -59.5405793, - 13.0602997 - ], - [ - -59.5394425, - 13.0600836 - ], - [ - -59.539124394187226, - 13.059933483810992 - ], - [ - -59.530041350000005, - 13.149550253930146 - ], - [ - -59.52984135, - 13.151523530031746 - ], - [ - -59.525957603580686, - 13.189842050000001 - ], - [ - -59.525937332722506, - 13.19004205 - ], - [ - -59.52346771731738, - 13.214408215294585 - ], - [ - -59.5241916, - 13.2149349 - ], - [ - -59.5247495, - 13.2154488 - ], - [ - -59.5252366, - 13.2156661 - ], - [ - -59.5257365, - 13.2159042 - ], - [ - -59.5260541, - 13.2161883 - ], - [ - -59.5263988, - 13.2163521 - ], - [ - -59.5267064, - 13.216581 - ], - [ - -59.5268094, - 13.2170061 - ], - [ - -59.5269918, - 13.2172495 - ], - [ - -59.5271209, - 13.2173349 - ], - [ - -59.5272726, - 13.217422 - ], - [ - -59.527496, - 13.2175503 - ], - [ - -59.5284117, - 13.2181056 - ], - [ - -59.5285432, - 13.2181853 - ], - [ - -59.5290302, - 13.2185989 - ], - [ - -59.5298306, - 13.2190961 - ], - [ - -59.5302512, - 13.2195055 - ], - [ - -59.5305709, - 13.219988 - ], - [ - -59.531352, - 13.2207944 - ], - [ - -59.5318305, - 13.2217949 - ], - [ - -59.5319037, - 13.2218876 - ], - [ - -59.5325761, - 13.2225542 - ], - [ - -59.5329763, - 13.2229679 - ], - [ - -59.5333833, - 13.2231985 - ], - [ - -59.5335871, - 13.2233239 - ], - [ - -59.5337212, - 13.2235327 - ], - [ - -59.5338732, - 13.2242766 - ], - [ - -59.534002, - 13.2247862 - ], - [ - -59.5341994, - 13.2250536 - ], - [ - -59.5358474, - 13.22624 - ], - [ - -59.5364385, - 13.226544 - ], - [ - -59.5367228, - 13.2267194 - ], - [ - -59.5369828, - 13.2270734 - ], - [ - -59.537251, - 13.2272822 - ], - [ - -59.5376498, - 13.2275121 - ], - [ - -59.5380017, - 13.2278443 - ], - [ - -59.5381787, - 13.2281191 - ], - [ - -59.5383365, - 13.2284709 - ], - [ - -59.5383794, - 13.2288051 - ], - [ - -59.5384995, - 13.2292229 - ], - [ - -59.5387227, - 13.2295905 - ], - [ - -59.5391743, - 13.2298412 - ], - [ - -59.5395381, - 13.2302339 - ], - [ - -59.5398128, - 13.2308124 - ], - [ - -59.540104, - 13.2312325 - ], - [ - -59.5402323, - 13.2315394 - ], - [ - -59.5402848, - 13.2318047 - ], - [ - -59.5403964, - 13.2322475 - ], - [ - -59.5406467, - 13.2325095 - ], - [ - -59.5409478, - 13.232683 - ], - [ - -59.5412515, - 13.2329619 - ], - [ - -59.5414081, - 13.2333159 - ], - [ - -59.5419076, - 13.2344437 - ], - [ - -59.5421216, - 13.2350381 - ], - [ - -59.5426066, - 13.236126 - ], - [ - -59.5433128, - 13.2371205 - ], - [ - -59.5440871, - 13.2379206 - ], - [ - -59.54466, - 13.2385905 - ], - [ - -59.5459436, - 13.2407899 - ], - [ - -59.5460698, - 13.241154 - ], - [ - -59.5462951, - 13.2414443 - ], - [ - -59.5465342, - 13.2416216 - ], - [ - -59.5467703, - 13.2417809 - ], - [ - -59.5469634, - 13.2420341 - ], - [ - -59.5470679, - 13.2424206 - ], - [ - -59.5473143, - 13.2428322 - ], - [ - -59.5479263, - 13.2436006 - ], - [ - -59.5485861, - 13.2445849 - ], - [ - -59.5490099, - 13.2450314 - ], - [ - -59.5495946, - 13.2456867 - ], - [ - -59.5500211, - 13.2462115 - ], - [ - -59.5513836, - 13.2478537 - ], - [ - -59.5517699, - 13.2482453 - ], - [ - -59.5518477, - 13.248248 - ], - [ - -59.5519067, - 13.2482949 - ], - [ - -59.5519204, - 13.2484192 - ], - [ - -59.5521177, - 13.2486581 - ], - [ - -59.5524851, - 13.2491526 - ], - [ - -59.5527946, - 13.2496006 - ], - [ - -59.5531337, - 13.250152 - ], - [ - -59.5535376, - 13.2507823 - ], - [ - -59.5541218, - 13.2516495 - ], - [ - -59.5542991, - 13.251911 - ], - [ - -59.5545352, - 13.2522374 - ], - [ - -59.5547283, - 13.2525402 - ], - [ - -59.5549214, - 13.2528222 - ], - [ - -59.5553023, - 13.2535323 - ], - [ - -59.5555705, - 13.2540701 - ], - [ - -59.5562518, - 13.2553912 - ], - [ - -59.5566058, - 13.2560804 - ], - [ - -59.5569545, - 13.256707 - ], - [ - -59.5571959, - 13.2571769 - ], - [ - -59.5575339, - 13.2578662 - ], - [ - -59.5577914, - 13.2586807 - ], - [ - -59.5579577, - 13.2590619 - ], - [ - -59.5583251, - 13.2594039 - ], - [ - -59.5587623, - 13.2604925 - ], - [ - -59.5589796, - 13.2608371 - ], - [ - -59.5591754, - 13.2611622 - ], - [ - -59.5592773, - 13.2614063 - ], - [ - -59.5593068, - 13.2616438 - ], - [ - -59.5593685, - 13.2618449 - ], - [ - -59.5595777, - 13.2623044 - ], - [ - -59.5600859, - 13.2630261 - ], - [ - -59.5604253, - 13.2641214 - ], - [ - -59.5607579, - 13.2649359 - ], - [ - -59.5611502, - 13.2655156 - ], - [ - -59.5616395, - 13.2660085 - ], - [ - -59.5620292, - 13.2663143 - ], - [ - -59.5625603, - 13.2668417 - ], - [ - -59.562791, - 13.2673325 - ], - [ - -59.5630109, - 13.267771 - ], - [ - -59.5633382, - 13.2681731 - ], - [ - -59.5635527, - 13.2684133 - ], - [ - -59.5638371, - 13.2689667 - ], - [ - -59.5641589, - 13.2696559 - ], - [ - -59.5647705, - 13.2709299 - ], - [ - -59.5648474060779, - 13.271044290070453 - ], - [ - -59.56504740607791, - 13.271341769992922 - ], - [ - -59.5658538, - 13.2725412 - ], - [ - -59.5658433, - 13.2728512 - ], - [ - -59.5658366, - 13.2732764 - ], - [ - -59.5659614, - 13.2735039 - ], - [ - -59.5661628, - 13.2737692 - ], - [ - -59.5666348, - 13.2746213 - ], - [ - -59.5667231, - 13.2751799 - ], - [ - -59.5669162, - 13.2757855 - ], - [ - -59.5674159, - 13.2769186 - ], - [ - -59.5679594, - 13.2787124 - ], - [ - -59.5679191, - 13.2793234 - ], - [ - -59.5679137, - 13.2797087 - ], - [ - -59.5683772, - 13.2807028 - ], - [ - -59.5683944, - 13.2810286 - ], - [ - -59.5683514, - 13.2814128 - ], - [ - -59.5681527, - 13.2818523 - ], - [ - -59.568096, - 13.2819572 - ], - [ - -59.5679153, - 13.2821756 - ], - [ - -59.5678175, - 13.2823274 - ], - [ - -59.5678067, - 13.2825336 - ], - [ - -59.5679223, - 13.2828162 - ], - [ - -59.5679945, - 13.2830479 - ], - [ - -59.5680081, - 13.2833174 - ], - [ - -59.567914, - 13.283737 - ], - [ - -59.5679408, - 13.2840399 - ], - [ - -59.568134, - 13.2844523 - ], - [ - -59.5685202, - 13.2848543 - ], - [ - -59.5687026, - 13.2851415 - ], - [ - -59.5688664, - 13.2855144 - ], - [ - -59.5692444, - 13.2858463 - ], - [ - -59.5697701, - 13.2863997 - ], - [ - -59.569974, - 13.2867234 - ], - [ - -59.5701993, - 13.2875483 - ], - [ - -59.5706552, - 13.288441 - ], - [ - -59.5709825, - 13.2889213 - ], - [ - -59.5712131, - 13.289198 - ], - [ - -59.5716473, - 13.2894321 - ], - [ - -59.5718086, - 13.2895713 - ], - [ - -59.571873, - 13.2898036 - ], - [ - -59.5719459, - 13.2899375 - ], - [ - -59.5721103, - 13.2899629 - ], - [ - -59.572231, - 13.2900168 - ], - [ - -59.5723021, - 13.2902839 - ], - [ - -59.5722297, - 13.2904484 - ], - [ - -59.5720285, - 13.2906337 - ], - [ - -59.5719159, - 13.2908269 - ], - [ - -59.5717657, - 13.2912132 - ], - [ - -59.571873, - 13.291704 - ], - [ - -59.5720661, - 13.2922626 - ], - [ - -59.5722967, - 13.2927325 - ], - [ - -59.572506, - 13.2930196 - ], - [ - -59.5727098, - 13.2933224 - ], - [ - -59.5728761, - 13.293415 - ], - [ - -59.5731953, - 13.293556 - ], - [ - -59.57345288384399, - 13.293681375519661 - ], - [ - -59.57667606316872, - 13.262606225 - ], - [ - -59.576696807585215, - 13.262406225000001 - ], - [ - -59.58420257051187, - 13.19004205 - ], - [ - -59.584223314928366, - 13.189842050000001 - ], - [ - -59.5962613238974, - 13.073781817855814 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-both-sides-barbados.json/clipToOcean.json b/packages/base-project/examples/output/gp-clip-ocean-both-sides-barbados.json/clipToOcean.json deleted file mode 100644 index d46be2a57c..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-both-sides-barbados.json/clipToOcean.json +++ /dev/null @@ -1,1195 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -59.91943359375001, - 9.958029972336439 - ], - [ - -59.853515625, - 9.958029972336439 - ], - [ - -59.539124394187226, - 13.059933483810992 - ], - [ - -59.5394425, - 13.0600836 - ], - [ - -59.5405793, - 13.0602997 - ], - [ - -59.5406925, - 13.0601808 - ], - [ - -59.5408641, - 13.060557 - ], - [ - -59.5405551, - 13.0607242 - ], - [ - -59.5406066, - 13.0610587 - ], - [ - -59.5408212, - 13.0613095 - ], - [ - -59.5411817, - 13.0616272 - ], - [ - -59.541525, - 13.0618279 - ], - [ - -59.5415374, - 13.06184 - ], - [ - -59.5419456, - 13.0622376 - ], - [ - -59.5418941, - 13.0625386 - ], - [ - -59.5431226, - 13.0629916 - ], - [ - -59.5435201, - 13.0631604 - ], - [ - -59.5437228, - 13.0632482 - ], - [ - -59.5437696, - 13.0632642 - ], - [ - -59.5439614, - 13.0633615 - ], - [ - -59.5440792, - 13.0634173 - ], - [ - -59.5442809, - 13.0634941 - ], - [ - -59.5443063, - 13.0635049 - ], - [ - -59.5447839, - 13.0637661 - ], - [ - -59.5449407, - 13.0639618 - ], - [ - -59.5450985, - 13.0640634 - ], - [ - -59.5459735, - 13.0641387 - ], - [ - -59.5469324, - 13.0643027 - ], - [ - -59.5482662, - 13.0644906 - ], - [ - -59.5485683, - 13.0644839 - ], - [ - -59.5486652, - 13.0644759 - ], - [ - -59.5488992, - 13.0647317 - ], - [ - -59.5493598, - 13.0647672 - ], - [ - -59.5509726, - 13.0648364 - ], - [ - -59.5510287, - 13.0648547 - ], - [ - -59.551038, - 13.0651304 - ], - [ - -59.5514265, - 13.0652391 - ], - [ - -59.5515584, - 13.0652831 - ], - [ - -59.5517806, - 13.0652797 - ], - [ - -59.5518674, - 13.0653418 - ], - [ - -59.5518798, - 13.0653866 - ], - [ - -59.5518727, - 13.0654245 - ], - [ - -59.5518472, - 13.0654391 - ], - [ - -59.5518445, - 13.0655384 - ], - [ - -59.5519196, - 13.0656403 - ], - [ - -59.5521766, - 13.0657241 - ], - [ - -59.5533408, - 13.065638 - ], - [ - -59.5536773, - 13.065573 - ], - [ - -59.5544029, - 13.0654329 - ], - [ - -59.5551378, - 13.0652559 - ], - [ - -59.5552923, - 13.0654733 - ], - [ - -59.5566367, - 13.0651655 - ], - [ - -59.5570089, - 13.0650803 - ], - [ - -59.5573264, - 13.0651221 - ], - [ - -59.5575637, - 13.0651865 - ], - [ - -59.5579152, - 13.065213 - ], - [ - -59.5584405, - 13.0653402 - ], - [ - -59.5585191, - 13.0653017 - ], - [ - -59.5586438, - 13.0652871 - ], - [ - -59.5587694, - 13.0652599 - ], - [ - -59.5589462, - 13.0652102 - ], - [ - -59.5591987, - 13.065149 - ], - [ - -59.559496, - 13.0650993 - ], - [ - -59.5596865, - 13.065079 - ], - [ - -59.5597451, - 13.0650514 - ], - [ - -59.559847, - 13.0650245 - ], - [ - -59.5599351, - 13.0650221 - ], - [ - -59.559974, - 13.0650358 - ], - [ - -59.5601487, - 13.0650258 - ], - [ - -59.5603314, - 13.0650048 - ], - [ - -59.5605387, - 13.0649588 - ], - [ - -59.5607106, - 13.0649088 - ], - [ - -59.5608678, - 13.0648436 - ], - [ - -59.5610173, - 13.0647491 - ], - [ - -59.561141, - 13.0646475 - ], - [ - -59.5612331, - 13.0645763 - ], - [ - -59.5613026, - 13.0645306 - ], - [ - -59.561373, - 13.0645015 - ], - [ - -59.5614417, - 13.064481 - ], - [ - -59.5615709, - 13.0644657 - ], - [ - -59.5617157, - 13.0644362 - ], - [ - -59.5618618, - 13.0643932 - ], - [ - -59.562002, - 13.0643354 - ], - [ - -59.5620621, - 13.0642951 - ], - [ - -59.5621111, - 13.0642484 - ], - [ - -59.5621536, - 13.06422 - ], - [ - -59.562203, - 13.064215 - ], - [ - -59.5622592, - 13.0642264 - ], - [ - -59.5623252, - 13.0642518 - ], - [ - -59.5624255, - 13.0642888 - ], - [ - -59.5625713, - 13.0643176 - ], - [ - -59.5627125, - 13.0643326 - ], - [ - -59.5628276, - 13.0643329 - ], - [ - -59.562955, - 13.0643255 - ], - [ - -59.56309, - 13.0643058 - ], - [ - -59.5632331, - 13.0642657 - ], - [ - -59.5633255, - 13.0642334 - ], - [ - -59.5633695, - 13.0642912 - ], - [ - -59.5634334, - 13.0642756 - ], - [ - -59.5634985, - 13.0642567 - ], - [ - -59.5635915, - 13.0642238 - ], - [ - -59.5636763, - 13.0642128 - ], - [ - -59.5637605, - 13.0642013 - ], - [ - -59.5638922, - 13.0641741 - ], - [ - -59.564226, - 13.0640839 - ], - [ - -59.5643748, - 13.0640437 - ], - [ - -59.5645061, - 13.0640187 - ], - [ - -59.5645812, - 13.0640136 - ], - [ - -59.564619, - 13.0640063 - ], - [ - -59.5648461, - 13.0640374 - ], - [ - -59.5649593, - 13.0640408 - ], - [ - -59.5650506, - 13.0640591 - ], - [ - -59.5650947, - 13.0640663 - ], - [ - -59.565166, - 13.0640736 - ], - [ - -59.5652504, - 13.0640973 - ], - [ - -59.5653142, - 13.0641227 - ], - [ - -59.5653954, - 13.0641504 - ], - [ - -59.5654844, - 13.0641908 - ], - [ - -59.565513, - 13.064213 - ], - [ - -59.5655127, - 13.0642322 - ], - [ - -59.5655032, - 13.0642514 - ], - [ - -59.5655091, - 13.0642678 - ], - [ - -59.5655151, - 13.0642831 - ], - [ - -59.5655289, - 13.0643036 - ], - [ - -59.5655606, - 13.0643152 - ], - [ - -59.5656005, - 13.0643208 - ], - [ - -59.5656455, - 13.0643195 - ], - [ - -59.5656877, - 13.0643216 - ], - [ - -59.5657755, - 13.0643496 - ], - [ - -59.5658295, - 13.0643897 - ], - [ - -59.5658806, - 13.0644258 - ], - [ - -59.5659522, - 13.0644553 - ], - [ - -59.5660453, - 13.0644858 - ], - [ - -59.5661346, - 13.0645045 - ], - [ - -59.5661289, - 13.0645259 - ], - [ - -59.5661394, - 13.0645575 - ], - [ - -59.5661791, - 13.0645919 - ], - [ - -59.5662479, - 13.0646259 - ], - [ - -59.5663737, - 13.0646588 - ], - [ - -59.566536, - 13.0646888 - ], - [ - -59.5666632, - 13.0647186 - ], - [ - -59.5667281, - 13.0647249 - ], - [ - -59.5667948, - 13.0647262 - ], - [ - -59.5668676, - 13.064733 - ], - [ - -59.5669489, - 13.0647337 - ], - [ - -59.5669861, - 13.0647161 - ], - [ - -59.5669944, - 13.0647422 - ], - [ - -59.5669915, - 13.064767 - ], - [ - -59.5669788, - 13.0648008 - ], - [ - -59.5669557, - 13.0648515 - ], - [ - -59.566955, - 13.0648916 - ], - [ - -59.5670565, - 13.0650297 - ], - [ - -59.5671798, - 13.0653646 - ], - [ - -59.5672369, - 13.0656599 - ], - [ - -59.5674682, - 13.0658778 - ], - [ - -59.5676335, - 13.0660113 - ], - [ - -59.5678302, - 13.0661187 - ], - [ - -59.567975, - 13.0661924 - ], - [ - -59.5681626, - 13.0662714 - ], - [ - -59.5683839, - 13.0663405 - ], - [ - -59.5686218, - 13.0664169 - ], - [ - -59.5689213, - 13.0664718 - ], - [ - -59.5691576, - 13.0664936 - ], - [ - -59.5694126, - 13.0664919 - ], - [ - -59.5696571, - 13.0664787 - ], - [ - -59.569863, - 13.0664825 - ], - [ - -59.5701068, - 13.0664973 - ], - [ - -59.5703551, - 13.0665141 - ], - [ - -59.5706688, - 13.0665162 - ], - [ - -59.571013, - 13.0664974 - ], - [ - -59.5712899, - 13.0664729 - ], - [ - -59.5714946, - 13.0664426 - ], - [ - -59.5715598, - 13.066442 - ], - [ - -59.5715591, - 13.0663888 - ], - [ - -59.5716008, - 13.0663841 - ], - [ - -59.5716165, - 13.066514 - ], - [ - -59.5716586, - 13.0667018 - ], - [ - -59.5717598, - 13.0667224 - ], - [ - -59.5722717, - 13.0669625 - ], - [ - -59.5729052, - 13.0669345 - ], - [ - -59.5733997, - 13.0670351 - ], - [ - -59.5735027, - 13.0670569 - ], - [ - -59.5737329, - 13.066979 - ], - [ - -59.5737679, - 13.0669788 - ], - [ - -59.5737666, - 13.0671099 - ], - [ - -59.5742002, - 13.0672346 - ], - [ - -59.5747827, - 13.0674484 - ], - [ - -59.5749506, - 13.0673643 - ], - [ - -59.5749777, - 13.067288 - ], - [ - -59.5750459, - 13.0673132 - ], - [ - -59.5750094, - 13.0675204 - ], - [ - -59.5754343, - 13.0677139 - ], - [ - -59.5755229, - 13.0677676 - ], - [ - -59.5755483, - 13.0678119 - ], - [ - -59.5755434, - 13.0679363 - ], - [ - -59.5754161, - 13.0681431 - ], - [ - -59.5753413, - 13.0682574 - ], - [ - -59.5753414, - 13.0682581 - ], - [ - -59.575329, - 13.0683443 - ], - [ - -59.5753437, - 13.0684266 - ], - [ - -59.5754322, - 13.0685122 - ], - [ - -59.575512, - 13.0685573 - ], - [ - -59.575616, - 13.0685951 - ], - [ - -59.5757662, - 13.0686278 - ], - [ - -59.5760451, - 13.0686709 - ], - [ - -59.5762181, - 13.0686931 - ], - [ - -59.5763228, - 13.0687034 - ], - [ - -59.5766569, - 13.0687224 - ], - [ - -59.5769337, - 13.0688113 - ], - [ - -59.5771867, - 13.0689979 - ], - [ - -59.5772206, - 13.0690145 - ], - [ - -59.5775557, - 13.0689374 - ], - [ - -59.5782788, - 13.069056 - ], - [ - -59.5783106, - 13.0690641 - ], - [ - -59.5788877, - 13.0691899 - ], - [ - -59.5790422, - 13.0691761 - ], - [ - -59.5790824, - 13.069181 - ], - [ - -59.5792169, - 13.0692526 - ], - [ - -59.57961, - 13.0692048 - ], - [ - -59.5799985, - 13.069163 - ], - [ - -59.5801681, - 13.0690855 - ], - [ - -59.580213, - 13.0690965 - ], - [ - -59.5808138, - 13.0697928 - ], - [ - -59.5811097, - 13.070166 - ], - [ - -59.581223, - 13.07033 - ], - [ - -59.5814558, - 13.0705138 - ], - [ - -59.5816796, - 13.0707295 - ], - [ - -59.5820416, - 13.0708467 - ], - [ - -59.5824547, - 13.071028 - ], - [ - -59.5828584, - 13.0711121 - ], - [ - -59.5833617, - 13.0711763 - ], - [ - -59.5837768, - 13.071244 - ], - [ - -59.5841437, - 13.0713284 - ], - [ - -59.5846098, - 13.0713876 - ], - [ - -59.5854386, - 13.0714584 - ], - [ - -59.5856933, - 13.0713411 - ], - [ - -59.5858945, - 13.0714299 - ], - [ - -59.5860246, - 13.0715579 - ], - [ - -59.5861225, - 13.0716402 - ], - [ - -59.5862927, - 13.0717463 - ], - [ - -59.586869, - 13.0720151 - ], - [ - -59.586993, - 13.0721072 - ], - [ - -59.587041, - 13.0722873 - ], - [ - -59.5871314, - 13.072426 - ], - [ - -59.5871884, - 13.0724711 - ], - [ - -59.5874096, - 13.0725482 - ], - [ - -59.5874217, - 13.0725573 - ], - [ - -59.5874257, - 13.0725861 - ], - [ - -59.5874043, - 13.0726096 - ], - [ - -59.5873506, - 13.0726553 - ], - [ - -59.5873413, - 13.0726971 - ], - [ - -59.5873466, - 13.0727298 - ], - [ - -59.5873761, - 13.0727755 - ], - [ - -59.5874311, - 13.0728369 - ], - [ - -59.587521, - 13.0728761 - ], - [ - -59.5876148, - 13.072897 - ], - [ - -59.587757, - 13.0729205 - ], - [ - -59.5881017, - 13.0730002 - ], - [ - -59.5883283, - 13.0730629 - ], - [ - -59.5886032, - 13.0731765 - ], - [ - -59.5888433, - 13.0732575 - ], - [ - -59.5891531, - 13.0733268 - ], - [ - -59.5896104, - 13.0733594 - ], - [ - -59.5899551, - 13.073349 - ], - [ - -59.5904244, - 13.0732941 - ], - [ - -59.5907651, - 13.0731818 - ], - [ - -59.5908375, - 13.0731779 - ], - [ - -59.5909005, - 13.0731857 - ], - [ - -59.5910129, - 13.0732407 - ], - [ - -59.5911532, - 13.0732941 - ], - [ - -59.5912649, - 13.073317 - ], - [ - -59.5913958, - 13.0733293 - ], - [ - -59.5918714, - 13.0733598 - ], - [ - -59.5919763, - 13.0733407 - ], - [ - -59.5920997, - 13.0734827 - ], - [ - -59.5921753, - 13.0734515 - ], - [ - -59.5923469, - 13.0734437 - ], - [ - -59.5928532, - 13.0734587 - ], - [ - -59.5933978, - 13.0734675 - ], - [ - -59.5938938, - 13.0734638 - ], - [ - -59.5939167, - 13.0734176 - ], - [ - -59.594014, - 13.0733911 - ], - [ - -59.5941506, - 13.0736894 - ], - [ - -59.5944702, - 13.0737294 - ], - [ - -59.5946538, - 13.0737133 - ], - [ - -59.594877, - 13.0737819 - ], - [ - -59.5953939, - 13.0737293 - ], - [ - -59.595747, - 13.0736816 - ], - [ - -59.5958116, - 13.0736277 - ], - [ - -59.5958623, - 13.0735924 - ], - [ - -59.595935, - 13.073601 - ], - [ - -59.5959686, - 13.0736434 - ], - [ - -59.5959841, - 13.0737411 - ], - [ - -59.596037, - 13.0738065 - ], - [ - -59.5962613238974, - 13.073781817855814 - ], - [ - -59.91943359375001, - 9.958029972336439 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-both-sides-barbados.json/clipToOceanEez.json b/packages/base-project/examples/output/gp-clip-ocean-both-sides-barbados.json/clipToOceanEez.json deleted file mode 100644 index 643e338f3e..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-both-sides-barbados.json/clipToOceanEez.json +++ /dev/null @@ -1,1211 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -59.91943359375001, - 9.958029972336439 - ], - [ - -59.853515625, - 9.958029972336439 - ], - [ - -59.851038554639594, - 9.982469691056506 - ], - [ - -59.64755503006225, - 11.99011557157905 - ], - [ - -59.539124394187226, - 13.059933483810992 - ], - [ - -59.5394425, - 13.0600836 - ], - [ - -59.5405793, - 13.0602997 - ], - [ - -59.5406925, - 13.0601808 - ], - [ - -59.5408641, - 13.060557 - ], - [ - -59.5405551, - 13.0607242 - ], - [ - -59.5406066, - 13.0610587 - ], - [ - -59.5408212, - 13.0613095 - ], - [ - -59.5411817, - 13.0616272 - ], - [ - -59.541525, - 13.0618279 - ], - [ - -59.5415374, - 13.06184 - ], - [ - -59.5419456, - 13.0622376 - ], - [ - -59.5418941, - 13.0625386 - ], - [ - -59.5431226, - 13.0629916 - ], - [ - -59.5435201, - 13.0631604 - ], - [ - -59.5437228, - 13.0632482 - ], - [ - -59.5437696, - 13.0632642 - ], - [ - -59.5439614, - 13.0633615 - ], - [ - -59.5440792, - 13.0634173 - ], - [ - -59.5442809, - 13.0634941 - ], - [ - -59.5443063, - 13.0635049 - ], - [ - -59.5447839, - 13.0637661 - ], - [ - -59.5449407, - 13.0639618 - ], - [ - -59.5450985, - 13.0640634 - ], - [ - -59.5459735, - 13.0641387 - ], - [ - -59.5469324, - 13.0643027 - ], - [ - -59.5482662, - 13.0644906 - ], - [ - -59.5485683, - 13.0644839 - ], - [ - -59.5486652, - 13.0644759 - ], - [ - -59.5488992, - 13.0647317 - ], - [ - -59.5493598, - 13.0647672 - ], - [ - -59.5509726, - 13.0648364 - ], - [ - -59.5510287, - 13.0648547 - ], - [ - -59.551038, - 13.0651304 - ], - [ - -59.5514265, - 13.0652391 - ], - [ - -59.5515584, - 13.0652831 - ], - [ - -59.5517806, - 13.0652797 - ], - [ - -59.5518674, - 13.0653418 - ], - [ - -59.5518798, - 13.0653866 - ], - [ - -59.5518727, - 13.0654245 - ], - [ - -59.5518472, - 13.0654391 - ], - [ - -59.5518445, - 13.0655384 - ], - [ - -59.5519196, - 13.0656403 - ], - [ - -59.5521766, - 13.0657241 - ], - [ - -59.5533408, - 13.065638 - ], - [ - -59.5536773, - 13.065573 - ], - [ - -59.5544029, - 13.0654329 - ], - [ - -59.5551378, - 13.0652559 - ], - [ - -59.5552923, - 13.0654733 - ], - [ - -59.5566367, - 13.0651655 - ], - [ - -59.5570089, - 13.0650803 - ], - [ - -59.5573264, - 13.0651221 - ], - [ - -59.5575637, - 13.0651865 - ], - [ - -59.5579152, - 13.065213 - ], - [ - -59.5584405, - 13.0653402 - ], - [ - -59.5585191, - 13.0653017 - ], - [ - -59.5586438, - 13.0652871 - ], - [ - -59.5587694, - 13.0652599 - ], - [ - -59.5589462, - 13.0652102 - ], - [ - -59.5591987, - 13.065149 - ], - [ - -59.559496, - 13.0650993 - ], - [ - -59.5596865, - 13.065079 - ], - [ - -59.5597451, - 13.0650514 - ], - [ - -59.559847, - 13.0650245 - ], - [ - -59.5599351, - 13.0650221 - ], - [ - -59.559974, - 13.0650358 - ], - [ - -59.5601487, - 13.0650258 - ], - [ - -59.5603314, - 13.0650048 - ], - [ - -59.5605387, - 13.0649588 - ], - [ - -59.5607106, - 13.0649088 - ], - [ - -59.5608678, - 13.0648436 - ], - [ - -59.5610173, - 13.0647491 - ], - [ - -59.561141, - 13.0646475 - ], - [ - -59.5612331, - 13.0645763 - ], - [ - -59.5613026, - 13.0645306 - ], - [ - -59.561373, - 13.0645015 - ], - [ - -59.5614417, - 13.064481 - ], - [ - -59.5615709, - 13.0644657 - ], - [ - -59.5617157, - 13.0644362 - ], - [ - -59.5618618, - 13.0643932 - ], - [ - -59.562002, - 13.0643354 - ], - [ - -59.5620621, - 13.0642951 - ], - [ - -59.5621111, - 13.0642484 - ], - [ - -59.5621536, - 13.06422 - ], - [ - -59.562203, - 13.064215 - ], - [ - -59.5622592, - 13.0642264 - ], - [ - -59.5623252, - 13.0642518 - ], - [ - -59.5624255, - 13.0642888 - ], - [ - -59.5625713, - 13.0643176 - ], - [ - -59.5627125, - 13.0643326 - ], - [ - -59.5628276, - 13.0643329 - ], - [ - -59.562955, - 13.0643255 - ], - [ - -59.56309, - 13.0643058 - ], - [ - -59.5632331, - 13.0642657 - ], - [ - -59.5633255, - 13.0642334 - ], - [ - -59.5633695, - 13.0642912 - ], - [ - -59.5634334, - 13.0642756 - ], - [ - -59.5634985, - 13.0642567 - ], - [ - -59.5635915, - 13.0642238 - ], - [ - -59.5636763, - 13.0642128 - ], - [ - -59.5637605, - 13.0642013 - ], - [ - -59.5638922, - 13.0641741 - ], - [ - -59.564226, - 13.0640839 - ], - [ - -59.5643748, - 13.0640437 - ], - [ - -59.5645061, - 13.0640187 - ], - [ - -59.5645812, - 13.0640136 - ], - [ - -59.564619, - 13.0640063 - ], - [ - -59.5648461, - 13.0640374 - ], - [ - -59.5649593, - 13.0640408 - ], - [ - -59.5650506, - 13.0640591 - ], - [ - -59.5650947, - 13.0640663 - ], - [ - -59.565166, - 13.0640736 - ], - [ - -59.5652504, - 13.0640973 - ], - [ - -59.5653142, - 13.0641227 - ], - [ - -59.5653954, - 13.0641504 - ], - [ - -59.5654844, - 13.0641908 - ], - [ - -59.565513, - 13.064213 - ], - [ - -59.5655127, - 13.0642322 - ], - [ - -59.5655032, - 13.0642514 - ], - [ - -59.5655091, - 13.0642678 - ], - [ - -59.5655151, - 13.0642831 - ], - [ - -59.5655289, - 13.0643036 - ], - [ - -59.5655606, - 13.0643152 - ], - [ - -59.5656005, - 13.0643208 - ], - [ - -59.5656455, - 13.0643195 - ], - [ - -59.5656877, - 13.0643216 - ], - [ - -59.5657755, - 13.0643496 - ], - [ - -59.5658295, - 13.0643897 - ], - [ - -59.5658806, - 13.0644258 - ], - [ - -59.5659522, - 13.0644553 - ], - [ - -59.5660453, - 13.0644858 - ], - [ - -59.5661346, - 13.0645045 - ], - [ - -59.5661289, - 13.0645259 - ], - [ - -59.5661394, - 13.0645575 - ], - [ - -59.5661791, - 13.0645919 - ], - [ - -59.5662479, - 13.0646259 - ], - [ - -59.5663737, - 13.0646588 - ], - [ - -59.566536, - 13.0646888 - ], - [ - -59.5666632, - 13.0647186 - ], - [ - -59.5667281, - 13.0647249 - ], - [ - -59.5667948, - 13.0647262 - ], - [ - -59.5668676, - 13.064733 - ], - [ - -59.5669489, - 13.0647337 - ], - [ - -59.5669861, - 13.0647161 - ], - [ - -59.5669944, - 13.0647422 - ], - [ - -59.5669915, - 13.064767 - ], - [ - -59.5669788, - 13.0648008 - ], - [ - -59.5669557, - 13.0648515 - ], - [ - -59.566955, - 13.0648916 - ], - [ - -59.5670565, - 13.0650297 - ], - [ - -59.5671798, - 13.0653646 - ], - [ - -59.5672369, - 13.0656599 - ], - [ - -59.5674682, - 13.0658778 - ], - [ - -59.5676335, - 13.0660113 - ], - [ - -59.5678302, - 13.0661187 - ], - [ - -59.567975, - 13.0661924 - ], - [ - -59.5681626, - 13.0662714 - ], - [ - -59.5683839, - 13.0663405 - ], - [ - -59.5686218, - 13.0664169 - ], - [ - -59.5689213, - 13.0664718 - ], - [ - -59.5691576, - 13.0664936 - ], - [ - -59.5694126, - 13.0664919 - ], - [ - -59.5696571, - 13.0664787 - ], - [ - -59.569863, - 13.0664825 - ], - [ - -59.5701068, - 13.0664973 - ], - [ - -59.5703551, - 13.0665141 - ], - [ - -59.5706688, - 13.0665162 - ], - [ - -59.571013, - 13.0664974 - ], - [ - -59.5712899, - 13.0664729 - ], - [ - -59.5714946, - 13.0664426 - ], - [ - -59.5715598, - 13.066442 - ], - [ - -59.5715591, - 13.0663888 - ], - [ - -59.5716008, - 13.0663841 - ], - [ - -59.5716165, - 13.066514 - ], - [ - -59.5716586, - 13.0667018 - ], - [ - -59.5717598, - 13.0667224 - ], - [ - -59.5722717, - 13.0669625 - ], - [ - -59.5729052, - 13.0669345 - ], - [ - -59.5733997, - 13.0670351 - ], - [ - -59.5735027, - 13.0670569 - ], - [ - -59.5737329, - 13.066979 - ], - [ - -59.5737679, - 13.0669788 - ], - [ - -59.5737666, - 13.0671099 - ], - [ - -59.5742002, - 13.0672346 - ], - [ - -59.5747827, - 13.0674484 - ], - [ - -59.5749506, - 13.0673643 - ], - [ - -59.5749777, - 13.067288 - ], - [ - -59.5750459, - 13.0673132 - ], - [ - -59.5750094, - 13.0675204 - ], - [ - -59.5754343, - 13.0677139 - ], - [ - -59.5755229, - 13.0677676 - ], - [ - -59.5755483, - 13.0678119 - ], - [ - -59.5755434, - 13.0679363 - ], - [ - -59.5754161, - 13.0681431 - ], - [ - -59.5753413, - 13.0682574 - ], - [ - -59.5753414, - 13.0682581 - ], - [ - -59.575329, - 13.0683443 - ], - [ - -59.5753437, - 13.0684266 - ], - [ - -59.5754322, - 13.0685122 - ], - [ - -59.575512, - 13.0685573 - ], - [ - -59.575616, - 13.0685951 - ], - [ - -59.5757662, - 13.0686278 - ], - [ - -59.5760451, - 13.0686709 - ], - [ - -59.5762181, - 13.0686931 - ], - [ - -59.5763228, - 13.0687034 - ], - [ - -59.5766569, - 13.0687224 - ], - [ - -59.5769337, - 13.0688113 - ], - [ - -59.5771867, - 13.0689979 - ], - [ - -59.5772206, - 13.0690145 - ], - [ - -59.5775557, - 13.0689374 - ], - [ - -59.5782788, - 13.069056 - ], - [ - -59.5783106, - 13.0690641 - ], - [ - -59.5788877, - 13.0691899 - ], - [ - -59.5790422, - 13.0691761 - ], - [ - -59.5790824, - 13.069181 - ], - [ - -59.5792169, - 13.0692526 - ], - [ - -59.57961, - 13.0692048 - ], - [ - -59.5799985, - 13.069163 - ], - [ - -59.5801681, - 13.0690855 - ], - [ - -59.580213, - 13.0690965 - ], - [ - -59.5808138, - 13.0697928 - ], - [ - -59.5811097, - 13.070166 - ], - [ - -59.581223, - 13.07033 - ], - [ - -59.5814558, - 13.0705138 - ], - [ - -59.5816796, - 13.0707295 - ], - [ - -59.5820416, - 13.0708467 - ], - [ - -59.5824547, - 13.071028 - ], - [ - -59.5828584, - 13.0711121 - ], - [ - -59.5833617, - 13.0711763 - ], - [ - -59.5837768, - 13.071244 - ], - [ - -59.5841437, - 13.0713284 - ], - [ - -59.5846098, - 13.0713876 - ], - [ - -59.5854386, - 13.0714584 - ], - [ - -59.5856933, - 13.0713411 - ], - [ - -59.5858945, - 13.0714299 - ], - [ - -59.5860246, - 13.0715579 - ], - [ - -59.5861225, - 13.0716402 - ], - [ - -59.5862927, - 13.0717463 - ], - [ - -59.586869, - 13.0720151 - ], - [ - -59.586993, - 13.0721072 - ], - [ - -59.587041, - 13.0722873 - ], - [ - -59.5871314, - 13.072426 - ], - [ - -59.5871884, - 13.0724711 - ], - [ - -59.5874096, - 13.0725482 - ], - [ - -59.5874217, - 13.0725573 - ], - [ - -59.5874257, - 13.0725861 - ], - [ - -59.5874043, - 13.0726096 - ], - [ - -59.5873506, - 13.0726553 - ], - [ - -59.5873413, - 13.0726971 - ], - [ - -59.5873466, - 13.0727298 - ], - [ - -59.5873761, - 13.0727755 - ], - [ - -59.5874311, - 13.0728369 - ], - [ - -59.587521, - 13.0728761 - ], - [ - -59.5876148, - 13.072897 - ], - [ - -59.587757, - 13.0729205 - ], - [ - -59.5881017, - 13.0730002 - ], - [ - -59.5883283, - 13.0730629 - ], - [ - -59.5886032, - 13.0731765 - ], - [ - -59.5888433, - 13.0732575 - ], - [ - -59.5891531, - 13.0733268 - ], - [ - -59.5896104, - 13.0733594 - ], - [ - -59.5899551, - 13.073349 - ], - [ - -59.5904244, - 13.0732941 - ], - [ - -59.5907651, - 13.0731818 - ], - [ - -59.5908375, - 13.0731779 - ], - [ - -59.5909005, - 13.0731857 - ], - [ - -59.5910129, - 13.0732407 - ], - [ - -59.5911532, - 13.0732941 - ], - [ - -59.5912649, - 13.073317 - ], - [ - -59.5913958, - 13.0733293 - ], - [ - -59.5918714, - 13.0733598 - ], - [ - -59.5919763, - 13.0733407 - ], - [ - -59.5920997, - 13.0734827 - ], - [ - -59.5921753, - 13.0734515 - ], - [ - -59.5923469, - 13.0734437 - ], - [ - -59.5928532, - 13.0734587 - ], - [ - -59.5933978, - 13.0734675 - ], - [ - -59.5938938, - 13.0734638 - ], - [ - -59.5939167, - 13.0734176 - ], - [ - -59.594014, - 13.0733911 - ], - [ - -59.5941506, - 13.0736894 - ], - [ - -59.5944702, - 13.0737294 - ], - [ - -59.5946538, - 13.0737133 - ], - [ - -59.594877, - 13.0737819 - ], - [ - -59.5953939, - 13.0737293 - ], - [ - -59.595747, - 13.0736816 - ], - [ - -59.5958116, - 13.0736277 - ], - [ - -59.5958623, - 13.0735924 - ], - [ - -59.595935, - 13.073601 - ], - [ - -59.5959686, - 13.0736434 - ], - [ - -59.5959841, - 13.0737411 - ], - [ - -59.596037, - 13.0738065 - ], - [ - -59.5962613238974, - 13.073781817855814 - ], - [ - -59.70525598974693, - 12.02294805842679 - ], - [ - -59.91814018302371, - 9.970499937223357 - ], - [ - -59.91943359375001, - 9.958029972336439 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-both-sides-barbados.json/validatePolygon.json b/packages/base-project/examples/output/gp-clip-ocean-both-sides-barbados.json/validatePolygon.json deleted file mode 100644 index 1c7f7b0b0b..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-both-sides-barbados.json/validatePolygon.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "type": "Feature", - "properties": { - "name": "gp-clip-ocean-both-sides-barbados.json" - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -59.4854736328125, - 14.141902399847732 - ], - [ - -59.91943359375001, - 9.958029972336439 - ], - [ - -59.853515625, - 9.958029972336439 - ], - [ - -59.4305419921875, - 14.131248778377424 - ], - [ - -59.4854736328125, - 14.141902399847732 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-cuba-channel-span.json/clipToLand.json b/packages/base-project/examples/output/gp-clip-ocean-cuba-channel-span.json/clipToLand.json deleted file mode 100644 index 2ea08c789b..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-cuba-channel-span.json/clipToLand.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -82.90356941729799, - 21.927232381427668 - ], - [ - -82.8973388671875, - 21.906100421878413 - ], - [ - -82.86712646484375, - 21.915019085230302 - ], - [ - -82.86920956322406, - 21.928538588903717 - ], - [ - -82.8701537, - 21.9280268 - ], - [ - -82.8708232, - 21.927738 - ], - [ - -82.871654, - 21.9277093 - ], - [ - -82.8739232, - 21.9281174 - ], - [ - -82.8752536, - 21.9280626 - ], - [ - -82.8762192, - 21.9277093 - ], - [ - -82.8777695, - 21.926938 - ], - [ - -82.8785873, - 21.926745 - ], - [ - -82.8792479, - 21.9267296 - ], - [ - -82.8796829, - 21.9266428 - ], - [ - -82.8799903, - 21.9264752 - ], - [ - -82.8804976, - 21.9261679 - ], - [ - -82.8813402, - 21.9257924 - ], - [ - -82.8820251, - 21.9255749 - ], - [ - -82.8829653, - 21.925523 - ], - [ - -82.8836521, - 21.9255601 - ], - [ - -82.8842411, - 21.9257287 - ], - [ - -82.885777, - 21.926459 - ], - [ - -82.8869882, - 21.9265815 - ], - [ - -82.8888478, - 21.9267973 - ], - [ - -82.8899389, - 21.9268369 - ], - [ - -82.8913427, - 21.9273935 - ], - [ - -82.892462, - 21.9276526 - ], - [ - -82.8930658, - 21.9274242 - ], - [ - -82.8941953, - 21.9280029 - ], - [ - -82.8952253, - 21.9284458 - ], - [ - -82.8961372, - 21.9286548 - ], - [ - -82.8967542, - 21.9286946 - ], - [ - -82.8975749, - 21.9285652 - ], - [ - -82.8985271, - 21.9281771 - ], - [ - -82.8991708, - 21.9279009 - ], - [ - -82.8995836, - 21.9277861 - ], - [ - -82.9012871, - 21.9273958 - ], - [ - -82.9026175, - 21.9272565 - ], - [ - -82.90356941729799, - 21.927232381427668 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-cuba-channel-span.json/clipToOcean.json b/packages/base-project/examples/output/gp-clip-ocean-cuba-channel-span.json/clipToOcean.json deleted file mode 100644 index ff32609810..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-cuba-channel-span.json/clipToOcean.json +++ /dev/null @@ -1,1125 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -82.94952392578125, - 22.083094832921418 - ], - [ - -82.90356941729799, - 21.927232381427668 - ], - [ - -82.9026175, - 21.9272565 - ], - [ - -82.9012871, - 21.9273958 - ], - [ - -82.8995836, - 21.9277861 - ], - [ - -82.8991708, - 21.9279009 - ], - [ - -82.8985271, - 21.9281771 - ], - [ - -82.8975749, - 21.9285652 - ], - [ - -82.8967542, - 21.9286946 - ], - [ - -82.8961372, - 21.9286548 - ], - [ - -82.8952253, - 21.9284458 - ], - [ - -82.8941953, - 21.9280029 - ], - [ - -82.8930658, - 21.9274242 - ], - [ - -82.892462, - 21.9276526 - ], - [ - -82.8913427, - 21.9273935 - ], - [ - -82.8899389, - 21.9268369 - ], - [ - -82.8888478, - 21.9267973 - ], - [ - -82.8869882, - 21.9265815 - ], - [ - -82.885777, - 21.926459 - ], - [ - -82.8842411, - 21.9257287 - ], - [ - -82.8836521, - 21.9255601 - ], - [ - -82.8829653, - 21.925523 - ], - [ - -82.8820251, - 21.9255749 - ], - [ - -82.8813402, - 21.9257924 - ], - [ - -82.8804976, - 21.9261679 - ], - [ - -82.8799903, - 21.9264752 - ], - [ - -82.8796829, - 21.9266428 - ], - [ - -82.8792479, - 21.9267296 - ], - [ - -82.8785873, - 21.926745 - ], - [ - -82.8777695, - 21.926938 - ], - [ - -82.8762192, - 21.9277093 - ], - [ - -82.8752536, - 21.9280626 - ], - [ - -82.8739232, - 21.9281174 - ], - [ - -82.871654, - 21.9277093 - ], - [ - -82.8708232, - 21.927738 - ], - [ - -82.8701537, - 21.9280268 - ], - [ - -82.86920956322406, - 21.928538588903717 - ], - [ - -82.88840426906012, - 22.05311402831299 - ], - [ - -82.8885628, - 22.0530619 - ], - [ - -82.8890608, - 22.0524545 - ], - [ - -82.8895851, - 22.0528675 - ], - [ - -82.8903453, - 22.0527217 - ], - [ - -82.8906337, - 22.0523816 - ], - [ - -82.891525, - 22.0536936 - ], - [ - -82.8915774, - 22.0552728 - ], - [ - -82.8899259, - 22.0568277 - ], - [ - -82.8892968, - 22.0568763 - ], - [ - -82.8890871, - 22.0563661 - ], - [ - -82.8888937226697, - 22.05629062810077 - ], - [ - -82.89459228515624, - 22.093274832590485 - ], - [ - -82.91653267295656, - 22.089208812751913 - ], - [ - -82.9162366, - 22.0883173 - ], - [ - -82.9172065, - 22.0872971 - ], - [ - -82.9185958, - 22.0873457 - ], - [ - -82.919356, - 22.0866413 - ], - [ - -82.9194871, - 22.0861069 - ], - [ - -82.9212697, - 22.084698 - ], - [ - -82.9257522, - 22.0847223 - ], - [ - -82.92727363363612, - 22.08721828461696 - ], - [ - -82.94952392578125, - 22.083094832921418 - ] - ], - [ - [ - -82.9269502, - 22.0667285 - ], - [ - -82.9265518, - 22.0669229 - ], - [ - -82.9262162, - 22.0673116 - ], - [ - -82.9254822, - 22.0684777 - ], - [ - -82.9250838, - 22.0685554 - ], - [ - -82.9246224, - 22.0690607 - ], - [ - -82.9244337, - 22.069255 - ], - [ - -82.9243917, - 22.0696243 - ], - [ - -82.9238465, - 22.0700519 - ], - [ - -82.9236158, - 22.0705572 - ], - [ - -82.9235739, - 22.0711402 - ], - [ - -82.9225882, - 22.0712179 - ], - [ - -82.9226721, - 22.0718787 - ], - [ - -82.9228818, - 22.0721896 - ], - [ - -82.923469, - 22.0714511 - ], - [ - -82.9236577, - 22.0718787 - ], - [ - -82.9239933, - 22.0711596 - ], - [ - -82.9244547, - 22.0710819 - ], - [ - -82.9243917, - 22.0716455 - ], - [ - -82.9251886, - 22.0715872 - ], - [ - -82.9253145, - 22.0721702 - ], - [ - -82.9250628, - 22.0726366 - ], - [ - -82.9239304, - 22.0730253 - ], - [ - -82.9236577, - 22.0733946 - ], - [ - -82.9229028, - 22.0743857 - ], - [ - -82.9218962, - 22.075027 - ], - [ - -82.9208476, - 22.07561 - ], - [ - -82.919149, - 22.0757072 - ], - [ - -82.9188134, - 22.0752991 - ], - [ - -82.9186247, - 22.0746578 - ], - [ - -82.9186666, - 22.0738027 - ], - [ - -82.9179117, - 22.0731419 - ], - [ - -82.9178697, - 22.0724228 - ], - [ - -82.9192328, - 22.0715094 - ], - [ - -82.9219591, - 22.0695077 - ], - [ - -82.9231125, - 22.0689247 - ], - [ - -82.9240143, - 22.0683027 - ], - [ - -82.9252096, - 22.0676614 - ], - [ - -82.9257758, - 22.0670784 - ], - [ - -82.9262582, - 22.0661843 - ], - [ - -82.9268034, - 22.0661843 - ], - [ - -82.9269502, - 22.0667285 - ] - ], - [ - [ - -82.9254403, - 22.0663981 - ], - [ - -82.9247063, - 22.0674671 - ], - [ - -82.9238255, - 22.0678946 - ], - [ - -82.9229447, - 22.0682056 - ], - [ - -82.9224834, - 22.0685554 - ], - [ - -82.922022, - 22.0689052 - ], - [ - -82.9210993, - 22.069702 - ], - [ - -82.9204492, - 22.0695271 - ], - [ - -82.9204072, - 22.0701685 - ], - [ - -82.9193167, - 22.0709653 - ], - [ - -82.9184779, - 22.0712957 - ], - [ - -82.9165276, - 22.0724423 - ], - [ - -82.9159194, - 22.072384 - ], - [ - -82.9157307, - 22.0719564 - ], - [ - -82.914766, - 22.0717427 - ], - [ - -82.9141159, - 22.0713928 - ], - [ - -82.9144095, - 22.0706543 - ], - [ - -82.9144724, - 22.0697798 - ], - [ - -82.9141368, - 22.0697798 - ], - [ - -82.9129205, - 22.0699741 - ], - [ - -82.9129625, - 22.0686526 - ], - [ - -82.9124592, - 22.0684194 - ], - [ - -82.9121446, - 22.067778 - ], - [ - -82.9116203, - 22.0669423 - ], - [ - -82.9125011, - 22.0661649 - ], - [ - -82.912543, - 22.0658151 - ], - [ - -82.9130673, - 22.0657956 - ], - [ - -82.9131512, - 22.0661649 - ], - [ - -82.9136335, - 22.0665147 - ], - [ - -82.9140949, - 22.0667674 - ], - [ - -82.9146611, - 22.0669034 - ], - [ - -82.9146192, - 22.0675254 - ], - [ - -82.9153112, - 22.0672338 - ], - [ - -82.9160872, - 22.0671367 - ], - [ - -82.9167792, - 22.0677197 - ], - [ - -82.9173664, - 22.0677391 - ], - [ - -82.9202814, - 22.067642 - ], - [ - -82.920533, - 22.0681084 - ], - [ - -82.9207847, - 22.0677391 - ], - [ - -82.9211622, - 22.0677586 - ], - [ - -82.92133, - 22.0680695 - ], - [ - -82.9216445, - 22.068089 - ], - [ - -82.9223575, - 22.0678752 - ], - [ - -82.9230915, - 22.0672921 - ], - [ - -82.9239933, - 22.0672144 - ], - [ - -82.9246644, - 22.0666702 - ], - [ - -82.9254403, - 22.0663981 - ] - ], - [ - [ - -82.9119768, - 22.0682056 - ], - [ - -82.9114735, - 22.0682833 - ], - [ - -82.9113477, - 22.068089 - ], - [ - -82.9114316, - 22.0677586 - ], - [ - -82.911851, - 22.067778 - ], - [ - -82.9119768, - 22.0682056 - ] - ], - [ - [ - -82.9086535, - 22.0650938 - ], - [ - -82.9086535, - 22.0657207 - ], - [ - -82.9083421, - 22.0658401 - ], - [ - -82.9083528, - 22.0663277 - ], - [ - -82.9081166, - 22.0664272 - ], - [ - -82.9081274, - 22.0659396 - ], - [ - -82.9085032, - 22.0651038 - ], - [ - -82.9086535, - 22.0650938 - ] - ], - [ - [ - -82.9085112, - 22.0646087 - ], - [ - -82.9078267, - 22.0659769 - ], - [ - -82.9074643, - 22.0663003 - ], - [ - -82.906149, - 22.0667108 - ], - [ - -82.905988, - 22.067171 - ], - [ - -82.9050485, - 22.0670964 - ], - [ - -82.9045787, - 22.0667979 - ], - [ - -82.9040553, - 22.0671337 - ], - [ - -82.90325, - 22.0674073 - ], - [ - -82.9024313, - 22.0674447 - ], - [ - -82.9020286, - 22.0672457 - ], - [ - -82.902042, - 22.0664247 - ], - [ - -82.902391, - 22.0657282 - ], - [ - -82.9033842, - 22.0640738 - ], - [ - -82.9033708, - 22.06334 - ], - [ - -82.903411, - 22.06283 - ], - [ - -82.9031292, - 22.0620588 - ], - [ - -82.903156, - 22.0600188 - ], - [ - -82.9032097, - 22.0592725 - ], - [ - -82.9036124, - 22.0590983 - ], - [ - -82.9038271, - 22.0595834 - ], - [ - -82.904109, - 22.059969 - ], - [ - -82.9042029, - 22.0605786 - ], - [ - -82.9044445, - 22.060591 - ], - [ - -82.904525, - 22.0614617 - ], - [ - -82.9046727, - 22.0616732 - ], - [ - -82.9050619, - 22.0610512 - ], - [ - -82.9053303, - 22.0611507 - ], - [ - -82.9053303, - 22.0627678 - ], - [ - -82.9058135, - 22.06283 - ], - [ - -82.9061222, - 22.0625688 - ], - [ - -82.9066188, - 22.0623573 - ], - [ - -82.9066859, - 22.0631409 - ], - [ - -82.9069812, - 22.0630166 - ], - [ - -82.907263, - 22.0627553 - ], - [ - -82.9077328, - 22.06283 - ], - [ - -82.9077059, - 22.0631161 - ], - [ - -82.9076791, - 22.064049 - ], - [ - -82.9078133, - 22.0645838 - ], - [ - -82.9075449, - 22.0654918 - ], - [ - -82.9080012, - 22.0647455 - ], - [ - -82.9085112, - 22.0646087 - ] - ], - [ - [ - -82.9043237, - 22.0581778 - ], - [ - -82.9042834, - 22.0584639 - ], - [ - -82.9039345, - 22.0587127 - ], - [ - -82.9035318, - 22.0588371 - ], - [ - -82.9033171, - 22.0589739 - ], - [ - -82.9032231, - 22.0587749 - ], - [ - -82.903411, - 22.0586008 - ], - [ - -82.9039211, - 22.0583644 - ], - [ - -82.9043237, - 22.0581778 - ] - ], - [ - [ - -82.9041928, - 22.0580546 - ], - [ - -82.9029346, - 22.0586377 - ], - [ - -82.9029084, - 22.0592451 - ], - [ - -82.9029084, - 22.0604841 - ], - [ - -82.9028821, - 22.0619904 - ], - [ - -82.9031181, - 22.0637639 - ], - [ - -82.9013879, - 22.0665819 - ], - [ - -82.9011258, - 22.0666305 - ], - [ - -82.9001821, - 22.0666062 - ], - [ - -82.9002083, - 22.0674322 - ], - [ - -82.8995792, - 22.0676509 - ], - [ - -82.8992646, - 22.0680153 - ], - [ - -82.8985568, - 22.0680396 - ], - [ - -82.8981374, - 22.0687684 - ], - [ - -82.8972461, - 22.068817 - ], - [ - -82.8962762, - 22.0703231 - ], - [ - -82.8956995, - 22.0711734 - ], - [ - -82.8952801, - 22.0705418 - ], - [ - -82.8950966, - 22.0700073 - ], - [ - -82.8954112, - 22.0695943 - ], - [ - -82.8953587, - 22.0670192 - ], - [ - -82.8951228, - 22.0662175 - ], - [ - -82.8954898, - 22.0654887 - ], - [ - -82.8943364, - 22.0656345 - ], - [ - -82.8937335, - 22.0642011 - ], - [ - -82.8938645, - 22.0628164 - ], - [ - -82.8940218, - 22.0619418 - ], - [ - -82.8943626, - 22.0609214 - ], - [ - -82.8955947, - 22.0603869 - ], - [ - -82.8964597, - 22.0596095 - ], - [ - -82.8970626, - 22.0595852 - ], - [ - -82.897351, - 22.0592208 - ], - [ - -82.8980063, - 22.058832 - ], - [ - -82.8981636, - 22.0583218 - ], - [ - -82.8990025, - 22.0576416 - ], - [ - -82.900418, - 22.0571557 - ], - [ - -82.9003656, - 22.0587106 - ], - [ - -82.8998151, - 22.0593908 - ], - [ - -82.9003132, - 22.0592208 - ], - [ - -82.9003918, - 22.0598281 - ], - [ - -82.8985044, - 22.0608242 - ], - [ - -82.8983996, - 22.0619175 - ], - [ - -82.8979015, - 22.062039 - ], - [ - -82.897718, - 22.0625977 - ], - [ - -82.897351, - 22.0627192 - ], - [ - -82.897351, - 22.0635452 - ], - [ - -82.8979015, - 22.0629864 - ], - [ - -82.898452, - 22.0627192 - ], - [ - -82.8979801, - 22.0638124 - ], - [ - -82.8991073, - 22.0637639 - ], - [ - -82.8991073, - 22.0650514 - ], - [ - -82.8985831, - 22.0667763 - ], - [ - -82.8994481, - 22.0652701 - ], - [ - -82.8997103, - 22.0637881 - ], - [ - -82.9008112, - 22.0635938 - ], - [ - -82.9015452, - 22.0629136 - ], - [ - -82.9022006, - 22.0600711 - ], - [ - -82.9021482, - 22.0592208 - ], - [ - -82.9027869, - 22.0582105 - ], - [ - -82.9037472, - 22.0577631 - ], - [ - -82.9041928, - 22.0580546 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-cuba-channel-span.json/clipToOceanEez.json b/packages/base-project/examples/output/gp-clip-ocean-cuba-channel-span.json/clipToOceanEez.json deleted file mode 100644 index ff32609810..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-cuba-channel-span.json/clipToOceanEez.json +++ /dev/null @@ -1,1125 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -82.94952392578125, - 22.083094832921418 - ], - [ - -82.90356941729799, - 21.927232381427668 - ], - [ - -82.9026175, - 21.9272565 - ], - [ - -82.9012871, - 21.9273958 - ], - [ - -82.8995836, - 21.9277861 - ], - [ - -82.8991708, - 21.9279009 - ], - [ - -82.8985271, - 21.9281771 - ], - [ - -82.8975749, - 21.9285652 - ], - [ - -82.8967542, - 21.9286946 - ], - [ - -82.8961372, - 21.9286548 - ], - [ - -82.8952253, - 21.9284458 - ], - [ - -82.8941953, - 21.9280029 - ], - [ - -82.8930658, - 21.9274242 - ], - [ - -82.892462, - 21.9276526 - ], - [ - -82.8913427, - 21.9273935 - ], - [ - -82.8899389, - 21.9268369 - ], - [ - -82.8888478, - 21.9267973 - ], - [ - -82.8869882, - 21.9265815 - ], - [ - -82.885777, - 21.926459 - ], - [ - -82.8842411, - 21.9257287 - ], - [ - -82.8836521, - 21.9255601 - ], - [ - -82.8829653, - 21.925523 - ], - [ - -82.8820251, - 21.9255749 - ], - [ - -82.8813402, - 21.9257924 - ], - [ - -82.8804976, - 21.9261679 - ], - [ - -82.8799903, - 21.9264752 - ], - [ - -82.8796829, - 21.9266428 - ], - [ - -82.8792479, - 21.9267296 - ], - [ - -82.8785873, - 21.926745 - ], - [ - -82.8777695, - 21.926938 - ], - [ - -82.8762192, - 21.9277093 - ], - [ - -82.8752536, - 21.9280626 - ], - [ - -82.8739232, - 21.9281174 - ], - [ - -82.871654, - 21.9277093 - ], - [ - -82.8708232, - 21.927738 - ], - [ - -82.8701537, - 21.9280268 - ], - [ - -82.86920956322406, - 21.928538588903717 - ], - [ - -82.88840426906012, - 22.05311402831299 - ], - [ - -82.8885628, - 22.0530619 - ], - [ - -82.8890608, - 22.0524545 - ], - [ - -82.8895851, - 22.0528675 - ], - [ - -82.8903453, - 22.0527217 - ], - [ - -82.8906337, - 22.0523816 - ], - [ - -82.891525, - 22.0536936 - ], - [ - -82.8915774, - 22.0552728 - ], - [ - -82.8899259, - 22.0568277 - ], - [ - -82.8892968, - 22.0568763 - ], - [ - -82.8890871, - 22.0563661 - ], - [ - -82.8888937226697, - 22.05629062810077 - ], - [ - -82.89459228515624, - 22.093274832590485 - ], - [ - -82.91653267295656, - 22.089208812751913 - ], - [ - -82.9162366, - 22.0883173 - ], - [ - -82.9172065, - 22.0872971 - ], - [ - -82.9185958, - 22.0873457 - ], - [ - -82.919356, - 22.0866413 - ], - [ - -82.9194871, - 22.0861069 - ], - [ - -82.9212697, - 22.084698 - ], - [ - -82.9257522, - 22.0847223 - ], - [ - -82.92727363363612, - 22.08721828461696 - ], - [ - -82.94952392578125, - 22.083094832921418 - ] - ], - [ - [ - -82.9269502, - 22.0667285 - ], - [ - -82.9265518, - 22.0669229 - ], - [ - -82.9262162, - 22.0673116 - ], - [ - -82.9254822, - 22.0684777 - ], - [ - -82.9250838, - 22.0685554 - ], - [ - -82.9246224, - 22.0690607 - ], - [ - -82.9244337, - 22.069255 - ], - [ - -82.9243917, - 22.0696243 - ], - [ - -82.9238465, - 22.0700519 - ], - [ - -82.9236158, - 22.0705572 - ], - [ - -82.9235739, - 22.0711402 - ], - [ - -82.9225882, - 22.0712179 - ], - [ - -82.9226721, - 22.0718787 - ], - [ - -82.9228818, - 22.0721896 - ], - [ - -82.923469, - 22.0714511 - ], - [ - -82.9236577, - 22.0718787 - ], - [ - -82.9239933, - 22.0711596 - ], - [ - -82.9244547, - 22.0710819 - ], - [ - -82.9243917, - 22.0716455 - ], - [ - -82.9251886, - 22.0715872 - ], - [ - -82.9253145, - 22.0721702 - ], - [ - -82.9250628, - 22.0726366 - ], - [ - -82.9239304, - 22.0730253 - ], - [ - -82.9236577, - 22.0733946 - ], - [ - -82.9229028, - 22.0743857 - ], - [ - -82.9218962, - 22.075027 - ], - [ - -82.9208476, - 22.07561 - ], - [ - -82.919149, - 22.0757072 - ], - [ - -82.9188134, - 22.0752991 - ], - [ - -82.9186247, - 22.0746578 - ], - [ - -82.9186666, - 22.0738027 - ], - [ - -82.9179117, - 22.0731419 - ], - [ - -82.9178697, - 22.0724228 - ], - [ - -82.9192328, - 22.0715094 - ], - [ - -82.9219591, - 22.0695077 - ], - [ - -82.9231125, - 22.0689247 - ], - [ - -82.9240143, - 22.0683027 - ], - [ - -82.9252096, - 22.0676614 - ], - [ - -82.9257758, - 22.0670784 - ], - [ - -82.9262582, - 22.0661843 - ], - [ - -82.9268034, - 22.0661843 - ], - [ - -82.9269502, - 22.0667285 - ] - ], - [ - [ - -82.9254403, - 22.0663981 - ], - [ - -82.9247063, - 22.0674671 - ], - [ - -82.9238255, - 22.0678946 - ], - [ - -82.9229447, - 22.0682056 - ], - [ - -82.9224834, - 22.0685554 - ], - [ - -82.922022, - 22.0689052 - ], - [ - -82.9210993, - 22.069702 - ], - [ - -82.9204492, - 22.0695271 - ], - [ - -82.9204072, - 22.0701685 - ], - [ - -82.9193167, - 22.0709653 - ], - [ - -82.9184779, - 22.0712957 - ], - [ - -82.9165276, - 22.0724423 - ], - [ - -82.9159194, - 22.072384 - ], - [ - -82.9157307, - 22.0719564 - ], - [ - -82.914766, - 22.0717427 - ], - [ - -82.9141159, - 22.0713928 - ], - [ - -82.9144095, - 22.0706543 - ], - [ - -82.9144724, - 22.0697798 - ], - [ - -82.9141368, - 22.0697798 - ], - [ - -82.9129205, - 22.0699741 - ], - [ - -82.9129625, - 22.0686526 - ], - [ - -82.9124592, - 22.0684194 - ], - [ - -82.9121446, - 22.067778 - ], - [ - -82.9116203, - 22.0669423 - ], - [ - -82.9125011, - 22.0661649 - ], - [ - -82.912543, - 22.0658151 - ], - [ - -82.9130673, - 22.0657956 - ], - [ - -82.9131512, - 22.0661649 - ], - [ - -82.9136335, - 22.0665147 - ], - [ - -82.9140949, - 22.0667674 - ], - [ - -82.9146611, - 22.0669034 - ], - [ - -82.9146192, - 22.0675254 - ], - [ - -82.9153112, - 22.0672338 - ], - [ - -82.9160872, - 22.0671367 - ], - [ - -82.9167792, - 22.0677197 - ], - [ - -82.9173664, - 22.0677391 - ], - [ - -82.9202814, - 22.067642 - ], - [ - -82.920533, - 22.0681084 - ], - [ - -82.9207847, - 22.0677391 - ], - [ - -82.9211622, - 22.0677586 - ], - [ - -82.92133, - 22.0680695 - ], - [ - -82.9216445, - 22.068089 - ], - [ - -82.9223575, - 22.0678752 - ], - [ - -82.9230915, - 22.0672921 - ], - [ - -82.9239933, - 22.0672144 - ], - [ - -82.9246644, - 22.0666702 - ], - [ - -82.9254403, - 22.0663981 - ] - ], - [ - [ - -82.9119768, - 22.0682056 - ], - [ - -82.9114735, - 22.0682833 - ], - [ - -82.9113477, - 22.068089 - ], - [ - -82.9114316, - 22.0677586 - ], - [ - -82.911851, - 22.067778 - ], - [ - -82.9119768, - 22.0682056 - ] - ], - [ - [ - -82.9086535, - 22.0650938 - ], - [ - -82.9086535, - 22.0657207 - ], - [ - -82.9083421, - 22.0658401 - ], - [ - -82.9083528, - 22.0663277 - ], - [ - -82.9081166, - 22.0664272 - ], - [ - -82.9081274, - 22.0659396 - ], - [ - -82.9085032, - 22.0651038 - ], - [ - -82.9086535, - 22.0650938 - ] - ], - [ - [ - -82.9085112, - 22.0646087 - ], - [ - -82.9078267, - 22.0659769 - ], - [ - -82.9074643, - 22.0663003 - ], - [ - -82.906149, - 22.0667108 - ], - [ - -82.905988, - 22.067171 - ], - [ - -82.9050485, - 22.0670964 - ], - [ - -82.9045787, - 22.0667979 - ], - [ - -82.9040553, - 22.0671337 - ], - [ - -82.90325, - 22.0674073 - ], - [ - -82.9024313, - 22.0674447 - ], - [ - -82.9020286, - 22.0672457 - ], - [ - -82.902042, - 22.0664247 - ], - [ - -82.902391, - 22.0657282 - ], - [ - -82.9033842, - 22.0640738 - ], - [ - -82.9033708, - 22.06334 - ], - [ - -82.903411, - 22.06283 - ], - [ - -82.9031292, - 22.0620588 - ], - [ - -82.903156, - 22.0600188 - ], - [ - -82.9032097, - 22.0592725 - ], - [ - -82.9036124, - 22.0590983 - ], - [ - -82.9038271, - 22.0595834 - ], - [ - -82.904109, - 22.059969 - ], - [ - -82.9042029, - 22.0605786 - ], - [ - -82.9044445, - 22.060591 - ], - [ - -82.904525, - 22.0614617 - ], - [ - -82.9046727, - 22.0616732 - ], - [ - -82.9050619, - 22.0610512 - ], - [ - -82.9053303, - 22.0611507 - ], - [ - -82.9053303, - 22.0627678 - ], - [ - -82.9058135, - 22.06283 - ], - [ - -82.9061222, - 22.0625688 - ], - [ - -82.9066188, - 22.0623573 - ], - [ - -82.9066859, - 22.0631409 - ], - [ - -82.9069812, - 22.0630166 - ], - [ - -82.907263, - 22.0627553 - ], - [ - -82.9077328, - 22.06283 - ], - [ - -82.9077059, - 22.0631161 - ], - [ - -82.9076791, - 22.064049 - ], - [ - -82.9078133, - 22.0645838 - ], - [ - -82.9075449, - 22.0654918 - ], - [ - -82.9080012, - 22.0647455 - ], - [ - -82.9085112, - 22.0646087 - ] - ], - [ - [ - -82.9043237, - 22.0581778 - ], - [ - -82.9042834, - 22.0584639 - ], - [ - -82.9039345, - 22.0587127 - ], - [ - -82.9035318, - 22.0588371 - ], - [ - -82.9033171, - 22.0589739 - ], - [ - -82.9032231, - 22.0587749 - ], - [ - -82.903411, - 22.0586008 - ], - [ - -82.9039211, - 22.0583644 - ], - [ - -82.9043237, - 22.0581778 - ] - ], - [ - [ - -82.9041928, - 22.0580546 - ], - [ - -82.9029346, - 22.0586377 - ], - [ - -82.9029084, - 22.0592451 - ], - [ - -82.9029084, - 22.0604841 - ], - [ - -82.9028821, - 22.0619904 - ], - [ - -82.9031181, - 22.0637639 - ], - [ - -82.9013879, - 22.0665819 - ], - [ - -82.9011258, - 22.0666305 - ], - [ - -82.9001821, - 22.0666062 - ], - [ - -82.9002083, - 22.0674322 - ], - [ - -82.8995792, - 22.0676509 - ], - [ - -82.8992646, - 22.0680153 - ], - [ - -82.8985568, - 22.0680396 - ], - [ - -82.8981374, - 22.0687684 - ], - [ - -82.8972461, - 22.068817 - ], - [ - -82.8962762, - 22.0703231 - ], - [ - -82.8956995, - 22.0711734 - ], - [ - -82.8952801, - 22.0705418 - ], - [ - -82.8950966, - 22.0700073 - ], - [ - -82.8954112, - 22.0695943 - ], - [ - -82.8953587, - 22.0670192 - ], - [ - -82.8951228, - 22.0662175 - ], - [ - -82.8954898, - 22.0654887 - ], - [ - -82.8943364, - 22.0656345 - ], - [ - -82.8937335, - 22.0642011 - ], - [ - -82.8938645, - 22.0628164 - ], - [ - -82.8940218, - 22.0619418 - ], - [ - -82.8943626, - 22.0609214 - ], - [ - -82.8955947, - 22.0603869 - ], - [ - -82.8964597, - 22.0596095 - ], - [ - -82.8970626, - 22.0595852 - ], - [ - -82.897351, - 22.0592208 - ], - [ - -82.8980063, - 22.058832 - ], - [ - -82.8981636, - 22.0583218 - ], - [ - -82.8990025, - 22.0576416 - ], - [ - -82.900418, - 22.0571557 - ], - [ - -82.9003656, - 22.0587106 - ], - [ - -82.8998151, - 22.0593908 - ], - [ - -82.9003132, - 22.0592208 - ], - [ - -82.9003918, - 22.0598281 - ], - [ - -82.8985044, - 22.0608242 - ], - [ - -82.8983996, - 22.0619175 - ], - [ - -82.8979015, - 22.062039 - ], - [ - -82.897718, - 22.0625977 - ], - [ - -82.897351, - 22.0627192 - ], - [ - -82.897351, - 22.0635452 - ], - [ - -82.8979015, - 22.0629864 - ], - [ - -82.898452, - 22.0627192 - ], - [ - -82.8979801, - 22.0638124 - ], - [ - -82.8991073, - 22.0637639 - ], - [ - -82.8991073, - 22.0650514 - ], - [ - -82.8985831, - 22.0667763 - ], - [ - -82.8994481, - 22.0652701 - ], - [ - -82.8997103, - 22.0637881 - ], - [ - -82.9008112, - 22.0635938 - ], - [ - -82.9015452, - 22.0629136 - ], - [ - -82.9022006, - 22.0600711 - ], - [ - -82.9021482, - 22.0592208 - ], - [ - -82.9027869, - 22.0582105 - ], - [ - -82.9037472, - 22.0577631 - ], - [ - -82.9041928, - 22.0580546 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-cuba-channel-span.json/validatePolygon.json b/packages/base-project/examples/output/gp-clip-ocean-cuba-channel-span.json/validatePolygon.json deleted file mode 100644 index 7906a1dacf..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-cuba-channel-span.json/validatePolygon.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "type": "Feature", - "properties": { - "name": "gp-clip-ocean-cuba-channel-span.json" - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -82.8973388671875, - 21.906100421878413 - ], - [ - -82.86712646484375, - 21.915019085230302 - ], - [ - -82.89459228515624, - 22.093274832590485 - ], - [ - -82.94952392578125, - 22.083094832921418 - ], - [ - -82.8973388671875, - 21.906100421878413 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-inner-channel-islands.json/clipToLand.json b/packages/base-project/examples/output/gp-clip-ocean-inner-channel-islands.json/clipToLand.json deleted file mode 100644 index 133307612d..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-inner-channel-islands.json/clipToLand.json +++ /dev/null @@ -1,1159 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -119.8873858, - 34.0077476 - ], - [ - -119.8873253, - 34.007478 - ], - [ - -119.8872558, - 34.0073252 - ], - [ - -119.887117, - 34.0072383 - ], - [ - -119.8870388, - 34.0070627 - ], - [ - -119.8869344, - 34.0069383 - ], - [ - -119.8868131, - 34.0068901 - ], - [ - -119.8866394, - 34.0066422 - ], - [ - -119.8865264, - 34.0065694 - ], - [ - -119.8864047, - 34.0066612 - ], - [ - -119.8862659, - 34.0068898 - ], - [ - -119.8861882, - 34.0069215 - ], - [ - -119.8860403, - 34.0068411 - ], - [ - -119.8859449, - 34.0066021 - ], - [ - -119.8858582, - 34.0065324 - ], - [ - -119.8859275, - 34.0063922 - ], - [ - -119.8860057, - 34.0063086 - ], - [ - -119.8860059, - 34.0058038 - ], - [ - -119.8859537, - 34.0056761 - ], - [ - -119.8858496, - 34.0056734 - ], - [ - -119.8854676, - 34.0059072 - ], - [ - -119.8853371, - 34.0058701 - ], - [ - -119.8853022, - 34.0057498 - ], - [ - -119.8853022, - 34.0056011 - ], - [ - -119.8851982, - 34.0054699 - ], - [ - -119.8851116, - 34.0053958 - ], - [ - -119.8851546, - 34.005291 - ], - [ - -119.8854417, - 34.0051921 - ], - [ - -119.8856235, - 34.0050864 - ], - [ - -119.885641, - 34.0049968 - ], - [ - -119.8856149, - 34.0047077 - ], - [ - -119.8855281, - 34.0046423 - ], - [ - -119.8855282, - 34.0045476 - ], - [ - -119.8853287, - 34.0044142 - ], - [ - -119.8852679, - 34.0042662 - ], - [ - -119.8852853, - 34.0041944 - ], - [ - -119.8851289, - 34.0039584 - ], - [ - -119.8851289, - 34.0038502 - ], - [ - -119.8850419, - 34.0037287 - ], - [ - -119.8850422, - 34.0036295 - ], - [ - -119.8848941, - 34.0034229 - ], - [ - -119.8848162, - 34.0033735 - ], - [ - -119.8847382, - 34.0032861 - ], - [ - -119.8847817, - 34.0032239 - ], - [ - -119.8849725, - 34.00315 - ], - [ - -119.8850507, - 34.0030799 - ], - [ - -119.8850334, - 34.0030185 - ], - [ - -119.8849117, - 34.0029051 - ], - [ - -119.8847033, - 34.0028142 - ], - [ - -119.8845558, - 34.0026886 - ], - [ - -119.8845469, - 34.0025962 - ], - [ - -119.8844775, - 34.0024976 - ], - [ - -119.8844952, - 34.0023649 - ], - [ - -119.8845906, - 34.0021985 - ], - [ - -119.8845035, - 34.0021015 - ], - [ - -119.8844863, - 34.0019975 - ], - [ - -119.8845039, - 34.0018851 - ], - [ - -119.8844688, - 34.0017715 - ], - [ - -119.8843652, - 34.0017013 - ], - [ - -119.8842433, - 34.001669 - ], - [ - -119.8841218, - 34.0014382 - ], - [ - -119.8839393, - 34.0012873 - ], - [ - -119.883714, - 34.0012521 - ], - [ - -119.883245, - 34.0011299 - ], - [ - -119.8830715, - 34.0009722 - ], - [ - -119.8829588, - 34.0008363 - ], - [ - -119.8827847, - 34.0006945 - ], - [ - -119.8826897, - 34.0005186 - ], - [ - -119.8826912, - 34.0004513 - ], - [ - -119.8826982, - 34.0001379 - ], - [ - -119.8827589, - 33.9999955 - ], - [ - -119.8828543, - 33.9999031 - ], - [ - -119.8830196, - 33.9998937 - ], - [ - -119.883375, - 33.9999028 - ], - [ - -119.8838179, - 33.9998531 - ], - [ - -119.8839133, - 33.9997586 - ], - [ - -119.8838356, - 33.9996824 - ], - [ - -119.8836702, - 33.9996397 - ], - [ - -119.8835319, - 33.9995373 - ], - [ - -119.8833924, - 33.9993738 - ], - [ - -119.8833231, - 33.9991218 - ], - [ - -119.8833057, - 33.998968 - ], - [ - -119.8833407, - 33.9987728 - ], - [ - -119.8832968, - 33.9986209 - ], - [ - -119.8832015, - 33.9986005 - ], - [ - -119.882802, - 33.9986488 - ], - [ - -119.8826289, - 33.9986287 - ], - [ - -119.8825677, - 33.9985077 - ], - [ - -119.8825854, - 33.9983953 - ], - [ - -119.8828195, - 33.9981694 - ], - [ - -119.8828721, - 33.9980646 - ], - [ - -119.8828981, - 33.9978897 - ], - [ - -119.8828459, - 33.997762 - ], - [ - -119.8827587, - 33.9976518 - ], - [ - -119.8824724, - 33.9975069 - ], - [ - -119.882273, - 33.9974478 - ], - [ - -119.8820473, - 33.9973521 - ], - [ - -119.881865, - 33.9972325 - ], - [ - -119.8817257, - 33.9971027 - ], - [ - -119.8815439, - 33.9968569 - ], - [ - -119.881448, - 33.9962978 - ], - [ - -119.8813789, - 33.9962081 - ], - [ - -119.8813351, - 33.9961103 - ], - [ - -119.8813181, - 33.9959295 - ], - [ - -119.8811613, - 33.9957949 - ], - [ - -119.8810746, - 33.9956148 - ], - [ - -119.8810919, - 33.995437 - ], - [ - -119.8810051, - 33.9952952 - ], - [ - -119.8809273, - 33.9950926 - ], - [ - -119.8809966, - 33.9949163 - ], - [ - -119.8812054, - 33.9948314 - ], - [ - -119.8812662, - 33.9947588 - ], - [ - -119.8812227, - 33.994672 - ], - [ - -119.8810317, - 33.9945318 - ], - [ - -119.8808927, - 33.9943775 - ], - [ - -119.8807187, - 33.9940283 - ], - [ - -119.8807101, - 33.9938747 - ], - [ - -119.8807535, - 33.9937452 - ], - [ - -119.8808576, - 33.9936126 - ], - [ - -119.8809882, - 33.9935189 - ], - [ - -119.8810838, - 33.9935328 - ], - [ - -119.8811877, - 33.9936321 - ], - [ - -119.8813176, - 33.9936491 - ], - [ - -119.8813697, - 33.9934452 - ], - [ - -119.8815091, - 33.9933879 - ], - [ - -119.8814918, - 33.993178 - ], - [ - -119.8813354, - 33.9932009 - ], - [ - -119.8811526, - 33.9932957 - ], - [ - -119.8809707, - 33.9932594 - ], - [ - -119.880988, - 33.9931022 - ], - [ - -119.8812049, - 33.9929926 - ], - [ - -119.8814397, - 33.9928252 - ], - [ - -119.8814912, - 33.9927114 - ], - [ - -119.881448, - 33.9923927 - ], - [ - -119.8813785, - 33.9922445 - ], - [ - -119.8813698, - 33.9921292 - ], - [ - -119.8812742, - 33.9919488 - ], - [ - -119.8811183, - 33.991812 - ], - [ - -119.8809791, - 33.9917364 - ], - [ - -119.8808406, - 33.9916179 - ], - [ - -119.8805364, - 33.9916145 - ], - [ - -119.8802938, - 33.991685 - ], - [ - -119.8800856, - 33.991718 - ], - [ - -119.8799288, - 33.9916601 - ], - [ - -119.87979, - 33.9915168 - ], - [ - -119.8797555, - 33.9913694 - ], - [ - -119.879703, - 33.991251 - ], - [ - -119.8795211, - 33.9909556 - ], - [ - -119.8794085, - 33.9908354 - ], - [ - -119.8791741, - 33.9907349 - ], - [ - -119.8790262, - 33.9905804 - ], - [ - -119.8791566, - 33.9905092 - ], - [ - -119.8793216, - 33.9904728 - ], - [ - -119.8794342, - 33.990372 - ], - [ - -119.8794513, - 33.9902734 - ], - [ - -119.8793993, - 33.9901796 - ], - [ - -119.8792261, - 33.9901256 - ], - [ - -119.8790348, - 33.9900307 - ], - [ - -119.8789306, - 33.9898838 - ], - [ - -119.8789134, - 33.9897795 - ], - [ - -119.8788529, - 33.9896068 - ], - [ - -119.8782447, - 33.9891475 - ], - [ - -119.8779846, - 33.9889201 - ], - [ - -119.8778112, - 33.9887061 - ], - [ - -119.8774639, - 33.9881428 - ], - [ - -119.8773422, - 33.9878469 - ], - [ - -119.87729, - 33.9876448 - ], - [ - -119.877125, - 33.9872012 - ], - [ - -119.8769517, - 33.9865975 - ], - [ - -119.8769338, - 33.9864009 - ], - [ - -119.8769774, - 33.9858952 - ], - [ - -119.8765957, - 33.9852364 - ], - [ - -119.8763524, - 33.9848989 - ], - [ - -119.8761786, - 33.9846217 - ], - [ - -119.8759619, - 33.9840056 - ], - [ - -119.8756233, - 33.9831857 - ], - [ - -119.875337, - 33.9827662 - ], - [ - -119.8751719, - 33.9824195 - ], - [ - -119.8750939, - 33.9822055 - ], - [ - -119.8749375, - 33.9819673 - ], - [ - -119.874512, - 33.9815304 - ], - [ - -119.8743039, - 33.9812301 - ], - [ - -119.874217, - 33.9810542 - ], - [ - -119.8741653, - 33.9806924 - ], - [ - -119.8742431, - 33.9804714 - ], - [ - -119.8742602, - 33.9803184 - ], - [ - -119.8742257, - 33.980169 - ], - [ - -119.8739221, - 33.9800033 - ], - [ - -119.8736963, - 33.9800766 - ], - [ - -119.8735403, - 33.980219 - ], - [ - -119.873375, - 33.9803208 - ], - [ - -119.8731148, - 33.9804067 - ], - [ - -119.8728717, - 33.9804543 - ], - [ - -119.8726374, - 33.9804237 - ], - [ - -119.8722209, - 33.9801854 - ], - [ - -119.8720817, - 33.9802743 - ], - [ - -119.8717868, - 33.980587 - ], - [ - -119.8716303, - 33.9806865 - ], - [ - -119.8713352, - 33.9806949 - ], - [ - -119.8710052, - 33.980639 - ], - [ - -119.8703367, - 33.980469 - ], - [ - -119.8699638, - 33.9804164 - ], - [ - -119.8692344, - 33.9803373 - ], - [ - -119.8688873, - 33.9803622 - ], - [ - -119.868523, - 33.9803573 - ], - [ - -119.8677764, - 33.9802122 - ], - [ - -119.8674031, - 33.9800833 - ], - [ - -119.8670038, - 33.9799805 - ], - [ - -119.8666995, - 33.9798534 - ], - [ - -119.8664565, - 33.979712 - ], - [ - -119.8661961, - 33.9795837 - ], - [ - -119.8658578, - 33.9794602 - ], - [ - -119.8652243, - 33.9791825 - ], - [ - -119.8645556, - 33.9787194 - ], - [ - -119.864278, - 33.9786357 - ], - [ - -119.8638787, - 33.9783707 - ], - [ - -119.8637135, - 33.9781907 - ], - [ - -119.8634447, - 33.9780892 - ], - [ - -119.8632187, - 33.9779822 - ], - [ - -119.86300382103452, - 33.97784632740917 - ], - [ - -119.86633300781249, - 34.01197318692261 - ], - [ - -119.87900280788777, - 34.018815075021614 - ], - [ - -119.8790527, - 34.0186818 - ], - [ - -119.8792007, - 34.0183386 - ], - [ - -119.879461, - 34.0178044 - ], - [ - -119.8798081, - 34.0172318 - ], - [ - -119.8801723, - 34.0168738 - ], - [ - -119.8810059, - 34.0162977 - ], - [ - -119.8812145, - 34.0162737 - ], - [ - -119.8813967, - 34.0161927 - ], - [ - -119.8816051, - 34.0161372 - ], - [ - -119.8817522, - 34.0161635 - ], - [ - -119.8819, - 34.0160997 - ], - [ - -119.8820474, - 34.0160109 - ], - [ - -119.8822297, - 34.0158555 - ], - [ - -119.8823337, - 34.0156937 - ], - [ - -119.882351, - 34.0155522 - ], - [ - -119.8822559, - 34.0151397 - ], - [ - -119.8822214, - 34.0148796 - ], - [ - -119.8821516, - 34.0147539 - ], - [ - -119.8821256, - 34.0146496 - ], - [ - -119.8821774, - 34.0144931 - ], - [ - -119.882447, - 34.0142026 - ], - [ - -119.8825942, - 34.0138052 - ], - [ - -119.8825423, - 34.0136347 - ], - [ - -119.8824205, - 34.0135417 - ], - [ - -119.882256, - 34.0134722 - ], - [ - -119.8821433, - 34.013298 - ], - [ - -119.8821256, - 34.0130407 - ], - [ - -119.8821603, - 34.0129086 - ], - [ - -119.8822559, - 34.0127149 - ], - [ - -119.8824081, - 34.0123306 - ], - [ - -119.8824467, - 34.0122331 - ], - [ - -119.8825335, - 34.0120436 - ], - [ - -119.8826726, - 34.0118287 - ], - [ - -119.8827854, - 34.0114981 - ], - [ - -119.8829244, - 34.0112875 - ], - [ - -119.88348, - 34.0107089 - ], - [ - -119.8836095, - 34.0104394 - ], - [ - -119.8837312, - 34.0102398 - ], - [ - -119.8842523, - 34.009694 - ], - [ - -119.8843738, - 34.0094629 - ], - [ - -119.8844345, - 34.0092299 - ], - [ - -119.8845039, - 34.0091438 - ], - [ - -119.8846778, - 34.0090468 - ], - [ - -119.884912, - 34.0089357 - ], - [ - -119.885372, - 34.0088029 - ], - [ - -119.8855367, - 34.0088502 - ], - [ - -119.8856586, - 34.0089207 - ], - [ - -119.8858496, - 34.0090992 - ], - [ - -119.8859793, - 34.0091611 - ], - [ - -119.8863616, - 34.0092496 - ], - [ - -119.8865002, - 34.0093253 - ], - [ - -119.8866306, - 34.0094434 - ], - [ - -119.8867089, - 34.0094275 - ], - [ - -119.8868561, - 34.0092484 - ], - [ - -119.886995, - 34.0091486 - ], - [ - -119.8870736, - 34.0089993 - ], - [ - -119.8870038, - 34.0089818 - ], - [ - -119.8868999, - 34.0089025 - ], - [ - -119.8869083, - 34.0088014 - ], - [ - -119.8869866, - 34.0086412 - ], - [ - -119.8870035, - 34.0084344 - ], - [ - -119.8870384, - 34.0082955 - ], - [ - -119.8871861, - 34.0081393 - ], - [ - -119.8873422, - 34.0079223 - ], - [ - -119.8873858, - 34.0077476 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-inner-channel-islands.json/clipToOcean.json b/packages/base-project/examples/output/gp-clip-ocean-inner-channel-islands.json/clipToOcean.json deleted file mode 100644 index b5ab0739f5..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-inner-channel-islands.json/clipToOcean.json +++ /dev/null @@ -1,1743 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -120.00003924342847, - 33.98050316955733 - ], - [ - -119.9995892, - 33.980591 - ], - [ - -119.9988771, - 33.980709 - ], - [ - -119.997827, - 33.9809358 - ], - [ - -119.9973929, - 33.9810874 - ], - [ - -119.9970716, - 33.9812215 - ], - [ - -119.9967766, - 33.9813607 - ], - [ - -119.9964206, - 33.9816201 - ], - [ - -119.9961863, - 33.9817429 - ], - [ - -119.9960216, - 33.9818111 - ], - [ - -119.9959175, - 33.9817725 - ], - [ - -119.9957787, - 33.9818954 - ], - [ - -119.9956137, - 33.9817965 - ], - [ - -119.9954483, - 33.9818466 - ], - [ - -119.9952749, - 33.9818536 - ], - [ - -119.9947717, - 33.9820666 - ], - [ - -119.9945371, - 33.9821015 - ], - [ - -119.9930351, - 33.9820648 - ], - [ - -119.9927749, - 33.982038 - ], - [ - -119.9924453, - 33.9819693 - ], - [ - -119.9922369, - 33.9818988 - ], - [ - -119.991985, - 33.9819264 - ], - [ - -119.9915248, - 33.9820503 - ], - [ - -119.9909608, - 33.9822236 - ], - [ - -119.9903528, - 33.9823757 - ], - [ - -119.9896761, - 33.9825799 - ], - [ - -119.9888079, - 33.9827683 - ], - [ - -119.9876532, - 33.9830823 - ], - [ - -119.9868899, - 33.9833273 - ], - [ - -119.9847095, - 33.983482 - ], - [ - -119.9839805, - 33.9835408 - ], - [ - -119.9832168, - 33.9835627 - ], - [ - -119.9820474, - 33.9833761 - ], - [ - -119.9813285, - 33.9832783 - ], - [ - -119.9806848, - 33.9831092 - ], - [ - -119.977975, - 33.9815558 - ], - [ - -119.9775255, - 33.9813326 - ], - [ - -119.9777752, - 33.9806995 - ], - [ - -119.9783478, - 33.9802328 - ], - [ - -119.978556, - 33.9798525 - ], - [ - -119.978765, - 33.9795108 - ], - [ - -119.978964, - 33.9792925 - ], - [ - -119.9791899, - 33.9789849 - ], - [ - -119.9793205, - 33.9787559 - ], - [ - -119.9794331, - 33.9784409 - ], - [ - -119.9795978, - 33.9781045 - ], - [ - -119.9797801, - 33.9774825 - ], - [ - -119.9798236, - 33.977114 - ], - [ - -119.97985, - 33.9766551 - ], - [ - -119.9798326, - 33.976497 - ], - [ - -119.9798669, - 33.9763266 - ], - [ - -119.9798323, - 33.9761431 - ], - [ - -119.9798582, - 33.9759454 - ], - [ - -119.9798148, - 33.9757932 - ], - [ - -119.9798323, - 33.975627 - ], - [ - -119.9796761, - 33.975301 - ], - [ - -119.9797452, - 33.9750863 - ], - [ - -119.9797457, - 33.9749398 - ], - [ - -119.9796764, - 33.9747578 - ], - [ - -119.9796672, - 33.9746358 - ], - [ - -119.9796846, - 33.974411 - ], - [ - -119.9794849, - 33.9736128 - ], - [ - -119.9794854, - 33.9732003 - ], - [ - -119.9795891, - 33.9728468 - ], - [ - -119.9795805, - 33.9725943 - ], - [ - -119.9795459, - 33.9724245 - ], - [ - -119.9795895, - 33.9721889 - ], - [ - -119.9795809, - 33.971686 - ], - [ - -119.979624, - 33.9711169 - ], - [ - -119.9796846, - 33.9709135 - ], - [ - -119.9796587, - 33.9706335 - ], - [ - -119.9797453, - 33.9701937 - ], - [ - -119.9797108, - 33.9699835 - ], - [ - -119.9797719, - 33.9694417 - ], - [ - -119.9797538, - 33.969207 - ], - [ - -119.9796154, - 33.9688182 - ], - [ - -119.9796154, - 33.968568 - ], - [ - -119.9795369, - 33.9683993 - ], - [ - -119.9793636, - 33.9681403 - ], - [ - -119.9792247, - 33.9678216 - ], - [ - -119.9789558, - 33.9674342 - ], - [ - -119.9788427, - 33.9673615 - ], - [ - -119.9787214, - 33.9672569 - ], - [ - -119.9786605, - 33.9672352 - ], - [ - -119.9783914, - 33.9673887 - ], - [ - -119.9782614, - 33.9674146 - ], - [ - -119.9781132, - 33.9674157 - ], - [ - -119.977983, - 33.9673515 - ], - [ - -119.9778876, - 33.9672793 - ], - [ - -119.977775, - 33.9671145 - ], - [ - -119.9777232, - 33.9669553 - ], - [ - -119.9777139, - 33.9667409 - ], - [ - -119.9777661, - 33.9665079 - ], - [ - -119.9779309, - 33.965996 - ], - [ - -119.977914, - 33.9655943 - ], - [ - -119.9781485, - 33.9646243 - ], - [ - -119.9782612, - 33.9633697 - ], - [ - -119.9782003, - 33.9628183 - ], - [ - -119.9781049, - 33.9625343 - ], - [ - -119.9779919, - 33.9622678 - ], - [ - -119.977714, - 33.9618124 - ], - [ - -119.9773843, - 33.9613469 - ], - [ - -119.9770282, - 33.9608806 - ], - [ - -119.976924, - 33.9605785 - ], - [ - -119.9769677, - 33.9602416 - ], - [ - -119.9771498, - 33.9592228 - ], - [ - -119.9771844, - 33.9587594 - ], - [ - -119.9771845, - 33.9582638 - ], - [ - -119.9771496, - 33.958006 - ], - [ - -119.9770541, - 33.9575326 - ], - [ - -119.9769069, - 33.9570714 - ], - [ - -119.9764557, - 33.9563529 - ], - [ - -119.9762559, - 33.9561156 - ], - [ - -119.9760996, - 33.9560037 - ], - [ - -119.9758562, - 33.9559279 - ], - [ - -119.9752661, - 33.955848 - ], - [ - -119.9744158, - 33.9555185 - ], - [ - -119.9741202, - 33.9553308 - ], - [ - -119.973756, - 33.9551349 - ], - [ - -119.9734866, - 33.9549548 - ], - [ - -119.9732001, - 33.9547966 - ], - [ - -119.9727839, - 33.9544686 - ], - [ - -119.9725234, - 33.9542076 - ], - [ - -119.9722626, - 33.9538224 - ], - [ - -119.9716987, - 33.9531371 - ], - [ - -119.971256, - 33.9525042 - ], - [ - -119.9710981, - 33.952269 - ], - [ - -119.9709622, - 33.9520508 - ], - [ - -119.9707496, - 33.9516621 - ], - [ - -119.9705094, - 33.9515754 - ], - [ - -119.9700929, - 33.9511977 - ], - [ - -119.9704747, - 33.9509907 - ], - [ - -119.9706827, - 33.9508471 - ], - [ - -119.9708997, - 33.9505798 - ], - [ - -119.9709957, - 33.9502938 - ], - [ - -119.9711343, - 33.9499682 - ], - [ - -119.9711863, - 33.94976 - ], - [ - -119.9711863, - 33.9495707 - ], - [ - -119.9712299, - 33.9492968 - ], - [ - -119.9711774, - 33.9488111 - ], - [ - -119.971195, - 33.9483718 - ], - [ - -119.9711492520577, - 33.948014889243424 - ], - [ - -119.96246337890624, - 33.94392957889264 - ], - [ - -119.91199493408203, - 33.95133445208438 - ], - [ - -119.86255645751955, - 33.973260489231485 - ], - [ - -119.86300382103452, - 33.97784632740917 - ], - [ - -119.8632187, - 33.9779822 - ], - [ - -119.8634447, - 33.9780892 - ], - [ - -119.8637135, - 33.9781907 - ], - [ - -119.8638787, - 33.9783707 - ], - [ - -119.864278, - 33.9786357 - ], - [ - -119.8645556, - 33.9787194 - ], - [ - -119.8652243, - 33.9791825 - ], - [ - -119.8658578, - 33.9794602 - ], - [ - -119.8661961, - 33.9795837 - ], - [ - -119.8664565, - 33.979712 - ], - [ - -119.8666995, - 33.9798534 - ], - [ - -119.8670038, - 33.9799805 - ], - [ - -119.8674031, - 33.9800833 - ], - [ - -119.8677764, - 33.9802122 - ], - [ - -119.868523, - 33.9803573 - ], - [ - -119.8688873, - 33.9803622 - ], - [ - -119.8692344, - 33.9803373 - ], - [ - -119.8699638, - 33.9804164 - ], - [ - -119.8703367, - 33.980469 - ], - [ - -119.8710052, - 33.980639 - ], - [ - -119.8713352, - 33.9806949 - ], - [ - -119.8716303, - 33.9806865 - ], - [ - -119.8717868, - 33.980587 - ], - [ - -119.8720817, - 33.9802743 - ], - [ - -119.8722209, - 33.9801854 - ], - [ - -119.8726374, - 33.9804237 - ], - [ - -119.8728717, - 33.9804543 - ], - [ - -119.8731148, - 33.9804067 - ], - [ - -119.873375, - 33.9803208 - ], - [ - -119.8735403, - 33.980219 - ], - [ - -119.8736963, - 33.9800766 - ], - [ - -119.8739221, - 33.9800033 - ], - [ - -119.8742257, - 33.980169 - ], - [ - -119.8742602, - 33.9803184 - ], - [ - -119.8742431, - 33.9804714 - ], - [ - -119.8741653, - 33.9806924 - ], - [ - -119.874217, - 33.9810542 - ], - [ - -119.8743039, - 33.9812301 - ], - [ - -119.874512, - 33.9815304 - ], - [ - -119.8749375, - 33.9819673 - ], - [ - -119.8750939, - 33.9822055 - ], - [ - -119.8751719, - 33.9824195 - ], - [ - -119.875337, - 33.9827662 - ], - [ - -119.8756233, - 33.9831857 - ], - [ - -119.8759619, - 33.9840056 - ], - [ - -119.8761786, - 33.9846217 - ], - [ - -119.8763524, - 33.9848989 - ], - [ - -119.8765957, - 33.9852364 - ], - [ - -119.8769774, - 33.9858952 - ], - [ - -119.8769338, - 33.9864009 - ], - [ - -119.8769517, - 33.9865975 - ], - [ - -119.877125, - 33.9872012 - ], - [ - -119.87729, - 33.9876448 - ], - [ - -119.8773422, - 33.9878469 - ], - [ - -119.8774639, - 33.9881428 - ], - [ - -119.8778112, - 33.9887061 - ], - [ - -119.8779846, - 33.9889201 - ], - [ - -119.8782447, - 33.9891475 - ], - [ - -119.8788529, - 33.9896068 - ], - [ - -119.8789134, - 33.9897795 - ], - [ - -119.8789306, - 33.9898838 - ], - [ - -119.8790348, - 33.9900307 - ], - [ - -119.8792261, - 33.9901256 - ], - [ - -119.8793993, - 33.9901796 - ], - [ - -119.8794513, - 33.9902734 - ], - [ - -119.8794342, - 33.990372 - ], - [ - -119.8793216, - 33.9904728 - ], - [ - -119.8791566, - 33.9905092 - ], - [ - -119.8790262, - 33.9905804 - ], - [ - -119.8791741, - 33.9907349 - ], - [ - -119.8794085, - 33.9908354 - ], - [ - -119.8795211, - 33.9909556 - ], - [ - -119.879703, - 33.991251 - ], - [ - -119.8797555, - 33.9913694 - ], - [ - -119.87979, - 33.9915168 - ], - [ - -119.8799288, - 33.9916601 - ], - [ - -119.8800856, - 33.991718 - ], - [ - -119.8802938, - 33.991685 - ], - [ - -119.8805364, - 33.9916145 - ], - [ - -119.8808406, - 33.9916179 - ], - [ - -119.8809791, - 33.9917364 - ], - [ - -119.8811183, - 33.991812 - ], - [ - -119.8812742, - 33.9919488 - ], - [ - -119.8813698, - 33.9921292 - ], - [ - -119.8813785, - 33.9922445 - ], - [ - -119.881448, - 33.9923927 - ], - [ - -119.8814912, - 33.9927114 - ], - [ - -119.8814397, - 33.9928252 - ], - [ - -119.8812049, - 33.9929926 - ], - [ - -119.880988, - 33.9931022 - ], - [ - -119.8809707, - 33.9932594 - ], - [ - -119.8811526, - 33.9932957 - ], - [ - -119.8813354, - 33.9932009 - ], - [ - -119.8814918, - 33.993178 - ], - [ - -119.8815091, - 33.9933879 - ], - [ - -119.8813697, - 33.9934452 - ], - [ - -119.8813176, - 33.9936491 - ], - [ - -119.8811877, - 33.9936321 - ], - [ - -119.8810838, - 33.9935328 - ], - [ - -119.8809882, - 33.9935189 - ], - [ - -119.8808576, - 33.9936126 - ], - [ - -119.8807535, - 33.9937452 - ], - [ - -119.8807101, - 33.9938747 - ], - [ - -119.8807187, - 33.9940283 - ], - [ - -119.8808927, - 33.9943775 - ], - [ - -119.8810317, - 33.9945318 - ], - [ - -119.8812227, - 33.994672 - ], - [ - -119.8812662, - 33.9947588 - ], - [ - -119.8812054, - 33.9948314 - ], - [ - -119.8809966, - 33.9949163 - ], - [ - -119.8809273, - 33.9950926 - ], - [ - -119.8810051, - 33.9952952 - ], - [ - -119.8810919, - 33.995437 - ], - [ - -119.8810746, - 33.9956148 - ], - [ - -119.8811613, - 33.9957949 - ], - [ - -119.8813181, - 33.9959295 - ], - [ - -119.8813351, - 33.9961103 - ], - [ - -119.8813789, - 33.9962081 - ], - [ - -119.881448, - 33.9962978 - ], - [ - -119.8815439, - 33.9968569 - ], - [ - -119.8817257, - 33.9971027 - ], - [ - -119.881865, - 33.9972325 - ], - [ - -119.8820473, - 33.9973521 - ], - [ - -119.882273, - 33.9974478 - ], - [ - -119.8824724, - 33.9975069 - ], - [ - -119.8827587, - 33.9976518 - ], - [ - -119.8828459, - 33.997762 - ], - [ - -119.8828981, - 33.9978897 - ], - [ - -119.8828721, - 33.9980646 - ], - [ - -119.8828195, - 33.9981694 - ], - [ - -119.8825854, - 33.9983953 - ], - [ - -119.8825677, - 33.9985077 - ], - [ - -119.8826289, - 33.9986287 - ], - [ - -119.882802, - 33.9986488 - ], - [ - -119.8832015, - 33.9986005 - ], - [ - -119.8832968, - 33.9986209 - ], - [ - -119.8833407, - 33.9987728 - ], - [ - -119.8833057, - 33.998968 - ], - [ - -119.8833231, - 33.9991218 - ], - [ - -119.8833924, - 33.9993738 - ], - [ - -119.8835319, - 33.9995373 - ], - [ - -119.8836702, - 33.9996397 - ], - [ - -119.8838356, - 33.9996824 - ], - [ - -119.8839133, - 33.9997586 - ], - [ - -119.8838179, - 33.9998531 - ], - [ - -119.883375, - 33.9999028 - ], - [ - -119.8830196, - 33.9998937 - ], - [ - -119.8828543, - 33.9999031 - ], - [ - -119.8827589, - 33.9999955 - ], - [ - -119.8826982, - 34.0001379 - ], - [ - -119.8826912, - 34.0004513 - ], - [ - -119.8826897, - 34.0005186 - ], - [ - -119.8827847, - 34.0006945 - ], - [ - -119.8829588, - 34.0008363 - ], - [ - -119.8830715, - 34.0009722 - ], - [ - -119.883245, - 34.0011299 - ], - [ - -119.883714, - 34.0012521 - ], - [ - -119.8839393, - 34.0012873 - ], - [ - -119.8841218, - 34.0014382 - ], - [ - -119.8842433, - 34.001669 - ], - [ - -119.8843652, - 34.0017013 - ], - [ - -119.8844688, - 34.0017715 - ], - [ - -119.8845039, - 34.0018851 - ], - [ - -119.8844863, - 34.0019975 - ], - [ - -119.8845035, - 34.0021015 - ], - [ - -119.8845906, - 34.0021985 - ], - [ - -119.8844952, - 34.0023649 - ], - [ - -119.8844775, - 34.0024976 - ], - [ - -119.8845469, - 34.0025962 - ], - [ - -119.8845558, - 34.0026886 - ], - [ - -119.8847033, - 34.0028142 - ], - [ - -119.8849117, - 34.0029051 - ], - [ - -119.8850334, - 34.0030185 - ], - [ - -119.8850507, - 34.0030799 - ], - [ - -119.8849725, - 34.00315 - ], - [ - -119.8847817, - 34.0032239 - ], - [ - -119.8847382, - 34.0032861 - ], - [ - -119.8848162, - 34.0033735 - ], - [ - -119.8848941, - 34.0034229 - ], - [ - -119.8850422, - 34.0036295 - ], - [ - -119.8850419, - 34.0037287 - ], - [ - -119.8851289, - 34.0038502 - ], - [ - -119.8851289, - 34.0039584 - ], - [ - -119.8852853, - 34.0041944 - ], - [ - -119.8852679, - 34.0042662 - ], - [ - -119.8853287, - 34.0044142 - ], - [ - -119.8855282, - 34.0045476 - ], - [ - -119.8855281, - 34.0046423 - ], - [ - -119.8856149, - 34.0047077 - ], - [ - -119.885641, - 34.0049968 - ], - [ - -119.8856235, - 34.0050864 - ], - [ - -119.8854417, - 34.0051921 - ], - [ - -119.8851546, - 34.005291 - ], - [ - -119.8851116, - 34.0053958 - ], - [ - -119.8851982, - 34.0054699 - ], - [ - -119.8853022, - 34.0056011 - ], - [ - -119.8853022, - 34.0057498 - ], - [ - -119.8853371, - 34.0058701 - ], - [ - -119.8854676, - 34.0059072 - ], - [ - -119.8858496, - 34.0056734 - ], - [ - -119.8859537, - 34.0056761 - ], - [ - -119.8860059, - 34.0058038 - ], - [ - -119.8860057, - 34.0063086 - ], - [ - -119.8859275, - 34.0063922 - ], - [ - -119.8858582, - 34.0065324 - ], - [ - -119.8859449, - 34.0066021 - ], - [ - -119.8860403, - 34.0068411 - ], - [ - -119.8861882, - 34.0069215 - ], - [ - -119.8862659, - 34.0068898 - ], - [ - -119.8864047, - 34.0066612 - ], - [ - -119.8865264, - 34.0065694 - ], - [ - -119.8866394, - 34.0066422 - ], - [ - -119.8868131, - 34.0068901 - ], - [ - -119.8869344, - 34.0069383 - ], - [ - -119.8870388, - 34.0070627 - ], - [ - -119.887117, - 34.0072383 - ], - [ - -119.8872558, - 34.0073252 - ], - [ - -119.8873253, - 34.007478 - ], - [ - -119.8873858, - 34.0077476 - ], - [ - -119.8873422, - 34.0079223 - ], - [ - -119.8871861, - 34.0081393 - ], - [ - -119.8870384, - 34.0082955 - ], - [ - -119.8870035, - 34.0084344 - ], - [ - -119.8869866, - 34.0086412 - ], - [ - -119.8869083, - 34.0088014 - ], - [ - -119.8868999, - 34.0089025 - ], - [ - -119.8870038, - 34.0089818 - ], - [ - -119.8870736, - 34.0089993 - ], - [ - -119.886995, - 34.0091486 - ], - [ - -119.8868561, - 34.0092484 - ], - [ - -119.8867089, - 34.0094275 - ], - [ - -119.8866306, - 34.0094434 - ], - [ - -119.8865002, - 34.0093253 - ], - [ - -119.8863616, - 34.0092496 - ], - [ - -119.8859793, - 34.0091611 - ], - [ - -119.8858496, - 34.0090992 - ], - [ - -119.8856586, - 34.0089207 - ], - [ - -119.8855367, - 34.0088502 - ], - [ - -119.885372, - 34.0088029 - ], - [ - -119.884912, - 34.0089357 - ], - [ - -119.8846778, - 34.0090468 - ], - [ - -119.8845039, - 34.0091438 - ], - [ - -119.8844345, - 34.0092299 - ], - [ - -119.8843738, - 34.0094629 - ], - [ - -119.8842523, - 34.009694 - ], - [ - -119.8837312, - 34.0102398 - ], - [ - -119.8836095, - 34.0104394 - ], - [ - -119.88348, - 34.0107089 - ], - [ - -119.8829244, - 34.0112875 - ], - [ - -119.8827854, - 34.0114981 - ], - [ - -119.8826726, - 34.0118287 - ], - [ - -119.8825335, - 34.0120436 - ], - [ - -119.8824467, - 34.0122331 - ], - [ - -119.8824081, - 34.0123306 - ], - [ - -119.8822559, - 34.0127149 - ], - [ - -119.8821603, - 34.0129086 - ], - [ - -119.8821256, - 34.0130407 - ], - [ - -119.8821433, - 34.013298 - ], - [ - -119.882256, - 34.0134722 - ], - [ - -119.8824205, - 34.0135417 - ], - [ - -119.8825423, - 34.0136347 - ], - [ - -119.8825942, - 34.0138052 - ], - [ - -119.882447, - 34.0142026 - ], - [ - -119.8821774, - 34.0144931 - ], - [ - -119.8821256, - 34.0146496 - ], - [ - -119.8821516, - 34.0147539 - ], - [ - -119.8822214, - 34.0148796 - ], - [ - -119.8822559, - 34.0151397 - ], - [ - -119.882351, - 34.0155522 - ], - [ - -119.8823337, - 34.0156937 - ], - [ - -119.8822297, - 34.0158555 - ], - [ - -119.8820474, - 34.0160109 - ], - [ - -119.8819, - 34.0160997 - ], - [ - -119.8817522, - 34.0161635 - ], - [ - -119.8816051, - 34.0161372 - ], - [ - -119.8813967, - 34.0161927 - ], - [ - -119.8812145, - 34.0162737 - ], - [ - -119.8810059, - 34.0162977 - ], - [ - -119.8801723, - 34.0168738 - ], - [ - -119.8798081, - 34.0172318 - ], - [ - -119.879461, - 34.0178044 - ], - [ - -119.8792007, - 34.0183386 - ], - [ - -119.8790527, - 34.0186818 - ], - [ - -119.87900280788777, - 34.018815075021614 - ], - [ - -119.88899230957031, - 34.024209560512354 - ], - [ - -119.99679565429688, - 33.998881160274586 - ], - [ - -120.00003924342847, - 33.98050316955733 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-inner-channel-islands.json/clipToOceanEez.json b/packages/base-project/examples/output/gp-clip-ocean-inner-channel-islands.json/clipToOceanEez.json deleted file mode 100644 index b5ab0739f5..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-inner-channel-islands.json/clipToOceanEez.json +++ /dev/null @@ -1,1743 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -120.00003924342847, - 33.98050316955733 - ], - [ - -119.9995892, - 33.980591 - ], - [ - -119.9988771, - 33.980709 - ], - [ - -119.997827, - 33.9809358 - ], - [ - -119.9973929, - 33.9810874 - ], - [ - -119.9970716, - 33.9812215 - ], - [ - -119.9967766, - 33.9813607 - ], - [ - -119.9964206, - 33.9816201 - ], - [ - -119.9961863, - 33.9817429 - ], - [ - -119.9960216, - 33.9818111 - ], - [ - -119.9959175, - 33.9817725 - ], - [ - -119.9957787, - 33.9818954 - ], - [ - -119.9956137, - 33.9817965 - ], - [ - -119.9954483, - 33.9818466 - ], - [ - -119.9952749, - 33.9818536 - ], - [ - -119.9947717, - 33.9820666 - ], - [ - -119.9945371, - 33.9821015 - ], - [ - -119.9930351, - 33.9820648 - ], - [ - -119.9927749, - 33.982038 - ], - [ - -119.9924453, - 33.9819693 - ], - [ - -119.9922369, - 33.9818988 - ], - [ - -119.991985, - 33.9819264 - ], - [ - -119.9915248, - 33.9820503 - ], - [ - -119.9909608, - 33.9822236 - ], - [ - -119.9903528, - 33.9823757 - ], - [ - -119.9896761, - 33.9825799 - ], - [ - -119.9888079, - 33.9827683 - ], - [ - -119.9876532, - 33.9830823 - ], - [ - -119.9868899, - 33.9833273 - ], - [ - -119.9847095, - 33.983482 - ], - [ - -119.9839805, - 33.9835408 - ], - [ - -119.9832168, - 33.9835627 - ], - [ - -119.9820474, - 33.9833761 - ], - [ - -119.9813285, - 33.9832783 - ], - [ - -119.9806848, - 33.9831092 - ], - [ - -119.977975, - 33.9815558 - ], - [ - -119.9775255, - 33.9813326 - ], - [ - -119.9777752, - 33.9806995 - ], - [ - -119.9783478, - 33.9802328 - ], - [ - -119.978556, - 33.9798525 - ], - [ - -119.978765, - 33.9795108 - ], - [ - -119.978964, - 33.9792925 - ], - [ - -119.9791899, - 33.9789849 - ], - [ - -119.9793205, - 33.9787559 - ], - [ - -119.9794331, - 33.9784409 - ], - [ - -119.9795978, - 33.9781045 - ], - [ - -119.9797801, - 33.9774825 - ], - [ - -119.9798236, - 33.977114 - ], - [ - -119.97985, - 33.9766551 - ], - [ - -119.9798326, - 33.976497 - ], - [ - -119.9798669, - 33.9763266 - ], - [ - -119.9798323, - 33.9761431 - ], - [ - -119.9798582, - 33.9759454 - ], - [ - -119.9798148, - 33.9757932 - ], - [ - -119.9798323, - 33.975627 - ], - [ - -119.9796761, - 33.975301 - ], - [ - -119.9797452, - 33.9750863 - ], - [ - -119.9797457, - 33.9749398 - ], - [ - -119.9796764, - 33.9747578 - ], - [ - -119.9796672, - 33.9746358 - ], - [ - -119.9796846, - 33.974411 - ], - [ - -119.9794849, - 33.9736128 - ], - [ - -119.9794854, - 33.9732003 - ], - [ - -119.9795891, - 33.9728468 - ], - [ - -119.9795805, - 33.9725943 - ], - [ - -119.9795459, - 33.9724245 - ], - [ - -119.9795895, - 33.9721889 - ], - [ - -119.9795809, - 33.971686 - ], - [ - -119.979624, - 33.9711169 - ], - [ - -119.9796846, - 33.9709135 - ], - [ - -119.9796587, - 33.9706335 - ], - [ - -119.9797453, - 33.9701937 - ], - [ - -119.9797108, - 33.9699835 - ], - [ - -119.9797719, - 33.9694417 - ], - [ - -119.9797538, - 33.969207 - ], - [ - -119.9796154, - 33.9688182 - ], - [ - -119.9796154, - 33.968568 - ], - [ - -119.9795369, - 33.9683993 - ], - [ - -119.9793636, - 33.9681403 - ], - [ - -119.9792247, - 33.9678216 - ], - [ - -119.9789558, - 33.9674342 - ], - [ - -119.9788427, - 33.9673615 - ], - [ - -119.9787214, - 33.9672569 - ], - [ - -119.9786605, - 33.9672352 - ], - [ - -119.9783914, - 33.9673887 - ], - [ - -119.9782614, - 33.9674146 - ], - [ - -119.9781132, - 33.9674157 - ], - [ - -119.977983, - 33.9673515 - ], - [ - -119.9778876, - 33.9672793 - ], - [ - -119.977775, - 33.9671145 - ], - [ - -119.9777232, - 33.9669553 - ], - [ - -119.9777139, - 33.9667409 - ], - [ - -119.9777661, - 33.9665079 - ], - [ - -119.9779309, - 33.965996 - ], - [ - -119.977914, - 33.9655943 - ], - [ - -119.9781485, - 33.9646243 - ], - [ - -119.9782612, - 33.9633697 - ], - [ - -119.9782003, - 33.9628183 - ], - [ - -119.9781049, - 33.9625343 - ], - [ - -119.9779919, - 33.9622678 - ], - [ - -119.977714, - 33.9618124 - ], - [ - -119.9773843, - 33.9613469 - ], - [ - -119.9770282, - 33.9608806 - ], - [ - -119.976924, - 33.9605785 - ], - [ - -119.9769677, - 33.9602416 - ], - [ - -119.9771498, - 33.9592228 - ], - [ - -119.9771844, - 33.9587594 - ], - [ - -119.9771845, - 33.9582638 - ], - [ - -119.9771496, - 33.958006 - ], - [ - -119.9770541, - 33.9575326 - ], - [ - -119.9769069, - 33.9570714 - ], - [ - -119.9764557, - 33.9563529 - ], - [ - -119.9762559, - 33.9561156 - ], - [ - -119.9760996, - 33.9560037 - ], - [ - -119.9758562, - 33.9559279 - ], - [ - -119.9752661, - 33.955848 - ], - [ - -119.9744158, - 33.9555185 - ], - [ - -119.9741202, - 33.9553308 - ], - [ - -119.973756, - 33.9551349 - ], - [ - -119.9734866, - 33.9549548 - ], - [ - -119.9732001, - 33.9547966 - ], - [ - -119.9727839, - 33.9544686 - ], - [ - -119.9725234, - 33.9542076 - ], - [ - -119.9722626, - 33.9538224 - ], - [ - -119.9716987, - 33.9531371 - ], - [ - -119.971256, - 33.9525042 - ], - [ - -119.9710981, - 33.952269 - ], - [ - -119.9709622, - 33.9520508 - ], - [ - -119.9707496, - 33.9516621 - ], - [ - -119.9705094, - 33.9515754 - ], - [ - -119.9700929, - 33.9511977 - ], - [ - -119.9704747, - 33.9509907 - ], - [ - -119.9706827, - 33.9508471 - ], - [ - -119.9708997, - 33.9505798 - ], - [ - -119.9709957, - 33.9502938 - ], - [ - -119.9711343, - 33.9499682 - ], - [ - -119.9711863, - 33.94976 - ], - [ - -119.9711863, - 33.9495707 - ], - [ - -119.9712299, - 33.9492968 - ], - [ - -119.9711774, - 33.9488111 - ], - [ - -119.971195, - 33.9483718 - ], - [ - -119.9711492520577, - 33.948014889243424 - ], - [ - -119.96246337890624, - 33.94392957889264 - ], - [ - -119.91199493408203, - 33.95133445208438 - ], - [ - -119.86255645751955, - 33.973260489231485 - ], - [ - -119.86300382103452, - 33.97784632740917 - ], - [ - -119.8632187, - 33.9779822 - ], - [ - -119.8634447, - 33.9780892 - ], - [ - -119.8637135, - 33.9781907 - ], - [ - -119.8638787, - 33.9783707 - ], - [ - -119.864278, - 33.9786357 - ], - [ - -119.8645556, - 33.9787194 - ], - [ - -119.8652243, - 33.9791825 - ], - [ - -119.8658578, - 33.9794602 - ], - [ - -119.8661961, - 33.9795837 - ], - [ - -119.8664565, - 33.979712 - ], - [ - -119.8666995, - 33.9798534 - ], - [ - -119.8670038, - 33.9799805 - ], - [ - -119.8674031, - 33.9800833 - ], - [ - -119.8677764, - 33.9802122 - ], - [ - -119.868523, - 33.9803573 - ], - [ - -119.8688873, - 33.9803622 - ], - [ - -119.8692344, - 33.9803373 - ], - [ - -119.8699638, - 33.9804164 - ], - [ - -119.8703367, - 33.980469 - ], - [ - -119.8710052, - 33.980639 - ], - [ - -119.8713352, - 33.9806949 - ], - [ - -119.8716303, - 33.9806865 - ], - [ - -119.8717868, - 33.980587 - ], - [ - -119.8720817, - 33.9802743 - ], - [ - -119.8722209, - 33.9801854 - ], - [ - -119.8726374, - 33.9804237 - ], - [ - -119.8728717, - 33.9804543 - ], - [ - -119.8731148, - 33.9804067 - ], - [ - -119.873375, - 33.9803208 - ], - [ - -119.8735403, - 33.980219 - ], - [ - -119.8736963, - 33.9800766 - ], - [ - -119.8739221, - 33.9800033 - ], - [ - -119.8742257, - 33.980169 - ], - [ - -119.8742602, - 33.9803184 - ], - [ - -119.8742431, - 33.9804714 - ], - [ - -119.8741653, - 33.9806924 - ], - [ - -119.874217, - 33.9810542 - ], - [ - -119.8743039, - 33.9812301 - ], - [ - -119.874512, - 33.9815304 - ], - [ - -119.8749375, - 33.9819673 - ], - [ - -119.8750939, - 33.9822055 - ], - [ - -119.8751719, - 33.9824195 - ], - [ - -119.875337, - 33.9827662 - ], - [ - -119.8756233, - 33.9831857 - ], - [ - -119.8759619, - 33.9840056 - ], - [ - -119.8761786, - 33.9846217 - ], - [ - -119.8763524, - 33.9848989 - ], - [ - -119.8765957, - 33.9852364 - ], - [ - -119.8769774, - 33.9858952 - ], - [ - -119.8769338, - 33.9864009 - ], - [ - -119.8769517, - 33.9865975 - ], - [ - -119.877125, - 33.9872012 - ], - [ - -119.87729, - 33.9876448 - ], - [ - -119.8773422, - 33.9878469 - ], - [ - -119.8774639, - 33.9881428 - ], - [ - -119.8778112, - 33.9887061 - ], - [ - -119.8779846, - 33.9889201 - ], - [ - -119.8782447, - 33.9891475 - ], - [ - -119.8788529, - 33.9896068 - ], - [ - -119.8789134, - 33.9897795 - ], - [ - -119.8789306, - 33.9898838 - ], - [ - -119.8790348, - 33.9900307 - ], - [ - -119.8792261, - 33.9901256 - ], - [ - -119.8793993, - 33.9901796 - ], - [ - -119.8794513, - 33.9902734 - ], - [ - -119.8794342, - 33.990372 - ], - [ - -119.8793216, - 33.9904728 - ], - [ - -119.8791566, - 33.9905092 - ], - [ - -119.8790262, - 33.9905804 - ], - [ - -119.8791741, - 33.9907349 - ], - [ - -119.8794085, - 33.9908354 - ], - [ - -119.8795211, - 33.9909556 - ], - [ - -119.879703, - 33.991251 - ], - [ - -119.8797555, - 33.9913694 - ], - [ - -119.87979, - 33.9915168 - ], - [ - -119.8799288, - 33.9916601 - ], - [ - -119.8800856, - 33.991718 - ], - [ - -119.8802938, - 33.991685 - ], - [ - -119.8805364, - 33.9916145 - ], - [ - -119.8808406, - 33.9916179 - ], - [ - -119.8809791, - 33.9917364 - ], - [ - -119.8811183, - 33.991812 - ], - [ - -119.8812742, - 33.9919488 - ], - [ - -119.8813698, - 33.9921292 - ], - [ - -119.8813785, - 33.9922445 - ], - [ - -119.881448, - 33.9923927 - ], - [ - -119.8814912, - 33.9927114 - ], - [ - -119.8814397, - 33.9928252 - ], - [ - -119.8812049, - 33.9929926 - ], - [ - -119.880988, - 33.9931022 - ], - [ - -119.8809707, - 33.9932594 - ], - [ - -119.8811526, - 33.9932957 - ], - [ - -119.8813354, - 33.9932009 - ], - [ - -119.8814918, - 33.993178 - ], - [ - -119.8815091, - 33.9933879 - ], - [ - -119.8813697, - 33.9934452 - ], - [ - -119.8813176, - 33.9936491 - ], - [ - -119.8811877, - 33.9936321 - ], - [ - -119.8810838, - 33.9935328 - ], - [ - -119.8809882, - 33.9935189 - ], - [ - -119.8808576, - 33.9936126 - ], - [ - -119.8807535, - 33.9937452 - ], - [ - -119.8807101, - 33.9938747 - ], - [ - -119.8807187, - 33.9940283 - ], - [ - -119.8808927, - 33.9943775 - ], - [ - -119.8810317, - 33.9945318 - ], - [ - -119.8812227, - 33.994672 - ], - [ - -119.8812662, - 33.9947588 - ], - [ - -119.8812054, - 33.9948314 - ], - [ - -119.8809966, - 33.9949163 - ], - [ - -119.8809273, - 33.9950926 - ], - [ - -119.8810051, - 33.9952952 - ], - [ - -119.8810919, - 33.995437 - ], - [ - -119.8810746, - 33.9956148 - ], - [ - -119.8811613, - 33.9957949 - ], - [ - -119.8813181, - 33.9959295 - ], - [ - -119.8813351, - 33.9961103 - ], - [ - -119.8813789, - 33.9962081 - ], - [ - -119.881448, - 33.9962978 - ], - [ - -119.8815439, - 33.9968569 - ], - [ - -119.8817257, - 33.9971027 - ], - [ - -119.881865, - 33.9972325 - ], - [ - -119.8820473, - 33.9973521 - ], - [ - -119.882273, - 33.9974478 - ], - [ - -119.8824724, - 33.9975069 - ], - [ - -119.8827587, - 33.9976518 - ], - [ - -119.8828459, - 33.997762 - ], - [ - -119.8828981, - 33.9978897 - ], - [ - -119.8828721, - 33.9980646 - ], - [ - -119.8828195, - 33.9981694 - ], - [ - -119.8825854, - 33.9983953 - ], - [ - -119.8825677, - 33.9985077 - ], - [ - -119.8826289, - 33.9986287 - ], - [ - -119.882802, - 33.9986488 - ], - [ - -119.8832015, - 33.9986005 - ], - [ - -119.8832968, - 33.9986209 - ], - [ - -119.8833407, - 33.9987728 - ], - [ - -119.8833057, - 33.998968 - ], - [ - -119.8833231, - 33.9991218 - ], - [ - -119.8833924, - 33.9993738 - ], - [ - -119.8835319, - 33.9995373 - ], - [ - -119.8836702, - 33.9996397 - ], - [ - -119.8838356, - 33.9996824 - ], - [ - -119.8839133, - 33.9997586 - ], - [ - -119.8838179, - 33.9998531 - ], - [ - -119.883375, - 33.9999028 - ], - [ - -119.8830196, - 33.9998937 - ], - [ - -119.8828543, - 33.9999031 - ], - [ - -119.8827589, - 33.9999955 - ], - [ - -119.8826982, - 34.0001379 - ], - [ - -119.8826912, - 34.0004513 - ], - [ - -119.8826897, - 34.0005186 - ], - [ - -119.8827847, - 34.0006945 - ], - [ - -119.8829588, - 34.0008363 - ], - [ - -119.8830715, - 34.0009722 - ], - [ - -119.883245, - 34.0011299 - ], - [ - -119.883714, - 34.0012521 - ], - [ - -119.8839393, - 34.0012873 - ], - [ - -119.8841218, - 34.0014382 - ], - [ - -119.8842433, - 34.001669 - ], - [ - -119.8843652, - 34.0017013 - ], - [ - -119.8844688, - 34.0017715 - ], - [ - -119.8845039, - 34.0018851 - ], - [ - -119.8844863, - 34.0019975 - ], - [ - -119.8845035, - 34.0021015 - ], - [ - -119.8845906, - 34.0021985 - ], - [ - -119.8844952, - 34.0023649 - ], - [ - -119.8844775, - 34.0024976 - ], - [ - -119.8845469, - 34.0025962 - ], - [ - -119.8845558, - 34.0026886 - ], - [ - -119.8847033, - 34.0028142 - ], - [ - -119.8849117, - 34.0029051 - ], - [ - -119.8850334, - 34.0030185 - ], - [ - -119.8850507, - 34.0030799 - ], - [ - -119.8849725, - 34.00315 - ], - [ - -119.8847817, - 34.0032239 - ], - [ - -119.8847382, - 34.0032861 - ], - [ - -119.8848162, - 34.0033735 - ], - [ - -119.8848941, - 34.0034229 - ], - [ - -119.8850422, - 34.0036295 - ], - [ - -119.8850419, - 34.0037287 - ], - [ - -119.8851289, - 34.0038502 - ], - [ - -119.8851289, - 34.0039584 - ], - [ - -119.8852853, - 34.0041944 - ], - [ - -119.8852679, - 34.0042662 - ], - [ - -119.8853287, - 34.0044142 - ], - [ - -119.8855282, - 34.0045476 - ], - [ - -119.8855281, - 34.0046423 - ], - [ - -119.8856149, - 34.0047077 - ], - [ - -119.885641, - 34.0049968 - ], - [ - -119.8856235, - 34.0050864 - ], - [ - -119.8854417, - 34.0051921 - ], - [ - -119.8851546, - 34.005291 - ], - [ - -119.8851116, - 34.0053958 - ], - [ - -119.8851982, - 34.0054699 - ], - [ - -119.8853022, - 34.0056011 - ], - [ - -119.8853022, - 34.0057498 - ], - [ - -119.8853371, - 34.0058701 - ], - [ - -119.8854676, - 34.0059072 - ], - [ - -119.8858496, - 34.0056734 - ], - [ - -119.8859537, - 34.0056761 - ], - [ - -119.8860059, - 34.0058038 - ], - [ - -119.8860057, - 34.0063086 - ], - [ - -119.8859275, - 34.0063922 - ], - [ - -119.8858582, - 34.0065324 - ], - [ - -119.8859449, - 34.0066021 - ], - [ - -119.8860403, - 34.0068411 - ], - [ - -119.8861882, - 34.0069215 - ], - [ - -119.8862659, - 34.0068898 - ], - [ - -119.8864047, - 34.0066612 - ], - [ - -119.8865264, - 34.0065694 - ], - [ - -119.8866394, - 34.0066422 - ], - [ - -119.8868131, - 34.0068901 - ], - [ - -119.8869344, - 34.0069383 - ], - [ - -119.8870388, - 34.0070627 - ], - [ - -119.887117, - 34.0072383 - ], - [ - -119.8872558, - 34.0073252 - ], - [ - -119.8873253, - 34.007478 - ], - [ - -119.8873858, - 34.0077476 - ], - [ - -119.8873422, - 34.0079223 - ], - [ - -119.8871861, - 34.0081393 - ], - [ - -119.8870384, - 34.0082955 - ], - [ - -119.8870035, - 34.0084344 - ], - [ - -119.8869866, - 34.0086412 - ], - [ - -119.8869083, - 34.0088014 - ], - [ - -119.8868999, - 34.0089025 - ], - [ - -119.8870038, - 34.0089818 - ], - [ - -119.8870736, - 34.0089993 - ], - [ - -119.886995, - 34.0091486 - ], - [ - -119.8868561, - 34.0092484 - ], - [ - -119.8867089, - 34.0094275 - ], - [ - -119.8866306, - 34.0094434 - ], - [ - -119.8865002, - 34.0093253 - ], - [ - -119.8863616, - 34.0092496 - ], - [ - -119.8859793, - 34.0091611 - ], - [ - -119.8858496, - 34.0090992 - ], - [ - -119.8856586, - 34.0089207 - ], - [ - -119.8855367, - 34.0088502 - ], - [ - -119.885372, - 34.0088029 - ], - [ - -119.884912, - 34.0089357 - ], - [ - -119.8846778, - 34.0090468 - ], - [ - -119.8845039, - 34.0091438 - ], - [ - -119.8844345, - 34.0092299 - ], - [ - -119.8843738, - 34.0094629 - ], - [ - -119.8842523, - 34.009694 - ], - [ - -119.8837312, - 34.0102398 - ], - [ - -119.8836095, - 34.0104394 - ], - [ - -119.88348, - 34.0107089 - ], - [ - -119.8829244, - 34.0112875 - ], - [ - -119.8827854, - 34.0114981 - ], - [ - -119.8826726, - 34.0118287 - ], - [ - -119.8825335, - 34.0120436 - ], - [ - -119.8824467, - 34.0122331 - ], - [ - -119.8824081, - 34.0123306 - ], - [ - -119.8822559, - 34.0127149 - ], - [ - -119.8821603, - 34.0129086 - ], - [ - -119.8821256, - 34.0130407 - ], - [ - -119.8821433, - 34.013298 - ], - [ - -119.882256, - 34.0134722 - ], - [ - -119.8824205, - 34.0135417 - ], - [ - -119.8825423, - 34.0136347 - ], - [ - -119.8825942, - 34.0138052 - ], - [ - -119.882447, - 34.0142026 - ], - [ - -119.8821774, - 34.0144931 - ], - [ - -119.8821256, - 34.0146496 - ], - [ - -119.8821516, - 34.0147539 - ], - [ - -119.8822214, - 34.0148796 - ], - [ - -119.8822559, - 34.0151397 - ], - [ - -119.882351, - 34.0155522 - ], - [ - -119.8823337, - 34.0156937 - ], - [ - -119.8822297, - 34.0158555 - ], - [ - -119.8820474, - 34.0160109 - ], - [ - -119.8819, - 34.0160997 - ], - [ - -119.8817522, - 34.0161635 - ], - [ - -119.8816051, - 34.0161372 - ], - [ - -119.8813967, - 34.0161927 - ], - [ - -119.8812145, - 34.0162737 - ], - [ - -119.8810059, - 34.0162977 - ], - [ - -119.8801723, - 34.0168738 - ], - [ - -119.8798081, - 34.0172318 - ], - [ - -119.879461, - 34.0178044 - ], - [ - -119.8792007, - 34.0183386 - ], - [ - -119.8790527, - 34.0186818 - ], - [ - -119.87900280788777, - 34.018815075021614 - ], - [ - -119.88899230957031, - 34.024209560512354 - ], - [ - -119.99679565429688, - 33.998881160274586 - ], - [ - -120.00003924342847, - 33.98050316955733 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-inner-channel-islands.json/validatePolygon.json b/packages/base-project/examples/output/gp-clip-ocean-inner-channel-islands.json/validatePolygon.json deleted file mode 100644 index ae03fa8d22..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-inner-channel-islands.json/validatePolygon.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "Feature", - "properties": { - "name": "gp-clip-ocean-inner-channel-islands.json" - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -120.00091552734375, - 33.97553819495448 - ], - [ - -119.99576568603516, - 33.95959297365403 - ], - [ - -119.96246337890624, - 33.94392957889264 - ], - [ - -119.91199493408203, - 33.95133445208438 - ], - [ - -119.86255645751955, - 33.973260489231485 - ], - [ - -119.86633300781249, - 34.01197318692261 - ], - [ - -119.88899230957031, - 34.024209560512354 - ], - [ - -119.99679565429688, - 33.998881160274586 - ], - [ - -120.00091552734375, - 33.97553819495448 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-no-land-eez.json/clipToOcean.json b/packages/base-project/examples/output/gp-clip-ocean-no-land-eez.json/clipToOcean.json deleted file mode 100644 index ecf4e6cb0d..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-no-land-eez.json/clipToOcean.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "type": "Feature", - "properties": { - "name": "gp-clip-ocean-no-land-eez.json" - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -64.85990449042059, - 32.23756147854181 - ], - [ - -64.85930874141398, - 32.24136530490877 - ], - [ - -64.84073295619807, - 32.24287570663742 - ], - [ - -64.83552857489327, - 32.23843266647438 - ], - [ - -64.85990449042059, - 32.23756147854181 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-no-land-eez.json/clipToOceanEez.json b/packages/base-project/examples/output/gp-clip-ocean-no-land-eez.json/clipToOceanEez.json deleted file mode 100644 index c963c33213..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-no-land-eez.json/clipToOceanEez.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -64.85990449042059, - 32.23756147854181 - ], - [ - -64.83552857489327, - 32.23843266647438 - ], - [ - -64.84073295619807, - 32.24287570663742 - ], - [ - -64.85930874141398, - 32.24136530490877 - ], - [ - -64.85990449042059, - 32.23756147854181 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-no-land-eez.json/validatePolygon.json b/packages/base-project/examples/output/gp-clip-ocean-no-land-eez.json/validatePolygon.json deleted file mode 100644 index ecf4e6cb0d..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-no-land-eez.json/validatePolygon.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "type": "Feature", - "properties": { - "name": "gp-clip-ocean-no-land-eez.json" - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -64.85990449042059, - 32.23756147854181 - ], - [ - -64.85930874141398, - 32.24136530490877 - ], - [ - -64.84073295619807, - 32.24287570663742 - ], - [ - -64.83552857489327, - 32.23843266647438 - ], - [ - -64.85990449042059, - 32.23756147854181 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-north-zone-extend.json/clipToLand.json b/packages/base-project/examples/output/gp-clip-ocean-north-zone-extend.json/clipToLand.json deleted file mode 100644 index 48ac653c3d..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-north-zone-extend.json/clipToLand.json +++ /dev/null @@ -1,1663 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -60.13422961546577, - 8.283416579624516 - ], - [ - -60.02933475468751, - 8.253462463544393 - ], - [ - -60.029134754687504, - 8.253405350896816 - ], - [ - -59.78678698851251, - 8.184199738096492 - ], - [ - -59.60466180938814, - 8.311277472135739 - ], - [ - -59.6051431, - 8.3115496 - ], - [ - -59.6057546, - 8.3119849 - ], - [ - -59.6064305, - 8.3123564 - ], - [ - -59.6070528, - 8.3126855 - ], - [ - -59.6079335, - 8.3132365 - ], - [ - -59.6090698, - 8.3140444 - ], - [ - -59.6107543, - 8.315106 - ], - [ - -59.6120954, - 8.3159871 - ], - [ - -59.6127927, - 8.3164649 - ], - [ - -59.6145093, - 8.3178045 - ], - [ - -59.6152035, - 8.3183364 - ], - [ - -59.6162045, - 8.3188853 - ], - [ - -59.6172835, - 8.3196163 - ], - [ - -59.6186829, - 8.3206794 - ], - [ - -59.6195412, - 8.3212102 - ], - [ - -59.6202922, - 8.3215181 - ], - [ - -59.621129, - 8.3221762 - ], - [ - -59.6218479, - 8.3224735 - ], - [ - -59.6223414, - 8.3228132 - ], - [ - -59.6237836, - 8.3239363 - ], - [ - -59.624669, - 8.3243185 - ], - [ - -59.6261489, - 8.3252896 - ], - [ - -59.6274193, - 8.3259174 - ], - [ - -59.6283998, - 8.3264114 - ], - [ - -59.6293679, - 8.3269855 - ], - [ - -59.6303387, - 8.3275432 - ], - [ - -59.6316734, - 8.3281807 - ], - [ - -59.6332176, - 8.3289572 - ], - [ - -59.6345291, - 8.3297532 - ], - [ - -59.6357622, - 8.3303216 - ], - [ - -59.63814, - 8.3314642 - ], - [ - -59.6400515, - 8.3324045 - ], - [ - -59.6419878, - 8.333312 - ], - [ - -59.644762, - 8.3347688 - ], - [ - -59.6474755, - 8.3362181 - ], - [ - -59.6491162, - 8.3371462 - ], - [ - -59.6505646, - 8.3382977 - ], - [ - -59.6517472, - 8.3389558 - ], - [ - -59.6524894, - 8.3394443 - ], - [ - -59.6534661, - 8.3398797 - ], - [ - -59.6547959, - 8.34065 - ], - [ - -59.6552357, - 8.3410749 - ], - [ - -59.6565522, - 8.3418212 - ], - [ - -59.6578609, - 8.3427969 - ], - [ - -59.6587621, - 8.3433281 - ], - [ - -59.6596394, - 8.3438748 - ], - [ - -59.6604548, - 8.3442151 - ], - [ - -59.6614569, - 8.3446884 - ], - [ - -59.6627443, - 8.3453463 - ], - [ - -59.6638926, - 8.3463992 - ], - [ - -59.665223, - 8.3473125 - ], - [ - -59.666003, - 8.3476926 - ], - [ - -59.6667729, - 8.3475625 - ], - [ - -59.6677404, - 8.3479026 - ], - [ - -59.6687647, - 8.3481266 - ], - [ - -59.669874, - 8.3484137 - ], - [ - -59.6707696, - 8.3488179 - ], - [ - -59.6720943, - 8.3495663 - ], - [ - -59.6726142, - 8.3500762 - ], - [ - -59.6744532, - 8.3507672 - ], - [ - -59.6755797, - 8.3513723 - ], - [ - -59.6765413, - 8.351766 - ], - [ - -59.677979, - 8.3524133 - ], - [ - -59.6796835, - 8.353467 - ], - [ - -59.6817749, - 8.3546551 - ], - [ - -59.6841484, - 8.3560052 - ], - [ - -59.6855803, - 8.3567774 - ], - [ - -59.6859451, - 8.3573193 - ], - [ - -59.6872615, - 8.3579669 - ], - [ - -59.6888215, - 8.3587269 - ], - [ - -59.6898135, - 8.359327 - ], - [ - -59.6929948, - 8.3607073 - ], - [ - -59.6943442, - 8.3613949 - ], - [ - -59.695285, - 8.3615651 - ], - [ - -59.6962936, - 8.3621171 - ], - [ - -59.6964431, - 8.3624678 - ], - [ - -59.6968135, - 8.362627 - ], - [ - -59.6970629, - 8.3629136 - ], - [ - -59.6976087, - 8.3634874 - ], - [ - -59.6979628, - 8.3639443 - ], - [ - -59.6986759, - 8.3636317 - ], - [ - -59.6993518, - 8.3639559 - ], - [ - -59.7000245, - 8.3644495 - ], - [ - -59.7004537, - 8.3649171 - ], - [ - -59.7009207, - 8.3651772 - ], - [ - -59.7019285, - 8.365453 - ], - [ - -59.7029137, - 8.366187 - ], - [ - -59.7037081, - 8.3666966 - ], - [ - -59.7040936, - 8.366957 - ], - [ - -59.7040936, - 8.3672071 - ], - [ - -59.7053267, - 8.3673567 - ], - [ - -59.7069919, - 8.368257 - ], - [ - -59.7072387, - 8.3690318 - ], - [ - -59.707131, - 8.3695597 - ], - [ - -59.7071833, - 8.3699433 - ], - [ - -59.7075292, - 8.3701507 - ], - [ - -59.7092879, - 8.371314 - ], - [ - -59.7099209, - 8.3715899 - ], - [ - -59.7101462, - 8.3720358 - ], - [ - -59.7103955, - 8.3727685 - ], - [ - -59.7118224, - 8.3734796 - ], - [ - -59.712528, - 8.3738084 - ], - [ - -59.7134078, - 8.3743391 - ], - [ - -59.7138047, - 8.3749972 - ], - [ - -59.7146738, - 8.3762603 - ], - [ - -59.7146738, - 8.3766318 - ], - [ - -59.7153819, - 8.3767804 - ], - [ - -59.7159076, - 8.3770882 - ], - [ - -59.7163475, - 8.3774279 - ], - [ - -59.7167015, - 8.3778737 - ], - [ - -59.7171092, - 8.3791262 - ], - [ - -59.7177744, - 8.3792217 - ], - [ - -59.7182679, - 8.3797418 - ], - [ - -59.7186005, - 8.380368 - ], - [ - -59.7191906, - 8.3809518 - ], - [ - -59.7199202, - 8.3809518 - ], - [ - -59.7205424, - 8.3810261 - ], - [ - -59.7206958, - 8.3816558 - ], - [ - -59.7206958, - 8.3821758 - ], - [ - -59.7218406, - 8.3820133 - ], - [ - -59.7224951, - 8.381939 - ], - [ - -59.7233749, - 8.3825864 - ], - [ - -59.723922, - 8.3831384 - ], - [ - -59.725349, - 8.3839769 - ], - [ - -59.7259927, - 8.3843696 - ], - [ - -59.7267008, - 8.3855159 - ], - [ - -59.7269711, - 8.3860224 - ], - [ - -59.7277522, - 8.3865986 - ], - [ - -59.7285354, - 8.3869913 - ], - [ - -59.7291577, - 8.3876706 - ], - [ - -59.7298122, - 8.3882756 - ], - [ - -59.7304666, - 8.3887745 - ], - [ - -59.7309923, - 8.3890292 - ], - [ - -59.73125, - 8.3892201 - ], - [ - -59.7320008, - 8.3896767 - ], - [ - -59.7332132, - 8.3901543 - ], - [ - -59.7342002, - 8.3907699 - ], - [ - -59.7354663, - 8.3913537 - ], - [ - -59.7367001, - 8.3919481 - ], - [ - -59.7378474, - 8.3924663 - ], - [ - -59.7384967, - 8.3927217 - ], - [ - -59.740017, - 8.393436 - ], - [ - -59.7415448, - 8.3941981 - ], - [ - -59.7431971, - 8.3950477 - ], - [ - -59.7490391, - 8.397895 - ], - [ - -59.7510321, - 8.3988402 - ], - [ - -59.7527414, - 8.3995085 - ], - [ - -59.75434, - 8.39987 - ], - [ - -59.7578588, - 8.4012856 - ], - [ - -59.7603801, - 8.4023623 - ], - [ - -59.7620455, - 8.4031265 - ], - [ - -59.7646431, - 8.4039461 - ], - [ - -59.7661262, - 8.4044025 - ], - [ - -59.7673057, - 8.4045894 - ], - [ - -59.7694837, - 8.4050518 - ], - [ - -59.7707647, - 8.4055073 - ], - [ - -59.7724593, - 8.4060672 - ], - [ - -59.7739077, - 8.4066031 - ], - [ - -59.7748147, - 8.4069475 - ], - [ - -59.7758067, - 8.4069559 - ], - [ - -59.7761178, - 8.4069665 - ], - [ - -59.7770512, - 8.4072106 - ], - [ - -59.7779846, - 8.4072425 - ], - [ - -59.7790575, - 8.4071576 - ], - [ - -59.7805981, - 8.4074082 - ], - [ - -59.7814665, - 8.4074239 - ], - [ - -59.782244, - 8.4069453 - ], - [ - -59.7828341, - 8.4063403 - ], - [ - -59.7829414, - 8.4061068 - ], - [ - -59.7829735, - 8.4057247 - ], - [ - -59.7834885, - 8.4054488 - ], - [ - -59.7832418, - 8.4050667 - ], - [ - -59.7828019, - 8.4048013 - ], - [ - -59.7826302, - 8.4044299 - ], - [ - -59.7828233, - 8.403931 - ], - [ - -59.7830057, - 8.4029015 - ], - [ - -59.7831345, - 8.40253 - ], - [ - -59.7833598, - 8.4026043 - ], - [ - -59.7836602, - 8.4026468 - ], - [ - -59.7844648, - 8.4026892 - ], - [ - -59.7855095, - 8.4024953 - ], - [ - -59.7865249, - 8.4024433 - ], - [ - -59.7877699, - 8.40243 - ], - [ - -59.7879801, - 8.4024699 - ], - [ - -59.7889672, - 8.4021893 - ], - [ - -59.7907613, - 8.4021256 - ], - [ - -59.7934587, - 8.4021798 - ], - [ - -59.7950571, - 8.4021486 - ], - [ - -59.7973726, - 8.4020933 - ], - [ - -59.7993252, - 8.4019182 - ], - [ - -59.8011517, - 8.4016215 - ], - [ - -59.8048494, - 8.4006708 - ], - [ - -59.8067016, - 8.4003246 - ], - [ - -59.8081615, - 8.399873 - ], - [ - -59.808636, - 8.3995339 - ], - [ - -59.8095265, - 8.3991519 - ], - [ - -59.8098724, - 8.3988336 - ], - [ - -59.8108297, - 8.3984941 - ], - [ - -59.8114313, - 8.3981434 - ], - [ - -59.8118175, - 8.3981592 - ], - [ - -59.8122278, - 8.398 - ], - [ - -59.8127486, - 8.3978144 - ], - [ - -59.8137192, - 8.3971935 - ], - [ - -59.8153557, - 8.3965886 - ], - [ - -59.8157179, - 8.3965407 - ], - [ - -59.816166, - 8.3962748 - ], - [ - -59.8172629, - 8.3962042 - ], - [ - -59.8181641, - 8.3957372 - ], - [ - -59.8189581, - 8.3954506 - ], - [ - -59.8195911, - 8.3951959 - ], - [ - -59.8200095, - 8.394644 - ], - [ - -59.8201275, - 8.3939647 - ], - [ - -59.8201811, - 8.3931368 - ], - [ - -59.8200095, - 8.3925 - ], - [ - -59.8195696, - 8.3923089 - ], - [ - -59.8192263, - 8.3924788 - ], - [ - -59.8193121, - 8.3929564 - ], - [ - -59.8193765, - 8.3932748 - ], - [ - -59.8194516, - 8.3938161 - ], - [ - -59.819473, - 8.3943468 - ], - [ - -59.8189581, - 8.3944317 - ], - [ - -59.8185396, - 8.3944317 - ], - [ - -59.8179925, - 8.3945591 - ], - [ - -59.8175848, - 8.3944529 - ], - [ - -59.8172736, - 8.3937312 - ], - [ - -59.8169088, - 8.3933597 - ], - [ - -59.816587, - 8.3932748 - ], - [ - -59.8159003, - 8.3930519 - ], - [ - -59.8157823, - 8.3930201 - ], - [ - -59.8151949, - 8.3931536 - ], - [ - -59.8147847, - 8.3933447 - ], - [ - -59.8146448, - 8.3928907 - ], - [ - -59.815321, - 8.3922983 - ], - [ - -59.8155034, - 8.3920754 - ], - [ - -59.81583, - 8.39197 - ], - [ - -59.8159969, - 8.3914067 - ], - [ - -59.8161578, - 8.3908867 - ], - [ - -59.8159433, - 8.3907911 - ], - [ - -59.8157287, - 8.3906956 - ], - [ - -59.8152673, - 8.3901118 - ], - [ - -59.8146322, - 8.3896497 - ], - [ - -59.8140428, - 8.3889324 - ], - [ - -59.8131853, - 8.3883852 - ], - [ - -59.8119508, - 8.3874305 - ], - [ - -59.8108982, - 8.3867336 - ], - [ - -59.8098468, - 8.3862237 - ], - [ - -59.8091962, - 8.3857184 - ], - [ - -59.8080275, - 8.3849856 - ], - [ - -59.8075051, - 8.3846448 - ], - [ - -59.8069801, - 8.38431 - ], - [ - -59.80594, - 8.3837999 - ], - [ - -59.8055703, - 8.3834227 - ], - [ - -59.8047871, - 8.3828124 - ], - [ - -59.80413, - 8.3824196 - ], - [ - -59.8031537, - 8.3817031 - ], - [ - -59.8021983, - 8.3811858 - ], - [ - -59.8014417, - 8.3806551 - ], - [ - -59.7994783, - 8.3796945 - ], - [ - -59.7976301, - 8.37897 - ], - [ - -59.7937718, - 8.3764604 - ], - [ - -59.7918835, - 8.3752287 - ], - [ - -59.7888, - 8.37336 - ], - [ - -59.7875207, - 8.3725289 - ], - [ - -59.7857165, - 8.371374 - ], - [ - -59.7840643, - 8.370344 - ], - [ - -59.782061, - 8.3692178 - ], - [ - -59.7794325, - 8.3676627 - ], - [ - -59.7741587, - 8.3646968 - ], - [ - -59.7724046, - 8.3636738 - ], - [ - -59.7690801, - 8.36114 - ], - [ - -59.7684693, - 8.3604755 - ], - [ - -59.7712549, - 8.3573057 - ], - [ - -59.7748304, - 8.353237 - ], - [ - -59.7773302, - 8.3532582 - ], - [ - -59.7789717, - 8.3529292 - ], - [ - -59.7807849, - 8.3520375 - ], - [ - -59.7816968, - 8.3510397 - ], - [ - -59.78217, - 8.3499801 - ], - [ - -59.7824049, - 8.349543 - ], - [ - -59.7826731, - 8.3491077 - ], - [ - -59.7828233, - 8.3478764 - ], - [ - -59.7821367, - 8.3468573 - ], - [ - -59.7816968, - 8.3459763 - ], - [ - -59.7807849, - 8.34466 - ], - [ - -59.7821749, - 8.3439992 - ], - [ - -59.783997, - 8.343112 - ], - [ - -59.7979016, - 8.3502042 - ], - [ - -59.7993018, - 8.3508273 - ], - [ - -59.8005752, - 8.3514003 - ], - [ - -59.8011906, - 8.3516762 - ], - [ - -59.8025276, - 8.3523553 - ], - [ - -59.8036736, - 8.3525038 - ], - [ - -59.8042327, - 8.3529292 - ], - [ - -59.804973, - 8.3527381 - ], - [ - -59.8059279, - 8.3532582 - ], - [ - -59.806475, - 8.3534599 - ], - [ - -59.8066682, - 8.3533007 - ], - [ - -59.8071724, - 8.3533538 - ], - [ - -59.8070479, - 8.3537771 - ], - [ - -59.8073026, - 8.3540106 - ], - [ - -59.8087033, - 8.3547321 - ], - [ - -59.8092975, - 8.3548807 - ], - [ - -59.8100746, - 8.3552592 - ], - [ - -59.8103374, - 8.3556447 - ], - [ - -59.811929, - 8.3561965 - ], - [ - -59.8128628, - 8.3558569 - ], - [ - -59.8133721, - 8.3563238 - ], - [ - -59.8138619, - 8.3568355 - ], - [ - -59.8142693, - 8.3571834 - ], - [ - -59.815557, - 8.3575148 - ], - [ - -59.8156536, - 8.3585551 - ], - [ - -59.8162973, - 8.3586294 - ], - [ - -59.8166728, - 8.3584383 - ], - [ - -59.8171985, - 8.358226 - ], - [ - -59.8176501, - 8.3582199 - ], - [ - -59.81895, - 8.3582101 - ], - [ - -59.8193443, - 8.3585976 - ], - [ - -59.8201597, - 8.3583428 - ], - [ - -59.8215222, - 8.3594574 - ], - [ - -59.8217905, - 8.3603384 - ], - [ - -59.8219514, - 8.3605188 - ], - [ - -59.8220752, - 8.3606376 - ], - [ - -59.8231852, - 8.3601367 - ], - [ - -59.8238576, - 8.3605132 - ], - [ - -59.8253912, - 8.3594355 - ], - [ - -59.8262, - 8.3588735 - ], - [ - -59.8271442, - 8.3590646 - ], - [ - -59.8286462, - 8.35933 - ], - [ - -59.8289681, - 8.3594574 - ], - [ - -59.8289559, - 8.3597671 - ], - [ - -59.8295152, - 8.360349 - ], - [ - -59.8300195, - 8.3599881 - ], - [ - -59.8312426, - 8.3592875 - ], - [ - -59.8318541, - 8.3590858 - ], - [ - -59.8339355, - 8.35933 - ], - [ - -59.8348904, - 8.359659 - ], - [ - -59.8366284, - 8.3601579 - ], - [ - -59.8371458, - 8.3602633 - ], - [ - -59.8373689, - 8.3602642 - ], - [ - -59.8375692, - 8.3602607 - ], - [ - -59.8375699, - 8.3598801 - ], - [ - -59.8380983, - 8.3594467 - ], - [ - -59.8384309, - 8.3592451 - ], - [ - -59.83938, - 8.35936 - ], - [ - -59.8403084, - 8.3595317 - ], - [ - -59.8421109, - 8.3601898 - ], - [ - -59.8443532, - 8.361782 - ], - [ - -59.8462951, - 8.3635441 - ], - [ - -59.8471105, - 8.3646798 - ], - [ - -59.8468801, - 8.3657799 - ], - [ - -59.8474217, - 8.3657519 - ], - [ - -59.8478401, - 8.3653167 - ], - [ - -59.8496854, - 8.3663145 - ], - [ - -59.8526895, - 8.368257 - ], - [ - -59.8552752, - 8.3699341 - ], - [ - -59.85726, - 8.3719615 - ], - [ - -59.857657, - 8.3726408 - ], - [ - -59.8581, - 8.3731101 - ], - [ - -59.8591483, - 8.3741905 - ], - [ - -59.8598993, - 8.3747955 - ], - [ - -59.86094, - 8.3755704 - ], - [ - -59.8622811, - 8.3762921 - ], - [ - -59.8627102, - 8.3762072 - ], - [ - -59.8631823, - 8.3762497 - ], - [ - -59.8634935, - 8.3766955 - ], - [ - -59.8632145, - 8.377343 - ], - [ - -59.8639441, - 8.3783726 - ], - [ - -59.8649418, - 8.3801345 - ], - [ - -59.8659289, - 8.3810792 - ], - [ - -59.8674309, - 8.3824378 - ], - [ - -59.8685897, - 8.3834568 - ], - [ - -59.8698771, - 8.384497 - ], - [ - -59.871068, - 8.3861103 - ], - [ - -59.8717547, - 8.3867047 - ], - [ - -59.872334, - 8.3875326 - ], - [ - -59.873246, - 8.3886789 - ], - [ - -59.8739004, - 8.3897616 - ], - [ - -59.8746085, - 8.390685 - ], - [ - -59.8757458, - 8.3923408 - ], - [ - -59.8767221, - 8.3933066 - ], - [ - -59.8773337, - 8.3945591 - ], - [ - -59.8780096, - 8.3952278 - ], - [ - -59.8793829, - 8.3981572 - ], - [ - -59.8807454, - 8.4003542 - ], - [ - -59.8820007, - 8.402477 - ], - [ - -59.8825586, - 8.4039523 - ], - [ - -59.8829126, - 8.4050879 - ], - [ - -59.8833633, - 8.4059052 - ], - [ - -59.8844147, - 8.4078474 - ], - [ - -59.8852086, - 8.409726 - ], - [ - -59.8856485, - 8.4100232 - ], - [ - -59.8861849, - 8.4110527 - ], - [ - -59.8877084, - 8.4143535 - ], - [ - -59.8885453, - 8.4159455 - ], - [ - -59.8893821, - 8.4181849 - ], - [ - -59.8903692, - 8.4202757 - ], - [ - -59.8908198, - 8.4209974 - ], - [ - -59.8916459, - 8.4224938 - ], - [ - -59.8924506, - 8.4233641 - ], - [ - -59.8939955, - 8.4259325 - ], - [ - -59.8951542, - 8.4277261 - ], - [ - -59.8977828, - 8.4322578 - ], - [ - -59.9004543, - 8.4372882 - ], - [ - -59.9016452, - 8.4398247 - ], - [ - -59.90170548186231, - 8.440009534414719 - ], - [ - -60.029134754687504, - 8.354192522437398 - ], - [ - -60.02933475468751, - 8.354057832801214 - ], - [ - -60.13422961546577, - 8.283416579624516 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-north-zone-extend.json/clipToOcean.json b/packages/base-project/examples/output/gp-clip-ocean-north-zone-extend.json/clipToOcean.json deleted file mode 100644 index 719669e49d..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-north-zone-extend.json/clipToOcean.json +++ /dev/null @@ -1,1647 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -59.90170548186231, - 8.440009534414719 - ], - [ - -59.9016452, - 8.4398247 - ], - [ - -59.9004543, - 8.4372882 - ], - [ - -59.8977828, - 8.4322578 - ], - [ - -59.8951542, - 8.4277261 - ], - [ - -59.8939955, - 8.4259325 - ], - [ - -59.8924506, - 8.4233641 - ], - [ - -59.8916459, - 8.4224938 - ], - [ - -59.8908198, - 8.4209974 - ], - [ - -59.8903692, - 8.4202757 - ], - [ - -59.8893821, - 8.4181849 - ], - [ - -59.8885453, - 8.4159455 - ], - [ - -59.8877084, - 8.4143535 - ], - [ - -59.8861849, - 8.4110527 - ], - [ - -59.8856485, - 8.4100232 - ], - [ - -59.8852086, - 8.409726 - ], - [ - -59.8844147, - 8.4078474 - ], - [ - -59.8833633, - 8.4059052 - ], - [ - -59.8829126, - 8.4050879 - ], - [ - -59.8825586, - 8.4039523 - ], - [ - -59.8820007, - 8.402477 - ], - [ - -59.8807454, - 8.4003542 - ], - [ - -59.8793829, - 8.3981572 - ], - [ - -59.8780096, - 8.3952278 - ], - [ - -59.8773337, - 8.3945591 - ], - [ - -59.8767221, - 8.3933066 - ], - [ - -59.8757458, - 8.3923408 - ], - [ - -59.8746085, - 8.390685 - ], - [ - -59.8739004, - 8.3897616 - ], - [ - -59.873246, - 8.3886789 - ], - [ - -59.872334, - 8.3875326 - ], - [ - -59.8717547, - 8.3867047 - ], - [ - -59.871068, - 8.3861103 - ], - [ - -59.8698771, - 8.384497 - ], - [ - -59.8685897, - 8.3834568 - ], - [ - -59.8674309, - 8.3824378 - ], - [ - -59.8659289, - 8.3810792 - ], - [ - -59.8649418, - 8.3801345 - ], - [ - -59.8639441, - 8.3783726 - ], - [ - -59.8632145, - 8.377343 - ], - [ - -59.8634935, - 8.3766955 - ], - [ - -59.8631823, - 8.3762497 - ], - [ - -59.8627102, - 8.3762072 - ], - [ - -59.8622811, - 8.3762921 - ], - [ - -59.86094, - 8.3755704 - ], - [ - -59.8598993, - 8.3747955 - ], - [ - -59.8591483, - 8.3741905 - ], - [ - -59.8581, - 8.3731101 - ], - [ - -59.857657, - 8.3726408 - ], - [ - -59.85726, - 8.3719615 - ], - [ - -59.8552752, - 8.3699341 - ], - [ - -59.8526895, - 8.368257 - ], - [ - -59.8496854, - 8.3663145 - ], - [ - -59.8478401, - 8.3653167 - ], - [ - -59.8474217, - 8.3657519 - ], - [ - -59.8468801, - 8.3657799 - ], - [ - -59.8471105, - 8.3646798 - ], - [ - -59.8462951, - 8.3635441 - ], - [ - -59.8443532, - 8.361782 - ], - [ - -59.8421109, - 8.3601898 - ], - [ - -59.8403084, - 8.3595317 - ], - [ - -59.83938, - 8.35936 - ], - [ - -59.8384309, - 8.3592451 - ], - [ - -59.8380983, - 8.3594467 - ], - [ - -59.8375699, - 8.3598801 - ], - [ - -59.8375692, - 8.3602607 - ], - [ - -59.8373689, - 8.3602642 - ], - [ - -59.8371458, - 8.3602633 - ], - [ - -59.8366284, - 8.3601579 - ], - [ - -59.8348904, - 8.359659 - ], - [ - -59.8339355, - 8.35933 - ], - [ - -59.8318541, - 8.3590858 - ], - [ - -59.8312426, - 8.3592875 - ], - [ - -59.8300195, - 8.3599881 - ], - [ - -59.8295152, - 8.360349 - ], - [ - -59.8289559, - 8.3597671 - ], - [ - -59.8289681, - 8.3594574 - ], - [ - -59.8286462, - 8.35933 - ], - [ - -59.8271442, - 8.3590646 - ], - [ - -59.8262, - 8.3588735 - ], - [ - -59.8253912, - 8.3594355 - ], - [ - -59.8238576, - 8.3605132 - ], - [ - -59.8231852, - 8.3601367 - ], - [ - -59.8220752, - 8.3606376 - ], - [ - -59.8219514, - 8.3605188 - ], - [ - -59.8217905, - 8.3603384 - ], - [ - -59.8215222, - 8.3594574 - ], - [ - -59.8201597, - 8.3583428 - ], - [ - -59.8193443, - 8.3585976 - ], - [ - -59.81895, - 8.3582101 - ], - [ - -59.8176501, - 8.3582199 - ], - [ - -59.8171985, - 8.358226 - ], - [ - -59.8166728, - 8.3584383 - ], - [ - -59.8162973, - 8.3586294 - ], - [ - -59.8156536, - 8.3585551 - ], - [ - -59.815557, - 8.3575148 - ], - [ - -59.8142693, - 8.3571834 - ], - [ - -59.8138619, - 8.3568355 - ], - [ - -59.8133721, - 8.3563238 - ], - [ - -59.8128628, - 8.3558569 - ], - [ - -59.811929, - 8.3561965 - ], - [ - -59.8103374, - 8.3556447 - ], - [ - -59.8100746, - 8.3552592 - ], - [ - -59.8092975, - 8.3548807 - ], - [ - -59.8087033, - 8.3547321 - ], - [ - -59.8073026, - 8.3540106 - ], - [ - -59.8070479, - 8.3537771 - ], - [ - -59.8071724, - 8.3533538 - ], - [ - -59.8066682, - 8.3533007 - ], - [ - -59.806475, - 8.3534599 - ], - [ - -59.8059279, - 8.3532582 - ], - [ - -59.804973, - 8.3527381 - ], - [ - -59.8042327, - 8.3529292 - ], - [ - -59.8036736, - 8.3525038 - ], - [ - -59.8025276, - 8.3523553 - ], - [ - -59.8011906, - 8.3516762 - ], - [ - -59.8005752, - 8.3514003 - ], - [ - -59.7993018, - 8.3508273 - ], - [ - -59.7979016, - 8.3502042 - ], - [ - -59.783997, - 8.343112 - ], - [ - -59.7821749, - 8.3439992 - ], - [ - -59.7807849, - 8.34466 - ], - [ - -59.7816968, - 8.3459763 - ], - [ - -59.7821367, - 8.3468573 - ], - [ - -59.7828233, - 8.3478764 - ], - [ - -59.7826731, - 8.3491077 - ], - [ - -59.7824049, - 8.349543 - ], - [ - -59.78217, - 8.3499801 - ], - [ - -59.7816968, - 8.3510397 - ], - [ - -59.7807849, - 8.3520375 - ], - [ - -59.7789717, - 8.3529292 - ], - [ - -59.7773302, - 8.3532582 - ], - [ - -59.7748304, - 8.353237 - ], - [ - -59.7712549, - 8.3573057 - ], - [ - -59.7684693, - 8.3604755 - ], - [ - -59.7690801, - 8.36114 - ], - [ - -59.7724046, - 8.3636738 - ], - [ - -59.7741587, - 8.3646968 - ], - [ - -59.7794325, - 8.3676627 - ], - [ - -59.782061, - 8.3692178 - ], - [ - -59.7840643, - 8.370344 - ], - [ - -59.7857165, - 8.371374 - ], - [ - -59.7875207, - 8.3725289 - ], - [ - -59.7888, - 8.37336 - ], - [ - -59.7918835, - 8.3752287 - ], - [ - -59.7937718, - 8.3764604 - ], - [ - -59.7976301, - 8.37897 - ], - [ - -59.7994783, - 8.3796945 - ], - [ - -59.8014417, - 8.3806551 - ], - [ - -59.8021983, - 8.3811858 - ], - [ - -59.8031537, - 8.3817031 - ], - [ - -59.80413, - 8.3824196 - ], - [ - -59.8047871, - 8.3828124 - ], - [ - -59.8055703, - 8.3834227 - ], - [ - -59.80594, - 8.3837999 - ], - [ - -59.8069801, - 8.38431 - ], - [ - -59.8075051, - 8.3846448 - ], - [ - -59.8080275, - 8.3849856 - ], - [ - -59.8091962, - 8.3857184 - ], - [ - -59.8098468, - 8.3862237 - ], - [ - -59.8108982, - 8.3867336 - ], - [ - -59.8119508, - 8.3874305 - ], - [ - -59.8131853, - 8.3883852 - ], - [ - -59.8140428, - 8.3889324 - ], - [ - -59.8146322, - 8.3896497 - ], - [ - -59.8152673, - 8.3901118 - ], - [ - -59.8157287, - 8.3906956 - ], - [ - -59.8159433, - 8.3907911 - ], - [ - -59.8161578, - 8.3908867 - ], - [ - -59.8159969, - 8.3914067 - ], - [ - -59.81583, - 8.39197 - ], - [ - -59.8155034, - 8.3920754 - ], - [ - -59.815321, - 8.3922983 - ], - [ - -59.8146448, - 8.3928907 - ], - [ - -59.8147847, - 8.3933447 - ], - [ - -59.8151949, - 8.3931536 - ], - [ - -59.8157823, - 8.3930201 - ], - [ - -59.8159003, - 8.3930519 - ], - [ - -59.816587, - 8.3932748 - ], - [ - -59.8169088, - 8.3933597 - ], - [ - -59.8172736, - 8.3937312 - ], - [ - -59.8175848, - 8.3944529 - ], - [ - -59.8179925, - 8.3945591 - ], - [ - -59.8185396, - 8.3944317 - ], - [ - -59.8189581, - 8.3944317 - ], - [ - -59.819473, - 8.3943468 - ], - [ - -59.8194516, - 8.3938161 - ], - [ - -59.8193765, - 8.3932748 - ], - [ - -59.8193121, - 8.3929564 - ], - [ - -59.8192263, - 8.3924788 - ], - [ - -59.8195696, - 8.3923089 - ], - [ - -59.8200095, - 8.3925 - ], - [ - -59.8201811, - 8.3931368 - ], - [ - -59.8201275, - 8.3939647 - ], - [ - -59.8200095, - 8.394644 - ], - [ - -59.8195911, - 8.3951959 - ], - [ - -59.8189581, - 8.3954506 - ], - [ - -59.8181641, - 8.3957372 - ], - [ - -59.8172629, - 8.3962042 - ], - [ - -59.816166, - 8.3962748 - ], - [ - -59.8157179, - 8.3965407 - ], - [ - -59.8153557, - 8.3965886 - ], - [ - -59.8137192, - 8.3971935 - ], - [ - -59.8127486, - 8.3978144 - ], - [ - -59.8122278, - 8.398 - ], - [ - -59.8118175, - 8.3981592 - ], - [ - -59.8114313, - 8.3981434 - ], - [ - -59.8108297, - 8.3984941 - ], - [ - -59.8098724, - 8.3988336 - ], - [ - -59.8095265, - 8.3991519 - ], - [ - -59.808636, - 8.3995339 - ], - [ - -59.8081615, - 8.399873 - ], - [ - -59.8067016, - 8.4003246 - ], - [ - -59.8048494, - 8.4006708 - ], - [ - -59.8011517, - 8.4016215 - ], - [ - -59.7993252, - 8.4019182 - ], - [ - -59.7973726, - 8.4020933 - ], - [ - -59.7950571, - 8.4021486 - ], - [ - -59.7934587, - 8.4021798 - ], - [ - -59.7907613, - 8.4021256 - ], - [ - -59.7889672, - 8.4021893 - ], - [ - -59.7879801, - 8.4024699 - ], - [ - -59.7877699, - 8.40243 - ], - [ - -59.7865249, - 8.4024433 - ], - [ - -59.7855095, - 8.4024953 - ], - [ - -59.7844648, - 8.4026892 - ], - [ - -59.7836602, - 8.4026468 - ], - [ - -59.7833598, - 8.4026043 - ], - [ - -59.7831345, - 8.40253 - ], - [ - -59.7830057, - 8.4029015 - ], - [ - -59.7828233, - 8.403931 - ], - [ - -59.7826302, - 8.4044299 - ], - [ - -59.7828019, - 8.4048013 - ], - [ - -59.7832418, - 8.4050667 - ], - [ - -59.7834885, - 8.4054488 - ], - [ - -59.7829735, - 8.4057247 - ], - [ - -59.7829414, - 8.4061068 - ], - [ - -59.7828341, - 8.4063403 - ], - [ - -59.782244, - 8.4069453 - ], - [ - -59.7814665, - 8.4074239 - ], - [ - -59.7805981, - 8.4074082 - ], - [ - -59.7790575, - 8.4071576 - ], - [ - -59.7779846, - 8.4072425 - ], - [ - -59.7770512, - 8.4072106 - ], - [ - -59.7761178, - 8.4069665 - ], - [ - -59.7758067, - 8.4069559 - ], - [ - -59.7748147, - 8.4069475 - ], - [ - -59.7739077, - 8.4066031 - ], - [ - -59.7724593, - 8.4060672 - ], - [ - -59.7707647, - 8.4055073 - ], - [ - -59.7694837, - 8.4050518 - ], - [ - -59.7673057, - 8.4045894 - ], - [ - -59.7661262, - 8.4044025 - ], - [ - -59.7646431, - 8.4039461 - ], - [ - -59.7620455, - 8.4031265 - ], - [ - -59.7603801, - 8.4023623 - ], - [ - -59.7578588, - 8.4012856 - ], - [ - -59.75434, - 8.39987 - ], - [ - -59.7527414, - 8.3995085 - ], - [ - -59.7510321, - 8.3988402 - ], - [ - -59.7490391, - 8.397895 - ], - [ - -59.7431971, - 8.3950477 - ], - [ - -59.7415448, - 8.3941981 - ], - [ - -59.740017, - 8.393436 - ], - [ - -59.7384967, - 8.3927217 - ], - [ - -59.7378474, - 8.3924663 - ], - [ - -59.7367001, - 8.3919481 - ], - [ - -59.7354663, - 8.3913537 - ], - [ - -59.7342002, - 8.3907699 - ], - [ - -59.7332132, - 8.3901543 - ], - [ - -59.7320008, - 8.3896767 - ], - [ - -59.73125, - 8.3892201 - ], - [ - -59.7309923, - 8.3890292 - ], - [ - -59.7304666, - 8.3887745 - ], - [ - -59.7298122, - 8.3882756 - ], - [ - -59.7291577, - 8.3876706 - ], - [ - -59.7285354, - 8.3869913 - ], - [ - -59.7277522, - 8.3865986 - ], - [ - -59.7269711, - 8.3860224 - ], - [ - -59.7267008, - 8.3855159 - ], - [ - -59.7259927, - 8.3843696 - ], - [ - -59.725349, - 8.3839769 - ], - [ - -59.723922, - 8.3831384 - ], - [ - -59.7233749, - 8.3825864 - ], - [ - -59.7224951, - 8.381939 - ], - [ - -59.7218406, - 8.3820133 - ], - [ - -59.7206958, - 8.3821758 - ], - [ - -59.7206958, - 8.3816558 - ], - [ - -59.7205424, - 8.3810261 - ], - [ - -59.7199202, - 8.3809518 - ], - [ - -59.7191906, - 8.3809518 - ], - [ - -59.7186005, - 8.380368 - ], - [ - -59.7182679, - 8.3797418 - ], - [ - -59.7177744, - 8.3792217 - ], - [ - -59.7171092, - 8.3791262 - ], - [ - -59.7167015, - 8.3778737 - ], - [ - -59.7163475, - 8.3774279 - ], - [ - -59.7159076, - 8.3770882 - ], - [ - -59.7153819, - 8.3767804 - ], - [ - -59.7146738, - 8.3766318 - ], - [ - -59.7146738, - 8.3762603 - ], - [ - -59.7138047, - 8.3749972 - ], - [ - -59.7134078, - 8.3743391 - ], - [ - -59.712528, - 8.3738084 - ], - [ - -59.7118224, - 8.3734796 - ], - [ - -59.7103955, - 8.3727685 - ], - [ - -59.7101462, - 8.3720358 - ], - [ - -59.7099209, - 8.3715899 - ], - [ - -59.7092879, - 8.371314 - ], - [ - -59.7075292, - 8.3701507 - ], - [ - -59.7071833, - 8.3699433 - ], - [ - -59.707131, - 8.3695597 - ], - [ - -59.7072387, - 8.3690318 - ], - [ - -59.7069919, - 8.368257 - ], - [ - -59.7053267, - 8.3673567 - ], - [ - -59.7040936, - 8.3672071 - ], - [ - -59.7040936, - 8.366957 - ], - [ - -59.7037081, - 8.3666966 - ], - [ - -59.7029137, - 8.366187 - ], - [ - -59.7019285, - 8.365453 - ], - [ - -59.7009207, - 8.3651772 - ], - [ - -59.7004537, - 8.3649171 - ], - [ - -59.7000245, - 8.3644495 - ], - [ - -59.6993518, - 8.3639559 - ], - [ - -59.6986759, - 8.3636317 - ], - [ - -59.6979628, - 8.3639443 - ], - [ - -59.6976087, - 8.3634874 - ], - [ - -59.6970629, - 8.3629136 - ], - [ - -59.6968135, - 8.362627 - ], - [ - -59.6964431, - 8.3624678 - ], - [ - -59.6962936, - 8.3621171 - ], - [ - -59.695285, - 8.3615651 - ], - [ - -59.6943442, - 8.3613949 - ], - [ - -59.6929948, - 8.3607073 - ], - [ - -59.6898135, - 8.359327 - ], - [ - -59.6888215, - 8.3587269 - ], - [ - -59.6872615, - 8.3579669 - ], - [ - -59.6859451, - 8.3573193 - ], - [ - -59.6855803, - 8.3567774 - ], - [ - -59.6841484, - 8.3560052 - ], - [ - -59.6817749, - 8.3546551 - ], - [ - -59.6796835, - 8.353467 - ], - [ - -59.677979, - 8.3524133 - ], - [ - -59.6765413, - 8.351766 - ], - [ - -59.6755797, - 8.3513723 - ], - [ - -59.6744532, - 8.3507672 - ], - [ - -59.6726142, - 8.3500762 - ], - [ - -59.6720943, - 8.3495663 - ], - [ - -59.6707696, - 8.3488179 - ], - [ - -59.669874, - 8.3484137 - ], - [ - -59.6687647, - 8.3481266 - ], - [ - -59.6677404, - 8.3479026 - ], - [ - -59.6667729, - 8.3475625 - ], - [ - -59.666003, - 8.3476926 - ], - [ - -59.665223, - 8.3473125 - ], - [ - -59.6638926, - 8.3463992 - ], - [ - -59.6627443, - 8.3453463 - ], - [ - -59.6614569, - 8.3446884 - ], - [ - -59.6604548, - 8.3442151 - ], - [ - -59.6596394, - 8.3438748 - ], - [ - -59.6587621, - 8.3433281 - ], - [ - -59.6578609, - 8.3427969 - ], - [ - -59.6565522, - 8.3418212 - ], - [ - -59.6552357, - 8.3410749 - ], - [ - -59.6547959, - 8.34065 - ], - [ - -59.6534661, - 8.3398797 - ], - [ - -59.6524894, - 8.3394443 - ], - [ - -59.6517472, - 8.3389558 - ], - [ - -59.6505646, - 8.3382977 - ], - [ - -59.6491162, - 8.3371462 - ], - [ - -59.6474755, - 8.3362181 - ], - [ - -59.644762, - 8.3347688 - ], - [ - -59.6419878, - 8.333312 - ], - [ - -59.6400515, - 8.3324045 - ], - [ - -59.63814, - 8.3314642 - ], - [ - -59.6357622, - 8.3303216 - ], - [ - -59.6345291, - 8.3297532 - ], - [ - -59.6332176, - 8.3289572 - ], - [ - -59.6316734, - 8.3281807 - ], - [ - -59.6303387, - 8.3275432 - ], - [ - -59.6293679, - 8.3269855 - ], - [ - -59.6283998, - 8.3264114 - ], - [ - -59.6274193, - 8.3259174 - ], - [ - -59.6261489, - 8.3252896 - ], - [ - -59.624669, - 8.3243185 - ], - [ - -59.6237836, - 8.3239363 - ], - [ - -59.6223414, - 8.3228132 - ], - [ - -59.6218479, - 8.3224735 - ], - [ - -59.621129, - 8.3221762 - ], - [ - -59.6202922, - 8.3215181 - ], - [ - -59.6195412, - 8.3212102 - ], - [ - -59.6186829, - 8.3206794 - ], - [ - -59.6172835, - 8.3196163 - ], - [ - -59.6162045, - 8.3188853 - ], - [ - -59.6152035, - 8.3183364 - ], - [ - -59.6145093, - 8.3178045 - ], - [ - -59.6127927, - 8.3164649 - ], - [ - -59.6120954, - 8.3159871 - ], - [ - -59.6107543, - 8.315106 - ], - [ - -59.6090698, - 8.3140444 - ], - [ - -59.6079335, - 8.3132365 - ], - [ - -59.6070528, - 8.3126855 - ], - [ - -59.6064305, - 8.3123564 - ], - [ - -59.6057546, - 8.3119849 - ], - [ - -59.6051431, - 8.3115496 - ], - [ - -59.60466180938814, - 8.311277472135739 - ], - [ - -50.09765625, - 14.944784875088372 - ], - [ - -50.0537109375, - 15.072123545811683 - ], - [ - -59.90170548186231, - 8.440009534414719 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-north-zone-extend.json/clipToOceanEez.json b/packages/base-project/examples/output/gp-clip-ocean-north-zone-extend.json/clipToOceanEez.json deleted file mode 100644 index d0f9f19947..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-north-zone-extend.json/clipToOceanEez.json +++ /dev/null @@ -1,1799 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -59.90170548186231, - 8.440009534414719 - ], - [ - -59.9016452, - 8.4398247 - ], - [ - -59.9004543, - 8.4372882 - ], - [ - -59.8977828, - 8.4322578 - ], - [ - -59.8951542, - 8.4277261 - ], - [ - -59.8939955, - 8.4259325 - ], - [ - -59.8924506, - 8.4233641 - ], - [ - -59.8916459, - 8.4224938 - ], - [ - -59.8908198, - 8.4209974 - ], - [ - -59.8903692, - 8.4202757 - ], - [ - -59.8893821, - 8.4181849 - ], - [ - -59.8885453, - 8.4159455 - ], - [ - -59.8877084, - 8.4143535 - ], - [ - -59.8861849, - 8.4110527 - ], - [ - -59.8856485, - 8.4100232 - ], - [ - -59.8852086, - 8.409726 - ], - [ - -59.8844147, - 8.4078474 - ], - [ - -59.8833633, - 8.4059052 - ], - [ - -59.8829126, - 8.4050879 - ], - [ - -59.8825586, - 8.4039523 - ], - [ - -59.8820007, - 8.402477 - ], - [ - -59.8807454, - 8.4003542 - ], - [ - -59.8793829, - 8.3981572 - ], - [ - -59.8780096, - 8.3952278 - ], - [ - -59.8773337, - 8.3945591 - ], - [ - -59.8767221, - 8.3933066 - ], - [ - -59.8757458, - 8.3923408 - ], - [ - -59.8746085, - 8.390685 - ], - [ - -59.8739004, - 8.3897616 - ], - [ - -59.873246, - 8.3886789 - ], - [ - -59.872334, - 8.3875326 - ], - [ - -59.8717547, - 8.3867047 - ], - [ - -59.871068, - 8.3861103 - ], - [ - -59.8698771, - 8.384497 - ], - [ - -59.8685897, - 8.3834568 - ], - [ - -59.8674309, - 8.3824378 - ], - [ - -59.8659289, - 8.3810792 - ], - [ - -59.8649418, - 8.3801345 - ], - [ - -59.8639441, - 8.3783726 - ], - [ - -59.8632145, - 8.377343 - ], - [ - -59.8634935, - 8.3766955 - ], - [ - -59.8631823, - 8.3762497 - ], - [ - -59.8627102, - 8.3762072 - ], - [ - -59.8622811, - 8.3762921 - ], - [ - -59.86094, - 8.3755704 - ], - [ - -59.8598993, - 8.3747955 - ], - [ - -59.8591483, - 8.3741905 - ], - [ - -59.8581, - 8.3731101 - ], - [ - -59.857657, - 8.3726408 - ], - [ - -59.85726, - 8.3719615 - ], - [ - -59.8552752, - 8.3699341 - ], - [ - -59.8526895, - 8.368257 - ], - [ - -59.8496854, - 8.3663145 - ], - [ - -59.8478401, - 8.3653167 - ], - [ - -59.8474217, - 8.3657519 - ], - [ - -59.8468801, - 8.3657799 - ], - [ - -59.8471105, - 8.3646798 - ], - [ - -59.8462951, - 8.3635441 - ], - [ - -59.8443532, - 8.361782 - ], - [ - -59.8421109, - 8.3601898 - ], - [ - -59.84073441566712, - 8.359687240033583 - ], - [ - -59.8403084, - 8.3595317 - ], - [ - -59.83938, - 8.35936 - ], - [ - -59.8384309, - 8.3592451 - ], - [ - -59.8380983, - 8.3594467 - ], - [ - -59.8375699, - 8.3598801 - ], - [ - -59.8375692, - 8.3602607 - ], - [ - -59.8373689, - 8.3602642 - ], - [ - -59.8371458, - 8.3602633 - ], - [ - -59.8366284, - 8.3601579 - ], - [ - -59.8348904, - 8.359659 - ], - [ - -59.8339355, - 8.35933 - ], - [ - -59.8318541, - 8.3590858 - ], - [ - -59.8312426, - 8.3592875 - ], - [ - -59.8300195, - 8.3599881 - ], - [ - -59.8295152, - 8.360349 - ], - [ - -59.8289559, - 8.3597671 - ], - [ - -59.8289681, - 8.3594574 - ], - [ - -59.8286462, - 8.35933 - ], - [ - -59.8271442, - 8.3590646 - ], - [ - -59.8262, - 8.3588735 - ], - [ - -59.8253912, - 8.3594355 - ], - [ - -59.8238576, - 8.3605132 - ], - [ - -59.8231852, - 8.3601367 - ], - [ - -59.8220752, - 8.3606376 - ], - [ - -59.8219514, - 8.3605188 - ], - [ - -59.8217905, - 8.3603384 - ], - [ - -59.8215222, - 8.3594574 - ], - [ - -59.8201597, - 8.3583428 - ], - [ - -59.8193443, - 8.3585976 - ], - [ - -59.81895, - 8.3582101 - ], - [ - -59.8176501, - 8.3582199 - ], - [ - -59.8171985, - 8.358226 - ], - [ - -59.8166728, - 8.3584383 - ], - [ - -59.8162973, - 8.3586294 - ], - [ - -59.8156536, - 8.3585551 - ], - [ - -59.815557, - 8.3575148 - ], - [ - -59.8142693, - 8.3571834 - ], - [ - -59.8138619, - 8.3568355 - ], - [ - -59.8133721, - 8.3563238 - ], - [ - -59.8128628, - 8.3558569 - ], - [ - -59.811929, - 8.3561965 - ], - [ - -59.8103374, - 8.3556447 - ], - [ - -59.8100746, - 8.3552592 - ], - [ - -59.8092975, - 8.3548807 - ], - [ - -59.8087033, - 8.3547321 - ], - [ - -59.8073026, - 8.3540106 - ], - [ - -59.8070479, - 8.3537771 - ], - [ - -59.8071724, - 8.3533538 - ], - [ - -59.8066682, - 8.3533007 - ], - [ - -59.806475, - 8.3534599 - ], - [ - -59.8059279, - 8.3532582 - ], - [ - -59.804973, - 8.3527381 - ], - [ - -59.8042327, - 8.3529292 - ], - [ - -59.8036736, - 8.3525038 - ], - [ - -59.8025276, - 8.3523553 - ], - [ - -59.8011906, - 8.3516762 - ], - [ - -59.8005752, - 8.3514003 - ], - [ - -59.7993018, - 8.3508273 - ], - [ - -59.7979016, - 8.3502042 - ], - [ - -59.783997, - 8.343112 - ], - [ - -59.7821749, - 8.3439992 - ], - [ - -59.7807849, - 8.34466 - ], - [ - -59.7816968, - 8.3459763 - ], - [ - -59.7821367, - 8.3468573 - ], - [ - -59.7828233, - 8.3478764 - ], - [ - -59.7826731, - 8.3491077 - ], - [ - -59.7824049, - 8.349543 - ], - [ - -59.78217, - 8.3499801 - ], - [ - -59.7816968, - 8.3510397 - ], - [ - -59.7807849, - 8.3520375 - ], - [ - -59.7789717, - 8.3529292 - ], - [ - -59.7773302, - 8.3532582 - ], - [ - -59.7748304, - 8.353237 - ], - [ - -59.7712549, - 8.3573057 - ], - [ - -59.7684693, - 8.3604755 - ], - [ - -59.7690801, - 8.36114 - ], - [ - -59.7724046, - 8.3636738 - ], - [ - -59.7741587, - 8.3646968 - ], - [ - -59.7794325, - 8.3676627 - ], - [ - -59.782061, - 8.3692178 - ], - [ - -59.7840643, - 8.370344 - ], - [ - -59.7857165, - 8.371374 - ], - [ - -59.7875207, - 8.3725289 - ], - [ - -59.7888, - 8.37336 - ], - [ - -59.7918835, - 8.3752287 - ], - [ - -59.7937718, - 8.3764604 - ], - [ - -59.7976301, - 8.37897 - ], - [ - -59.7994783, - 8.3796945 - ], - [ - -59.8014417, - 8.3806551 - ], - [ - -59.8021983, - 8.3811858 - ], - [ - -59.8031537, - 8.3817031 - ], - [ - -59.80413, - 8.3824196 - ], - [ - -59.8047871, - 8.3828124 - ], - [ - -59.8055703, - 8.3834227 - ], - [ - -59.80594, - 8.3837999 - ], - [ - -59.8069801, - 8.38431 - ], - [ - -59.8075051, - 8.3846448 - ], - [ - -59.8080275, - 8.3849856 - ], - [ - -59.8091962, - 8.3857184 - ], - [ - -59.8098468, - 8.3862237 - ], - [ - -59.8108982, - 8.3867336 - ], - [ - -59.8119508, - 8.3874305 - ], - [ - -59.8131853, - 8.3883852 - ], - [ - -59.8140428, - 8.3889324 - ], - [ - -59.8146322, - 8.3896497 - ], - [ - -59.8152673, - 8.3901118 - ], - [ - -59.8157287, - 8.3906956 - ], - [ - -59.8159433, - 8.3907911 - ], - [ - -59.8161578, - 8.3908867 - ], - [ - -59.8159969, - 8.3914067 - ], - [ - -59.81583, - 8.39197 - ], - [ - -59.8155034, - 8.3920754 - ], - [ - -59.815321, - 8.3922983 - ], - [ - -59.8146448, - 8.3928907 - ], - [ - -59.8147847, - 8.3933447 - ], - [ - -59.8151949, - 8.3931536 - ], - [ - -59.8157823, - 8.3930201 - ], - [ - -59.8159003, - 8.3930519 - ], - [ - -59.816587, - 8.3932748 - ], - [ - -59.8169088, - 8.3933597 - ], - [ - -59.8172736, - 8.3937312 - ], - [ - -59.8175848, - 8.3944529 - ], - [ - -59.8179925, - 8.3945591 - ], - [ - -59.8185396, - 8.3944317 - ], - [ - -59.8189581, - 8.3944317 - ], - [ - -59.819473, - 8.3943468 - ], - [ - -59.8194516, - 8.3938161 - ], - [ - -59.8193765, - 8.3932748 - ], - [ - -59.8193121, - 8.3929564 - ], - [ - -59.8192263, - 8.3924788 - ], - [ - -59.8195696, - 8.3923089 - ], - [ - -59.8200095, - 8.3925 - ], - [ - -59.8201811, - 8.3931368 - ], - [ - -59.8201275, - 8.3939647 - ], - [ - -59.8200095, - 8.394644 - ], - [ - -59.8195911, - 8.3951959 - ], - [ - -59.8189581, - 8.3954506 - ], - [ - -59.8181641, - 8.3957372 - ], - [ - -59.8172629, - 8.3962042 - ], - [ - -59.816166, - 8.3962748 - ], - [ - -59.8157179, - 8.3965407 - ], - [ - -59.8153557, - 8.3965886 - ], - [ - -59.8137192, - 8.3971935 - ], - [ - -59.8127486, - 8.3978144 - ], - [ - -59.8122278, - 8.398 - ], - [ - -59.8118175, - 8.3981592 - ], - [ - -59.8114313, - 8.3981434 - ], - [ - -59.8108297, - 8.3984941 - ], - [ - -59.8098724, - 8.3988336 - ], - [ - -59.8095265, - 8.3991519 - ], - [ - -59.808636, - 8.3995339 - ], - [ - -59.8081615, - 8.399873 - ], - [ - -59.8067016, - 8.4003246 - ], - [ - -59.8048494, - 8.4006708 - ], - [ - -59.8011517, - 8.4016215 - ], - [ - -59.7993252, - 8.4019182 - ], - [ - -59.7973726, - 8.4020933 - ], - [ - -59.7950571, - 8.4021486 - ], - [ - -59.7934587, - 8.4021798 - ], - [ - -59.7907613, - 8.4021256 - ], - [ - -59.7889672, - 8.4021893 - ], - [ - -59.7879801, - 8.4024699 - ], - [ - -59.7877699, - 8.40243 - ], - [ - -59.7865249, - 8.4024433 - ], - [ - -59.7855095, - 8.4024953 - ], - [ - -59.7844648, - 8.4026892 - ], - [ - -59.7836602, - 8.4026468 - ], - [ - -59.7833598, - 8.4026043 - ], - [ - -59.7831345, - 8.40253 - ], - [ - -59.7830057, - 8.4029015 - ], - [ - -59.7828233, - 8.403931 - ], - [ - -59.7826302, - 8.4044299 - ], - [ - -59.7828019, - 8.4048013 - ], - [ - -59.7832418, - 8.4050667 - ], - [ - -59.7834885, - 8.4054488 - ], - [ - -59.7829735, - 8.4057247 - ], - [ - -59.7829414, - 8.4061068 - ], - [ - -59.7828341, - 8.4063403 - ], - [ - -59.782244, - 8.4069453 - ], - [ - -59.7814665, - 8.4074239 - ], - [ - -59.7805981, - 8.4074082 - ], - [ - -59.7790575, - 8.4071576 - ], - [ - -59.7779846, - 8.4072425 - ], - [ - -59.7770512, - 8.4072106 - ], - [ - -59.7761178, - 8.4069665 - ], - [ - -59.7758067, - 8.4069559 - ], - [ - -59.7748147, - 8.4069475 - ], - [ - -59.7739077, - 8.4066031 - ], - [ - -59.7724593, - 8.4060672 - ], - [ - -59.7707647, - 8.4055073 - ], - [ - -59.7694837, - 8.4050518 - ], - [ - -59.7673057, - 8.4045894 - ], - [ - -59.7661262, - 8.4044025 - ], - [ - -59.7646431, - 8.4039461 - ], - [ - -59.7620455, - 8.4031265 - ], - [ - -59.7603801, - 8.4023623 - ], - [ - -59.7578588, - 8.4012856 - ], - [ - -59.75434, - 8.39987 - ], - [ - -59.7527414, - 8.3995085 - ], - [ - -59.7510321, - 8.3988402 - ], - [ - -59.7490391, - 8.397895 - ], - [ - -59.7431971, - 8.3950477 - ], - [ - -59.7415448, - 8.3941981 - ], - [ - -59.740017, - 8.393436 - ], - [ - -59.7384967, - 8.3927217 - ], - [ - -59.7378474, - 8.3924663 - ], - [ - -59.7367001, - 8.3919481 - ], - [ - -59.7354663, - 8.3913537 - ], - [ - -59.7342002, - 8.3907699 - ], - [ - -59.7332132, - 8.3901543 - ], - [ - -59.7320008, - 8.3896767 - ], - [ - -59.73125, - 8.3892201 - ], - [ - -59.7309923, - 8.3890292 - ], - [ - -59.7304666, - 8.3887745 - ], - [ - -59.7298122, - 8.3882756 - ], - [ - -59.7291577, - 8.3876706 - ], - [ - -59.7285354, - 8.3869913 - ], - [ - -59.7277522, - 8.3865986 - ], - [ - -59.7269711, - 8.3860224 - ], - [ - -59.7267008, - 8.3855159 - ], - [ - -59.7259927, - 8.3843696 - ], - [ - -59.725349, - 8.3839769 - ], - [ - -59.723922, - 8.3831384 - ], - [ - -59.7233749, - 8.3825864 - ], - [ - -59.7224951, - 8.381939 - ], - [ - -59.7218406, - 8.3820133 - ], - [ - -59.7206958, - 8.3821758 - ], - [ - -59.7206958, - 8.3816558 - ], - [ - -59.7205424, - 8.3810261 - ], - [ - -59.7199202, - 8.3809518 - ], - [ - -59.7191906, - 8.3809518 - ], - [ - -59.7186005, - 8.380368 - ], - [ - -59.7182679, - 8.3797418 - ], - [ - -59.7177744, - 8.3792217 - ], - [ - -59.7171092, - 8.3791262 - ], - [ - -59.7167015, - 8.3778737 - ], - [ - -59.7163475, - 8.3774279 - ], - [ - -59.7159076, - 8.3770882 - ], - [ - -59.7153819, - 8.3767804 - ], - [ - -59.7146738, - 8.3766318 - ], - [ - -59.7146738, - 8.3762603 - ], - [ - -59.7138047, - 8.3749972 - ], - [ - -59.7134078, - 8.3743391 - ], - [ - -59.712528, - 8.3738084 - ], - [ - -59.7118224, - 8.3734796 - ], - [ - -59.7103955, - 8.3727685 - ], - [ - -59.7101462, - 8.3720358 - ], - [ - -59.7099209, - 8.3715899 - ], - [ - -59.7092879, - 8.371314 - ], - [ - -59.7075292, - 8.3701507 - ], - [ - -59.7071833, - 8.3699433 - ], - [ - -59.707131, - 8.3695597 - ], - [ - -59.7072387, - 8.3690318 - ], - [ - -59.7069919, - 8.368257 - ], - [ - -59.7053267, - 8.3673567 - ], - [ - -59.7040936, - 8.3672071 - ], - [ - -59.7040936, - 8.366957 - ], - [ - -59.7037081, - 8.3666966 - ], - [ - -59.7029137, - 8.366187 - ], - [ - -59.7019285, - 8.365453 - ], - [ - -59.7009207, - 8.3651772 - ], - [ - -59.7004537, - 8.3649171 - ], - [ - -59.7000245, - 8.3644495 - ], - [ - -59.6993518, - 8.3639559 - ], - [ - -59.6986759, - 8.3636317 - ], - [ - -59.6979628, - 8.3639443 - ], - [ - -59.6976087, - 8.3634874 - ], - [ - -59.6970629, - 8.3629136 - ], - [ - -59.6968135, - 8.362627 - ], - [ - -59.6964431, - 8.3624678 - ], - [ - -59.6962936, - 8.3621171 - ], - [ - -59.695285, - 8.3615651 - ], - [ - -59.6943442, - 8.3613949 - ], - [ - -59.6929948, - 8.3607073 - ], - [ - -59.6898135, - 8.359327 - ], - [ - -59.6888215, - 8.3587269 - ], - [ - -59.6872615, - 8.3579669 - ], - [ - -59.6859451, - 8.3573193 - ], - [ - -59.6855803, - 8.3567774 - ], - [ - -59.6841484, - 8.3560052 - ], - [ - -59.6817749, - 8.3546551 - ], - [ - -59.6796835, - 8.353467 - ], - [ - -59.677979, - 8.3524133 - ], - [ - -59.6765413, - 8.351766 - ], - [ - -59.6755797, - 8.3513723 - ], - [ - -59.6744532, - 8.3507672 - ], - [ - -59.6726142, - 8.3500762 - ], - [ - -59.6720943, - 8.3495663 - ], - [ - -59.6707696, - 8.3488179 - ], - [ - -59.669874, - 8.3484137 - ], - [ - -59.6687647, - 8.3481266 - ], - [ - -59.6677404, - 8.3479026 - ], - [ - -59.6667729, - 8.3475625 - ], - [ - -59.666003, - 8.3476926 - ], - [ - -59.665223, - 8.3473125 - ], - [ - -59.6638926, - 8.3463992 - ], - [ - -59.6627443, - 8.3453463 - ], - [ - -59.6614569, - 8.3446884 - ], - [ - -59.6604548, - 8.3442151 - ], - [ - -59.6596394, - 8.3438748 - ], - [ - -59.6587621, - 8.3433281 - ], - [ - -59.6578609, - 8.3427969 - ], - [ - -59.6565522, - 8.3418212 - ], - [ - -59.6552357, - 8.3410749 - ], - [ - -59.6547959, - 8.34065 - ], - [ - -59.6534661, - 8.3398797 - ], - [ - -59.6524894, - 8.3394443 - ], - [ - -59.6517472, - 8.3389558 - ], - [ - -59.6505646, - 8.3382977 - ], - [ - -59.6491162, - 8.3371462 - ], - [ - -59.6474755, - 8.3362181 - ], - [ - -59.644762, - 8.3347688 - ], - [ - -59.6419878, - 8.333312 - ], - [ - -59.6400515, - 8.3324045 - ], - [ - -59.63814, - 8.3314642 - ], - [ - -59.6357622, - 8.3303216 - ], - [ - -59.6345291, - 8.3297532 - ], - [ - -59.6332176, - 8.3289572 - ], - [ - -59.6316734, - 8.3281807 - ], - [ - -59.6303387, - 8.3275432 - ], - [ - -59.6293679, - 8.3269855 - ], - [ - -59.6283998, - 8.3264114 - ], - [ - -59.6274193, - 8.3259174 - ], - [ - -59.6261489, - 8.3252896 - ], - [ - -59.624669, - 8.3243185 - ], - [ - -59.6237836, - 8.3239363 - ], - [ - -59.6223414, - 8.3228132 - ], - [ - -59.6218479, - 8.3224735 - ], - [ - -59.621129, - 8.3221762 - ], - [ - -59.6202922, - 8.3215181 - ], - [ - -59.6195412, - 8.3212102 - ], - [ - -59.6186829, - 8.3206794 - ], - [ - -59.618033816994085, - 8.320186302855802 - ], - [ - -59.6172835, - 8.3196163 - ], - [ - -59.6162045, - 8.3188853 - ], - [ - -59.6152035, - 8.3183364 - ], - [ - -59.6145093, - 8.3178045 - ], - [ - -59.6127927, - 8.3164649 - ], - [ - -59.6120954, - 8.3159871 - ], - [ - -59.6107543, - 8.315106 - ], - [ - -59.6090698, - 8.3140444 - ], - [ - -59.6079335, - 8.3132365 - ], - [ - -59.6070528, - 8.3126855 - ], - [ - -59.6064305, - 8.3123564 - ], - [ - -59.6057546, - 8.3119849 - ], - [ - -59.6051431, - 8.3115496 - ], - [ - -59.60466180938814, - 8.311277472135739 - ], - [ - -59.59189385752823, - 8.320186302855802 - ], - [ - -58.57607174791271, - 9.028975568005995 - ], - [ - -57.17170770279807, - 10.008869734630215 - ], - [ - -56.68588297577402, - 10.347853645296913 - ], - [ - -56.68645359645612, - 10.348430955624153 - ], - [ - -56.68903756543091, - 10.351038057860293 - ], - [ - -56.69033065383633, - 10.352339151130934 - ], - [ - -56.70069970572669, - 10.362743461841589 - ], - [ - -56.7019964606678, - 10.364041019877277 - ], - [ - -56.70459498067345, - 10.366634027938176 - ], - [ - -56.705895685437355, - 10.367928420360656 - ], - [ - -56.7111085382281, - 10.373101707478199 - ], - [ - -56.712412851971436, - 10.37439256196727 - ], - [ - -56.71502576742486, - 10.376971432685579 - ], - [ - -56.716333303439086, - 10.378258399405965 - ], - [ - -56.72681788044042, - 10.388549427914356 - ], - [ - -56.72812904342021, - 10.38983281803013 - ], - [ - -56.73075635612068, - 10.392397438990713 - ], - [ - -56.73207143474872, - 10.393677621225422 - ], - [ - -56.737341734433386, - 10.398793961472435 - ], - [ - -56.738660382470556, - 10.400070566203794 - ], - [ - -56.74130193593541, - 10.40262089423895 - ], - [ - -56.742623763076125, - 10.403893577027077 - ], - [ - -56.752043102107194, - 10.41293755252643 - ], - [ - -56.75265441267061, - 10.413536612525192 - ], - [ - -56.756182578063175, - 10.416968790577357 - ], - [ - -56.78443061088376, - 10.444244344201408 - ], - [ - -56.78797173910428, - 10.447638269591025 - ], - [ - -56.795082954614315, - 10.454404080684 - ], - [ - -56.79865014608711, - 10.457773199174241 - ], - [ - -56.81297644970306, - 10.471204639582481 - ], - [ - -56.81656902364114, - 10.474548062643109 - ], - [ - -56.823780861597214, - 10.481210619874275 - ], - [ - -56.8273978197534, - 10.48452762894702 - ], - [ - -56.84373170697431, - 10.499396410347682 - ], - [ - -57.17170770279807, - 10.278521572581871 - ], - [ - -58.57607174791271, - 9.332755161080469 - ], - [ - -59.82017672342608, - 8.49491492847449 - ], - [ - -59.90170548186231, - 8.440009534414719 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-north-zone-extend.json/validatePolygon.json b/packages/base-project/examples/output/gp-clip-ocean-north-zone-extend.json/validatePolygon.json deleted file mode 100644 index fe0a214ebc..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-north-zone-extend.json/validatePolygon.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "type": "Feature", - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -50.0537109375, - 15.072123545811683 - ], - [ - -60.13422961546577, - 8.283416579624516 - ], - [ - -59.78678698851251, - 8.184199738096492 - ], - [ - -50.09765625, - 14.944784875088372 - ], - [ - -50.0537109375, - 15.072123545811683 - ] - ] - ] - }, - "properties": { - "name": "gp-clip-ocean-north-zone-extend.json" - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-north-zone.json/clipToLand.json b/packages/base-project/examples/output/gp-clip-ocean-north-zone.json/clipToLand.json deleted file mode 100644 index 768afb8ff8..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-north-zone.json/clipToLand.json +++ /dev/null @@ -1,1563 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -60.13422961546577, - 8.283416579624516 - ], - [ - -60.02933475468751, - 8.253462463544393 - ], - [ - -60.029134754687504, - 8.253405350896816 - ], - [ - -59.78678698851251, - 8.184199738096492 - ], - [ - -59.74894314352834, - 8.397848232307128 - ], - [ - -59.7490391, - 8.397895 - ], - [ - -59.7510321, - 8.3988402 - ], - [ - -59.7527414, - 8.3995085 - ], - [ - -59.75434, - 8.39987 - ], - [ - -59.7578588, - 8.4012856 - ], - [ - -59.7603801, - 8.4023623 - ], - [ - -59.7620455, - 8.4031265 - ], - [ - -59.7646431, - 8.4039461 - ], - [ - -59.7661262, - 8.4044025 - ], - [ - -59.7673057, - 8.4045894 - ], - [ - -59.7694837, - 8.4050518 - ], - [ - -59.7707647, - 8.4055073 - ], - [ - -59.7724593, - 8.4060672 - ], - [ - -59.7739077, - 8.4066031 - ], - [ - -59.7748147, - 8.4069475 - ], - [ - -59.7758067, - 8.4069559 - ], - [ - -59.7761178, - 8.4069665 - ], - [ - -59.7770512, - 8.4072106 - ], - [ - -59.7779846, - 8.4072425 - ], - [ - -59.7790575, - 8.4071576 - ], - [ - -59.7805981, - 8.4074082 - ], - [ - -59.7814665, - 8.4074239 - ], - [ - -59.782244, - 8.4069453 - ], - [ - -59.7828341, - 8.4063403 - ], - [ - -59.7829414, - 8.4061068 - ], - [ - -59.7829735, - 8.4057247 - ], - [ - -59.7834885, - 8.4054488 - ], - [ - -59.7832418, - 8.4050667 - ], - [ - -59.7828019, - 8.4048013 - ], - [ - -59.7826302, - 8.4044299 - ], - [ - -59.7828233, - 8.403931 - ], - [ - -59.7830057, - 8.4029015 - ], - [ - -59.7831345, - 8.40253 - ], - [ - -59.7833598, - 8.4026043 - ], - [ - -59.7836602, - 8.4026468 - ], - [ - -59.7844648, - 8.4026892 - ], - [ - -59.7855095, - 8.4024953 - ], - [ - -59.7865249, - 8.4024433 - ], - [ - -59.7877699, - 8.40243 - ], - [ - -59.7879801, - 8.4024699 - ], - [ - -59.7889672, - 8.4021893 - ], - [ - -59.7907613, - 8.4021256 - ], - [ - -59.7934587, - 8.4021798 - ], - [ - -59.7950571, - 8.4021486 - ], - [ - -59.7973726, - 8.4020933 - ], - [ - -59.7993252, - 8.4019182 - ], - [ - -59.8011517, - 8.4016215 - ], - [ - -59.8048494, - 8.4006708 - ], - [ - -59.8067016, - 8.4003246 - ], - [ - -59.8081615, - 8.399873 - ], - [ - -59.808636, - 8.3995339 - ], - [ - -59.8095265, - 8.3991519 - ], - [ - -59.8098724, - 8.3988336 - ], - [ - -59.8108297, - 8.3984941 - ], - [ - -59.8114313, - 8.3981434 - ], - [ - -59.8118175, - 8.3981592 - ], - [ - -59.8122278, - 8.398 - ], - [ - -59.8127486, - 8.3978144 - ], - [ - -59.8137192, - 8.3971935 - ], - [ - -59.8153557, - 8.3965886 - ], - [ - -59.8157179, - 8.3965407 - ], - [ - -59.816166, - 8.3962748 - ], - [ - -59.8172629, - 8.3962042 - ], - [ - -59.8181641, - 8.3957372 - ], - [ - -59.8189581, - 8.3954506 - ], - [ - -59.8195911, - 8.3951959 - ], - [ - -59.8200095, - 8.394644 - ], - [ - -59.8201275, - 8.3939647 - ], - [ - -59.8201811, - 8.3931368 - ], - [ - -59.8200095, - 8.3925 - ], - [ - -59.8195696, - 8.3923089 - ], - [ - -59.8192263, - 8.3924788 - ], - [ - -59.8193121, - 8.3929564 - ], - [ - -59.8193765, - 8.3932748 - ], - [ - -59.8194516, - 8.3938161 - ], - [ - -59.819473, - 8.3943468 - ], - [ - -59.8189581, - 8.3944317 - ], - [ - -59.8185396, - 8.3944317 - ], - [ - -59.8179925, - 8.3945591 - ], - [ - -59.8175848, - 8.3944529 - ], - [ - -59.8172736, - 8.3937312 - ], - [ - -59.8169088, - 8.3933597 - ], - [ - -59.816587, - 8.3932748 - ], - [ - -59.8159003, - 8.3930519 - ], - [ - -59.8157823, - 8.3930201 - ], - [ - -59.8151949, - 8.3931536 - ], - [ - -59.8147847, - 8.3933447 - ], - [ - -59.8146448, - 8.3928907 - ], - [ - -59.815321, - 8.3922983 - ], - [ - -59.8155034, - 8.3920754 - ], - [ - -59.81583, - 8.39197 - ], - [ - -59.8159969, - 8.3914067 - ], - [ - -59.8161578, - 8.3908867 - ], - [ - -59.8159433, - 8.3907911 - ], - [ - -59.8157287, - 8.3906956 - ], - [ - -59.8152673, - 8.3901118 - ], - [ - -59.8146322, - 8.3896497 - ], - [ - -59.8140428, - 8.3889324 - ], - [ - -59.8131853, - 8.3883852 - ], - [ - -59.8119508, - 8.3874305 - ], - [ - -59.8108982, - 8.3867336 - ], - [ - -59.8098468, - 8.3862237 - ], - [ - -59.8091962, - 8.3857184 - ], - [ - -59.8080275, - 8.3849856 - ], - [ - -59.8075051, - 8.3846448 - ], - [ - -59.8069801, - 8.38431 - ], - [ - -59.80594, - 8.3837999 - ], - [ - -59.8055703, - 8.3834227 - ], - [ - -59.8047871, - 8.3828124 - ], - [ - -59.80413, - 8.3824196 - ], - [ - -59.8031537, - 8.3817031 - ], - [ - -59.8021983, - 8.3811858 - ], - [ - -59.8014417, - 8.3806551 - ], - [ - -59.7994783, - 8.3796945 - ], - [ - -59.7976301, - 8.37897 - ], - [ - -59.7937718, - 8.3764604 - ], - [ - -59.7918835, - 8.3752287 - ], - [ - -59.7888, - 8.37336 - ], - [ - -59.7875207, - 8.3725289 - ], - [ - -59.7857165, - 8.371374 - ], - [ - -59.7840643, - 8.370344 - ], - [ - -59.782061, - 8.3692178 - ], - [ - -59.7794325, - 8.3676627 - ], - [ - -59.7741587, - 8.3646968 - ], - [ - -59.7724046, - 8.3636738 - ], - [ - -59.7690801, - 8.36114 - ], - [ - -59.7684693, - 8.3604755 - ], - [ - -59.7712549, - 8.3573057 - ], - [ - -59.7748304, - 8.353237 - ], - [ - -59.7773302, - 8.3532582 - ], - [ - -59.7789717, - 8.3529292 - ], - [ - -59.7807849, - 8.3520375 - ], - [ - -59.7816968, - 8.3510397 - ], - [ - -59.78217, - 8.3499801 - ], - [ - -59.7824049, - 8.349543 - ], - [ - -59.7826731, - 8.3491077 - ], - [ - -59.7828233, - 8.3478764 - ], - [ - -59.7821367, - 8.3468573 - ], - [ - -59.7816968, - 8.3459763 - ], - [ - -59.7807849, - 8.34466 - ], - [ - -59.7821749, - 8.3439992 - ], - [ - -59.783997, - 8.343112 - ], - [ - -59.7979016, - 8.3502042 - ], - [ - -59.7993018, - 8.3508273 - ], - [ - -59.8005752, - 8.3514003 - ], - [ - -59.8011906, - 8.3516762 - ], - [ - -59.8025276, - 8.3523553 - ], - [ - -59.8036736, - 8.3525038 - ], - [ - -59.8042327, - 8.3529292 - ], - [ - -59.804973, - 8.3527381 - ], - [ - -59.8059279, - 8.3532582 - ], - [ - -59.806475, - 8.3534599 - ], - [ - -59.8066682, - 8.3533007 - ], - [ - -59.8071724, - 8.3533538 - ], - [ - -59.8070479, - 8.3537771 - ], - [ - -59.8073026, - 8.3540106 - ], - [ - -59.8087033, - 8.3547321 - ], - [ - -59.8092975, - 8.3548807 - ], - [ - -59.8100746, - 8.3552592 - ], - [ - -59.8103374, - 8.3556447 - ], - [ - -59.811929, - 8.3561965 - ], - [ - -59.8128628, - 8.3558569 - ], - [ - -59.8133721, - 8.3563238 - ], - [ - -59.8138619, - 8.3568355 - ], - [ - -59.8142693, - 8.3571834 - ], - [ - -59.815557, - 8.3575148 - ], - [ - -59.8156536, - 8.3585551 - ], - [ - -59.8162973, - 8.3586294 - ], - [ - -59.8166728, - 8.3584383 - ], - [ - -59.8171985, - 8.358226 - ], - [ - -59.8176501, - 8.3582199 - ], - [ - -59.81895, - 8.3582101 - ], - [ - -59.8193443, - 8.3585976 - ], - [ - -59.8201597, - 8.3583428 - ], - [ - -59.8215222, - 8.3594574 - ], - [ - -59.8217905, - 8.3603384 - ], - [ - -59.8219514, - 8.3605188 - ], - [ - -59.8220752, - 8.3606376 - ], - [ - -59.8231852, - 8.3601367 - ], - [ - -59.8238576, - 8.3605132 - ], - [ - -59.8253912, - 8.3594355 - ], - [ - -59.8262, - 8.3588735 - ], - [ - -59.8271442, - 8.3590646 - ], - [ - -59.8286462, - 8.35933 - ], - [ - -59.8289681, - 8.3594574 - ], - [ - -59.8289559, - 8.3597671 - ], - [ - -59.8295152, - 8.360349 - ], - [ - -59.8300195, - 8.3599881 - ], - [ - -59.8312426, - 8.3592875 - ], - [ - -59.8318541, - 8.3590858 - ], - [ - -59.8339355, - 8.35933 - ], - [ - -59.8348904, - 8.359659 - ], - [ - -59.8366284, - 8.3601579 - ], - [ - -59.8371458, - 8.3602633 - ], - [ - -59.8373689, - 8.3602642 - ], - [ - -59.8375692, - 8.3602607 - ], - [ - -59.8375699, - 8.3598801 - ], - [ - -59.8380983, - 8.3594467 - ], - [ - -59.8384309, - 8.3592451 - ], - [ - -59.83938, - 8.35936 - ], - [ - -59.8403084, - 8.3595317 - ], - [ - -59.8421109, - 8.3601898 - ], - [ - -59.8443532, - 8.361782 - ], - [ - -59.8462951, - 8.3635441 - ], - [ - -59.8471105, - 8.3646798 - ], - [ - -59.8468801, - 8.3657799 - ], - [ - -59.8474217, - 8.3657519 - ], - [ - -59.8478401, - 8.3653167 - ], - [ - -59.8496854, - 8.3663145 - ], - [ - -59.8526895, - 8.368257 - ], - [ - -59.8552752, - 8.3699341 - ], - [ - -59.85726, - 8.3719615 - ], - [ - -59.857657, - 8.3726408 - ], - [ - -59.8581, - 8.3731101 - ], - [ - -59.8591483, - 8.3741905 - ], - [ - -59.8598993, - 8.3747955 - ], - [ - -59.86094, - 8.3755704 - ], - [ - -59.8622811, - 8.3762921 - ], - [ - -59.8627102, - 8.3762072 - ], - [ - -59.8631823, - 8.3762497 - ], - [ - -59.8634935, - 8.3766955 - ], - [ - -59.8632145, - 8.377343 - ], - [ - -59.8639441, - 8.3783726 - ], - [ - -59.8649418, - 8.3801345 - ], - [ - -59.8659289, - 8.3810792 - ], - [ - -59.8674309, - 8.3824378 - ], - [ - -59.8685897, - 8.3834568 - ], - [ - -59.8698771, - 8.384497 - ], - [ - -59.871068, - 8.3861103 - ], - [ - -59.8717547, - 8.3867047 - ], - [ - -59.872334, - 8.3875326 - ], - [ - -59.873246, - 8.3886789 - ], - [ - -59.8739004, - 8.3897616 - ], - [ - -59.8746085, - 8.390685 - ], - [ - -59.8757458, - 8.3923408 - ], - [ - -59.8767221, - 8.3933066 - ], - [ - -59.8773337, - 8.3945591 - ], - [ - -59.8780096, - 8.3952278 - ], - [ - -59.8793829, - 8.3981572 - ], - [ - -59.8807454, - 8.4003542 - ], - [ - -59.8820007, - 8.402477 - ], - [ - -59.8825586, - 8.4039523 - ], - [ - -59.8829126, - 8.4050879 - ], - [ - -59.8833633, - 8.4059052 - ], - [ - -59.8844147, - 8.4078474 - ], - [ - -59.8852086, - 8.409726 - ], - [ - -59.8856485, - 8.4100232 - ], - [ - -59.8861849, - 8.4110527 - ], - [ - -59.8877084, - 8.4143535 - ], - [ - -59.8885453, - 8.4159455 - ], - [ - -59.8893821, - 8.4181849 - ], - [ - -59.8903692, - 8.4202757 - ], - [ - -59.8908198, - 8.4209974 - ], - [ - -59.8916459, - 8.4224938 - ], - [ - -59.8924506, - 8.4233641 - ], - [ - -59.8939955, - 8.4259325 - ], - [ - -59.8951542, - 8.4277261 - ], - [ - -59.8977828, - 8.4322578 - ], - [ - -59.9004543, - 8.4372882 - ], - [ - -59.9016452, - 8.4398247 - ], - [ - -59.9018598, - 8.4404827 - ], - [ - -59.9019778, - 8.4417456 - ], - [ - -59.9027503, - 8.4423611 - ], - [ - -59.9029541, - 8.4432101 - ], - [ - -59.903512, - 8.4441971 - ], - [ - -59.9032331, - 8.4445897 - ], - [ - -59.9038446, - 8.4446958 - ], - [ - -59.905175, - 8.4464894 - ], - [ - -59.9060977, - 8.4477416 - ], - [ - -59.9060011, - 8.4482298 - ], - [ - -59.9067628, - 8.4495457 - ], - [ - -59.907428, - 8.4503735 - ], - [ - -59.9080181, - 8.4508935 - ], - [ - -59.9087691, - 8.4515196 - ], - [ - -59.9098313, - 8.4529629 - ], - [ - -59.910593, - 8.4541939 - ], - [ - -59.9118698, - 8.4558919 - ], - [ - -59.9133289, - 8.4576535 - ], - [ - -59.9138868, - 8.4585662 - ], - [ - -59.9150455, - 8.4601792 - ], - [ - -59.9165361, - 8.4626541 - ], - [ - -59.9163531, - 8.4635301 - ], - [ - -59.9171, - 8.4645456 - ], - [ - -59.9180555, - 8.4658038 - ], - [ - -59.9188166, - 8.4663483 - ], - [ - -59.9204182, - 8.4684327 - ], - [ - -59.9204283, - 8.4694628 - ], - [ - -59.9213481, - 8.4706126 - ], - [ - -59.9226093, - 8.4702287 - ], - [ - -59.9235642, - 8.470494 - ], - [ - -59.9265254, - 8.474813 - ], - [ - -59.9278343, - 8.4763835 - ], - [ - -59.9283707, - 8.4775508 - ], - [ - -59.9291217, - 8.478092 - ], - [ - -59.9292076, - 8.4782193 - ], - [ - -59.9298406, - 8.4792274 - ], - [ - -59.930377, - 8.4797792 - ], - [ - -59.9309349, - 8.480522 - ], - [ - -59.9316752, - 8.4813179 - ], - [ - -59.9328125, - 8.4822942 - ], - [ - -59.9336386, - 8.4830157 - ], - [ - -59.9344111, - 8.4841618 - ], - [ - -59.9351728, - 8.4852441 - ], - [ - -59.9362028, - 8.4863159 - ], - [ - -59.9370182, - 8.4869207 - ], - [ - -59.9379945, - 8.4884912 - ], - [ - -59.9385524, - 8.4895417 - ], - [ - -59.9394858, - 8.4906559 - ], - [ - -59.9403119, - 8.4911228 - ], - [ - -59.941138, - 8.4915897 - ], - [ - -59.941771, - 8.4921415 - ], - [ - -59.9427581, - 8.4930222 - ], - [ - -59.9438417, - 8.4939878 - ], - [ - -59.944818, - 8.4953567 - ], - [ - -59.9453652, - 8.4959297 - ], - [ - -59.9461162, - 8.496821 - ], - [ - -59.9466635, - 8.4974216 - ], - [ - -59.947747, - 8.4985188 - ], - [ - -59.948616, - 8.4993252 - ], - [ - -59.9497211, - 8.4996541 - ], - [ - -59.9511373, - 8.5010866 - ], - [ - -59.9520171, - 8.5017445 - ], - [ - -59.9526179, - 8.5021265 - ], - [ - -59.9531651, - 8.5028693 - ], - [ - -59.9538195, - 8.5034422 - ], - [ - -59.9544844, - 8.5040313 - ], - [ - -59.9555604, - 8.5048464 - ], - [ - -59.9562979, - 8.5056811 - ], - [ - -59.9574351, - 8.5072515 - ], - [ - -59.9604392, - 8.5095541 - ], - [ - -59.9634433, - 8.5123129 - ], - [ - -59.964881, - 8.513862 - ], - [ - -59.9667585, - 8.5166101 - ], - [ - -59.9680245, - 8.5175863 - ], - [ - -59.9696446, - 8.518711 - ], - [ - -59.9720156, - 8.5202814 - ], - [ - -59.9738503, - 8.5216289 - ], - [ - -59.9749553, - 8.5236024 - ], - [ - -59.9753416, - 8.5249075 - ], - [ - -59.9750197, - 8.5254804 - ], - [ - -59.9750304, - 8.5260428 - ], - [ - -59.97576, - 8.5269022 - ], - [ - -59.9773157, - 8.5288333 - ], - [ - -59.9786675, - 8.5300322 - ], - [ - -59.9793818, - 8.5309443 - ], - [ - -59.9812103, - 8.5332789 - ], - [ - -59.9851155, - 8.53869 - ], - [ - -59.988184, - 8.5415759 - ], - [ - -59.9895358, - 8.5425732 - ], - [ - -59.9903941, - 8.5444618 - ], - [ - -59.9921322, - 8.5465625 - ], - [ - -59.9924112, - 8.5478993 - ], - [ - -59.9922824, - 8.5485571 - ], - [ - -59.9919391, - 8.5489391 - ], - [ - -59.9919176, - 8.5497878 - ], - [ - -59.9919122, - 8.5501326 - ], - [ - -59.9924326, - 8.5504456 - ], - [ - -59.9953294, - 8.5519946 - ], - [ - -59.9957371, - 8.5527797 - ], - [ - -59.9955225, - 8.5532678 - ], - [ - -59.9941707, - 8.55348 - ], - [ - -59.993763, - 8.5545621 - ], - [ - -59.9941921, - 8.5550289 - ], - [ - -59.995544, - 8.5559626 - ], - [ - -59.9991274, - 8.5574479 - ], - [ - -60.0027967, - 8.5590605 - ], - [ - -60.0055862, - 8.5609278 - ], - [ - -60.0067878, - 8.561925 - ], - [ - -60.0082469, - 8.5630072 - ], - [ - -60.0083757, - 8.5635801 - ], - [ - -60.006702, - 8.5638559 - ], - [ - -60.005436, - 8.5638135 - ], - [ - -60.0047922, - 8.5640257 - ], - [ - -60.0043202, - 8.5643652 - ], - [ - -60.004642, - 8.5650017 - ], - [ - -60.0055647, - 8.5656595 - ], - [ - -60.0075388, - 8.566784 - ], - [ - -60.0100708, - 8.5678662 - ], - [ - -60.0120449, - 8.5688846 - ], - [ - -60.013372863311766, - 8.569749789321442 - ], - [ - -60.029134754687504, - 8.532406795503785 - ], - [ - -60.02933475468751, - 8.531932956509102 - ], - [ - -60.13422961546577, - 8.283416579624516 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-north-zone.json/clipToOcean.json b/packages/base-project/examples/output/gp-clip-ocean-north-zone.json/clipToOcean.json deleted file mode 100644 index 3da2e315e6..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-north-zone.json/clipToOcean.json +++ /dev/null @@ -1,1719 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -60.013372863311766, - 8.569749789321442 - ], - [ - -60.0120449, - 8.5688846 - ], - [ - -60.0100708, - 8.5678662 - ], - [ - -60.0075388, - 8.566784 - ], - [ - -60.0055647, - 8.5656595 - ], - [ - -60.004642, - 8.5650017 - ], - [ - -60.0043202, - 8.5643652 - ], - [ - -60.0047922, - 8.5640257 - ], - [ - -60.005436, - 8.5638135 - ], - [ - -60.006702, - 8.5638559 - ], - [ - -60.0083757, - 8.5635801 - ], - [ - -60.0082469, - 8.5630072 - ], - [ - -60.0067878, - 8.561925 - ], - [ - -60.0055862, - 8.5609278 - ], - [ - -60.0027967, - 8.5590605 - ], - [ - -59.9991274, - 8.5574479 - ], - [ - -59.995544, - 8.5559626 - ], - [ - -59.9941921, - 8.5550289 - ], - [ - -59.993763, - 8.5545621 - ], - [ - -59.9941707, - 8.55348 - ], - [ - -59.9955225, - 8.5532678 - ], - [ - -59.9957371, - 8.5527797 - ], - [ - -59.9953294, - 8.5519946 - ], - [ - -59.9924326, - 8.5504456 - ], - [ - -59.9919122, - 8.5501326 - ], - [ - -59.9919176, - 8.5497878 - ], - [ - -59.9919391, - 8.5489391 - ], - [ - -59.9922824, - 8.5485571 - ], - [ - -59.9924112, - 8.5478993 - ], - [ - -59.9921322, - 8.5465625 - ], - [ - -59.9903941, - 8.5444618 - ], - [ - -59.9895358, - 8.5425732 - ], - [ - -59.988184, - 8.5415759 - ], - [ - -59.9851155, - 8.53869 - ], - [ - -59.9812103, - 8.5332789 - ], - [ - -59.9793818, - 8.5309443 - ], - [ - -59.9786675, - 8.5300322 - ], - [ - -59.9773157, - 8.5288333 - ], - [ - -59.97576, - 8.5269022 - ], - [ - -59.9750304, - 8.5260428 - ], - [ - -59.9750197, - 8.5254804 - ], - [ - -59.9753416, - 8.5249075 - ], - [ - -59.9749553, - 8.5236024 - ], - [ - -59.9738503, - 8.5216289 - ], - [ - -59.9720156, - 8.5202814 - ], - [ - -59.9696446, - 8.518711 - ], - [ - -59.9680245, - 8.5175863 - ], - [ - -59.9667585, - 8.5166101 - ], - [ - -59.964881, - 8.513862 - ], - [ - -59.9634433, - 8.5123129 - ], - [ - -59.9604392, - 8.5095541 - ], - [ - -59.9574351, - 8.5072515 - ], - [ - -59.9562979, - 8.5056811 - ], - [ - -59.9555604, - 8.5048464 - ], - [ - -59.9544844, - 8.5040313 - ], - [ - -59.9538195, - 8.5034422 - ], - [ - -59.9531651, - 8.5028693 - ], - [ - -59.9526179, - 8.5021265 - ], - [ - -59.9520171, - 8.5017445 - ], - [ - -59.9511373, - 8.5010866 - ], - [ - -59.9497211, - 8.4996541 - ], - [ - -59.948616, - 8.4993252 - ], - [ - -59.947747, - 8.4985188 - ], - [ - -59.9466635, - 8.4974216 - ], - [ - -59.9461162, - 8.496821 - ], - [ - -59.9453652, - 8.4959297 - ], - [ - -59.944818, - 8.4953567 - ], - [ - -59.9438417, - 8.4939878 - ], - [ - -59.9427581, - 8.4930222 - ], - [ - -59.941771, - 8.4921415 - ], - [ - -59.941138, - 8.4915897 - ], - [ - -59.9403119, - 8.4911228 - ], - [ - -59.9394858, - 8.4906559 - ], - [ - -59.9385524, - 8.4895417 - ], - [ - -59.9379945, - 8.4884912 - ], - [ - -59.9370182, - 8.4869207 - ], - [ - -59.9362028, - 8.4863159 - ], - [ - -59.9351728, - 8.4852441 - ], - [ - -59.9344111, - 8.4841618 - ], - [ - -59.9336386, - 8.4830157 - ], - [ - -59.9328125, - 8.4822942 - ], - [ - -59.9316752, - 8.4813179 - ], - [ - -59.9309349, - 8.480522 - ], - [ - -59.930377, - 8.4797792 - ], - [ - -59.9298406, - 8.4792274 - ], - [ - -59.9292076, - 8.4782193 - ], - [ - -59.9291217, - 8.478092 - ], - [ - -59.9283707, - 8.4775508 - ], - [ - -59.9278343, - 8.4763835 - ], - [ - -59.9265254, - 8.474813 - ], - [ - -59.9235642, - 8.470494 - ], - [ - -59.9226093, - 8.4702287 - ], - [ - -59.9213481, - 8.4706126 - ], - [ - -59.9204283, - 8.4694628 - ], - [ - -59.9204182, - 8.4684327 - ], - [ - -59.9188166, - 8.4663483 - ], - [ - -59.9180555, - 8.4658038 - ], - [ - -59.9171, - 8.4645456 - ], - [ - -59.9163531, - 8.4635301 - ], - [ - -59.9165361, - 8.4626541 - ], - [ - -59.9150455, - 8.4601792 - ], - [ - -59.9138868, - 8.4585662 - ], - [ - -59.9133289, - 8.4576535 - ], - [ - -59.9118698, - 8.4558919 - ], - [ - -59.910593, - 8.4541939 - ], - [ - -59.9098313, - 8.4529629 - ], - [ - -59.9087691, - 8.4515196 - ], - [ - -59.9080181, - 8.4508935 - ], - [ - -59.907428, - 8.4503735 - ], - [ - -59.9067628, - 8.4495457 - ], - [ - -59.9060011, - 8.4482298 - ], - [ - -59.9060977, - 8.4477416 - ], - [ - -59.905175, - 8.4464894 - ], - [ - -59.9038446, - 8.4446958 - ], - [ - -59.9032331, - 8.4445897 - ], - [ - -59.903512, - 8.4441971 - ], - [ - -59.9029541, - 8.4432101 - ], - [ - -59.9027503, - 8.4423611 - ], - [ - -59.9019778, - 8.4417456 - ], - [ - -59.9018598, - 8.4404827 - ], - [ - -59.9016452, - 8.4398247 - ], - [ - -59.9004543, - 8.4372882 - ], - [ - -59.8977828, - 8.4322578 - ], - [ - -59.8951542, - 8.4277261 - ], - [ - -59.8939955, - 8.4259325 - ], - [ - -59.8924506, - 8.4233641 - ], - [ - -59.8916459, - 8.4224938 - ], - [ - -59.8908198, - 8.4209974 - ], - [ - -59.8903692, - 8.4202757 - ], - [ - -59.8893821, - 8.4181849 - ], - [ - -59.8885453, - 8.4159455 - ], - [ - -59.8877084, - 8.4143535 - ], - [ - -59.8861849, - 8.4110527 - ], - [ - -59.8856485, - 8.4100232 - ], - [ - -59.8852086, - 8.409726 - ], - [ - -59.8844147, - 8.4078474 - ], - [ - -59.8833633, - 8.4059052 - ], - [ - -59.8829126, - 8.4050879 - ], - [ - -59.8825586, - 8.4039523 - ], - [ - -59.8820007, - 8.402477 - ], - [ - -59.8807454, - 8.4003542 - ], - [ - -59.8793829, - 8.3981572 - ], - [ - -59.8780096, - 8.3952278 - ], - [ - -59.8773337, - 8.3945591 - ], - [ - -59.8767221, - 8.3933066 - ], - [ - -59.8757458, - 8.3923408 - ], - [ - -59.8746085, - 8.390685 - ], - [ - -59.8739004, - 8.3897616 - ], - [ - -59.873246, - 8.3886789 - ], - [ - -59.872334, - 8.3875326 - ], - [ - -59.8717547, - 8.3867047 - ], - [ - -59.871068, - 8.3861103 - ], - [ - -59.8698771, - 8.384497 - ], - [ - -59.8685897, - 8.3834568 - ], - [ - -59.8674309, - 8.3824378 - ], - [ - -59.8659289, - 8.3810792 - ], - [ - -59.8649418, - 8.3801345 - ], - [ - -59.8639441, - 8.3783726 - ], - [ - -59.8632145, - 8.377343 - ], - [ - -59.8634935, - 8.3766955 - ], - [ - -59.8631823, - 8.3762497 - ], - [ - -59.8627102, - 8.3762072 - ], - [ - -59.8622811, - 8.3762921 - ], - [ - -59.86094, - 8.3755704 - ], - [ - -59.8598993, - 8.3747955 - ], - [ - -59.8591483, - 8.3741905 - ], - [ - -59.8581, - 8.3731101 - ], - [ - -59.857657, - 8.3726408 - ], - [ - -59.85726, - 8.3719615 - ], - [ - -59.8552752, - 8.3699341 - ], - [ - -59.8526895, - 8.368257 - ], - [ - -59.8496854, - 8.3663145 - ], - [ - -59.8478401, - 8.3653167 - ], - [ - -59.8474217, - 8.3657519 - ], - [ - -59.8468801, - 8.3657799 - ], - [ - -59.8471105, - 8.3646798 - ], - [ - -59.8462951, - 8.3635441 - ], - [ - -59.8443532, - 8.361782 - ], - [ - -59.8421109, - 8.3601898 - ], - [ - -59.8403084, - 8.3595317 - ], - [ - -59.83938, - 8.35936 - ], - [ - -59.8384309, - 8.3592451 - ], - [ - -59.8380983, - 8.3594467 - ], - [ - -59.8375699, - 8.3598801 - ], - [ - -59.8375692, - 8.3602607 - ], - [ - -59.8373689, - 8.3602642 - ], - [ - -59.8371458, - 8.3602633 - ], - [ - -59.8366284, - 8.3601579 - ], - [ - -59.8348904, - 8.359659 - ], - [ - -59.8339355, - 8.35933 - ], - [ - -59.8318541, - 8.3590858 - ], - [ - -59.8312426, - 8.3592875 - ], - [ - -59.8300195, - 8.3599881 - ], - [ - -59.8295152, - 8.360349 - ], - [ - -59.8289559, - 8.3597671 - ], - [ - -59.8289681, - 8.3594574 - ], - [ - -59.8286462, - 8.35933 - ], - [ - -59.8271442, - 8.3590646 - ], - [ - -59.8262, - 8.3588735 - ], - [ - -59.8253912, - 8.3594355 - ], - [ - -59.8238576, - 8.3605132 - ], - [ - -59.8231852, - 8.3601367 - ], - [ - -59.8220752, - 8.3606376 - ], - [ - -59.8219514, - 8.3605188 - ], - [ - -59.8217905, - 8.3603384 - ], - [ - -59.8215222, - 8.3594574 - ], - [ - -59.8201597, - 8.3583428 - ], - [ - -59.8193443, - 8.3585976 - ], - [ - -59.81895, - 8.3582101 - ], - [ - -59.8176501, - 8.3582199 - ], - [ - -59.8171985, - 8.358226 - ], - [ - -59.8166728, - 8.3584383 - ], - [ - -59.8162973, - 8.3586294 - ], - [ - -59.8156536, - 8.3585551 - ], - [ - -59.815557, - 8.3575148 - ], - [ - -59.8142693, - 8.3571834 - ], - [ - -59.8138619, - 8.3568355 - ], - [ - -59.8133721, - 8.3563238 - ], - [ - -59.8128628, - 8.3558569 - ], - [ - -59.811929, - 8.3561965 - ], - [ - -59.8103374, - 8.3556447 - ], - [ - -59.8100746, - 8.3552592 - ], - [ - -59.8092975, - 8.3548807 - ], - [ - -59.8087033, - 8.3547321 - ], - [ - -59.8073026, - 8.3540106 - ], - [ - -59.8070479, - 8.3537771 - ], - [ - -59.8071724, - 8.3533538 - ], - [ - -59.8066682, - 8.3533007 - ], - [ - -59.806475, - 8.3534599 - ], - [ - -59.8059279, - 8.3532582 - ], - [ - -59.804973, - 8.3527381 - ], - [ - -59.8042327, - 8.3529292 - ], - [ - -59.8036736, - 8.3525038 - ], - [ - -59.8025276, - 8.3523553 - ], - [ - -59.8011906, - 8.3516762 - ], - [ - -59.8005752, - 8.3514003 - ], - [ - -59.7993018, - 8.3508273 - ], - [ - -59.7979016, - 8.3502042 - ], - [ - -59.783997, - 8.343112 - ], - [ - -59.7821749, - 8.3439992 - ], - [ - -59.7807849, - 8.34466 - ], - [ - -59.7816968, - 8.3459763 - ], - [ - -59.7821367, - 8.3468573 - ], - [ - -59.7828233, - 8.3478764 - ], - [ - -59.7826731, - 8.3491077 - ], - [ - -59.7824049, - 8.349543 - ], - [ - -59.78217, - 8.3499801 - ], - [ - -59.7816968, - 8.3510397 - ], - [ - -59.7807849, - 8.3520375 - ], - [ - -59.7789717, - 8.3529292 - ], - [ - -59.7773302, - 8.3532582 - ], - [ - -59.7748304, - 8.353237 - ], - [ - -59.7712549, - 8.3573057 - ], - [ - -59.7684693, - 8.3604755 - ], - [ - -59.7690801, - 8.36114 - ], - [ - -59.7724046, - 8.3636738 - ], - [ - -59.7741587, - 8.3646968 - ], - [ - -59.7794325, - 8.3676627 - ], - [ - -59.782061, - 8.3692178 - ], - [ - -59.7840643, - 8.370344 - ], - [ - -59.7857165, - 8.371374 - ], - [ - -59.7875207, - 8.3725289 - ], - [ - -59.7888, - 8.37336 - ], - [ - -59.7918835, - 8.3752287 - ], - [ - -59.7937718, - 8.3764604 - ], - [ - -59.7976301, - 8.37897 - ], - [ - -59.7994783, - 8.3796945 - ], - [ - -59.8014417, - 8.3806551 - ], - [ - -59.8021983, - 8.3811858 - ], - [ - -59.8031537, - 8.3817031 - ], - [ - -59.80413, - 8.3824196 - ], - [ - -59.8047871, - 8.3828124 - ], - [ - -59.8055703, - 8.3834227 - ], - [ - -59.80594, - 8.3837999 - ], - [ - -59.8069801, - 8.38431 - ], - [ - -59.8075051, - 8.3846448 - ], - [ - -59.8080275, - 8.3849856 - ], - [ - -59.8091962, - 8.3857184 - ], - [ - -59.8098468, - 8.3862237 - ], - [ - -59.8108982, - 8.3867336 - ], - [ - -59.8119508, - 8.3874305 - ], - [ - -59.8131853, - 8.3883852 - ], - [ - -59.8140428, - 8.3889324 - ], - [ - -59.8146322, - 8.3896497 - ], - [ - -59.8152673, - 8.3901118 - ], - [ - -59.8157287, - 8.3906956 - ], - [ - -59.8159433, - 8.3907911 - ], - [ - -59.8161578, - 8.3908867 - ], - [ - -59.8159969, - 8.3914067 - ], - [ - -59.81583, - 8.39197 - ], - [ - -59.8155034, - 8.3920754 - ], - [ - -59.815321, - 8.3922983 - ], - [ - -59.8146448, - 8.3928907 - ], - [ - -59.8147847, - 8.3933447 - ], - [ - -59.8151949, - 8.3931536 - ], - [ - -59.8157823, - 8.3930201 - ], - [ - -59.8159003, - 8.3930519 - ], - [ - -59.816587, - 8.3932748 - ], - [ - -59.8169088, - 8.3933597 - ], - [ - -59.8172736, - 8.3937312 - ], - [ - -59.8175848, - 8.3944529 - ], - [ - -59.8179925, - 8.3945591 - ], - [ - -59.8185396, - 8.3944317 - ], - [ - -59.8189581, - 8.3944317 - ], - [ - -59.819473, - 8.3943468 - ], - [ - -59.8194516, - 8.3938161 - ], - [ - -59.8193765, - 8.3932748 - ], - [ - -59.8193121, - 8.3929564 - ], - [ - -59.8192263, - 8.3924788 - ], - [ - -59.8195696, - 8.3923089 - ], - [ - -59.8200095, - 8.3925 - ], - [ - -59.8201811, - 8.3931368 - ], - [ - -59.8201275, - 8.3939647 - ], - [ - -59.8200095, - 8.394644 - ], - [ - -59.8195911, - 8.3951959 - ], - [ - -59.8189581, - 8.3954506 - ], - [ - -59.8181641, - 8.3957372 - ], - [ - -59.8172629, - 8.3962042 - ], - [ - -59.816166, - 8.3962748 - ], - [ - -59.8157179, - 8.3965407 - ], - [ - -59.8153557, - 8.3965886 - ], - [ - -59.8137192, - 8.3971935 - ], - [ - -59.8127486, - 8.3978144 - ], - [ - -59.8122278, - 8.398 - ], - [ - -59.8118175, - 8.3981592 - ], - [ - -59.8114313, - 8.3981434 - ], - [ - -59.8108297, - 8.3984941 - ], - [ - -59.8098724, - 8.3988336 - ], - [ - -59.8095265, - 8.3991519 - ], - [ - -59.808636, - 8.3995339 - ], - [ - -59.8081615, - 8.399873 - ], - [ - -59.8067016, - 8.4003246 - ], - [ - -59.8048494, - 8.4006708 - ], - [ - -59.8011517, - 8.4016215 - ], - [ - -59.7993252, - 8.4019182 - ], - [ - -59.7973726, - 8.4020933 - ], - [ - -59.7950571, - 8.4021486 - ], - [ - -59.7934587, - 8.4021798 - ], - [ - -59.7907613, - 8.4021256 - ], - [ - -59.7889672, - 8.4021893 - ], - [ - -59.7879801, - 8.4024699 - ], - [ - -59.7877699, - 8.40243 - ], - [ - -59.7865249, - 8.4024433 - ], - [ - -59.7855095, - 8.4024953 - ], - [ - -59.7844648, - 8.4026892 - ], - [ - -59.7836602, - 8.4026468 - ], - [ - -59.7833598, - 8.4026043 - ], - [ - -59.7831345, - 8.40253 - ], - [ - -59.7830057, - 8.4029015 - ], - [ - -59.7828233, - 8.403931 - ], - [ - -59.7826302, - 8.4044299 - ], - [ - -59.7828019, - 8.4048013 - ], - [ - -59.7832418, - 8.4050667 - ], - [ - -59.7834885, - 8.4054488 - ], - [ - -59.7829735, - 8.4057247 - ], - [ - -59.7829414, - 8.4061068 - ], - [ - -59.7828341, - 8.4063403 - ], - [ - -59.782244, - 8.4069453 - ], - [ - -59.7814665, - 8.4074239 - ], - [ - -59.7805981, - 8.4074082 - ], - [ - -59.7790575, - 8.4071576 - ], - [ - -59.7779846, - 8.4072425 - ], - [ - -59.7770512, - 8.4072106 - ], - [ - -59.7761178, - 8.4069665 - ], - [ - -59.7758067, - 8.4069559 - ], - [ - -59.7748147, - 8.4069475 - ], - [ - -59.7739077, - 8.4066031 - ], - [ - -59.7724593, - 8.4060672 - ], - [ - -59.7707647, - 8.4055073 - ], - [ - -59.7694837, - 8.4050518 - ], - [ - -59.7673057, - 8.4045894 - ], - [ - -59.7661262, - 8.4044025 - ], - [ - -59.7646431, - 8.4039461 - ], - [ - -59.7620455, - 8.4031265 - ], - [ - -59.7603801, - 8.4023623 - ], - [ - -59.7578588, - 8.4012856 - ], - [ - -59.75434, - 8.39987 - ], - [ - -59.7527414, - 8.3995085 - ], - [ - -59.7510321, - 8.3988402 - ], - [ - -59.7490391, - 8.397895 - ], - [ - -59.74894314352834, - 8.397848232307128 - ], - [ - -59.707136109606225, - 8.63387102144518 - ], - [ - -59.95020861937195, - 8.719398198558203 - ], - [ - -60.011878640247765, - 8.573289895093705 - ], - [ - -60.011723, - 8.5732396 - ], - [ - -60.0109184, - 8.5731017 - ], - [ - -60.0100547, - 8.5727675 - ], - [ - -60.0093037, - 8.5723326 - ], - [ - -60.0064176, - 8.5695901 - ], - [ - -60.0058597, - 8.5693249 - ], - [ - -60.0050873, - 8.5690066 - ], - [ - -60.0047439, - 8.5689589 - ], - [ - -60.0045294, - 8.5687785 - ], - [ - -60.0045133, - 8.5685451 - ], - [ - -60.0043953, - 8.568333 - ], - [ - -60.0042611, - 8.5683595 - ], - [ - -60.0041485, - 8.5683436 - ], - [ - -60.0039876, - 8.5684231 - ], - [ - -60.0038427, - 8.568333 - ], - [ - -60.0034672, - 8.5681261 - ], - [ - -60.0029039, - 8.5679086 - ], - [ - -60.0021476, - 8.5675108 - ], - [ - -60.0020135, - 8.5673251 - ], - [ - -60.0020564, - 8.5672031 - ], - [ - -60.0021797, - 8.56715 - ], - [ - -60.0024748, - 8.5672561 - ], - [ - -60.0028557, - 8.5675267 - ], - [ - -60.0031185, - 8.5675267 - ], - [ - -60.0035101, - 8.5676699 - ], - [ - -60.0037032, - 8.5677919 - ], - [ - -60.004009, - 8.5679298 - ], - [ - -60.0043041, - 8.567898 - ], - [ - -60.0045615, - 8.5678025 - ], - [ - -60.004819, - 8.5678025 - ], - [ - -60.0051194, - 8.5678502 - ], - [ - -60.0062835, - 8.5682375 - ], - [ - -60.0070775, - 8.5685451 - ], - [ - -60.0074798, - 8.5688316 - ], - [ - -60.0078124, - 8.5692613 - ], - [ - -60.0083703, - 8.5697281 - ], - [ - -60.0085956, - 8.5700994 - ], - [ - -60.0092447, - 8.5704336 - ], - [ - -60.0099689, - 8.570667 - ], - [ - -60.0109291, - 8.5708844 - ], - [ - -60.0121629, - 8.5710011 - ], - [ - -60.012789207597095, - 8.571132583506795 - ], - [ - -60.013372863311766, - 8.569749789321442 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-north-zone.json/clipToOceanEez.json b/packages/base-project/examples/output/gp-clip-ocean-north-zone.json/clipToOceanEez.json deleted file mode 100644 index 593633b972..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-north-zone.json/clipToOceanEez.json +++ /dev/null @@ -1,1735 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -60.013372863311766, - 8.569749789321442 - ], - [ - -60.0120449, - 8.5688846 - ], - [ - -60.0100708, - 8.5678662 - ], - [ - -60.0075388, - 8.566784 - ], - [ - -60.0055647, - 8.5656595 - ], - [ - -60.004642, - 8.5650017 - ], - [ - -60.0043202, - 8.5643652 - ], - [ - -60.0047922, - 8.5640257 - ], - [ - -60.005436, - 8.5638135 - ], - [ - -60.006702, - 8.5638559 - ], - [ - -60.0083757, - 8.5635801 - ], - [ - -60.0082469, - 8.5630072 - ], - [ - -60.0067878, - 8.561925 - ], - [ - -60.0055862, - 8.5609278 - ], - [ - -60.0027967, - 8.5590605 - ], - [ - -59.9991274, - 8.5574479 - ], - [ - -59.995544, - 8.5559626 - ], - [ - -59.9941921, - 8.5550289 - ], - [ - -59.993763, - 8.5545621 - ], - [ - -59.9941707, - 8.55348 - ], - [ - -59.9955225, - 8.5532678 - ], - [ - -59.9957371, - 8.5527797 - ], - [ - -59.9953294, - 8.5519946 - ], - [ - -59.9924326, - 8.5504456 - ], - [ - -59.9919122, - 8.5501326 - ], - [ - -59.9919176, - 8.5497878 - ], - [ - -59.9919391, - 8.5489391 - ], - [ - -59.9922824, - 8.5485571 - ], - [ - -59.9924112, - 8.5478993 - ], - [ - -59.9921322, - 8.5465625 - ], - [ - -59.9903941, - 8.5444618 - ], - [ - -59.9895358, - 8.5425732 - ], - [ - -59.988184, - 8.5415759 - ], - [ - -59.9851155, - 8.53869 - ], - [ - -59.9812103, - 8.5332789 - ], - [ - -59.9793818, - 8.5309443 - ], - [ - -59.9786675, - 8.5300322 - ], - [ - -59.9773157, - 8.5288333 - ], - [ - -59.97576, - 8.5269022 - ], - [ - -59.9750304, - 8.5260428 - ], - [ - -59.9750197, - 8.5254804 - ], - [ - -59.9753416, - 8.5249075 - ], - [ - -59.9749553, - 8.5236024 - ], - [ - -59.9738503, - 8.5216289 - ], - [ - -59.9720156, - 8.5202814 - ], - [ - -59.9696446, - 8.518711 - ], - [ - -59.9680245, - 8.5175863 - ], - [ - -59.9667585, - 8.5166101 - ], - [ - -59.964881, - 8.513862 - ], - [ - -59.9634433, - 8.5123129 - ], - [ - -59.9604392, - 8.5095541 - ], - [ - -59.9574351, - 8.5072515 - ], - [ - -59.9562979, - 8.5056811 - ], - [ - -59.9555604, - 8.5048464 - ], - [ - -59.9544844, - 8.5040313 - ], - [ - -59.9538195, - 8.5034422 - ], - [ - -59.9531651, - 8.5028693 - ], - [ - -59.9526179, - 8.5021265 - ], - [ - -59.9520171, - 8.5017445 - ], - [ - -59.9511373, - 8.5010866 - ], - [ - -59.9497211, - 8.4996541 - ], - [ - -59.948616, - 8.4993252 - ], - [ - -59.947747, - 8.4985188 - ], - [ - -59.9466635, - 8.4974216 - ], - [ - -59.9461162, - 8.496821 - ], - [ - -59.9453652, - 8.4959297 - ], - [ - -59.944818, - 8.4953567 - ], - [ - -59.9438417, - 8.4939878 - ], - [ - -59.9427581, - 8.4930222 - ], - [ - -59.941771, - 8.4921415 - ], - [ - -59.941138, - 8.4915897 - ], - [ - -59.9403119, - 8.4911228 - ], - [ - -59.9394858, - 8.4906559 - ], - [ - -59.9385524, - 8.4895417 - ], - [ - -59.9379945, - 8.4884912 - ], - [ - -59.9370182, - 8.4869207 - ], - [ - -59.9362028, - 8.4863159 - ], - [ - -59.9351728, - 8.4852441 - ], - [ - -59.9344111, - 8.4841618 - ], - [ - -59.9336386, - 8.4830157 - ], - [ - -59.9328125, - 8.4822942 - ], - [ - -59.9316752, - 8.4813179 - ], - [ - -59.9309349, - 8.480522 - ], - [ - -59.930377, - 8.4797792 - ], - [ - -59.9298406, - 8.4792274 - ], - [ - -59.9292076, - 8.4782193 - ], - [ - -59.9291217, - 8.478092 - ], - [ - -59.9283707, - 8.4775508 - ], - [ - -59.9278343, - 8.4763835 - ], - [ - -59.9265254, - 8.474813 - ], - [ - -59.9235642, - 8.470494 - ], - [ - -59.9226093, - 8.4702287 - ], - [ - -59.9213481, - 8.4706126 - ], - [ - -59.9204283, - 8.4694628 - ], - [ - -59.9204182, - 8.4684327 - ], - [ - -59.9188166, - 8.4663483 - ], - [ - -59.9180555, - 8.4658038 - ], - [ - -59.9171, - 8.4645456 - ], - [ - -59.9163531, - 8.4635301 - ], - [ - -59.9165361, - 8.4626541 - ], - [ - -59.9150455, - 8.4601792 - ], - [ - -59.9138868, - 8.4585662 - ], - [ - -59.9133289, - 8.4576535 - ], - [ - -59.9118698, - 8.4558919 - ], - [ - -59.910593, - 8.4541939 - ], - [ - -59.9098313, - 8.4529629 - ], - [ - -59.9087691, - 8.4515196 - ], - [ - -59.9080181, - 8.4508935 - ], - [ - -59.907428, - 8.4503735 - ], - [ - -59.9067628, - 8.4495457 - ], - [ - -59.9060011, - 8.4482298 - ], - [ - -59.9060977, - 8.4477416 - ], - [ - -59.905175, - 8.4464894 - ], - [ - -59.9038446, - 8.4446958 - ], - [ - -59.9032331, - 8.4445897 - ], - [ - -59.903512, - 8.4441971 - ], - [ - -59.9029541, - 8.4432101 - ], - [ - -59.9027503, - 8.4423611 - ], - [ - -59.9019778, - 8.4417456 - ], - [ - -59.9018598, - 8.4404827 - ], - [ - -59.9016452, - 8.4398247 - ], - [ - -59.9004543, - 8.4372882 - ], - [ - -59.8977828, - 8.4322578 - ], - [ - -59.8951542, - 8.4277261 - ], - [ - -59.8939955, - 8.4259325 - ], - [ - -59.8924506, - 8.4233641 - ], - [ - -59.8916459, - 8.4224938 - ], - [ - -59.8908198, - 8.4209974 - ], - [ - -59.8903692, - 8.4202757 - ], - [ - -59.8893821, - 8.4181849 - ], - [ - -59.8885453, - 8.4159455 - ], - [ - -59.8877084, - 8.4143535 - ], - [ - -59.8861849, - 8.4110527 - ], - [ - -59.8856485, - 8.4100232 - ], - [ - -59.8852086, - 8.409726 - ], - [ - -59.8844147, - 8.4078474 - ], - [ - -59.8833633, - 8.4059052 - ], - [ - -59.8829126, - 8.4050879 - ], - [ - -59.8825586, - 8.4039523 - ], - [ - -59.8820007, - 8.402477 - ], - [ - -59.8807454, - 8.4003542 - ], - [ - -59.8793829, - 8.3981572 - ], - [ - -59.8780096, - 8.3952278 - ], - [ - -59.8773337, - 8.3945591 - ], - [ - -59.8767221, - 8.3933066 - ], - [ - -59.8757458, - 8.3923408 - ], - [ - -59.8746085, - 8.390685 - ], - [ - -59.8739004, - 8.3897616 - ], - [ - -59.873246, - 8.3886789 - ], - [ - -59.872334, - 8.3875326 - ], - [ - -59.8717547, - 8.3867047 - ], - [ - -59.871068, - 8.3861103 - ], - [ - -59.8698771, - 8.384497 - ], - [ - -59.8685897, - 8.3834568 - ], - [ - -59.8674309, - 8.3824378 - ], - [ - -59.8659289, - 8.3810792 - ], - [ - -59.8649418, - 8.3801345 - ], - [ - -59.8639441, - 8.3783726 - ], - [ - -59.8632145, - 8.377343 - ], - [ - -59.8634935, - 8.3766955 - ], - [ - -59.8631823, - 8.3762497 - ], - [ - -59.8627102, - 8.3762072 - ], - [ - -59.8622811, - 8.3762921 - ], - [ - -59.86094, - 8.3755704 - ], - [ - -59.8598993, - 8.3747955 - ], - [ - -59.8591483, - 8.3741905 - ], - [ - -59.8581, - 8.3731101 - ], - [ - -59.857657, - 8.3726408 - ], - [ - -59.85726, - 8.3719615 - ], - [ - -59.8552752, - 8.3699341 - ], - [ - -59.8526895, - 8.368257 - ], - [ - -59.8496854, - 8.3663145 - ], - [ - -59.8478401, - 8.3653167 - ], - [ - -59.8474217, - 8.3657519 - ], - [ - -59.8468801, - 8.3657799 - ], - [ - -59.8471105, - 8.3646798 - ], - [ - -59.8462951, - 8.3635441 - ], - [ - -59.8443532, - 8.361782 - ], - [ - -59.8421109, - 8.3601898 - ], - [ - -59.84073441566712, - 8.359687240033583 - ], - [ - -59.8403084, - 8.3595317 - ], - [ - -59.83938, - 8.35936 - ], - [ - -59.8384309, - 8.3592451 - ], - [ - -59.8380983, - 8.3594467 - ], - [ - -59.8375699, - 8.3598801 - ], - [ - -59.8375692, - 8.3602607 - ], - [ - -59.8373689, - 8.3602642 - ], - [ - -59.8371458, - 8.3602633 - ], - [ - -59.8366284, - 8.3601579 - ], - [ - -59.8348904, - 8.359659 - ], - [ - -59.8339355, - 8.35933 - ], - [ - -59.8318541, - 8.3590858 - ], - [ - -59.8312426, - 8.3592875 - ], - [ - -59.8300195, - 8.3599881 - ], - [ - -59.8295152, - 8.360349 - ], - [ - -59.8289559, - 8.3597671 - ], - [ - -59.8289681, - 8.3594574 - ], - [ - -59.8286462, - 8.35933 - ], - [ - -59.8271442, - 8.3590646 - ], - [ - -59.8262, - 8.3588735 - ], - [ - -59.8253912, - 8.3594355 - ], - [ - -59.8238576, - 8.3605132 - ], - [ - -59.8231852, - 8.3601367 - ], - [ - -59.8220752, - 8.3606376 - ], - [ - -59.8219514, - 8.3605188 - ], - [ - -59.8217905, - 8.3603384 - ], - [ - -59.8215222, - 8.3594574 - ], - [ - -59.8201597, - 8.3583428 - ], - [ - -59.8193443, - 8.3585976 - ], - [ - -59.81895, - 8.3582101 - ], - [ - -59.8176501, - 8.3582199 - ], - [ - -59.8171985, - 8.358226 - ], - [ - -59.8166728, - 8.3584383 - ], - [ - -59.8162973, - 8.3586294 - ], - [ - -59.8156536, - 8.3585551 - ], - [ - -59.815557, - 8.3575148 - ], - [ - -59.8142693, - 8.3571834 - ], - [ - -59.8138619, - 8.3568355 - ], - [ - -59.8133721, - 8.3563238 - ], - [ - -59.8128628, - 8.3558569 - ], - [ - -59.811929, - 8.3561965 - ], - [ - -59.8103374, - 8.3556447 - ], - [ - -59.8100746, - 8.3552592 - ], - [ - -59.8092975, - 8.3548807 - ], - [ - -59.8087033, - 8.3547321 - ], - [ - -59.8073026, - 8.3540106 - ], - [ - -59.8070479, - 8.3537771 - ], - [ - -59.8071724, - 8.3533538 - ], - [ - -59.8066682, - 8.3533007 - ], - [ - -59.806475, - 8.3534599 - ], - [ - -59.8059279, - 8.3532582 - ], - [ - -59.804973, - 8.3527381 - ], - [ - -59.8042327, - 8.3529292 - ], - [ - -59.8036736, - 8.3525038 - ], - [ - -59.8025276, - 8.3523553 - ], - [ - -59.8011906, - 8.3516762 - ], - [ - -59.8005752, - 8.3514003 - ], - [ - -59.7993018, - 8.3508273 - ], - [ - -59.7979016, - 8.3502042 - ], - [ - -59.783997, - 8.343112 - ], - [ - -59.7821749, - 8.3439992 - ], - [ - -59.7807849, - 8.34466 - ], - [ - -59.7816968, - 8.3459763 - ], - [ - -59.7821367, - 8.3468573 - ], - [ - -59.7828233, - 8.3478764 - ], - [ - -59.7826731, - 8.3491077 - ], - [ - -59.7824049, - 8.349543 - ], - [ - -59.78217, - 8.3499801 - ], - [ - -59.7816968, - 8.3510397 - ], - [ - -59.7807849, - 8.3520375 - ], - [ - -59.7789717, - 8.3529292 - ], - [ - -59.7773302, - 8.3532582 - ], - [ - -59.7748304, - 8.353237 - ], - [ - -59.7712549, - 8.3573057 - ], - [ - -59.7684693, - 8.3604755 - ], - [ - -59.7690801, - 8.36114 - ], - [ - -59.7724046, - 8.3636738 - ], - [ - -59.7741587, - 8.3646968 - ], - [ - -59.7794325, - 8.3676627 - ], - [ - -59.782061, - 8.3692178 - ], - [ - -59.7840643, - 8.370344 - ], - [ - -59.7857165, - 8.371374 - ], - [ - -59.7875207, - 8.3725289 - ], - [ - -59.7888, - 8.37336 - ], - [ - -59.7918835, - 8.3752287 - ], - [ - -59.7937718, - 8.3764604 - ], - [ - -59.7976301, - 8.37897 - ], - [ - -59.7994783, - 8.3796945 - ], - [ - -59.8014417, - 8.3806551 - ], - [ - -59.8021983, - 8.3811858 - ], - [ - -59.8031537, - 8.3817031 - ], - [ - -59.80413, - 8.3824196 - ], - [ - -59.8047871, - 8.3828124 - ], - [ - -59.8055703, - 8.3834227 - ], - [ - -59.80594, - 8.3837999 - ], - [ - -59.8069801, - 8.38431 - ], - [ - -59.8075051, - 8.3846448 - ], - [ - -59.8080275, - 8.3849856 - ], - [ - -59.8091962, - 8.3857184 - ], - [ - -59.8098468, - 8.3862237 - ], - [ - -59.8108982, - 8.3867336 - ], - [ - -59.8119508, - 8.3874305 - ], - [ - -59.8131853, - 8.3883852 - ], - [ - -59.8140428, - 8.3889324 - ], - [ - -59.8146322, - 8.3896497 - ], - [ - -59.8152673, - 8.3901118 - ], - [ - -59.8157287, - 8.3906956 - ], - [ - -59.8159433, - 8.3907911 - ], - [ - -59.8161578, - 8.3908867 - ], - [ - -59.8159969, - 8.3914067 - ], - [ - -59.81583, - 8.39197 - ], - [ - -59.8155034, - 8.3920754 - ], - [ - -59.815321, - 8.3922983 - ], - [ - -59.8146448, - 8.3928907 - ], - [ - -59.8147847, - 8.3933447 - ], - [ - -59.8151949, - 8.3931536 - ], - [ - -59.8157823, - 8.3930201 - ], - [ - -59.8159003, - 8.3930519 - ], - [ - -59.816587, - 8.3932748 - ], - [ - -59.8169088, - 8.3933597 - ], - [ - -59.8172736, - 8.3937312 - ], - [ - -59.8175848, - 8.3944529 - ], - [ - -59.8179925, - 8.3945591 - ], - [ - -59.8185396, - 8.3944317 - ], - [ - -59.8189581, - 8.3944317 - ], - [ - -59.819473, - 8.3943468 - ], - [ - -59.8194516, - 8.3938161 - ], - [ - -59.8193765, - 8.3932748 - ], - [ - -59.8193121, - 8.3929564 - ], - [ - -59.8192263, - 8.3924788 - ], - [ - -59.8195696, - 8.3923089 - ], - [ - -59.8200095, - 8.3925 - ], - [ - -59.8201811, - 8.3931368 - ], - [ - -59.8201275, - 8.3939647 - ], - [ - -59.8200095, - 8.394644 - ], - [ - -59.8195911, - 8.3951959 - ], - [ - -59.8189581, - 8.3954506 - ], - [ - -59.8181641, - 8.3957372 - ], - [ - -59.8172629, - 8.3962042 - ], - [ - -59.816166, - 8.3962748 - ], - [ - -59.8157179, - 8.3965407 - ], - [ - -59.8153557, - 8.3965886 - ], - [ - -59.8137192, - 8.3971935 - ], - [ - -59.8127486, - 8.3978144 - ], - [ - -59.8122278, - 8.398 - ], - [ - -59.8118175, - 8.3981592 - ], - [ - -59.8114313, - 8.3981434 - ], - [ - -59.8108297, - 8.3984941 - ], - [ - -59.8098724, - 8.3988336 - ], - [ - -59.8095265, - 8.3991519 - ], - [ - -59.808636, - 8.3995339 - ], - [ - -59.8081615, - 8.399873 - ], - [ - -59.8067016, - 8.4003246 - ], - [ - -59.8048494, - 8.4006708 - ], - [ - -59.8011517, - 8.4016215 - ], - [ - -59.7993252, - 8.4019182 - ], - [ - -59.7973726, - 8.4020933 - ], - [ - -59.7950571, - 8.4021486 - ], - [ - -59.7934587, - 8.4021798 - ], - [ - -59.7907613, - 8.4021256 - ], - [ - -59.7889672, - 8.4021893 - ], - [ - -59.7879801, - 8.4024699 - ], - [ - -59.7877699, - 8.40243 - ], - [ - -59.7865249, - 8.4024433 - ], - [ - -59.7855095, - 8.4024953 - ], - [ - -59.7844648, - 8.4026892 - ], - [ - -59.7836602, - 8.4026468 - ], - [ - -59.7833598, - 8.4026043 - ], - [ - -59.7831345, - 8.40253 - ], - [ - -59.7830057, - 8.4029015 - ], - [ - -59.7828233, - 8.403931 - ], - [ - -59.7826302, - 8.4044299 - ], - [ - -59.7828019, - 8.4048013 - ], - [ - -59.7832418, - 8.4050667 - ], - [ - -59.7834885, - 8.4054488 - ], - [ - -59.7829735, - 8.4057247 - ], - [ - -59.7829414, - 8.4061068 - ], - [ - -59.7828341, - 8.4063403 - ], - [ - -59.782244, - 8.4069453 - ], - [ - -59.7814665, - 8.4074239 - ], - [ - -59.7805981, - 8.4074082 - ], - [ - -59.7790575, - 8.4071576 - ], - [ - -59.7779846, - 8.4072425 - ], - [ - -59.7770512, - 8.4072106 - ], - [ - -59.7761178, - 8.4069665 - ], - [ - -59.7758067, - 8.4069559 - ], - [ - -59.7748147, - 8.4069475 - ], - [ - -59.7739077, - 8.4066031 - ], - [ - -59.7724593, - 8.4060672 - ], - [ - -59.7707647, - 8.4055073 - ], - [ - -59.7694837, - 8.4050518 - ], - [ - -59.7673057, - 8.4045894 - ], - [ - -59.7661262, - 8.4044025 - ], - [ - -59.7646431, - 8.4039461 - ], - [ - -59.7620455, - 8.4031265 - ], - [ - -59.7603801, - 8.4023623 - ], - [ - -59.7578588, - 8.4012856 - ], - [ - -59.75434, - 8.39987 - ], - [ - -59.7527414, - 8.3995085 - ], - [ - -59.7510321, - 8.3988402 - ], - [ - -59.7490391, - 8.397895 - ], - [ - -59.74894314352834, - 8.397848232307128 - ], - [ - -59.707136109606225, - 8.63387102144518 - ], - [ - -59.747998236458926, - 8.648248716248736 - ], - [ - -59.85646133909505, - 8.686412402460427 - ], - [ - -59.95020861937195, - 8.719398198558203 - ], - [ - -59.96413140600159, - 8.686412402460427 - ], - [ - -60.011878640247765, - 8.573289895093705 - ], - [ - -60.011723, - 8.5732396 - ], - [ - -60.0109184, - 8.5731017 - ], - [ - -60.0100547, - 8.5727675 - ], - [ - -60.0093037, - 8.5723326 - ], - [ - -60.0064176, - 8.5695901 - ], - [ - -60.0058597, - 8.5693249 - ], - [ - -60.0050873, - 8.5690066 - ], - [ - -60.0047439, - 8.5689589 - ], - [ - -60.0045294, - 8.5687785 - ], - [ - -60.0045133, - 8.5685451 - ], - [ - -60.0043953, - 8.568333 - ], - [ - -60.0042611, - 8.5683595 - ], - [ - -60.0041485, - 8.5683436 - ], - [ - -60.0039876, - 8.5684231 - ], - [ - -60.0038427, - 8.568333 - ], - [ - -60.0034672, - 8.5681261 - ], - [ - -60.0029039, - 8.5679086 - ], - [ - -60.0021476, - 8.5675108 - ], - [ - -60.0020135, - 8.5673251 - ], - [ - -60.0020564, - 8.5672031 - ], - [ - -60.0021797, - 8.56715 - ], - [ - -60.0024748, - 8.5672561 - ], - [ - -60.0028557, - 8.5675267 - ], - [ - -60.0031185, - 8.5675267 - ], - [ - -60.0035101, - 8.5676699 - ], - [ - -60.0037032, - 8.5677919 - ], - [ - -60.004009, - 8.5679298 - ], - [ - -60.0043041, - 8.567898 - ], - [ - -60.0045615, - 8.5678025 - ], - [ - -60.004819, - 8.5678025 - ], - [ - -60.0051194, - 8.5678502 - ], - [ - -60.0062835, - 8.5682375 - ], - [ - -60.0070775, - 8.5685451 - ], - [ - -60.0074798, - 8.5688316 - ], - [ - -60.0078124, - 8.5692613 - ], - [ - -60.0083703, - 8.5697281 - ], - [ - -60.0085956, - 8.5700994 - ], - [ - -60.0092447, - 8.5704336 - ], - [ - -60.0099689, - 8.570667 - ], - [ - -60.0109291, - 8.5708844 - ], - [ - -60.0121629, - 8.5710011 - ], - [ - -60.012789207597095, - 8.571132583506795 - ], - [ - -60.013372863311766, - 8.569749789321442 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-north-zone.json/validatePolygon.json b/packages/base-project/examples/output/gp-clip-ocean-north-zone.json/validatePolygon.json deleted file mode 100644 index e1cf571eb7..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-north-zone.json/validatePolygon.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "type": "Feature", - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -59.95020861937195, - 8.719398198558203 - ], - [ - -59.707136109606225, - 8.63387102144518 - ], - [ - -59.78678698851251, - 8.184199738096492 - ], - [ - -60.13422961546577, - 8.283416579624516 - ], - [ - -59.95020861937195, - 8.719398198558203 - ] - ] - ] - }, - "properties": { - "name": "gp-clip-ocean-north-zone.json" - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-surround-island.json/clipToLand.json b/packages/base-project/examples/output/gp-clip-ocean-surround-island.json/clipToLand.json deleted file mode 100644 index 9eb3005a91..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-surround-island.json/clipToLand.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -119.357985, - 34.016646 - ], - [ - -119.3579637, - 34.0166303 - ], - [ - -119.3579103, - 34.0166121 - ], - [ - -119.3578432, - 34.0165935 - ], - [ - -119.3577538, - 34.0166284 - ], - [ - -119.357682, - 34.016607 - ], - [ - -119.3576641, - 34.0165531 - ], - [ - -119.357686, - 34.0164486 - ], - [ - -119.357599, - 34.0164156 - ], - [ - -119.35753, - 34.016459 - ], - [ - -119.357418, - 34.016486 - ], - [ - -119.357233, - 34.016596 - ], - [ - -119.357233, - 34.016651 - ], - [ - -119.357286, - 34.01669 - ], - [ - -119.357352, - 34.016728 - ], - [ - -119.3575525, - 34.01675 - ], - [ - -119.3575759, - 34.0168503 - ], - [ - -119.357596, - 34.016887 - ], - [ - -119.357622, - 34.016904 - ], - [ - -119.357695, - 34.016904 - ], - [ - -119.357754, - 34.016876 - ], - [ - -119.3578428, - 34.016814 - ], - [ - -119.35788, - 34.016788 - ], - [ - -119.3579118, - 34.0167657 - ], - [ - -119.3579471, - 34.0167313 - ], - [ - -119.357985, - 34.016646 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-surround-island.json/clipToOcean.json b/packages/base-project/examples/output/gp-clip-ocean-surround-island.json/clipToOcean.json deleted file mode 100644 index 78de129231..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-surround-island.json/clipToOcean.json +++ /dev/null @@ -1,231 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -119.35879468917847, - 34.01683771235474 - ], - [ - -119.35766816139221, - 34.016215210941404 - ], - [ - -119.35638070106505, - 34.01642864051162 - ], - [ - -119.35575842857361, - 34.01721121101167 - ], - [ - -119.35623049736022, - 34.01778034866227 - ], - [ - -119.35746431350708, - 34.017575815258326 - ], - [ - -119.35879468917847, - 34.01683771235474 - ] - ], - [ - [ - -119.357985, - 34.016646 - ], - [ - -119.3579471, - 34.0167313 - ], - [ - -119.3579118, - 34.0167657 - ], - [ - -119.35788, - 34.016788 - ], - [ - -119.3578428, - 34.016814 - ], - [ - -119.357754, - 34.016876 - ], - [ - -119.357695, - 34.016904 - ], - [ - -119.357622, - 34.016904 - ], - [ - -119.357596, - 34.016887 - ], - [ - -119.3575759, - 34.0168503 - ], - [ - -119.3575525, - 34.01675 - ], - [ - -119.357352, - 34.016728 - ], - [ - -119.357286, - 34.01669 - ], - [ - -119.357233, - 34.016651 - ], - [ - -119.357233, - 34.016596 - ], - [ - -119.357418, - 34.016486 - ], - [ - -119.35753, - 34.016459 - ], - [ - -119.357599, - 34.0164156 - ], - [ - -119.357686, - 34.0164486 - ], - [ - -119.3576641, - 34.0165531 - ], - [ - -119.357682, - 34.016607 - ], - [ - -119.3577538, - 34.0166284 - ], - [ - -119.3578432, - 34.0165935 - ], - [ - -119.3579103, - 34.0166121 - ], - [ - -119.3579637, - 34.0166303 - ], - [ - -119.357985, - 34.016646 - ] - ], - [ - [ - -119.3573176, - 34.0169716 - ], - [ - -119.3571709, - 34.0171136 - ], - [ - -119.3570593, - 34.0171855 - ], - [ - -119.356971, - 34.0172061 - ], - [ - -119.3569118, - 34.0172027 - ], - [ - -119.3567654, - 34.0171321 - ], - [ - -119.356641, - 34.0171752 - ], - [ - -119.3564785, - 34.0171553 - ], - [ - -119.356356, - 34.0171909 - ], - [ - -119.3562955, - 34.0171325 - ], - [ - -119.356204, - 34.0171139 - ], - [ - -119.3561093, - 34.0170669 - ], - [ - -119.3561664, - 34.0170699 - ], - [ - -119.356217, - 34.0170639 - ], - [ - -119.3562748, - 34.0170555 - ], - [ - -119.356534, - 34.0170199 - ], - [ - -119.3566332, - 34.0170588 - ], - [ - -119.3568189, - 34.0170351 - ], - [ - -119.3569424, - 34.0169323 - ], - [ - -119.357256, - 34.0169036 - ], - [ - -119.3573176, - 34.0169716 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-surround-island.json/clipToOceanEez.json b/packages/base-project/examples/output/gp-clip-ocean-surround-island.json/clipToOceanEez.json deleted file mode 100644 index 78de129231..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-surround-island.json/clipToOceanEez.json +++ /dev/null @@ -1,231 +0,0 @@ -{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -119.35879468917847, - 34.01683771235474 - ], - [ - -119.35766816139221, - 34.016215210941404 - ], - [ - -119.35638070106505, - 34.01642864051162 - ], - [ - -119.35575842857361, - 34.01721121101167 - ], - [ - -119.35623049736022, - 34.01778034866227 - ], - [ - -119.35746431350708, - 34.017575815258326 - ], - [ - -119.35879468917847, - 34.01683771235474 - ] - ], - [ - [ - -119.357985, - 34.016646 - ], - [ - -119.3579471, - 34.0167313 - ], - [ - -119.3579118, - 34.0167657 - ], - [ - -119.35788, - 34.016788 - ], - [ - -119.3578428, - 34.016814 - ], - [ - -119.357754, - 34.016876 - ], - [ - -119.357695, - 34.016904 - ], - [ - -119.357622, - 34.016904 - ], - [ - -119.357596, - 34.016887 - ], - [ - -119.3575759, - 34.0168503 - ], - [ - -119.3575525, - 34.01675 - ], - [ - -119.357352, - 34.016728 - ], - [ - -119.357286, - 34.01669 - ], - [ - -119.357233, - 34.016651 - ], - [ - -119.357233, - 34.016596 - ], - [ - -119.357418, - 34.016486 - ], - [ - -119.35753, - 34.016459 - ], - [ - -119.357599, - 34.0164156 - ], - [ - -119.357686, - 34.0164486 - ], - [ - -119.3576641, - 34.0165531 - ], - [ - -119.357682, - 34.016607 - ], - [ - -119.3577538, - 34.0166284 - ], - [ - -119.3578432, - 34.0165935 - ], - [ - -119.3579103, - 34.0166121 - ], - [ - -119.3579637, - 34.0166303 - ], - [ - -119.357985, - 34.016646 - ] - ], - [ - [ - -119.3573176, - 34.0169716 - ], - [ - -119.3571709, - 34.0171136 - ], - [ - -119.3570593, - 34.0171855 - ], - [ - -119.356971, - 34.0172061 - ], - [ - -119.3569118, - 34.0172027 - ], - [ - -119.3567654, - 34.0171321 - ], - [ - -119.356641, - 34.0171752 - ], - [ - -119.3564785, - 34.0171553 - ], - [ - -119.356356, - 34.0171909 - ], - [ - -119.3562955, - 34.0171325 - ], - [ - -119.356204, - 34.0171139 - ], - [ - -119.3561093, - 34.0170669 - ], - [ - -119.3561664, - 34.0170699 - ], - [ - -119.356217, - 34.0170639 - ], - [ - -119.3562748, - 34.0170555 - ], - [ - -119.356534, - 34.0170199 - ], - [ - -119.3566332, - 34.0170588 - ], - [ - -119.3568189, - 34.0170351 - ], - [ - -119.3569424, - 34.0169323 - ], - [ - -119.357256, - 34.0169036 - ], - [ - -119.3573176, - 34.0169716 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/gp-clip-ocean-surround-island.json/validatePolygon.json b/packages/base-project/examples/output/gp-clip-ocean-surround-island.json/validatePolygon.json deleted file mode 100644 index ef93640c8f..0000000000 --- a/packages/base-project/examples/output/gp-clip-ocean-surround-island.json/validatePolygon.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "type": "Feature", - "properties": { - "name": "gp-clip-ocean-surround-island.json" - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - -119.35575842857361, - 34.01721121101167 - ], - [ - -119.35623049736022, - 34.01778034866227 - ], - [ - -119.35746431350708, - 34.017575815258326 - ], - [ - -119.35879468917847, - 34.01683771235474 - ], - [ - -119.35766816139221, - 34.016215210941404 - ], - [ - -119.35638070106505, - 34.01642864051162 - ], - [ - -119.35575842857361, - 34.01721121101167 - ] - ] - ] - } -} \ No newline at end of file diff --git a/packages/base-project/examples/output/undefined/simpleFunction.json b/packages/base-project/examples/output/undefined/simpleFunction.json deleted file mode 100644 index 6ca784df78..0000000000 --- a/packages/base-project/examples/output/undefined/simpleFunction.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "area": 29354.117174482737 -} \ No newline at end of file diff --git a/packages/base-project/examples/sketches/fsm-east-west-coll.json b/packages/base-project/examples/sketches/fsm-east-west-coll.json deleted file mode 100644 index 87afabc19a..0000000000 --- a/packages/base-project/examples/sketches/fsm-east-west-coll.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "id": 10924, - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": { - "name": "fsm-east-west", - "updatedAt": "2022-11-17T10:02:53.645Z", - "sketchClassId": "123abc", - "id": "abc123" - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [149.3793667126688, 7.033915089905491], - [167.1102326219892, 7.196404501212555], - [167.0449537138265, 7.671995147373664], - [149.3384476090506, 7.40755063883897], - [149.3793667126688, 7.033915089905491] - ] - ] - } - } - ], - "properties": { - "id": "fsm-east-west-coll", - "name": "fsm-east-west-coll", - "createdAt": "2023-01-10T17:20:33.668529+00:00", - "updatedAt": "2023-01-10T17:21:07.432889+00:00", - "description": null, - "collectionId": null, - "isCollection": true, - "sketchClassId": "119", - "userAttributes": [ - { - "label": "Description", - "value": null, - "exportId": "description", - "fieldType": "TextArea" - }, - { - "label": "Author(s)", - "value": null, - "exportId": "authors", - "fieldType": "TextArea" - } - ], - "include_12-24_nm_contiguous_zone": true - } -} diff --git a/packages/base-project/examples/sketches/fsm-east-west.json b/packages/base-project/examples/sketches/fsm-east-west.json deleted file mode 100644 index 95dbc52e9e..0000000000 --- a/packages/base-project/examples/sketches/fsm-east-west.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "type": "Feature", - "properties": { - "name": "fsm-east-west", - "updatedAt": "2022-11-17T10:02:53.645Z", - "sketchClassId": "123abc", - "id": "abc123" - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [149.3793667126688, 7.033915089905491], - [167.1102326219892, 7.196404501212555], - [167.0449537138265, 7.671995147373664], - [149.3384476090506, 7.40755063883897], - [149.3793667126688, 7.033915089905491] - ] - ] - } -} diff --git a/packages/base-project/project/geoprocessing.json b/packages/base-project/project/geoprocessing.json index f386a9f709..f520f90c5b 100644 --- a/packages/base-project/project/geoprocessing.json +++ b/packages/base-project/project/geoprocessing.json @@ -2,7 +2,22 @@ "author": "Tim Welch ", "organization": "Seasketch", "region": "us-west-2", - "clients": [], - "preprocessingFunctions": [], - "geoprocessingFunctions": [] + "clients": [ + { + "name": "TabReport", + "description": "Report with tab navigation", + "source": "src/clients/TabReport.tsx" + }, + { + "name": "SimpleReport", + "description": "Simple report", + "source": "src/clients/SimpleReport.tsx" + } + ], + "preprocessingFunctions": [ + "src/functions/clipToLand.ts", + "src/functions/clipToOcean.ts", + "src/functions/clipToOceanEez.ts" + ], + "geoprocessingFunctions": ["src/functions/simpleFunction.ts"] } From 57c3b4972a4cf5234517ff59cde48904902b9cfd Mon Sep 17 00:00:00 2001 From: Abby Vath Meyer Date: Thu, 13 Nov 2025 22:38:45 +0000 Subject: [PATCH 05/14] Include README so output directly is initialized --- packages/base-project/examples/output/README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 packages/base-project/examples/output/README.md diff --git a/packages/base-project/examples/output/README.md b/packages/base-project/examples/output/README.md new file mode 100644 index 0000000000..eed4304e7a --- /dev/null +++ b/packages/base-project/examples/output/README.md @@ -0,0 +1,3 @@ +# output + +Directory stores test output for Sketches and Sketch Features. [Learn more](https://github.com/seasketch/geoprocessing/wiki/Tutorials#create-examples) From 809f672c5b847936bcd9ed118e4262dcfbeadd15 Mon Sep 17 00:00:00 2001 From: Abby Vath Meyer Date: Thu, 13 Nov 2025 22:52:28 +0000 Subject: [PATCH 06/14] Add clients, geo and pre processing functions to geoprocessing.json on init --- .../scripts/init/createProject.test.ts | 6 ------ .../scripts/init/createProject.ts | 21 ++++++++++++++++--- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/packages/geoprocessing/scripts/init/createProject.test.ts b/packages/geoprocessing/scripts/init/createProject.test.ts index d8d9fabb64..d0f5198bfb 100644 --- a/packages/geoprocessing/scripts/init/createProject.test.ts +++ b/packages/geoprocessing/scripts/init/createProject.test.ts @@ -51,9 +51,6 @@ describe("createProject", () => { expect(gpConfig.author).toBe("Test "); expect(gpConfig.organization).toBe("Test Org"); expect(gpConfig.region).toBe("us-west-1"); - expect(gpConfig.preprocessingFunctions.length).toBe(0); - expect(gpConfig.geoprocessingFunctions.length).toBe(0); - expect(gpConfig.clients.length).toBe(0); }, 120_000); it("createProject - should create project", async () => { @@ -110,8 +107,5 @@ describe("createProject", () => { expect(gpConfig.author).toBe(""); expect(gpConfig.organization).toBe(""); expect(gpConfig.region).toBe("us-west-1"); - expect(gpConfig.preprocessingFunctions.length).toBe(0); - expect(gpConfig.geoprocessingFunctions.length).toBe(0); - expect(gpConfig.clients.length).toBe(0); }, 120_000); }); diff --git a/packages/geoprocessing/scripts/init/createProject.ts b/packages/geoprocessing/scripts/init/createProject.ts index 02ea0a3048..c8981e60f1 100644 --- a/packages/geoprocessing/scripts/init/createProject.ts +++ b/packages/geoprocessing/scripts/init/createProject.ts @@ -156,9 +156,24 @@ export async function createProject( author: geoAuthor, organization: organization || "", region, - clients: [], - preprocessingFunctions: [], - geoprocessingFunctions: [], + clients: [ + { + name: "TabReport", + description: "Report with tab navigation", + source: "src/clients/TabReport.tsx", + }, + { + name: "SimpleReport", + description: "Simple report", + source: "src/clients/SimpleReport.tsx", + }, + ], + preprocessingFunctions: [ + "src/functions/clipToLand.ts", + "src/functions/clipToOcean.ts", + "src/functions/clipToOceanEez.ts", + ], + geoprocessingFunctions: ["src/functions/simpleFunction.ts"], }, null, " ", From aaf9e4d57c02b752367665421164067ccbe43ca8 Mon Sep 17 00:00:00 2001 From: Abby Vath Meyer Date: Mon, 17 Nov 2025 22:45:54 +0000 Subject: [PATCH 07/14] Update overlapPolygonSum to use booleanIntersects --- .../geoprocessing/src/toolbox/overlapPolygonSum.ts | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/packages/geoprocessing/src/toolbox/overlapPolygonSum.ts b/packages/geoprocessing/src/toolbox/overlapPolygonSum.ts index ada183b91f..9fc20ac0bf 100644 --- a/packages/geoprocessing/src/toolbox/overlapPolygonSum.ts +++ b/packages/geoprocessing/src/toolbox/overlapPolygonSum.ts @@ -10,10 +10,9 @@ import { isSketchCollection, roundDecimal, } from "../helpers/index.js"; -import { clip } from "./clip.js"; import { createMetric } from "../metrics/index.js"; import { MultiPolygon } from "../types/geojson.js"; -import { featureCollection, truncate as truncateGeom } from "@turf/turf"; +import { booleanIntersects, truncate as truncateGeom } from "@turf/turf"; /** * Calculates area overlap between sketch(es) and an array of polygon features. @@ -132,13 +131,7 @@ export const intersectSum = ( // intersect and get sum of remainder const sketchValue = featuresB .map((curFeature, index) => { - // Optimization: can this be done with turf.booleanIntersects? - const rem = clip( - featureCollection([featureA, curFeature]), - "intersection", - ); - - if (!rem) return 0; + if (!booleanIntersects(featureA, curFeature)) return 0; indices.push(index); From c377d588160725dcd19122bffd03ee2f3680e12c Mon Sep 17 00:00:00 2001 From: Abby Vath Meyer Date: Tue, 18 Nov 2025 23:24:22 +0000 Subject: [PATCH 08/14] Support MultiPolygon in area --- packages/geoprocessing/src/toolbox/area.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/geoprocessing/src/toolbox/area.ts b/packages/geoprocessing/src/toolbox/area.ts index dd9d1e1181..171bd83cd7 100644 --- a/packages/geoprocessing/src/toolbox/area.ts +++ b/packages/geoprocessing/src/toolbox/area.ts @@ -1,4 +1,10 @@ -import { Sketch, SketchCollection, Polygon, Metric } from "../types/index.js"; +import { + Sketch, + SketchCollection, + Polygon, + MultiPolygon, + Metric, +} from "../types/index.js"; import { isSketchCollection } from "../helpers/index.js"; import { createMetric } from "../metrics/index.js"; import { featureCollection, featureEach, area as turfArea } from "@turf/turf"; @@ -9,7 +15,9 @@ import { clip } from "./clip.js"; */ export async function area( /** single sketch or collection. */ - sketch: Sketch | SketchCollection, + sketch: + | Sketch + | SketchCollection, options: { /** Optional metric identifier, defaults to 'area' */ metricId?: string; From 143cd09c4f46ecbcaca352cda9fe051f841ff255 Mon Sep 17 00:00:00 2001 From: Abby Vath Meyer Date: Wed, 19 Nov 2025 18:12:36 +0000 Subject: [PATCH 09/14] v7.0.2-beta.1 --- lerna.json | 2 +- package-lock.json | 6 +++--- packages/base-project/package.json | 4 ++-- packages/geoprocessing/package.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lerna.json b/lerna.json index 6423189c31..bebbbc475c 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,4 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "7.0.2-beta.0" + "version": "7.0.2-beta.1" } diff --git a/package-lock.json b/package-lock.json index b4515a4cfc..76d2820b18 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30276,14 +30276,14 @@ }, "packages/base-project": { "name": "@seasketch/base-project", - "version": "7.0.2-beta.0", + "version": "7.0.2-beta.1", "dependencies": { "@babel/cli": "^7.25.6", "@babel/plugin-syntax-import-attributes": "^7.25.6", "@babel/preset-env": "^7.25.4", "@babel/preset-react": "^7.24.7", "@babel/preset-typescript": "^7.24.7", - "@seasketch/geoprocessing": "^7.0.2-beta.0", + "@seasketch/geoprocessing": "^7.0.2-beta.1", "@storybook/addon-essentials": "^8.2.9", "@storybook/addon-interactions": "^8.2.9", "@storybook/addon-links": "^8.2.9", @@ -30319,7 +30319,7 @@ }, "packages/geoprocessing": { "name": "@seasketch/geoprocessing", - "version": "7.0.2-beta.0", + "version": "7.0.2-beta.1", "license": "BSD-3-Clause", "dependencies": { "@aws-sdk/client-apigatewaymanagementapi": "^3.637.0", diff --git a/packages/base-project/package.json b/packages/base-project/package.json index 3e5bed21c4..a4f962f840 100644 --- a/packages/base-project/package.json +++ b/packages/base-project/package.json @@ -1,6 +1,6 @@ { "name": "@seasketch/base-project", - "version": "7.0.2-beta.0", + "version": "7.0.2-beta.1", "description": "initial user-installed project", "private": true, "type": "module", @@ -51,7 +51,7 @@ "@babel/preset-env": "^7.25.4", "@babel/preset-react": "^7.24.7", "@babel/preset-typescript": "^7.24.7", - "@seasketch/geoprocessing": "^7.0.2-beta.0", + "@seasketch/geoprocessing": "^7.0.2-beta.1", "@storybook/addon-essentials": "^8.2.9", "@storybook/addon-interactions": "^8.2.9", "@storybook/addon-links": "^8.2.9", diff --git a/packages/geoprocessing/package.json b/packages/geoprocessing/package.json index 462344d7e3..ccdaae3151 100644 --- a/packages/geoprocessing/package.json +++ b/packages/geoprocessing/package.json @@ -1,6 +1,6 @@ { "name": "@seasketch/geoprocessing", - "version": "7.0.2-beta.0", + "version": "7.0.2-beta.1", "description": "Geoprocessing and reporting framework for SeaSketch 2.0", "type": "module", "main": "dist/src/index.js", From 2eef97a16d7b1e2c70de12e7fcbe1ed347f1d0b3 Mon Sep 17 00:00:00 2001 From: Abby Vath Meyer Date: Wed, 19 Nov 2025 20:34:32 +0000 Subject: [PATCH 10/14] Add multipolygon area test --- packages/geoprocessing/src/toolbox/area.test.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/geoprocessing/src/toolbox/area.test.ts b/packages/geoprocessing/src/toolbox/area.test.ts index fc625d968a..233a30f714 100644 --- a/packages/geoprocessing/src/toolbox/area.test.ts +++ b/packages/geoprocessing/src/toolbox/area.test.ts @@ -14,6 +14,13 @@ describe("area", () => { expect(metrics[0].value).toBeCloseTo(12_363_718_145.180_046); }); + test("area - sketch multipolygon", async () => { + const metrics = await area(fix.insideTwoByMultipolySketch); + expect(metrics.length).toBe(1); + expect(metrics[0].value).toBeCloseTo(12_363_718_145.180_046); + expect(metrics[0].metricId).toBe("area"); + }); + test("area - sketch polygon set metric id", async () => { const metrics = await area(fix.insideTwoByPolySketch, { metricId: "specialArea", From ec9157b47672d1fc95a7d774219d041b3b30e617 Mon Sep 17 00:00:00 2001 From: Abby Vath Meyer Date: Mon, 5 Jan 2026 18:46:46 +0000 Subject: [PATCH 11/14] Catch lambda timeouts and return timeout error --- .../src/hooks/useFunction.test.tsx | 208 +++++++++++++++++- .../geoprocessing/src/hooks/useFunction.ts | 45 +++- 2 files changed, 240 insertions(+), 13 deletions(-) diff --git a/packages/geoprocessing/src/hooks/useFunction.test.tsx b/packages/geoprocessing/src/hooks/useFunction.test.tsx index dffcb2dc7f..4a35cb3f36 100644 --- a/packages/geoprocessing/src/hooks/useFunction.test.tsx +++ b/packages/geoprocessing/src/hooks/useFunction.test.tsx @@ -56,7 +56,10 @@ const ContextWrapper: React.FunctionComponent<{ // }); beforeEach(() => { - fetchMock.resetHistory(); + if (fetchMock.resetHistory) { + fetchMock.resetHistory(); + } + vi.restoreAllMocks(); }); test.skip("useFunction won't accept unrecognizable responses", async () => { @@ -178,6 +181,7 @@ const TestReport = () => { interface TestContainerProps { children: React.ReactNode; + sketchProperties?: SketchProperties; } const TestContainer: React.FC = (props) => { @@ -186,7 +190,6 @@ const TestContainer: React.FC = (props) => { { { overwriteRoutes: true }, ); const { getByRole, getByText, getAllByText } = render( - // @ts-expect-error type mismatch , @@ -383,7 +385,6 @@ test.skip("useFunction uses a local cache for repeat requests", async () => { // eslint-disable-next-line @typescript-eslint/no-unused-vars const queries = render( - // @ts-expect-error type mismatch , @@ -431,3 +432,202 @@ test.skip("Exposes error to client if project metadata can't be fetched", async }); expect(result.current.error).toContain("metadata"); }); + +// Timeout functionality tests +test("useFunction shows timeout error when Lambda times out", async () => { + vi.useFakeTimers(); + useFunction.reset(); + + // Mock fetch to return project metadata then a pending task that never completes + const mockFetch = vi.fn(); + // First call: project metadata + mockFetch.mockResolvedValueOnce({ + json: () => + Promise.resolve({ + geoprocessingServices: [ + { + title: "calcFoo", + endpoint: "https://example.com/calcFoo", + executionMode: "sync", + timeout: 10, // 10 second timeout + }, + ], + preprocessingServices: [], + clients: [], + feedbackClients: [], + }), + }); + // Second call: task that stays pending (simulating a Lambda that will timeout) + mockFetch.mockResolvedValueOnce({ + json: () => + Promise.resolve({ + id: "test-task-id", + service: "calcFoo", + location: "https://example.com/calcFoo/test-task-id", + logUriTemplate: "https://example.com/calcFoo/test-task-id/logs", + geometryUri: "https://example.com/geometry/123", + status: "pending", + wss: "", + startedAt: new Date().toISOString(), + estimate: 5000, + } as GeoprocessingTask), + }); + + globalThis.fetch = mockFetch; + + const { result } = renderHook(() => useFunction("calcFoo"), { + wrapper: ContextWrapper, + }); + + expect(result.current.loading).toBe(true); + expect(result.current.error).toBeUndefined(); + + // Let initial fetches complete + await act(async () => { + await vi.advanceTimersByTimeAsync(100); + }); + + // Should still be loading (pending task) + expect(result.current.loading).toBe(true); + + // Advance time past the timeout (10s + 30s buffer = 40s) + await act(async () => { + await vi.advanceTimersByTimeAsync(41_000); + }); + + expect(result.current.loading).toBe(false); + expect(result.current.error).toContain("timed out"); + + vi.useRealTimers(); +}); + +test("useFunction clears timeout when task completes before timeout", async () => { + vi.useFakeTimers(); + useFunction.reset(); + + const mockFetch = vi.fn(); + // First call: project metadata + mockFetch.mockResolvedValueOnce({ + json: () => + Promise.resolve({ + geoprocessingServices: [ + { + title: "calcFoo", + endpoint: "https://example.com/calcFoo", + executionMode: "sync", + timeout: 60, // 60 second timeout + }, + ], + preprocessingServices: [], + clients: [], + feedbackClients: [], + }), + }); + // Second call: completed task + mockFetch.mockResolvedValueOnce({ + json: () => + Promise.resolve({ + id: "test-task-id", + service: "calcFoo", + location: "https://example.com/calcFoo/test-task-id", + logUriTemplate: "https://example.com/calcFoo/test-task-id/logs", + geometryUri: "https://example.com/geometry/123", + status: "completed", + wss: "", + startedAt: new Date().toISOString(), + duration: 1000, + estimate: 5000, + data: { result: "success" }, + } as GeoprocessingTask), + }); + + globalThis.fetch = mockFetch; + + const { result } = renderHook(() => useFunction("calcFoo"), { + wrapper: ContextWrapper, + }); + + expect(result.current.loading).toBe(true); + + // Let promises resolve + await act(async () => { + await vi.advanceTimersByTimeAsync(100); + }); + + // Task should be complete + expect(result.current.loading).toBe(false); + expect(result.current.error).toBeUndefined(); + expect(result.current.task?.status).toBe("completed"); + + // Advance past what would have been the timeout + await act(async () => { + await vi.advanceTimersByTimeAsync(100_000); + }); + + // Should still be complete, no timeout error + expect(result.current.loading).toBe(false); + expect(result.current.error).toBeUndefined(); + expect(result.current.task?.data).toEqual({ result: "success" }); + + vi.useRealTimers(); +}); + +test("useFunction clears timeout on unmount", async () => { + vi.useFakeTimers(); + useFunction.reset(); + const clearTimeoutSpy = vi.spyOn(globalThis, "clearTimeout"); + + const mockFetch = vi.fn(); + mockFetch.mockResolvedValueOnce({ + json: () => + Promise.resolve({ + geoprocessingServices: [ + { + title: "calcFoo", + endpoint: "https://example.com/calcFoo", + executionMode: "sync", + timeout: 60, + }, + ], + preprocessingServices: [], + clients: [], + feedbackClients: [], + }), + }); + mockFetch.mockResolvedValueOnce({ + json: () => + Promise.resolve({ + id: "test-task-id", + service: "calcFoo", + location: "https://example.com/calcFoo/test-task-id", + logUriTemplate: "https://example.com/calcFoo/test-task-id/logs", + geometryUri: "https://example.com/geometry/123", + status: "pending", + wss: "", + startedAt: new Date().toISOString(), + estimate: 5000, + } as GeoprocessingTask), + }); + + globalThis.fetch = mockFetch; + + const { result, unmount } = renderHook(() => useFunction("calcFoo"), { + wrapper: ContextWrapper, + }); + + // Let the timeout be set + await act(async () => { + await vi.advanceTimersByTimeAsync(100); + }); + + expect(result.current.loading).toBe(true); + + // Unmount the component + unmount(); + + // clearTimeout should have been called during cleanup + expect(clearTimeoutSpy).toHaveBeenCalled(); + + clearTimeoutSpy.mockRestore(); + vi.useRealTimers(); +}); diff --git a/packages/geoprocessing/src/hooks/useFunction.ts b/packages/geoprocessing/src/hooks/useFunction.ts index ba4048c455..50b36123c8 100644 --- a/packages/geoprocessing/src/hooks/useFunction.ts +++ b/packages/geoprocessing/src/hooks/useFunction.ts @@ -1,5 +1,5 @@ import { GeoprocessingTask, GeoprocessingTaskStatus } from "../aws/tasks.js"; -import { useState, useContext, useEffect } from "react"; +import { useState, useContext, useEffect, useRef } from "react"; import { useDeepEqualMemo } from "./useDeepEqualMemo.js"; import { ReportContext } from "../context/index.js"; import { @@ -56,12 +56,19 @@ export const useFunction = ( loading: true, }); const memoizedExtraParams = useDeepEqualMemo(extraParams); + const timeoutRef = useRef | null>(null); - let socket: WebSocket; + let socket: WebSocket | undefined; useEffect(() => { const abortController = new AbortController(); + // Clear any existing timeout from previous run + if (timeoutRef.current) { + clearTimeout(timeoutRef.current); + timeoutRef.current = null; + } + setState({ loading: true, }); @@ -79,7 +86,7 @@ export const useFunction = ( } // create a fake GeoprocessingTask record and set state, returning value setState({ - loading: context.simulateLoading ? context.simulateLoading : false, + loading: context.simulateLoading || false, task: { id: "abc123", location: "https://localhost/abc123", @@ -91,10 +98,10 @@ export const useFunction = ( startedAt: new Date().toISOString(), duration: 0, data: (data || {}).results as ResultType, - error: context.simulateError ? context.simulateError : undefined, + error: context.simulateError || undefined, estimate: 0, }, - error: context.simulateError ? context.simulateError : undefined, + error: context.simulateError || undefined, }); } else { if (!context.projectUrl && context.geometryUri) { @@ -126,6 +133,7 @@ export const useFunction = ( } let url: string; let executionMode: string; + let serviceTimeout: number | undefined; if (functionTitle.startsWith("https:")) { url = functionTitle; } else { @@ -142,6 +150,7 @@ export const useFunction = ( } url = service.endpoint; executionMode = service?.executionMode; + serviceTimeout = service?.timeout; } // fetch task/results @@ -200,6 +209,23 @@ export const useFunction = ( error: undefined, }); + // client-side timeout to detect Lambda timeouts + // uses timeout + 30s buffer or 15min default + const timeoutMs = serviceTimeout + ? serviceTimeout * 1000 + 30_000 + : 500 * 1000; + timeoutRef.current = setTimeout(() => { + setState((prev) => + prev.loading + ? { + ...prev, + loading: false, + error: `Function "${functionTitle}" timed out.`, + } + : prev, + ); + }, timeoutMs); + pendingRequest = runTask( url, payload, @@ -315,6 +341,7 @@ export const useFunction = ( // functionTitle context vars are changed, or if the component is being // unmounted return () => { + if (timeoutRef.current) clearTimeout(timeoutRef.current); abortController.abort(); }; }, [ @@ -388,7 +415,7 @@ const getSocket = ( // if task complete message received on socket (the only message type supported) // then finish the task (because results aren't sent on the socket, too big) - socket.onmessage = function (event) { + socket.addEventListener("message", function (event) { const incomingData = JSON.parse(event.data); if (event.data.timestamp) { @@ -425,18 +452,18 @@ const getSocket = ( ); } } - }; + }); socket.addEventListener("close", function () { //no op }); - socket.onerror = function () { + socket.addEventListener("error", function () { if (socket.url?.length > 0) { setState({ loading: false, error: "Error loading results. Unexpected socket error.", }); } - }; + }); return socket; }; From bb75e08133b584e2aaeff5ef4f64e06a608e7965 Mon Sep 17 00:00:00 2001 From: Abby Vath Meyer Date: Mon, 5 Jan 2026 19:48:40 +0000 Subject: [PATCH 12/14] Keep set error messages --- packages/geoprocessing/src/components/ResultsCard.tsx | 3 +-- packages/geoprocessing/src/hooks/useFunction.ts | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/geoprocessing/src/components/ResultsCard.tsx b/packages/geoprocessing/src/components/ResultsCard.tsx index 430eb1c956..ab7fbc7dc8 100644 --- a/packages/geoprocessing/src/components/ResultsCard.tsx +++ b/packages/geoprocessing/src/components/ResultsCard.tsx @@ -76,8 +76,7 @@ export function ResultsCard({ if (task && task.estimate) { taskEstimate = Math.round(task.estimate / 1000); } - - if (task && !task.data && !loading) { + if (!theError && task && !task.data && !loading) { if (task.error) { theError = task.error; } else { diff --git a/packages/geoprocessing/src/hooks/useFunction.ts b/packages/geoprocessing/src/hooks/useFunction.ts index 50b36123c8..fe8be7f48b 100644 --- a/packages/geoprocessing/src/hooks/useFunction.ts +++ b/packages/geoprocessing/src/hooks/useFunction.ts @@ -210,9 +210,9 @@ export const useFunction = ( }); // client-side timeout to detect Lambda timeouts - // uses timeout + 30s buffer or 15min default + // uses timeout + 10s buffer or 15min default const timeoutMs = serviceTimeout - ? serviceTimeout * 1000 + 30_000 + ? serviceTimeout * 1000 + 10_000 : 500 * 1000; timeoutRef.current = setTimeout(() => { setState((prev) => @@ -220,7 +220,7 @@ export const useFunction = ( ? { ...prev, loading: false, - error: `Function "${functionTitle}" timed out.`, + error: `Function timed out.`, } : prev, ); From 46af440d503d9dff4b80f760550d2f3b6fc294b4 Mon Sep 17 00:00:00 2001 From: Abby Vath Meyer Date: Tue, 6 Jan 2026 17:38:44 +0000 Subject: [PATCH 13/14] Simplify error handling in result card --- .../src/components/ResultsCard.tsx | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/packages/geoprocessing/src/components/ResultsCard.tsx b/packages/geoprocessing/src/components/ResultsCard.tsx index ab7fbc7dc8..5e195e434c 100644 --- a/packages/geoprocessing/src/components/ResultsCard.tsx +++ b/packages/geoprocessing/src/components/ResultsCard.tsx @@ -71,25 +71,18 @@ export function ResultsCard({ }; const { task, loading, error } = useFunction(functionName, extraParams); - let theError = error; let taskEstimate = 5; - if (task && task.estimate) { - taskEstimate = Math.round(task.estimate / 1000); - } - if (!theError && task && !task.data && !loading) { - if (task.error) { - theError = task.error; - } else { - theError = resultsCardNoResultMsg; - } - } + if (task?.estimate) taskEstimate = Math.round(task.estimate / 1000); + + const noResultsReturned = !loading && task && !task.data && !error; + const errored = noResultsReturned ? resultsCardNoResultMsg : error; let contents: JSX.Element; - if (theError) { + if (errored) { contents = (
- {theError}} /> + {errored}} />
); From a7eec5020a2c34e7774228643e59a5d65efcb31b Mon Sep 17 00:00:00 2001 From: Abby Vath Meyer Date: Tue, 6 Jan 2026 17:56:33 +0000 Subject: [PATCH 14/14] v7.0.2-beta.2 --- lerna.json | 2 +- package-lock.json | 6 +++--- packages/base-project/package.json | 4 ++-- packages/geoprocessing/package.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lerna.json b/lerna.json index bebbbc475c..2674a7ea6d 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,4 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "7.0.2-beta.1" + "version": "7.0.2-beta.2" } diff --git a/package-lock.json b/package-lock.json index 76d2820b18..433f0ce461 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30276,14 +30276,14 @@ }, "packages/base-project": { "name": "@seasketch/base-project", - "version": "7.0.2-beta.1", + "version": "7.0.2-beta.2", "dependencies": { "@babel/cli": "^7.25.6", "@babel/plugin-syntax-import-attributes": "^7.25.6", "@babel/preset-env": "^7.25.4", "@babel/preset-react": "^7.24.7", "@babel/preset-typescript": "^7.24.7", - "@seasketch/geoprocessing": "^7.0.2-beta.1", + "@seasketch/geoprocessing": "^7.0.2-beta.2", "@storybook/addon-essentials": "^8.2.9", "@storybook/addon-interactions": "^8.2.9", "@storybook/addon-links": "^8.2.9", @@ -30319,7 +30319,7 @@ }, "packages/geoprocessing": { "name": "@seasketch/geoprocessing", - "version": "7.0.2-beta.1", + "version": "7.0.2-beta.2", "license": "BSD-3-Clause", "dependencies": { "@aws-sdk/client-apigatewaymanagementapi": "^3.637.0", diff --git a/packages/base-project/package.json b/packages/base-project/package.json index a4f962f840..2fc298403c 100644 --- a/packages/base-project/package.json +++ b/packages/base-project/package.json @@ -1,6 +1,6 @@ { "name": "@seasketch/base-project", - "version": "7.0.2-beta.1", + "version": "7.0.2-beta.2", "description": "initial user-installed project", "private": true, "type": "module", @@ -51,7 +51,7 @@ "@babel/preset-env": "^7.25.4", "@babel/preset-react": "^7.24.7", "@babel/preset-typescript": "^7.24.7", - "@seasketch/geoprocessing": "^7.0.2-beta.1", + "@seasketch/geoprocessing": "^7.0.2-beta.2", "@storybook/addon-essentials": "^8.2.9", "@storybook/addon-interactions": "^8.2.9", "@storybook/addon-links": "^8.2.9", diff --git a/packages/geoprocessing/package.json b/packages/geoprocessing/package.json index ccdaae3151..b14e202836 100644 --- a/packages/geoprocessing/package.json +++ b/packages/geoprocessing/package.json @@ -1,6 +1,6 @@ { "name": "@seasketch/geoprocessing", - "version": "7.0.2-beta.1", + "version": "7.0.2-beta.2", "description": "Geoprocessing and reporting framework for SeaSketch 2.0", "type": "module", "main": "dist/src/index.js",