Tool reference
Convert Text to Numeric
Convert text-like numeric attributes into numeric values
Parameters
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| Input Layer | dropdown | The input layer to convert | — | — |
| Input Field Name | text | The text field to parse | — | — |
| Output Field Name | text | The numeric field to write | — | — |
| Overwrite Existing Field | boolean | Overwrite existing values in the output field | false | — |
| Use AI Fallback | boolean | Use AI when rules-based parsing fails | true | — |
Inputs / Outputs / State behavior
State mode: featureCollection · Mutates state: yes · Produces artifacts: no
Inputs
- featureCollection → featureCollection · Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon · honors selection
Outputs
- featureCollection → update · preserved
Spec JSON
{
"key": "ConvertTextToNumericTool",
"name": "Convert Text to Numeric",
"description": "Convert text-like numeric attributes into numeric values",
"headlessSupported": true,
"parameters": [
{
"name": "Input Layer",
"description": "The input layer to convert",
"type": "dropdown",
"defaultValue": ""
},
{
"name": "Input Field Name",
"description": "The text field to parse",
"type": "text",
"defaultValue": "",
"required": true
},
{
"name": "Output Field Name",
"description": "The numeric field to write",
"type": "text",
"defaultValue": "",
"required": true
},
{
"name": "Overwrite Existing Field",
"description": "Overwrite existing values in the output field",
"type": "boolean",
"defaultValue": false
},
{
"name": "Use AI Fallback",
"description": "Use AI when rules-based parsing fails",
"type": "boolean",
"defaultValue": true
}
],
"execution": {
"stateMode": "featureCollection",
"inputs": [
{
"kind": "featureCollection",
"geometryTypes": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon"
],
"cardinality": "many",
"selectionAware": true
}
],
"outputs": [
{
"kind": "featureCollection",
"operation": "update",
"geometryType": "preserved"
}
],
"mutatesState": true,
"producesArtifacts": false
}
}