03_Core_ConceptsFile_FormatsFile Format - XYZ

File Format - XYZ

Purpose

XYZ is a bathymetry data format used by HAPI for sounding data import and export.

General Architecture

XYZ is comma-delimited and follows a Northing-Easting-Level layout. It does not carry ordinary Point Code, Point Number, Rotation, or Point Name metadata.

Delimited Anatomy

IndexFieldMeaning
[0]NorthingY-coordinate.
[1]EastingX-coordinate.
[2]Raw LevelBathymetry sounding value.

Depth Rule

The old file-format note states that positive sounding values should be inverted in memory:

Z Coordinate = Raw Level * -1.0

Forced Metadata

FieldInjected ValueReason
Point CodePTreat as a random level point.
Point Number0Dummy value; sounding points do not carry point numbers.
Rotation0No rotation is available.
Point NameEmpty stringNo point name is available.

Styling Override

XYZ bathymetry data should use depth-style treatment rather than ordinary level-style mapping. The old note states that the base Symbol Level Type should be set to Depth.

Source Basis

  • HAPI User Manual.pdf, Sections 2.3.1 and 2.3.4.
  • File Format - XYZ File.md.
Built with LogoFlowershow