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 void
addBaseIdentifier(Identifier baseIdentifier)
Add the base identifiervoid
addBaseIdentifiers(List<Identifier> baseIdentifiers)
Add the base identifiersboolean
equals(Object obj)
GeoCoordinateReferenceSystem
getBase()
Get the base coordinate reference systemIdentifier
getBaseIdentifier(int index)
Get the base identifier at the indexList<Identifier>
getBaseIdentifiers()
Get the base identifiersString
getBaseName()
Get the base nameCRSType
getBaseType()
Get the base typeGeoDatumEnsemble
getDatumEnsemble()
Get the datum ensembleDynamic
getDynamic()
Get the dynamic coordinate reference systemGeoDatum
getGeoDatum()
Get the geodetic or geographic common datumMapProjection
getMapProjection()
Get the map projectionGeoReferenceFrame
getReferenceFrame()
Get the reference frameUnit
getUnit()
Get the unit (ellipsoidal angle)boolean
hasBaseIdentifiers()
Has base identifiersboolean
hasDatumEnsemble()
Determine if has a datum ensembleboolean
hasDynamic()
Determine if has a dynamicint
hashCode()
boolean
hasReferenceFrame()
Determine if has a reference frameboolean
hasUnit()
Has a unit (ellipsoidal angle)int
numBaseIdentifiers()
Number of base identifiersvoid
setBase(GeoCoordinateReferenceSystem base)
Set the base coordinate reference systemvoid
setBaseIdentifiers(List<Identifier> baseIdentifiers)
Set the base identifiersvoid
setBaseName(String baseName)
Set the base namevoid
setBaseType(CRSType baseType)
Set the base typevoid
setDatumEnsemble(GeoDatumEnsemble datumEnsemble)
Set the datum ensemblevoid
setDynamic(Dynamic dynamic)
Set the dynamic coordinate reference systemvoid
setMapProjection(MapProjection mapProjection)
Set the map projectionvoid
setReferenceFrame(GeoReferenceFrame referenceFrame)
Set the reference framevoid
setUnit(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:
hashCode
in classSimpleCoordinateReferenceSystem
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classSimpleCoordinateReferenceSystem
-
-