@Test public void parseWKT() throws Exception { String[] wkts = { "PROJCS[\"Wagner_IV\", GEOGCS[\"WGS84\", DATUM[\"WGS84\", SPHEROID[\"WGS84\", 6378137.0, 298.257223563]], PRIMEM[\"Greenwich\", 0.0], UNIT[\"degree\",0.017453292519943295], AXIS[\"Longitude\",EAST], AXIS[\"Latitude\",NORTH]], PROJECTION[\"Wagner_IV\"], UNIT[\"m\", 1.0], AXIS[\"Easting\", EAST], AXIS[\"Northing\", NORTH]]", "PROJCS[\"Wagner_V\", GEOGCS[\"WGS84\", DATUM[\"WGS84\", SPHEROID[\"WGS84\", 6378137.0, 298.257223563]], PRIMEM[\"Greenwich\", 0.0], UNIT[\"degree\",0.017453292519943295], AXIS[\"Longitude\",EAST], AXIS[\"Latitude\",NORTH]], PROJECTION[\"Wagner_V\"], UNIT[\"m\", 1.0], AXIS[\"Easting\", EAST], AXIS[\"Northing\", NORTH]]" }; for (String wkt : wkts) { assertNotNull(CRS.parseWKT(wkt)); } }
public static CoordinateReferenceSystem parseWKT(final String wkt) throws FactoryException { return ReferencingFactoryFinder.getCRSFactory(null).createFromWKT(wkt); }
CRS { public static CoordinateReferenceSystem parseWKT(final String wkt) throws FactoryException { return ReferencingFactoryFinder.getCRSFactory(null).createFromWKT(wkt); } }
CRS { public static CoordinateReferenceSystem parseWKT(final String wkt) throws FactoryException { return ReferencingFactoryFinder.getCRSFactory(null).createFromWKT(wkt); } private  CRS(); }
CRS { public static CoordinateReferenceSystem parseWKT(final String wkt) throws FactoryException { return ReferencingFactoryFinder.getCRSFactory(null).createFromWKT(wkt); } private  CRS(); static synchronized CRSAuthorityFactory getAuthorityFactory(final boolean longitudeFirst); static CoordinateOperationFactory getCoordinateOperationFactory(final boolean lenient); static Version getVersion(final String authority); static Set<String> getSupportedCodes(final String authority); static Set<String> getSupportedAuthorities(final boolean returnAliases); static CoordinateReferenceSystem decode(final String code); static CoordinateReferenceSystem decode(String code, final boolean longitudeFirst); static CoordinateReferenceSystem parseWKT(final String wkt); static Envelope getEnvelope(final CoordinateReferenceSystem crs); static GeographicBoundingBox getGeographicBoundingBox(
            final CoordinateReferenceSystem crs); static SingleCRS getHorizontalCRS(final CoordinateReferenceSystem crs); static ProjectedCRS getProjectedCRS(final CoordinateReferenceSystem crs); static MapProjection getMapProjection(final CoordinateReferenceSystem crs); static VerticalCRS getVerticalCRS(final CoordinateReferenceSystem crs); static TemporalCRS getTemporalCRS(final CoordinateReferenceSystem crs); static Ellipsoid getEllipsoid(final CoordinateReferenceSystem crs); static boolean equalsIgnoreMetadata(final Object object1, final Object object2); static boolean isTransformationRequired(
            CoordinateReferenceSystem source, CoordinateReferenceSystem target); static String toSRS(final CoordinateReferenceSystem crs); static String toSRS(final CoordinateReferenceSystem crs, boolean codeOnly); static String lookupIdentifier(final IdentifiedObject object, final boolean fullScan); static String lookupIdentifier(
            final Citation authority, final CoordinateReferenceSystem crs, final boolean fullScan); static Integer lookupEpsgCode(
            final CoordinateReferenceSystem crs, final boolean fullScan); static MathTransform findMathTransform(
            final CoordinateReferenceSystem sourceCRS, final CoordinateReferenceSystem targetCRS); static MathTransform findMathTransform(
            final CoordinateReferenceSystem sourceCRS,
            final CoordinateReferenceSystem targetCRS,
            boolean lenient); static GeneralEnvelope transform(
            Envelope envelope, final CoordinateReferenceSystem targetCRS); static GeneralEnvelope transform(final MathTransform transform, final Envelope envelope); static GeneralEnvelope transform(
            final CoordinateOperation operation, final Envelope envelope); static Rectangle2D transform(
            final MathTransform2D transform, final Rectangle2D envelope, Rectangle2D destination); static Rectangle2D transform(
            final CoordinateOperation operation,
            final Rectangle2D envelope,
            Rectangle2D destination); static void reset(final String aspects); static void cleanupThreadLocals(); static AxisOrder getAxisOrder(CoordinateReferenceSystem crs); static AxisOrder getAxisOrder(CoordinateReferenceSystem crs, boolean useBaseGeoCRS); static void main(final String[] args); }
CRS { public static CoordinateReferenceSystem parseWKT(final String wkt) throws FactoryException { return ReferencingFactoryFinder.getCRSFactory(null).createFromWKT(wkt); } private  CRS(); static synchronized CRSAuthorityFactory getAuthorityFactory(final boolean longitudeFirst); static CoordinateOperationFactory getCoordinateOperationFactory(final boolean lenient); static Version getVersion(final String authority); static Set<String> getSupportedCodes(final String authority); static Set<String> getSupportedAuthorities(final boolean returnAliases); static CoordinateReferenceSystem decode(final String code); static CoordinateReferenceSystem decode(String code, final boolean longitudeFirst); static CoordinateReferenceSystem parseWKT(final String wkt); static Envelope getEnvelope(final CoordinateReferenceSystem crs); static GeographicBoundingBox getGeographicBoundingBox(
            final CoordinateReferenceSystem crs); static SingleCRS getHorizontalCRS(final CoordinateReferenceSystem crs); static ProjectedCRS getProjectedCRS(final CoordinateReferenceSystem crs); static MapProjection getMapProjection(final CoordinateReferenceSystem crs); static VerticalCRS getVerticalCRS(final CoordinateReferenceSystem crs); static TemporalCRS getTemporalCRS(final CoordinateReferenceSystem crs); static Ellipsoid getEllipsoid(final CoordinateReferenceSystem crs); static boolean equalsIgnoreMetadata(final Object object1, final Object object2); static boolean isTransformationRequired(
            CoordinateReferenceSystem source, CoordinateReferenceSystem target); static String toSRS(final CoordinateReferenceSystem crs); static String toSRS(final CoordinateReferenceSystem crs, boolean codeOnly); static String lookupIdentifier(final IdentifiedObject object, final boolean fullScan); static String lookupIdentifier(
            final Citation authority, final CoordinateReferenceSystem crs, final boolean fullScan); static Integer lookupEpsgCode(
            final CoordinateReferenceSystem crs, final boolean fullScan); static MathTransform findMathTransform(
            final CoordinateReferenceSystem sourceCRS, final CoordinateReferenceSystem targetCRS); static MathTransform findMathTransform(
            final CoordinateReferenceSystem sourceCRS,
            final CoordinateReferenceSystem targetCRS,
            boolean lenient); static GeneralEnvelope transform(
            Envelope envelope, final CoordinateReferenceSystem targetCRS); static GeneralEnvelope transform(final MathTransform transform, final Envelope envelope); static GeneralEnvelope transform(
            final CoordinateOperation operation, final Envelope envelope); static Rectangle2D transform(
            final MathTransform2D transform, final Rectangle2D envelope, Rectangle2D destination); static Rectangle2D transform(
            final CoordinateOperation operation,
            final Rectangle2D envelope,
            Rectangle2D destination); static void reset(final String aspects); static void cleanupThreadLocals(); static AxisOrder getAxisOrder(CoordinateReferenceSystem crs); static AxisOrder getAxisOrder(CoordinateReferenceSystem crs, boolean useBaseGeoCRS); static void main(final String[] args);  }