public final class CRS extends Static
Defined in the sis-referencing module
Modifier and Type | Method and Description |
---|---|
static CoordinateReferenceSystem |
forCode(String code)
Returns a Coordinate Reference System from the given authority code.
|
public static CoordinateReferenceSystem forCode(String code) throws NoSuchAuthorityCodeException, FactoryException
code
- The authority code.NoSuchAuthorityCodeException
- If there is no known CRS associated to the given code.FactoryException
- if the CRS creation failed for an other reason.Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.