public class CrsRegistry extends Object
CoordinateReferenceSystem
s.
Currently, the registry is limited to EPSG-defined coordinate reference systems.
Constructor and Description |
---|
CrsRegistry() |
Modifier and Type | Method and Description |
---|---|
static CoordinateReferenceSystem<?> |
getCoordinateReferenceSystemForEPSG(int epsgCode,
CoordinateReferenceSystem<?> fallback)
returns the
CoordinateReferenceSystem for the specified EPSG code. |
static CrsId |
getCrsIdForEPSG(int epsgCode)
Returns the
CrsId for the specified EPSG Code. |
static Geographic2DCoordinateReferenceSystem |
getGeographicCoordinateReferenceSystemForEPSG(int epsgCode) |
static ProjectedCoordinateReferenceSystem |
getProjectedCoordinateReferenceSystemForEPSG(int epsgCode) |
public static CoordinateReferenceSystem<?> getCoordinateReferenceSystemForEPSG(int epsgCode, CoordinateReferenceSystem<?> fallback)
CoordinateReferenceSystem
for the specified EPSG code.epsgCode
- the EPSG codeCoordinateReferenceSystem
corresponding to the specified EPSG code, or null if
no such system is registered.public static Geographic2DCoordinateReferenceSystem getGeographicCoordinateReferenceSystemForEPSG(int epsgCode)
public static ProjectedCoordinateReferenceSystem getProjectedCoordinateReferenceSystemForEPSG(int epsgCode)
public static CrsId getCrsIdForEPSG(int epsgCode)
CrsId
for the specified EPSG Code.epsgCode
- the EPSG codeCrsId
corresponding to the specified EPSG code, or null if
no such system is registered.Copyright © 2015 geolatte.org. All rights reserved.