export vector gis
export vector gis writes the input field to a GIS vector format. Supported formats include ESRI Shapefile (.shp), GML (.gml), FlatGeobuf (.fgb), GeoPackage (.gpkg), SQLite/SpatiaLite (.sqlite, .db), GMT ASCII Vectors (.gmt), MapInfo TAB (.tab), and ESRI File Geodatabase (*.gdb folders).
Shapefile, GMT, and MapInfo TAB support only one geometry type per layer, so input containing several geometry kinds (points, lines, surfaces) is written as one file per kind. Multi-layer formats such as GeoPackage and File Geodatabase can hold several layers in one file, and the Write Mode controls whether existing layers are kept, replaced, or appended to.
Field Names:
Although C Tech allows non-ASCII analyte names, ESRI does not. Acceptable shapefile field (attribute) names only allow A-Z, a-z, 0-9 and “”. When writing a shapefile, any unacceptable (non-ASCII) character will be changed to “” and a number added if there are duplicates.
If you plan to create a shapefile, it is better to change the analyte names to an ASCII equivalent that is more meaningful but uses only the acceptable character set.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | A field for output to a vector format. |
Properties
| Property | Type | Description |
|---|---|---|
| Save To Gdb | Button | Saves the output to a FileGDB directory. Opens a folder picker; the selected folder must end in .gdb. |
| Filename | File | The output filename and the vector format to write to. Supported extensions include SHP, GML, FGB, GPKG, SQLite, DB, GMT, and TAB. For FileGDB output, use the Save To Gdb button instead. |
| Layer Name | String | The layer name written to the output file. If left blank, the layer name is derived from the filename, except for File Geodatabase output, which requires an explicit name (starting with a letter, containing only letters, digits, and underscores). For Shapefile, GMT, and MapInfo TAB outputs that contain more than one geometry type, the input is split across multiple files with _points, _lines, and _tris suffixes; other formats write a single layer using this name directly. |
| Write Mode | Choice: Replace File, Replace Layer, Append Layer | Controls how the output file is written. Replace File overwrites the entire file. Replace Layer (multi-layer formats only) keeps other layers and replaces matching ones. Append Layer (multi-layer formats only) fails if the layer already exists. Single-layer formats always replace the file. |
| Features To Export | Multi-select: Points, Lines, Surfaces | Selects which geometry kinds are written: point cells, line cells, and surface (triangle) cells. Formats that support one geometry type per layer (Shapefile, GMT, MapInfo TAB) write one file per selected kind. |
| Prepend Nodal Data | Boolean | Adds the prefix “n_” before each nodal data name when writing, indicating that the nodal data has been averaged across the cell. |
| Exponentiate Log Data | Boolean | Causes any nodal or cell data with log units to be exponentiated when written out. |
| Include Average Data | Boolean | Adds four cell data components to the output file: the absolute cell number and the average coordinate of each cell in X, Y, and Z. |
| Translate By Origin | Boolean | Causes the output to be written in the user’s coordinate space. When turned off, the output will be written around the origin. |
| Coordinate System | Coordinate System | The coordinate reference system (EPSG code or ESRI WKT, e.g. the contents of a .prj file) written with the output. Without one, GIS applications have to guess. Requires Translate By Origin, since origin-relative output is not in real-world coordinates. Not applied to section profile input. |
| Export Profile Data In XY | Boolean | When the input is section profile data, writes it in XY plan orientation: X is the distance along the transect, Y is the elevation (times the Z Scale), and Z is 0. Origin translation is not applied to converted output. Ignored for world-space input. |
| Z Scale | Double | The vertical exaggeration applied to the exported coordinates: elevation is multiplied by this value in both world-space and profile output. Unlinked with a value of 1.0 by default, so true elevations are written. |