PARSES SEVERAL CSVS FILES BASED ON EXTENSION AND COLLECTS THE COLUMNS TO CREATE A DATASET¶
Parses one or more CSV files (matched by extension) and extracts coordinate columns to build a spatial dataset, using anchor markers and an index/length window to locate the relevant rows. Use this worker when you need to collect ordered 2-D or 3-D coordinate pairs from multi-file CSV sources and sort them spatially or by convex-hull ordering.
When to use¶
Classification: process.
Tagged: anchor, convex_hull, coordinate_extraction, coordinates, csv, dataset_assembly, multi_file, spatial_sort.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| File Name | file_name | scalar | — | File name pattern or path (including extension) used to locate and filter the CSV files to be parsed; leave blank to rely on default discovery behavior. | |
| Anchor Start | anchor_start | scalar | — | Row label or marker string that identifies where coordinate extraction should begin within each CSV file. | |
| Anchor End | anchor_end | scalar | — | Row label or marker string that identifies where coordinate extraction should stop within each CSV file. | |
| Starting Index | starting_index | scalar | — | Zero- or one-based integer offset from the anchor start at which column reading begins; leave blank to start immediately at the anchor row. | |
| Length | length | scalar | — | Number of rows to read after the starting index; leave blank to read all rows up to the anchor end. | |
| Plane | plane | scalar | XY | Coordinate plane (XY, XZ, or YZ) that defines which two axes are extracted from the CSV columns; defaults to XY. | |
| Repeats | repeats | string | yes | Whether repeated/duplicate coordinate rows are retained (‘yes’) or deduplicated (‘no’); defaults to ‘yes’. | |
| Sort Type | sort_type | string | spatial | Algorithm used to order the extracted coordinate points: ‘spatial’ for nearest-neighbour spatial ordering, or ‘convex_hull’ for hull-based ordering; defaults to ‘spatial’. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| csv_coord_from_anchor_output_1 | csv_coord_from_anchor_output_1 | vector | Vector dataset of ordered coordinate pairs/triplets assembled from the parsed CSV columns, ready for downstream geometry or curve processing. |
Disciplines¶
- data.dataset.ingest
- data.dataset.transform
- data.io.csv
Auto-generated from transformation schema. Worker id: csv_coord_from_anchor. Schema hash: affb04110823. Hand-curated docs in workerexamples/ override this page when present.