From 632d6d45409c28a437823ef075086906c8c9fddb Mon Sep 17 00:00:00 2001 From: Matt Fisher Date: Thu, 20 Mar 2025 09:38:46 -0600 Subject: [PATCH 1/2] Remove reprojection from buffer operation --- packages/base/src/commands.ts | 3 --- packages/schema/src/schema/processing/buffer.json | 5 ----- 2 files changed, 8 deletions(-) diff --git a/packages/base/src/commands.ts b/packages/base/src/commands.ts index 1a54d3a19..1c463fea6 100644 --- a/packages/base/src/commands.ts +++ b/packages/base/src/commands.ts @@ -383,7 +383,6 @@ export function addCommands( sourceData: { inputLayer: selectedLayerId, bufferDistance: 10, - projection: 'EPSG:4326' }, formContext: 'create', processingType: 'buffer', @@ -444,8 +443,6 @@ export function addCommands( const options = [ '-f', 'GeoJSON', - '-t_srs', - formValues.projection, '-dialect', 'SQLITE', '-sql', diff --git a/packages/schema/src/schema/processing/buffer.json b/packages/schema/src/schema/processing/buffer.json index dd12abcc5..88f9f7884 100644 --- a/packages/schema/src/schema/processing/buffer.json +++ b/packages/schema/src/schema/processing/buffer.json @@ -13,11 +13,6 @@ "type": "number", "default": 10, "description": "The distance used for buffering the geometry (in projection units)." - }, - "projection": { - "type": "string", - "description": "The spatial reference system of the buffered output.", - "default": "EPSG:4326" } } } From 55598ff22a7f2182324468cc510635f7e0239cbf Mon Sep 17 00:00:00 2001 From: Matt Fisher Date: Thu, 20 Mar 2025 09:43:15 -0600 Subject: [PATCH 2/2] Lint :bell: --- packages/base/src/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/base/src/commands.ts b/packages/base/src/commands.ts index 1c463fea6..cee8fa05d 100644 --- a/packages/base/src/commands.ts +++ b/packages/base/src/commands.ts @@ -382,7 +382,7 @@ export function addCommands( model: model, sourceData: { inputLayer: selectedLayerId, - bufferDistance: 10, + bufferDistance: 10 }, formContext: 'create', processingType: 'buffer',