ISpatialReferenceFactory6 Interface

Provides access to members that control the geographic transformations fallback mechanism.

Members

Name Description
Method CloneGeoTransformationDefaults Returns a clone of the geotransformation defaults.
Method ConstructHighPrecisionSpatialReference Constructs a high precision spatial reference based on an existing spatial reference. xy/z/mDoubler is the number of times the respective precision is to be doubled. A value of zero will find the maximum doubling for that precision.
Method ConstructLowPrecisionSpatialReference Construct a low precision spatial reference with the same scale factor as the high precision input, but with a different domain extent. If the calculated domain extent cannot cover the specified data extent, an error is returned.
Method CreateDatum Creates a predefined datum.
Method CreateESRISpatialReference Creates a spatial reference system and defines it from the specified ESRISpatialReference buffer.
Method CreateESRISpatialReferenceFromPRJ Creates a spatial reference from a PRJ string.
Method CreateESRISpatialReferenceFromPRJFile Creates a spatial reference from a PRJ file.
Method CreateESRISpatialReferenceInfo Creates a spatial reference system and defines it from the specified ESRISpatialReference buffer.
Method CreateESRISpatialReferenceInfoFromPRJ Creates a spatial reference from a PRJ string.
Method CreateESRISpatialReferenceInfoFromPRJFile Creates a spatial reference from a PRJ file.
Method CreateFromAreaName Creates a coordinate system from the human-readable 'area name' of the coordinate system.
Method CreateGeographicCoordinateSystem Creates a predefined geographic coordinate system.
Method CreateGeoTransformation Creates a predefined transformation between geographic coordinate systems.
Method CreateParameter Creates a predefined parameter.
Method CreatePredefinedAngularUnits Creates a list of predefined angular units.
Method CreatePredefinedDatums Creates a list of a list of predefined datums.
Method CreatePredefinedGeographicTransformations Creates a list of predefined geographic transformations.
Method CreatePredefinedLinearUnits Creates a list of predefined linear units.
Method CreatePredefinedPrimeMeridians Creates a list of predefined prime meridians.
Method CreatePredefinedProjections Creates a list of predefined projections.
Method CreatePredefinedSpheroids Creates a list of predefined spheroids.
Method CreatePredefinedVerticalCoordinateSystems Creates a list of predefined vertical coordinate systems.
Method CreatePredefinedVerticalDatums Creates a list of predefined vertical datums.
Method CreatePrimeMeridian Creates a predefined prime meridian.
Method CreateProjectedCoordinateSystem Creates a predefined projected coordinate system.
Method CreateProjection Creates a predefined projection.
Method CreateSpatialReference Creates a predefined spatial reference from an srID.
Method CreateSpheroid Creates a predefined spheroid.
Method CreateUnit Creates a predefined unit of measure.
Method CreateVerticalCoordinateSystem Creates a predefined vertical coordinate system from an enumeration or ID code.
Method CreateVerticalCoordinateSystemFromESRISpatialReference Creates a vertical coordinate system from its string format.
Method CreateVerticalDatum Creates a predefined vertical datum from an enumeration or ID code.
Method ExportESRISpatialReferenceInfoToPRJFile Exports a spatial reference to a PRJ file.
Method ExportESRISpatialReferenceToPRJFile Exports a spatial reference to a PRJ file.
Method FindTransformation Returns a suitable geotransformation for a given pair of GCS. The extent is not used presently.
Method FindTransformations Returns suitable geotransformations for a given pair of GCS.
Read-only property GeoTransformationDefaults Returns a list of default geographic transformations.
Read/write property GeoTransformationFallback Enables/disables the geographic transformations fallback mechanism. Default is False.
Method GetAreaNames Returns a set of predefined coordinate system names, and optionally the coordinate systems themselves.
Method GetPredefinedGeographicTransformations Returns a list of predefined geographic transformations.
Method ReplaceGeoTransformationDefaults Replaces content of the existing list of default transformations with the content from pSource.
Read/write property UseShapePreservingProject Enables/disables shape preserving project. Default is False.
Write-only property UseShapePreservingProjectEx Enables/disables shape preserving project using the input minimum segment length and maximum deviation parameters for convergence. Default is False.

ISpatialReferenceFactory6.CloneGeoTransformationDefaults Method

Returns a clone of the geotransformation defaults.

Public Function CloneGeoTransformationDefaults ( _
) As IGeoTransformationOperationSet
public IGeoTransformationOperationSet CloneGeoTransformationDefaults (
);

ISpatialReferenceFactory6.FindTransformation Method

Returns a suitable geotransformation for a given pair of GCS. The extent is not used presently.

Public Sub FindTransformation ( _
    ByVal FindHVTransform As Boolean, _
    ByVal pFromSR As ISpatialReference, _
    ByVal pToSR As ISpatialReference, _
    ByVal pExtentS As IEnvelope, _
    ByRef pTransform As ITransformation, _
    ByRef Direction As esriTransformDirection _
)
public void FindTransformation (
    bool FindHVTransform,
    ISpatialReference pFromSR,
    ISpatialReference pToSR,
    IEnvelope pExtentS,
    ref ITransformation pTransform,
    ref esriTransformDirection Direction
);

ISpatialReferenceFactory6.FindTransformations Method

Returns suitable geotransformations for a given pair of GCS.

Public Function FindTransformations ( _
    ByVal FindHVTransform As Boolean, _
    ByVal pFromSR As ISpatialReference, _
    ByVal pToSR As ISpatialReference, _
    ByVal pExtent As IEnvelope, _
    ByVal numResults As Integer _
) As IArray
public IArray FindTransformations (
    bool FindHVTransform,
    ISpatialReference pFromSR,
    ISpatialReference pToSR,
    IEnvelope pExtent,
    int numResults
);

ISpatialReferenceFactory6.ReplaceGeoTransformationDefaults Method

Replaces content of the existing list of default transformations with the content from pSource.

Public Sub ReplaceGeoTransformationDefaults ( _
    ByVal pSource As IGeoTransformationOperationSet _
)
public void ReplaceGeoTransformationDefaults (
    IGeoTransformationOperationSet pSource
);

ISpatialReferenceFactory6.UseShapePreservingProject Property

Enables/disables shape preserving project. Default is False.

Public Property UseShapePreservingProject As Boolean
public bool UseShapePreservingProject {get; set;}

ISpatialReferenceFactory6.UseShapePreservingProjectEx Property

Enables/disables shape preserving project using the input minimum segment length and maximum deviation parameters for convergence. Default is False.

Public Sub set_UseShapePreservingProjectEx ( _
    ByVal vbYesNo As Boolean, _
    ByVal minSegmentLengthInDegrees As Double, _
    ByVal A_3 As Double _
)
public void set_UseShapePreservingProjectEx (
    bool vbYesNo,
    double minSegmentLengthInDegrees,
    double A_3
);

Inherited Interfaces

Interfaces Description
ISpatialReferenceFactory5 Provides access to members that control the geographic transformations fallback mechanism.
ISpatialReferenceFactory4 Provides access to members that create lists of coordinate systems.
ISpatialReferenceFactory3 Provides access to members that create vertical datums or coordinate systems.
ISpatialReferenceFactory2 Provides access to members that create different kinds of spatial reference components.
ISpatialReferenceFactory Provides access to members that create different kinds of spatial reference components.

Classes that implement ISpatialReferenceFactory6

Classes Description
SpatialReferenceEnvironment Creates various spatial reference objects.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.