In Last Week's Post I covered the basics of AutoChart Custom Formats, so today I'll continue with the subject and discuss specific examples of the various data types and how the Custom Format ini file should be set up to read in external ASCII data sources.
As explained in the previous post, the Custom Format ini file is a Text file that defines which column of the data file holds particular fields. The Header of the ini file defines what delimiter is used within the data file and also if there are any header lines at the beginning of the data that should be skipped. Any numerical fields can also have a unit multiplier or a multiplier value applied when the data is imported.
Custom formats are available for Events, Profile, Route, Soundings, SBP and Track data types.
AutoChart expects certain record data columns to be named in a specific manner in order to correctly ascertain the type of data they contain:
ALL CUSTOM FORMATS
- Easting
- Northing
- Latitude
- Longitude
- Kp
NOTE: X/Y Positional Data should be EITHER Easting/Northing OR Latitude/Longitude. If both formats are specified in the Custom ini file then the data will be plotted based on the Easting/Northing values. Profile type data can be imported by KP value or by XY positional data that is recalculated against the specified Route entity.
EVENTS FORMATS
- Primary
- Secondary
- Comment
- Anomaly
NOTE: The use of numerical formatting in Event Text is limited to specific Field Names that are defined within AutoChart as numerical field values. These Fields are:
- Kp
- Length
- Width
- Height
All other fields are dealt with as strings and the Event Text will be formatted as it appears within the data file.
ROUTE FORMATS
- Description
- Fix
- Name
- Depth
Any profile names can be used and these will appear in the list of available data in the Create Profile Command. However, to use the 'Hatch Pipe' functionality, AutoChart expects the following Column Names to be used and to exist in the data file:
- Top of Pipe
- Bottom of Pipe
Additionally, with the Profile Formats an optional line can be added to the ini file header to prevent the profile polyline being drawn between consecutive points when the distance between them exceeds a specified value. the Header line that should be added is
#BreakOnDistance,x
where x is the required break interval in drawing units (i.e. metres/feet). See the Profile ini example below.
SUB-BOTTOM FORMATS
- Depth
- TagName
- Node
- Description (optional)
Note that only 'Tag Name/Node' type data (such as a derivative of the Coda Octopus type format) can be used with a SBP Custom Format ini File.
Node values for a horizon should be 'S' (for start of horizon), 'I' (for intermediate points on the horizon) and 'E' (for End of Horizon). Point values can be denoted by use of an 'S' or 'E' node value, or by any other value (e.g. 'P') outside of a normal horizon definition. Depth values should be relative to the Seabed.
If a 'Description' field is used in the ini file then the values contained by this field will be added to the points and horizon vertices.
Ini Files Examples: