org.geolatte.geom.crs.VerticalDatum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geolatte-geom Show documentation
Show all versions of geolatte-geom Show documentation
This geoLatte-geom library offers a geometry model that conforms to the OGC Simple Features for SQL
specification.
The newest version!
package org.geolatte.geom.crs;
/**
* Vertical Datum
*
* Determines how elevation is to be interpreted. See this Wikipedia page).
* It is modeled here as in the OGC specification "OpenGIS Implementation Specification: Coordinate Transformation Services" (rev. 1.00)"
*
* Created by Karel Maesen, Geovise BVBA on 29/11/14.
*/
public class VerticalDatum extends CrsIdentifiable {
public static final VerticalDatum UNKNOWN_VERTICAL_DATUM = new VerticalDatum(CrsId.UNDEFINED, "Undefined " +
"Vertical", 0);
private final int datumType;
private final Extension extension;
/**
* Constructs an instance.
*
* @param crsId
* @param name
*/
public VerticalDatum(CrsId crsId, String name, int datumtype) {
this(crsId, name, datumtype, null);
}
/**
* Constructs an instance
* @param crsId
* @param name
* @param datumtype
*/
public VerticalDatum(CrsId crsId, String name, int datumtype, Extension extension) {
super(crsId, name);
this.datumType = datumtype;
this.extension = extension;
}
public int getDatumType() {
return this.datumType;
}
public Extension getExtension() {
return this.extension;
}
}