This document is archived and information here might be outdated. Recommended version. |
Provides access to members that create vertical datums or coordinate systems.
ISpatialReferenceFactory3 provides methods for vertical coordinate system support and convert existing low precision spatial references to a high precision spatial reference (or vice-versa).
Name | Description | |
---|---|---|
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. | |
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. | |
CreateDatum | Creates a predefined datum. | |
CreateESRISpatialReference | Creates a spatial reference system and defines it from the specified ESRISpatialReference buffer. | |
CreateESRISpatialReferenceFromPRJ | Creates a spatial reference from a PRJ string. | |
CreateESRISpatialReferenceFromPRJFile | Creates a spatial reference from a PRJ file. | |
CreateESRISpatialReferenceInfo | Creates a spatial reference system and defines it from the specified ESRISpatialReference buffer. | |
CreateESRISpatialReferenceInfoFromPRJ | Creates a spatial reference from a PRJ string. | |
CreateESRISpatialReferenceInfoFromPRJFile | Creates a spatial reference from a PRJ file. | |
CreateGeographicCoordinateSystem | Creates a predefined geographic coordinate system. | |
CreateGeoTransformation | Creates a predefined transformation between geographic coordinate systems. | |
CreateParameter | Creates a predefined parameter. | |
CreatePredefinedAngularUnits | Creates a list of predefined angular units. | |
CreatePredefinedDatums | Creates a list of a list of predefined datums. | |
CreatePredefinedGeographicTransformations | Creates a list of predefined geographic transformations. | |
CreatePredefinedLinearUnits | Creates a list of predefined linear units. | |
CreatePredefinedPrimeMeridians | Creates a list of predefined prime meridians. | |
CreatePredefinedProjections | Creates a list of predefined projections. | |
CreatePredefinedSpheroids | Creates a list of predefined spheroids. | |
CreatePredefinedVerticalCoordinateSystems | Creates a list of predefined vertical coordinate systems. | |
CreatePredefinedVerticalDatums | Creates a list of predefined vertical datums. | |
CreatePrimeMeridian | Creates a predefined prime meridian. | |
CreateProjectedCoordinateSystem | Creates a predefined projected coordinate system. | |
CreateProjection | Creates a predefined projection. | |
CreateSpatialReference | Creates a predefined spatial reference from an srID. | |
CreateSpheroid | Creates a predefined spheroid. | |
CreateUnit | Creates a predefined unit of measure. | |
CreateVerticalCoordinateSystem | Creates a predefined vertical coordinate system from an enumeration or ID code. | |
CreateVerticalCoordinateSystemFromESRISpatialReference | Creates a vertical coordinate system from its string format. | |
CreateVerticalDatum | Creates a predefined vertical datum from an enumeration or ID code. | |
ExportESRISpatialReferenceInfoToPRJFile | Exports a spatial reference to a PRJ file. | |
ExportESRISpatialReferenceToPRJFile | Exports a spatial reference to a PRJ file. | |
GeoTransformationDefaults | Returns a list of default geographic transformations. | |
GetPredefinedGeographicTransformations | Returns a list of predefined geographic transformations. |
Interfaces | Description |
---|---|
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. |
CoClasses and Classes | Description |
---|---|
SpatialReferenceEnvironment | Creates various spatial reference objects. |
The ISpatialReferenceFactory3 interface has two methods that are useful when working with low and high precision spatial references. ConstructHighPrecisionSpatialReference creates a high precision spatial reference from a low precision spatial reference. Using this method will ensure that coordinate values will fit exactly into the new, denser grid mesh. Each intersection of the original grid is an intersection of the new grid. ConstructLowPrecisionSpatialReference will create a low precision spatial reference from an existing high precision one. You can require that the new resolution value be maintained, usually at the expense of the XY domain extent.
When using this interface in a console application, you must mark the routine as single-threaded. A class can be marked as single-threaded by adding the [STAThread] attribute immediately preceding your routine's declaration.
Example:
[STAThread]
static void Main(string[] args)
{
}
When using this interface in a console application, you must mark the routine as single-threaded. A class can be marked as single-threaded by adding the [STAThread] attribute immediately preceding your routine's declaration.
<STAThread()> _
Shared Sub Main(ByVal args As String())
End Sub