This is only a convenience method delegating the work to the CRSFactory
.
This method has been rewritten with a more direct access to the factory.
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r15797:15798 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/CRS.java
Revision 15797 | Revision 15798 |
---|---|
// OpenGIS dependencies import org.geotools.factory.Hints; import org.geotools.referencing.crs.DefaultGeographicCRS; import org.opengis.metadata.citation.Citation; import org.opengis.referencing.Factory; import org.opengis.referencing.FactoryException; |
// OpenGIS dependencies
import org.geotools.factory.Hints;
import org.geotools.referencing.crs.DefaultGeographicCRS;
import org.geotools.referencing.factory.FactoryGroup;
import org.opengis.metadata.citation.Citation;
import org.opengis.referencing.Factory;
import org.opengis.referencing.FactoryException; |
return result; } /** * Locate for CoordinateReferenceSystem for specific code. * <p> |
return result; } /** Parse WKT into a CRS object */ public static CoordinateReferenceSystem parseWKT( String wkt ) throws FactoryException { FactoryGroup factories = new FactoryGroup(); return factories.getCRSFactory().createFromWKT( wkt ); } /** * Locate for CoordinateReferenceSystem for specific code. * <p> |