SpatialReferenceEnvironmentClass

Creates various spatial reference objects.

Description

SpatialReferenceEnvironment is a singleton object. However, if you are working in a multi-threaded environment, each thread will have its own SpatialReferenceEnvironment. You should not pass information between the threads.

Supported Platforms

Windows, Solaris, Linux

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
IClassFactory
ISpatialReferenceFactory Provides access to members that create different kinds of spatial reference components.
ISpatialReferenceFactory2 Provides access to members that create different kinds of spatial reference components.
ISpatialReferenceFactory3 Provides access to members that create vertical datums or coordinate systems.
ISpatialReferenceFactory4 Provides access to members that create lists of coordinate systems.
ISpatialReferenceFactory5 Provides access to members that control the geographic transformations fallback mechanism.
ISpatialReferenceFactory6 Provides access to members that control the geographic transformations fallback mechanism.
ISpatialReferenceSingletonManager Ensure that no duplicates of projection engine pcs or gcs objects are created.
ISupportErrorInfo (esriSystem)

SpatialReferenceEnvironment is the one and only instance of its class.

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