|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.factory.AbstractFactory org.geotools.referencing.factory.AbstractFactory org.geotools.referencing.operation.AbstractCoordinateOperationFactory org.geotools.referencing.operation.DefaultCoordinateOperationFactory
Creates coordinate operations. This factory is capable to find coordinate transformations or conversions between two coordinate reference systems. It delegates most of its work to one or many of methods. Subclasses can override those methods in order to extend the factory capability to some more CRS.
Field Summary |
Fields inherited from class org.geotools.referencing.operation.AbstractCoordinateOperationFactory |
AXIS_CHANGES, DATUM_SHIFT, ELLIPSOID_SHIFT, GEOCENTRIC_CONVERSION, IDENTITY, INVERSE_OPERATION, mtFactory |
Fields inherited from class org.geotools.referencing.factory.AbstractFactory |
LOGGER |
Fields inherited from class org.geotools.factory.AbstractFactory |
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority |
Constructor Summary | |
DefaultCoordinateOperationFactory()
Constructs a coordinate operation factory using the default factories. |
|
DefaultCoordinateOperationFactory(Hints hints)
Constructs a coordinate operation factory using the specified hints. |
|
DefaultCoordinateOperationFactory(Hints hints,
int priority)
Constructs a coordinate operation factory using the specified hints and priority. |
Method Summary | |
org.opengis.referencing.operation.CoordinateOperation |
createOperation(org.opengis.referencing.crs.CoordinateReferenceSystem sourceCRS,
org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS)
Returns an operation for conversion or transformation between two coordinate reference systems. |
org.opengis.referencing.operation.CoordinateOperation |
createOperation(org.opengis.referencing.crs.CoordinateReferenceSystem sourceCRS,
org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS,
org.opengis.referencing.operation.OperationMethod method)
Deprecated. Current implementation ignore the argument. |
protected org.opengis.referencing.operation.CoordinateOperation |
createOperationStep(org.opengis.referencing.crs.CompoundCRS sourceCRS,
org.opengis.referencing.crs.CompoundCRS targetCRS)
Creates an operation between two compound coordinate reference systems. |
protected org.opengis.referencing.operation.CoordinateOperation |
createOperationStep(org.opengis.referencing.crs.CompoundCRS sourceCRS,
org.opengis.referencing.crs.SingleCRS targetCRS)
Creates an operation from a compound to a single coordinate reference systems. |
protected org.opengis.referencing.operation.CoordinateOperation |
createOperationStep(org.opengis.referencing.crs.GeocentricCRS sourceCRS,
org.opengis.referencing.crs.GeocentricCRS targetCRS)
Creates an operation between two geocentric coordinate reference systems. |
protected org.opengis.referencing.operation.CoordinateOperation |
createOperationStep(org.opengis.referencing.crs.GeocentricCRS sourceCRS,
org.opengis.referencing.crs.GeographicCRS targetCRS)
Creates an operation from a geocentric to a geographic coordinate reference systems. |
protected org.opengis.referencing.operation.CoordinateOperation |
createOperationStep(org.opengis.referencing.crs.GeographicCRS sourceCRS,
org.opengis.referencing.crs.GeocentricCRS targetCRS)
Creates an operation from a geographic to a geocentric coordinate reference systems. |
protected org.opengis.referencing.operation.CoordinateOperation |
createOperationStep(org.opengis.referencing.crs.GeographicCRS sourceCRS,
org.opengis.referencing.crs.GeographicCRS targetCRS)
Creates an operation between two geographic coordinate reference systems. |
protected org.opengis.referencing.operation.CoordinateOperation |
createOperationStep(org.opengis.referencing.crs.GeographicCRS sourceCRS,
org.opengis.referencing.crs.ProjectedCRS targetCRS)
Creates an operation from a geographic to a projected coordinate reference system. |
protected org.opengis.referencing.operation.CoordinateOperation |
createOperationStep(org.opengis.referencing.crs.GeographicCRS sourceCRS,
org.opengis.referencing.crs.VerticalCRS targetCRS)
Creates an operation between a geographic and a vertical coordinate reference systems. |
protected org.opengis.referencing.operation.CoordinateOperation |
createOperationStep(org.opengis.referencing.crs.ProjectedCRS sourceCRS,
org.opengis.referencing.crs.GeographicCRS targetCRS)
Creates an operation from a projected to a geographic coordinate reference system. |
protected org.opengis.referencing.operation.CoordinateOperation |
createOperationStep(org.opengis.referencing.crs.ProjectedCRS sourceCRS,
org.opengis.referencing.crs.ProjectedCRS targetCRS)
Creates an operation between two projected coordinate reference systems. |
protected org.opengis.referencing.operation.CoordinateOperation |
createOperationStep(org.opengis.referencing.crs.SingleCRS sourceCRS,
org.opengis.referencing.crs.CompoundCRS targetCRS)
Creates an operation from a single to a compound coordinate reference system. |
protected org.opengis.referencing.operation.CoordinateOperation |
createOperationStep(org.opengis.referencing.crs.TemporalCRS sourceCRS,
org.opengis.referencing.crs.TemporalCRS targetCRS)
Creates an operation between two temporal coordinate reference systems. |
protected org.opengis.referencing.operation.CoordinateOperation |
createOperationStep(org.opengis.referencing.crs.VerticalCRS sourceCRS,
org.opengis.referencing.crs.VerticalCRS targetCRS)
Creates an operation between two vertical coordinate reference systems. |
Methods inherited from class org.geotools.referencing.operation.AbstractCoordinateOperationFactory |
concatenate, concatenate, createConcatenatedOperation, createFromAffineTransform, createFromMathTransform, createFromMathTransform, createFromParameters, ensureNonNull, getErrorMessage, getImplementationHints, getMathTransformFactory, swapAndScaleAxis |
Methods inherited from class org.geotools.referencing.factory.AbstractFactory |
getVendor |
Methods inherited from class org.geotools.factory.AbstractFactory |
onDeregistration, onRegistration |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opengis.referencing.Factory |
getVendor |
Constructor Detail |
public DefaultCoordinateOperationFactory()
public DefaultCoordinateOperationFactory(Hints hints)
CRS
, CS
,
DATUM
and MATH_TRANSFORM
hints. In addition, the FactoryGroup.HINT_KEY
hint may be used as
a low-level substitute for all the above.
hints
- The hints, or if none.public DefaultCoordinateOperationFactory(Hints hints, int priority)
CRS
, CS
,
DATUM
and MATH_TRANSFORM
hints. In addition, the FactoryGroup.HINT_KEY
hint may be used as
a low-level substitute for all the above.
hints
- The hints, or if none.priority
- The priority for this factory, as a number between
MINIMUM_PRIORITY
and
MAXIMUM_PRIORITY
inclusive.Method Detail |
public org.opengis.referencing.operation.CoordinateOperation createOperation(org.opengis.referencing.crs.CoordinateReferenceSystem sourceCRS, org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS) throws org.opengis.referencing.operation.OperationNotFoundException, org.opengis.referencing.FactoryException
The default implementation inspects the CRS and delegates the work to one or many methods. This method fails if no path between the CRS is found.
sourceCRS
- Input coordinate reference system.targetCRS
- Output coordinate reference system.
org.opengis.referencing.operation.OperationNotFoundException
- if no operation path was found from
to .
org.opengis.referencing.FactoryException
- if the operation creation failed for some other reason.public org.opengis.referencing.operation.CoordinateOperation createOperation(org.opengis.referencing.crs.CoordinateReferenceSystem sourceCRS, org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS, org.opengis.referencing.operation.OperationMethod method) throws org.opengis.referencing.operation.OperationNotFoundException, org.opengis.referencing.FactoryException
sourceCRS
- Input coordinate reference system.targetCRS
- Output coordinate reference system.method
- the algorithmic method for conversion or transformation
org.opengis.referencing.operation.OperationNotFoundException
- if no operation path was found from
to .
org.opengis.referencing.FactoryException
- if the operation creation failed for some other reason.protected org.opengis.referencing.operation.CoordinateOperation createOperationStep(org.opengis.referencing.crs.TemporalCRS sourceCRS, org.opengis.referencing.crs.TemporalCRS targetCRS) throws org.opengis.referencing.FactoryException
sourceCRS
- Input coordinate reference system.targetCRS
- Output coordinate reference system.
org.opengis.referencing.FactoryException
- If the operation can't be constructed.protected org.opengis.referencing.operation.CoordinateOperation createOperationStep(org.opengis.referencing.crs.VerticalCRS sourceCRS, org.opengis.referencing.crs.VerticalCRS targetCRS) throws org.opengis.referencing.FactoryException
sourceCRS
- Input coordinate reference system.targetCRS
- Output coordinate reference system.
org.opengis.referencing.FactoryException
- If the operation can't be constructed.protected org.opengis.referencing.operation.CoordinateOperation createOperationStep(org.opengis.referencing.crs.GeographicCRS sourceCRS, org.opengis.referencing.crs.VerticalCRS targetCRS) throws org.opengis.referencing.FactoryException
sourceCRS
- Input coordinate reference system.targetCRS
- Output coordinate reference system.
org.opengis.referencing.FactoryException
- If the operation can't be constructed.protected org.opengis.referencing.operation.CoordinateOperation createOperationStep(org.opengis.referencing.crs.GeographicCRS sourceCRS, org.opengis.referencing.crs.GeographicCRS targetCRS) throws org.opengis.referencing.FactoryException
sourceCRS
- Input coordinate reference system.targetCRS
- Output coordinate reference system.
org.opengis.referencing.FactoryException
- If the operation can't be constructed.protected org.opengis.referencing.operation.CoordinateOperation createOperationStep(org.opengis.referencing.crs.ProjectedCRS sourceCRS, org.opengis.referencing.crs.ProjectedCRS targetCRS) throws org.opengis.referencing.FactoryException
sourceCRS
- Input coordinate reference system.targetCRS
- Output coordinate reference system.
org.opengis.referencing.FactoryException
- If the operation can't be constructed.protected org.opengis.referencing.operation.CoordinateOperation createOperationStep(org.opengis.referencing.crs.GeographicCRS sourceCRS, org.opengis.referencing.crs.ProjectedCRS targetCRS) throws org.opengis.referencing.FactoryException
where the conversion from to is obtained fromsourceCRS → baseCRS → targetCRS
targetCRS.getConversionFromBase()
.
sourceCRS
- Input coordinate reference system.targetCRS
- Output coordinate reference system.
org.opengis.referencing.FactoryException
- If the operation can't be constructed.protected org.opengis.referencing.operation.CoordinateOperation createOperationStep(org.opengis.referencing.crs.ProjectedCRS sourceCRS, org.opengis.referencing.crs.GeographicCRS targetCRS) throws org.opengis.referencing.FactoryException
where the conversion from to is obtained from the inverse ofsourceCRS → baseCRS → targetCRS
sourceCRS.getConversionFromBase()
.
sourceCRS
- Input coordinate reference system.targetCRS
- Output coordinate reference system.
org.opengis.referencing.FactoryException
- If the operation can't be constructed.protected org.opengis.referencing.operation.CoordinateOperation createOperationStep(org.opengis.referencing.crs.GeocentricCRS sourceCRS, org.opengis.referencing.crs.GeocentricCRS targetCRS) throws org.opengis.referencing.FactoryException
sourceCRS
- Input coordinate reference system.targetCRS
- Output coordinate reference system.
org.opengis.referencing.FactoryException
- If the operation can't be constructed.protected org.opengis.referencing.operation.CoordinateOperation createOperationStep(org.opengis.referencing.crs.GeographicCRS sourceCRS, org.opengis.referencing.crs.GeocentricCRS targetCRS) throws org.opengis.referencing.FactoryException
sourceCRS
- Input coordinate reference system.targetCRS
- Output coordinate reference system.
org.opengis.referencing.FactoryException
- If the operation can't be constructed.protected org.opengis.referencing.operation.CoordinateOperation createOperationStep(org.opengis.referencing.crs.GeocentricCRS sourceCRS, org.opengis.referencing.crs.GeographicCRS targetCRS) throws org.opengis.referencing.FactoryException
"Geocentric_To_Ellipsoid"
math transform.
sourceCRS
- Input coordinate reference system.targetCRS
- Output coordinate reference system.
org.opengis.referencing.FactoryException
- If the operation can't be constructed.protected org.opengis.referencing.operation.CoordinateOperation createOperationStep(org.opengis.referencing.crs.CompoundCRS sourceCRS, org.opengis.referencing.crs.SingleCRS targetCRS) throws org.opengis.referencing.FactoryException
sourceCRS
- Input coordinate reference system.targetCRS
- Output coordinate reference system.
org.opengis.referencing.FactoryException
- If the operation can't be constructed.protected org.opengis.referencing.operation.CoordinateOperation createOperationStep(org.opengis.referencing.crs.SingleCRS sourceCRS, org.opengis.referencing.crs.CompoundCRS targetCRS) throws org.opengis.referencing.FactoryException
sourceCRS
- Input coordinate reference system.targetCRS
- Output coordinate reference system.
org.opengis.referencing.FactoryException
- If the operation can't be constructed.protected org.opengis.referencing.operation.CoordinateOperation createOperationStep(org.opengis.referencing.crs.CompoundCRS sourceCRS, org.opengis.referencing.crs.CompoundCRS targetCRS) throws org.opengis.referencing.FactoryException
sourceCRS
- Input coordinate reference system.targetCRS
- Output coordinate reference system.
org.opengis.referencing.FactoryException
- If the operation can't be constructed.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |