You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -9,7 +9,8 @@ export class GeoJsonToSvgNode extends ExecutableNode {
9
9
id: "geojson-to-svg",
10
10
name: "GeoJSON to SVG",
11
11
type: "geojson-to-svg",
12
-
description: "Renders GeoJSON data into an SVG file using d3-geo with identity projection. Creates separate path elements for each geometry with appropriate styling.",
12
+
description:
13
+
"Renders GeoJSON data into an SVG file using d3-geo with identity projection. Creates separate path elements for each geometry with appropriate styling.",
13
14
tags: ["Geo","Image"],
14
15
icon: "map",
15
16
inputs: [
@@ -68,28 +69,32 @@ export class GeoJsonToSvgNode extends ExecutableNode {
68
69
{
69
70
name: "minX",
70
71
type: "number",
71
-
description: "Minimum X coordinate (left boundary) of the viewport. If not provided, auto-fits to GeoJSON extent.",
72
+
description:
73
+
"Minimum X coordinate (left boundary) of the viewport. If not provided, auto-fits to GeoJSON extent.",
72
74
required: false,
73
75
hidden: true,
74
76
},
75
77
{
76
78
name: "minY",
77
79
type: "number",
78
-
description: "Minimum Y coordinate (bottom boundary) of the viewport. If not provided, auto-fits to GeoJSON extent.",
80
+
description:
81
+
"Minimum Y coordinate (bottom boundary) of the viewport. If not provided, auto-fits to GeoJSON extent.",
79
82
required: false,
80
83
hidden: true,
81
84
},
82
85
{
83
86
name: "maxX",
84
87
type: "number",
85
-
description: "Maximum X coordinate (right boundary) of the viewport. If not provided, auto-fits to GeoJSON extent.",
88
+
description:
89
+
"Maximum X coordinate (right boundary) of the viewport. If not provided, auto-fits to GeoJSON extent.",
86
90
required: false,
87
91
hidden: true,
88
92
},
89
93
{
90
94
name: "maxY",
91
95
type: "number",
92
-
description: "Maximum Y coordinate (top boundary) of the viewport. If not provided, auto-fits to GeoJSON extent.",
96
+
description:
97
+
"Maximum Y coordinate (top boundary) of the viewport. If not provided, auto-fits to GeoJSON extent.",
93
98
required: false,
94
99
hidden: true,
95
100
},
@@ -145,7 +150,9 @@ export class GeoJsonToSvgNode extends ExecutableNode {
145
150
}
146
151
147
152
if(result.paths.length===0){
148
-
returnthis.createErrorResult("Failed to generate SVG paths from GeoJSON");
153
+
returnthis.createErrorResult(
154
+
"Failed to generate SVG paths from GeoJSON"
155
+
);
149
156
}
150
157
151
158
// Convert SVG string to Uint8Array
@@ -159,7 +166,9 @@ export class GeoJsonToSvgNode extends ExecutableNode {
159
166
});
160
167
}catch(err){
161
168
consterror=errasError;
162
-
returnthis.createErrorResult(`Error rendering GeoJSON to SVG: ${error.message}`);
169
+
returnthis.createErrorResult(
170
+
`Error rendering GeoJSON to SVG: ${error.message}`
0 commit comments