public class ReferencingFactoryContainer extends ReferencingFactory
LOGGERhints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority| Constructor and Description |
|---|
ReferencingFactoryContainer(Hints userHints)
Creates an instance from the specified hints.
|
ensureNonNull, getVendoraddImplementationHints, equals, getPriority, hashCode, onDeregistration, onRegistration, toStringpublic ReferencingFactoryContainer(Hints userHints)
CRS, CS, DATUM and
MATH_TRANSFORM FACTORY hints.
This constructor is public mainly for FactoryCreator
usage. Consider invoking createInstance(userHints)
instead.
userHints - The hints, or null if none.public static ReferencingFactoryContainer instance(Hints hints)
CRS, CS, DATUM and
MATH_TRANSFORM FACTORY hints.hints - The hints, or null if none.public Map<RenderingHints.Key,?> getImplementationHints()
CRS, CS, DATUM and
MATH_TRANSFORM FACTORY hints.getImplementationHints in interface FactorygetImplementationHints in class AbstractFactorypublic DatumFactory getDatumFactory()
public CSFactory getCSFactory()
public CRSFactory getCRSFactory()
public MathTransformFactory getMathTransformFactory()
@Deprecated public OperationMethod getOperationMethod(String name) throws NoSuchIdentifierException
DefaultMathTransformFactory.getOperationMethod(java.lang.String). This method was
inefficient for other implementations.name - The case insensitive identifier code of the operation method to search for (e.g. "Transverse_Mercator").NoSuchIdentifierException - if there is no operation method registered for the
specified name.DefaultMathTransformFactory.getOperationMethod(java.lang.String)@Deprecated public OperationMethod getLastUsedMethod()
MathTransformFactory interface.create method in the currently
running thread. This method may be invoked after any of the following methods:
create method, or null if
none.MathTransformFactory.getLastMethodUsed()@Deprecated public MathTransform createParameterizedTransform(ParameterValueGroup parameters) throws NoSuchIdentifierException, FactoryException
MathTransformFactory interface instead.getLastUsedMethod().parameters - The parameter values.NoSuchIdentifierException - if there is no transform registered for the method.FactoryException - if the object creation failed. This exception is thrown if some
required parameter has not been supplied, or has illegal value.MathTransformFactory.createParameterizedTransform(org.opengis.parameter.ParameterValueGroup)@Deprecated public MathTransform createBaseToDerived(CoordinateReferenceSystem baseCRS, ParameterValueGroup parameters, CoordinateSystem derivedCS) throws NoSuchIdentifierException, FactoryException
MathTransformFactory interface."semi_major" and "semi_minor" parameters are not
explicitly specified, they will be inferred from the ellipsoid and
added to parameters. In addition, this method performs axis switch as needed.
The operation method used can be obtained by a call to getLastUsedMethod().
baseCRS - The source coordinate reference system.parameters - The parameter values for the transform.derivedCS - the target coordinate system.NoSuchIdentifierException - if there is no transform registered for the method.FactoryException - if the object creation failed. This exception is thrown if some
required parameter has not been supplied, or has illegal value.MathTransformFactory.createBaseToDerived(org.opengis.referencing.crs.CoordinateReferenceSystem, org.opengis.parameter.ParameterValueGroup, org.opengis.referencing.cs.CoordinateSystem)@Deprecated public ProjectedCRS createProjectedCRS(Map<String,?> properties, GeographicCRS baseCRS, Conversion conversionFromBase, CartesianCS derivedCS) throws FactoryException
CRSFactory interface.properties - Name and other properties to give to the new object.baseCRS - Geographic coordinate reference system to base projection on.conversionFromBase - The defining conversion.derivedCS - The coordinate system for the projected CRS.FactoryException - if the object creation failed.@Deprecated public ProjectedCRS createProjectedCRS(Map<String,?> properties, GeographicCRS baseCRS, OperationMethod method, ParameterValueGroup parameters, CartesianCS derivedCS) throws FactoryException
CRSFactory#createDefiningConversion followed by CRSFactory.createProjectedCRS(java.util.Map<java.lang.String, ?>, org.opengis.referencing.crs.GeographicCRS, org.opengis.referencing.operation.Conversion, org.opengis.referencing.cs.CartesianCS) instead."semi_major" and "semi_minor" parameters are not explicitly specified, they will be
inferred from the ellipsoid and added to the parameters. This
method also checks for axis order and unit conversions.properties - Name and other properties to give to the new object.baseCRS - Geographic coordinate reference system to base projection on.method - The operation method, or null for a default one.parameters - The parameter values to give to the projection.derivedCS - The coordinate system for the projected CRS.FactoryException - if the object creation failed.public CoordinateReferenceSystem toGeodetic3D(CompoundCRS crs) throws FactoryException
crs argument is returned unchanged.crs - The compound CRS to converts in a 3D geographic or projected CRS.crs if the change can't be applied.FactoryException - if the object creation failed.public CoordinateReferenceSystem separate(CoordinateReferenceSystem crs, int[] dimensions) throws FactoryException
crs - The original (usually compound) CRS.dimensions - The dimensions to keep.FactoryException - if the given dimensions can not be isolated in the given CRS.Copyright © 1996–2019 Geotools. All rights reserved.