Package mil.nga.crs.projected
Class ProjectedCoordinateReferenceSystem
- java.lang.Object
-
- mil.nga.crs.CRS
-
- mil.nga.crs.CommonCRS
-
- mil.nga.crs.CoordinateReferenceSystem
-
- mil.nga.crs.SimpleCoordinateReferenceSystem
-
- mil.nga.crs.projected.ProjectedCoordinateReferenceSystem
-
- All Implemented Interfaces:
Identifiable,ScopeExtentIdentifierRemark
public class ProjectedCoordinateReferenceSystem extends SimpleCoordinateReferenceSystem
Projected Coordinate Reference System- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description ProjectedCoordinateReferenceSystem()ConstructorProjectedCoordinateReferenceSystem(String name, String baseName, CRSType baseType, Dynamic dynamic, GeoReferenceFrame referenceFrame, MapProjection mapProjection, CoordinateSystem coordinateSystem)ConstructorProjectedCoordinateReferenceSystem(String name, String baseName, CRSType baseType, GeoDatumEnsemble datumEnsemble, MapProjection mapProjection, CoordinateSystem coordinateSystem)ConstructorProjectedCoordinateReferenceSystem(String name, String baseName, CRSType baseType, GeoReferenceFrame referenceFrame, MapProjection mapProjection, CoordinateSystem coordinateSystem)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBaseIdentifier(Identifier baseIdentifier)Add the base identifiervoidaddBaseIdentifiers(List<Identifier> baseIdentifiers)Add the base identifiersbooleanequals(Object obj)GeoCoordinateReferenceSystemgetBase()Get the base coordinate reference systemIdentifiergetBaseIdentifier(int index)Get the base identifier at the indexList<Identifier>getBaseIdentifiers()Get the base identifiersStringgetBaseName()Get the base nameCRSTypegetBaseType()Get the base typeGeoDatumEnsemblegetDatumEnsemble()Get the datum ensembleDynamicgetDynamic()Get the dynamic coordinate reference systemGeoDatumgetGeoDatum()Get the geodetic or geographic common datumMapProjectiongetMapProjection()Get the map projectionGeoReferenceFramegetReferenceFrame()Get the reference frameUnitgetUnit()Get the unit (ellipsoidal angle)booleanhasBaseIdentifiers()Has base identifiersbooleanhasDatumEnsemble()Determine if has a datum ensemblebooleanhasDynamic()Determine if has a dynamicinthashCode()booleanhasReferenceFrame()Determine if has a reference framebooleanhasUnit()Has a unit (ellipsoidal angle)intnumBaseIdentifiers()Number of base identifiersvoidsetBase(GeoCoordinateReferenceSystem base)Set the base coordinate reference systemvoidsetBaseIdentifiers(List<Identifier> baseIdentifiers)Set the base identifiersvoidsetBaseName(String baseName)Set the base namevoidsetBaseType(CRSType baseType)Set the base typevoidsetDatumEnsemble(GeoDatumEnsemble datumEnsemble)Set the datum ensemblevoidsetDynamic(Dynamic dynamic)Set the dynamic coordinate reference systemvoidsetMapProjection(MapProjection mapProjection)Set the map projectionvoidsetReferenceFrame(GeoReferenceFrame referenceFrame)Set the reference framevoidsetUnit(Unit unit)Set the unit (angle)-
Methods inherited from class mil.nga.crs.SimpleCoordinateReferenceSystem
getCoordinateSystem, setCoordinateSystem
-
Methods inherited from class mil.nga.crs.CommonCRS
addIdentifier, addIdentifiers, addUsage, addUsages, getIdentifier, getIdentifiers, getName, getRemark, getUsage, getUsages, hasIdentifiers, hasRemark, hasUsages, numIdentifiers, numUsages, setIdentifiers, setName, setRemark, setUsages
-
-
-
-
Constructor Detail
-
ProjectedCoordinateReferenceSystem
public ProjectedCoordinateReferenceSystem()
Constructor
-
ProjectedCoordinateReferenceSystem
public ProjectedCoordinateReferenceSystem(String name, String baseName, CRSType baseType, GeoReferenceFrame referenceFrame, MapProjection mapProjection, CoordinateSystem coordinateSystem)
Constructor- Parameters:
name- namebaseName- base CRS namebaseType- base coordinate reference system typereferenceFrame- reference framemapProjection- map projectioncoordinateSystem- coordinate system
-
ProjectedCoordinateReferenceSystem
public ProjectedCoordinateReferenceSystem(String name, String baseName, CRSType baseType, GeoDatumEnsemble datumEnsemble, MapProjection mapProjection, CoordinateSystem coordinateSystem)
Constructor- Parameters:
name- namebaseName- base CRS namebaseType- base coordinate reference system typedatumEnsemble- datum ensemblemapProjection- map projectioncoordinateSystem- coordinate system
-
ProjectedCoordinateReferenceSystem
public ProjectedCoordinateReferenceSystem(String name, String baseName, CRSType baseType, Dynamic dynamic, GeoReferenceFrame referenceFrame, MapProjection mapProjection, CoordinateSystem coordinateSystem)
Constructor- Parameters:
name- namebaseName- base CRS namebaseType- base coordinate reference system typedynamic- dynamicreferenceFrame- reference framemapProjection- map projectioncoordinateSystem- coordinate system
-
-
Method Detail
-
getBase
public GeoCoordinateReferenceSystem getBase()
Get the base coordinate reference system- Returns:
- base coordinate reference system
-
setBase
public void setBase(GeoCoordinateReferenceSystem base)
Set the base coordinate reference system- Parameters:
base- base coordinate reference system
-
getBaseName
public String getBaseName()
Get the base name- Returns:
- base name
-
setBaseName
public void setBaseName(String baseName)
Set the base name- Parameters:
baseName- base name
-
getBaseType
public CRSType getBaseType()
Get the base type- Returns:
- base type
-
setBaseType
public void setBaseType(CRSType baseType)
Set the base type- Parameters:
baseType- base type
-
getReferenceFrame
public GeoReferenceFrame getReferenceFrame()
Get the reference frame- Returns:
- reference frame
-
hasReferenceFrame
public boolean hasReferenceFrame()
Determine if has a reference frame- Returns:
- true if has reference frame
-
setReferenceFrame
public void setReferenceFrame(GeoReferenceFrame referenceFrame)
Set the reference frame- Parameters:
referenceFrame- reference frame
-
getDatumEnsemble
public GeoDatumEnsemble getDatumEnsemble()
Get the datum ensemble- Returns:
- datum ensemble
-
hasDatumEnsemble
public boolean hasDatumEnsemble()
Determine if has a datum ensemble- Returns:
- true if has datum ensemble
-
setDatumEnsemble
public void setDatumEnsemble(GeoDatumEnsemble datumEnsemble)
Set the datum ensemble- Parameters:
datumEnsemble- datum ensemble
-
getDynamic
public Dynamic getDynamic()
Get the dynamic coordinate reference system- Returns:
- dynamic coordinate reference system
-
hasDynamic
public boolean hasDynamic()
Determine if has a dynamic- Returns:
- true if has dynamic
-
setDynamic
public void setDynamic(Dynamic dynamic)
Set the dynamic coordinate reference system- Parameters:
dynamic- dynamic coordinate reference system
-
getGeoDatum
public GeoDatum getGeoDatum()
Get the geodetic or geographic common datum- Returns:
- geo datum
-
getBaseIdentifiers
public List<Identifier> getBaseIdentifiers()
Get the base identifiers- Returns:
- base identifiers
-
hasBaseIdentifiers
public boolean hasBaseIdentifiers()
Has base identifiers- Returns:
- true if has base identifiers
-
numBaseIdentifiers
public int numBaseIdentifiers()
Number of base identifiers- Returns:
- base identifiers count
-
getBaseIdentifier
public Identifier getBaseIdentifier(int index)
Get the base identifier at the index- Parameters:
index- base identifier index- Returns:
- base identifier
-
setBaseIdentifiers
public void setBaseIdentifiers(List<Identifier> baseIdentifiers)
Set the base identifiers- Parameters:
baseIdentifiers- base identifiers
-
addBaseIdentifier
public void addBaseIdentifier(Identifier baseIdentifier)
Add the base identifier- Parameters:
baseIdentifier- base identifier
-
addBaseIdentifiers
public void addBaseIdentifiers(List<Identifier> baseIdentifiers)
Add the base identifiers- Parameters:
baseIdentifiers- base identifiers
-
getUnit
public Unit getUnit()
Get the unit (ellipsoidal angle)- Returns:
- unit (ellipsoidal angle)
-
hasUnit
public boolean hasUnit()
Has a unit (ellipsoidal angle)- Returns:
- true if has unit (ellipsoidal angle)
-
setUnit
public void setUnit(Unit unit)
Set the unit (angle)- Parameters:
unit- unit (ellipsoidal angle)
-
getMapProjection
public MapProjection getMapProjection()
Get the map projection- Returns:
- map projection
-
setMapProjection
public void setMapProjection(MapProjection mapProjection)
Set the map projection- Parameters:
mapProjection- map projection
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSimpleCoordinateReferenceSystem
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classSimpleCoordinateReferenceSystem
-
-