use of com.revolsys.geometry.cs.GeocentricCoordinateSystem in project com.revolsys.open by revolsys.
the class EpsgCoordinateSystems method newCoordinateSystemGeocentric.
private static GeocentricCoordinateSystem newCoordinateSystemGeocentric(final int id, final String name, final Datum datum, final List<Axis> axis, final Area area, final boolean deprecated) {
final EpsgAuthority authority = new EpsgAuthority(id);
final LinearUnit linearUnit = (LinearUnit) axis.get(0).getUnit();
final GeodeticDatum geodeticDatum = (GeodeticDatum) datum;
return new GeocentricCoordinateSystem(id, name, geodeticDatum, linearUnit, axis, area, authority, deprecated);
}
Aggregations