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
fix(processing): honor WASM tool defaults and offer attribute pickers for field parameters
Fixes#1458Fixes#1459
Points Along Lines dropped every line's endpoint and gave no hint that its
spacing is measured in degrees, and Points To Line made the user type a column
name from memory. Both are Processing toolbox issues in local (WASM) mode.
Honor the WASM manifest's defaults. `manifestToWhiteboxTool` discarded the
manifest's `defaults` map, so the dialog fell back to `false` for every bool.
`points_along_lines` documents "Include line endpoints (default true)" but
rendered as an unchecked box and sent `--include_end=false`: on the reporter's
0.36-degree line, spacing 0.1 produced 3 points instead of 4, and 0.2 produced a
single point, which reads as "nothing happens". 1028 optional parameters across
the catalog gain their documented default, 103 of them bools documented as true.
The map doubles as the tool's example invocation, so dataset and required
entries are dropped: `points_along_lines` lists `input: "lines.shp"` and
`spacing: 50` next to the one real default, and prefilling those would offer a
path that does not exist and an arbitrary value for a required distance. A
parameter the manifest leaves undefaulted now falls back to the catalog's
default, so WASM mode opens a tool with the same values the sidecar would.
State the coordinate units. Vector inputs reach the WASM runner as GeoJSON,
which RFC 7946 fixes to WGS84, so a distance, spacing or tolerance parameter is
in degrees. Nothing said so, which is how a spacing of 0.1 (about 11 km) yielded
a handful of points on a city-scale line. The parameter list now carries a note
with the degree-to-metre scale.
Offer the layer's columns for a field parameter. A `*_field` / `*_attribute`
string parameter names a column of one of the tool's vector inputs, matched on
the name suffix so this covers ~170 tools rather than a hard-coded list. The
picker is filled from the layer chosen for the vector input the parameter names,
resolved by longest leading name segment for a multi-input tool and falling back
to the union of every selected input's columns when the names do not line up.
The text box stays editable alongside it, so a file-path input or a column the
property sample missed still works.
Verified in the browser against the reporter's coordinates, in both themes:
Points To Line now lists Lat/Lon/Label/DT for both attribute parameters, and
Points Along Lines opens with "Include line endpoints" checked and returns 4
points at spacing 0.1.
Copy file name to clipboardExpand all lines: apps/geolibre-desktop/src/i18n/locales/ar.json
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3328,7 +3328,10 @@
3328
3328
"noParameters": "لا تحتوي هذه الأداة على معاملات.",
3329
3329
"noOutput": "لا يوجد ناتج بعد.",
3330
3330
"enabled": "مُفعّل",
3331
-
"requiredSuffix": " | مطلوب"
3331
+
"requiredSuffix": " | مطلوب",
3332
+
"selectField": "اختر حقلاً",
3333
+
"fieldName": "اسم الحقل",
3334
+
"vectorUnitsNote": "تُقرأ الطبقات الشعاعية بنظام WGS84، لذا تكون قيم المسافة والتباعد والتسامح بالدرجات وليس بالأمتار. تعادل الدرجة الواحدة نحو 111 كم، و0.001 درجة نحو 111 مترًا."
Copy file name to clipboardExpand all lines: apps/geolibre-desktop/src/i18n/locales/de.json
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3113,7 +3113,10 @@
3113
3113
"noParameters": "Dieses Werkzeug hat keine Parameter.",
3114
3114
"noOutput": "Noch keine Ausgabe.",
3115
3115
"enabled": "Aktiviert",
3116
-
"requiredSuffix": " | erforderlich"
3116
+
"requiredSuffix": " | erforderlich",
3117
+
"selectField": "Feld auswählen",
3118
+
"fieldName": "Feldname",
3119
+
"vectorUnitsNote": "Vektorebenen werden als WGS84 gelesen, daher sind Abstands-, Raster- und Toleranzwerte in Grad angegeben, nicht in Metern. 1° entspricht etwa 111 km und 0,001° etwa 111 m."
3117
3120
},
3118
3121
"sidecar": {
3119
3122
"unavailableTitle": "Der Verarbeitungsserver ist nicht verfügbar.",
Copy file name to clipboardExpand all lines: apps/geolibre-desktop/src/i18n/locales/en.json
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3267,7 +3267,10 @@
3267
3267
"noParameters": "This tool has no parameters.",
3268
3268
"noOutput": "No output yet.",
3269
3269
"enabled": "Enabled",
3270
-
"requiredSuffix": " | required"
3270
+
"requiredSuffix": " | required",
3271
+
"selectField": "Select a field",
3272
+
"fieldName": "Field name",
3273
+
"vectorUnitsNote": "Vector layers are read as WGS84, so distance, spacing and tolerance values are in degrees, not meters. 1° is about 111 km, and 0.001° is about 111 m."
3271
3274
},
3272
3275
"sidecar": {
3273
3276
"unavailableTitle": "The processing server isn't available.",
Copy file name to clipboardExpand all lines: apps/geolibre-desktop/src/i18n/locales/es.json
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3124,7 +3124,10 @@
3124
3124
"noParameters": "Esta herramienta no tiene parámetros.",
3125
3125
"noOutput": "Aún no hay salida.",
3126
3126
"enabled": "Activado",
3127
-
"requiredSuffix": " | obligatorio"
3127
+
"requiredSuffix": " | obligatorio",
3128
+
"selectField": "Seleccione un campo",
3129
+
"fieldName": "Nombre del campo",
3130
+
"vectorUnitsNote": "Las capas vectoriales se leen como WGS84, por lo que los valores de distancia, espaciado y tolerancia están en grados, no en metros. 1° equivale a unos 111 km y 0,001° a unos 111 m."
3128
3131
},
3129
3132
"sidecar": {
3130
3133
"unavailableTitle": "El servidor de procesamiento no está disponible.",
Copy file name to clipboardExpand all lines: apps/geolibre-desktop/src/i18n/locales/fr.json
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3113,7 +3113,10 @@
3113
3113
"noParameters": "Cet outil n'a aucun paramètre.",
3114
3114
"noOutput": "Pas encore de sortie.",
3115
3115
"enabled": "Activé",
3116
-
"requiredSuffix": " | requis"
3116
+
"requiredSuffix": " | requis",
3117
+
"selectField": "Sélectionner un champ",
3118
+
"fieldName": "Nom du champ",
3119
+
"vectorUnitsNote": "Les couches vectorielles sont lues en WGS84 : les valeurs de distance, d'espacement et de tolérance sont donc exprimées en degrés, et non en mètres. 1° vaut environ 111 km et 0,001° environ 111 m."
3117
3120
},
3118
3121
"sidecar": {
3119
3122
"unavailableTitle": "Le serveur de traitement n'est pas disponible.",
Copy file name to clipboardExpand all lines: apps/geolibre-desktop/src/i18n/locales/hi.json
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3113,7 +3113,10 @@
3113
3113
"noParameters": "इस टूल में कोई पैरामीटर नहीं है।",
3114
3114
"noOutput": "अभी कोई आउटपुट नहीं।",
3115
3115
"enabled": "सक्षम",
3116
-
"requiredSuffix": " | आवश्यक"
3116
+
"requiredSuffix": " | आवश्यक",
3117
+
"selectField": "फ़ील्ड चुनें",
3118
+
"fieldName": "फ़ील्ड नाम",
3119
+
"vectorUnitsNote": "वेक्टर लेयर WGS84 के रूप में पढ़ी जाती हैं, इसलिए दूरी, अंतराल और सहनशीलता के मान मीटर में नहीं, डिग्री में होते हैं। 1° लगभग 111 किमी और 0.001° लगभग 111 मीटर के बराबर है।"
3117
3120
},
3118
3121
"sidecar": {
3119
3122
"unavailableTitle": "प्रोसेसिंग सर्वर उपलब्ध नहीं है।",
Copy file name to clipboardExpand all lines: apps/geolibre-desktop/src/i18n/locales/id.json
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3059,7 +3059,10 @@
3059
3059
"noParameters": "Alat ini tidak memiliki parameter.",
3060
3060
"noOutput": "Belum ada keluaran.",
3061
3061
"enabled": "Aktif",
3062
-
"requiredSuffix": " | wajib"
3062
+
"requiredSuffix": " | wajib",
3063
+
"selectField": "Pilih bidang",
3064
+
"fieldName": "Nama bidang",
3065
+
"vectorUnitsNote": "Lapisan vektor dibaca sebagai WGS84, sehingga nilai jarak, spasi, dan toleransi dinyatakan dalam derajat, bukan meter. 1° kira-kira 111 km dan 0,001° kira-kira 111 m."
3063
3066
},
3064
3067
"sidecar": {
3065
3068
"unavailableTitle": "Server pemrosesan tidak tersedia.",
Copy file name to clipboardExpand all lines: apps/geolibre-desktop/src/i18n/locales/it.json
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3113,7 +3113,10 @@
3113
3113
"noParameters": "Questo strumento non ha parametri.",
3114
3114
"noOutput": "Nessun output ancora.",
3115
3115
"enabled": "Attivato",
3116
-
"requiredSuffix": " | obbligatorio"
3116
+
"requiredSuffix": " | obbligatorio",
3117
+
"selectField": "Seleziona un campo",
3118
+
"fieldName": "Nome del campo",
3119
+
"vectorUnitsNote": "I livelli vettoriali vengono letti come WGS84, quindi i valori di distanza, spaziatura e tolleranza sono in gradi, non in metri. 1° corrisponde a circa 111 km e 0,001° a circa 111 m."
3117
3120
},
3118
3121
"sidecar": {
3119
3122
"unavailableTitle": "Il server di elaborazione non è disponibile.",
0 commit comments