public abstract class CRSDecode extends Object
Constructor and Description |
---|
CRSDecode() |
Modifier and Type | Method and Description |
---|---|
static org.opengis.referencing.crs.CoordinateReferenceSystem |
getCRS(int epsg)
Get or create the CRS with the given code.
|
static org.opengis.referencing.crs.CoordinateReferenceSystem |
getCRS(String code)
Get or create the CRS with the given code.
|
public static org.opengis.referencing.crs.CoordinateReferenceSystem getCRS(String code) throws org.opengis.referencing.NoSuchAuthorityCodeException, org.opengis.referencing.FactoryException
code
- the CRS codeorg.opengis.referencing.NoSuchAuthorityCodeException
- if a code with an unknown authority
was suppliedorg.opengis.referencing.FactoryException
- if creation of the CRS failedpublic static org.opengis.referencing.crs.CoordinateReferenceSystem getCRS(int epsg) throws org.opengis.referencing.NoSuchAuthorityCodeException, org.opengis.referencing.FactoryException
epsg
- the EPSG code of the CRSorg.opengis.referencing.NoSuchAuthorityCodeException
- if EPSG is not known to the systemorg.opengis.referencing.FactoryException
- if creation of the CRS failedBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a