Package org.geolatte.geom.crs
Class ProjectedCoordinateReferenceSystem
- java.lang.Object
-
- org.geolatte.geom.crs.CrsIdentifiable
-
- org.geolatte.geom.crs.CoordinateReferenceSystem<P>
-
- org.geolatte.geom.crs.SingleCoordinateReferenceSystem<C2D>
-
- org.geolatte.geom.crs.ProjectedCoordinateReferenceSystem
-
public class ProjectedCoordinateReferenceSystem extends SingleCoordinateReferenceSystem<C2D>
A projectedCoordinateReferenceSystem.A projected coordinate reference system is a coordinate reference system derived from a two-dimensional geographic coordinate reference system by applying a map projection and using a Cartesian coordinate system. (see OGC Abstract Specifications, Topic 2: Spatial Referencing By coordinates, section 4 )
- Author:
- Karel Maesen, Geovise BVBA creation-date: 8/2/11
-
-
Constructor Summary
Constructors Constructor Description ProjectedCoordinateReferenceSystem(CrsId crsId, String name, GeographicCoordinateReferenceSystem geoCRS, Projection projection, List<CrsParameter> parameters, CartesianCoordinateSystem2D crs)Constructs aProjectedCoordinateReferenceSystem.ProjectedCoordinateReferenceSystem(CrsId crsId, String name, GeographicCoordinateReferenceSystem geoCRS, Projection projection, List<CrsParameter> parameters, CartesianCoordinateSystem2D crs, Extension extension)Constructs aProjectedCoordinateReferenceSystem.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ExtensiongetExtension()Returns an extension value by keyGeographicCoordinateReferenceSystemgetGeographicCoordinateSystem()Returns the baseGeographicCoordinateReferenceSystemof this projected reference system.List<CrsParameter>getParameters()Returns the projection parametersProjectiongetProjection()Returns the map projection for this projected cooordinate system.inthashCode()-
Methods inherited from class org.geolatte.geom.crs.SingleCoordinateReferenceSystem
isCompound
-
Methods inherited from class org.geolatte.geom.crs.CoordinateReferenceSystem
getAxis, getAxisIndex, getCoordinateDimension, getCoordinateSystem, getPositionClass, hasM, hasZ
-
Methods inherited from class org.geolatte.geom.crs.CrsIdentifiable
getCrsId, getName
-
-
-
-
Constructor Detail
-
ProjectedCoordinateReferenceSystem
public ProjectedCoordinateReferenceSystem(CrsId crsId, String name, GeographicCoordinateReferenceSystem geoCRS, Projection projection, List<CrsParameter> parameters, CartesianCoordinateSystem2D crs)
Constructs aProjectedCoordinateReferenceSystem.- Parameters:
crsId- theCrsIdthat identifies thisCoordinateReferenceSystemuniquelyname- the commonly used name for thisCoordinateReferenceSystemgeoCRS- theGeographicCoordinateReferenceSystemfor this projectionprojection- the map projection methodparameters- the projection parameters for the projection methodcrs- the 2D cartesian coordinate system for this coordinate reference system
-
ProjectedCoordinateReferenceSystem
public ProjectedCoordinateReferenceSystem(CrsId crsId, String name, GeographicCoordinateReferenceSystem geoCRS, Projection projection, List<CrsParameter> parameters, CartesianCoordinateSystem2D crs, Extension extension)
Constructs aProjectedCoordinateReferenceSystem.- Parameters:
crsId- theCrsIdthat identifies thisCoordinateReferenceSystemuniquelyname- the commonly used name for thisCoordinateReferenceSystemgeoCRS- theGeographicCoordinateReferenceSystemfor this projectionprojection- the map projection methodparameters- the projection parameters for the projection methodcrs- the 2D cartesian coordinate system for this coordinate reference systemextension- the optional extension key-value pair for thisCoordinateReferenceSystem
-
-
Method Detail
-
getParameters
public List<CrsParameter> getParameters()
Returns the projection parameters- Returns:
- a list of
CrsParameters.
-
getGeographicCoordinateSystem
public GeographicCoordinateReferenceSystem getGeographicCoordinateSystem()
Returns the baseGeographicCoordinateReferenceSystemof this projected reference system.- Returns:
-
getProjection
public Projection getProjection()
Returns the map projection for this projected cooordinate system.- Returns:
-
getExtension
public Extension getExtension()
Returns an extension value by key- Returns:
- the extension object, if any
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCoordinateReferenceSystem<C2D>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCoordinateReferenceSystem<C2D>
-
-