Search in sources :

Example 1 with GeocentricCoordinateSystem

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);
}
Also used : GeocentricCoordinateSystem(com.revolsys.geometry.cs.GeocentricCoordinateSystem) LinearUnit(com.revolsys.geometry.cs.unit.LinearUnit) GeodeticDatum(com.revolsys.geometry.cs.datum.GeodeticDatum)

Aggregations

GeocentricCoordinateSystem (com.revolsys.geometry.cs.GeocentricCoordinateSystem)1 GeodeticDatum (com.revolsys.geometry.cs.datum.GeodeticDatum)1 LinearUnit (com.revolsys.geometry.cs.unit.LinearUnit)1