Class DeferredCoordinateOperation
java.lang.Object
org.apache.sis.io.wkt.FormattableObject
org.apache.sis.referencing.AbstractIdentifiedObject
org.apache.sis.referencing.operation.AbstractCoordinateOperation
org.apache.sis.internal.referencing.DeferredCoordinateOperation
- All Implemented Interfaces:
Serializable
,Formattable
,Deprecable
,LenientComparable
,org.opengis.referencing.IdentifiedObject
,org.opengis.referencing.operation.CoordinateOperation
Place-holder for a
CoordinateOperation
whose creation is deferred. Used for iterating on instances returned by
EPSGDataAccess.createFromCoordinateReferenceSystemCodes(String, String)
where many operations may exist but only one (typically) will be retained.- Since:
- 0.8
- Version:
- 0.8
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.opengis.referencing.operation.CoordinateOperationAuthorityFactory
The factory to use for creating the actual coordinate operation.Fields inherited from class org.apache.sis.referencing.AbstractIdentifiedObject
DEPRECATED_KEY, LOCALE_KEY
Fields inherited from interface org.opengis.referencing.operation.CoordinateOperation
COORDINATE_OPERATION_ACCURACY_KEY, DOMAIN_OF_VALIDITY_KEY, OPERATION_VERSION_KEY, SCOPE_KEY
Fields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
-
Constructor Summary
ConstructorsConstructorDescriptionDeferredCoordinateOperation
(Map<String, ?> properties, org.opengis.referencing.crs.CoordinateReferenceSystem sourceCRS, org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS, org.opengis.referencing.operation.CoordinateOperationAuthorityFactory factory) Creates a deferred coordinate operation. -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.referencing.operation.CoordinateOperation
create()
Creates the actual coordinate operation.Methods inherited from class org.apache.sis.referencing.operation.AbstractCoordinateOperation
castOrCopy, computeHashCode, equals, formatTo, getCoordinateOperationAccuracy, getDomainOfValidity, getInterface, getInterpolationCRS, getLinearAccuracy, getMathTransform, getOperationVersion, getScope, getSourceCRS, getTargetCRS, getWrapAroundChanges, isDefiningConversion
Methods inherited from class org.apache.sis.referencing.AbstractIdentifiedObject
castOrCopy, equals, formatTo, getAlias, getDescription, getIdentifiers, getName, getRemarks, hashCode, isDeprecated, isHeuristicMatchForName
Methods inherited from class org.apache.sis.io.wkt.FormattableObject
print, toString, toString, toWKT
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opengis.referencing.IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
-
Field Details
-
factory
private final org.opengis.referencing.operation.CoordinateOperationAuthorityFactory factoryThe factory to use for creating the actual coordinate operation.
-
-
Constructor Details
-
DeferredCoordinateOperation
public DeferredCoordinateOperation(Map<String, ?> properties, org.opengis.referencing.crs.CoordinateReferenceSystem sourceCRS, org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS, org.opengis.referencing.operation.CoordinateOperationAuthorityFactory factory) Creates a deferred coordinate operation.- Parameters:
properties
- the properties to be given to the identified object.sourceCRS
- the source CRS, ornull
if unspecified.targetCRS
- the target CRS, ornull
if unspecified.factory
- the factory to use for creating the actual coordinate operation.
-
-
Method Details
-
create
public org.opengis.referencing.operation.CoordinateOperation create() throws org.opengis.util.FactoryExceptionCreates the actual coordinate operation.- Returns:
- the coordinate operation.
- Throws:
org.opengis.util.FactoryException
- if the factory failed to create the coordinate operation.
-