Skip to content

Commit 8a779a0

Browse files
authored
Remove reprojection from buffer operation (#563)
1 parent 44a0ee3 commit 8a779a0

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

packages/base/src/commands.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,7 @@ export function addCommands(
382382
model: model,
383383
sourceData: {
384384
inputLayer: selectedLayerId,
385-
bufferDistance: 10,
386-
projection: 'EPSG:4326'
385+
bufferDistance: 10
387386
},
388387
formContext: 'create',
389388
processingType: 'buffer',
@@ -444,8 +443,6 @@ export function addCommands(
444443
const options = [
445444
'-f',
446445
'GeoJSON',
447-
'-t_srs',
448-
formValues.projection,
449446
'-dialect',
450447
'SQLITE',
451448
'-sql',

packages/schema/src/schema/processing/buffer.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
"type": "number",
1414
"default": 10,
1515
"description": "The distance used for buffering the geometry (in projection units)."
16-
},
17-
"projection": {
18-
"type": "string",
19-
"description": "The spatial reference system of the buffered output.",
20-
"default": "EPSG:4326"
2116
}
2217
}
2318
}

0 commit comments

Comments
 (0)