AxisType axisType = zAxis.getAxisType();
String v_crsName = "Unknown";
String v_datumName = "Unknown";
String v_datumType = null;
v_datumName = new Identification("Mean Sea Level", null, null, "EPSG:5100").getName();
if (axisType == AxisType.RadialAzimuth || axisType == AxisType.GeoZ || axisType == AxisType.RadialElevation)
v_datumType = "geoidal";
else if (axisType == AxisType.Height) {
if (!zAxis.getShortName().equalsIgnoreCase("height")) {
v_datumType = "depth";
v_crsName = new Identification("mean sea level depth", null, null, "EPSG:5715").getName();
} else {
v_datumType = "geoidal";
v_crsName = new Identification("mean sea level height", null, null, "EPSG:5714").getName();
}
} else if (axisType == AxisType.Pressure)
v_datumType = "barometric";
else
v_datumType = "other_surface";