public class CrsRegistry extends Object
CoordinateReferenceSystems.
Currently, the registry is limited to EPSG-defined coordinate reference systems.
| Constructor and Description |
|---|
CrsRegistry() |
| Modifier and Type | Method and Description |
|---|---|
static CoordinateReferenceSystem |
getCoordinateRefenceSystemForEPSG(int epsgCode)
returns the
CoordinateReferenceSystem for the specified EPSG code. |
static CrsId |
getCrsIdForEPSG(int epsgCode)
Returns the
CrsId for the specified EPSG Code. |
public static CoordinateReferenceSystem getCoordinateRefenceSystemForEPSG(int epsgCode)
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 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.