System.Object
The DataSource class provides properties and methods that allow the user to interact with a data source XML file. A description of how to use the DataSource can be found here.
Constructor |
Description |
Creates a new instance of the DataSource class |
Property |
Description |
Accesses the application identifier string. |
|
Gets or sets the application name, used primarily for dialogs. |
|
Gets or sets the authorization token needed to submit requests to the online service indicated by ServiceURL. |
|
A flag indicating whether or not to automatically save the current view when it is refreshed. |
|
Gets or sets whether or not to be "lenient" when near the edges of projections. |
|
Gets or sets the centering margin to at which to bound geodetic longitudes if CenterOnMeridianFlag is set. |
|
Gets or sets whether or not to use the central meridan as the "center" of the projection math. |
|
Gets the change log associated with the primary datasource. |
|
Accesses the change log comment string. |
|
Container |
Gets the IContainer that contains the Component. (Inherited from Component). |
Gets whether or not the datasource is being created, i.e. loading. |
|
Accesses the current user identifier string. |
|
The view file that this datasource is using. |
|
Gets the change log associated with the custom datasource. |
|
The file name of the custom datasource. |
|
The number of modifications made on the custom datasource since it was loaded. |
|
The signature of the custom datasource, if any. |
|
Gets or sets the primary path for extra files i.e. DatumTransforms, verticals, etc. |
|
Gets or sets the default issuer, used primaryily when writing out the datasource. |
|
Gets or sets whether download of datafiles is enabled. |
|
The editable status of the base datasource. |
|
Gets the change log associated with the enterprise datasource. |
|
The file name of the enterprise datasource. |
|
The signature of the enterprise datasource, if any. |
|
Gets the expiration date of the license, String.Empty if not licensed. |
|
A flag indicating whether or not to throw if the signature in a datasource is invalid. |
|
The file name of the primary datasource. |
|
A string containing the version from the current datsource file. Note that this may be different than the current version of the library code. |
|
Gets whether the primary datasource has an associated change log. |
|
Gets whether the custom datasource has an associated change log. |
|
Gets whether the enterprise datasource has an associated change log. |
|
Gets the History. |
|
Gets or sets the interpolation type for calculating horizontal shifts from grid files. |
|
Gets or sets the HTTP URL for downloading missing grid files. |
|
Gets or sets whether or not to ignore changes to the height coordinate value during datum transforms. |
|
Gets or sets whether or not to ignore Polygon AreaOfUses during conversions. |
|
A flag indicating if the custom datasource has a valid signature. |
|
A flag indicating if the custom datasource has a valid signature. |
|
Gets whether the datasource component has a valid license. |
|
A flag indicating if the primary datasource is loaded. |
|
A flag indicating if the primary datasource has a valid signature. |
|
Gets whether the datasource component has a trial license. |
|
Gets the date of when this datasource was last updated. If unknown, will return Minvalue. |
|
The number of modifications made on the primary datasource since it was loaded. |
|
The GC code identifying the pivot horizontal coordinate system used when generating new Early Bound Coordinate Systems. |
|
A flag indicating whether or not to add objects during View refresh as hidden. |
|
Gets or sets the online service URL. |
|
Gets or sets whether or not to show deprecated objects. |
|
The signature of the primary datasource. |
|
Site |
Gets or sets the ISite of the Component. (Inherited from Component). |
The optional directory where log files for imports and upgrades should be written. |
|
Gets or sets the interpolation type for calculating vertical shifts from grid files. |
|
Gets or sets whether or not to force WKT matching. |
Method |
Description |
The compliment of MapIssuers. This takes the mapping that was generated from one datasource and populates this datasource with the mapping, adding the tgtIssuerToMap codes into this datasource. |
|
Apply the latest datasource changes from the online webservice. |
|
Populate the transform with the transforminfo. |
|
Set the view the DataSource will use as its current view. |
|
Checks to see if the AOU code is valid and if so, return the corresponding issuer. |
|
Checks if the specified file is a pre-GeoCalc 7 datasource that will need to be updated. |
|
Check whether the service specified is currently active and responding to requests. |
|
Write out the in memory custom datasource to a stream. |
|
Write out the in memory datasource to file. |
|
Construct a Canadian Velocity Grid datum transformation. |
|
Construct a time dependent (HTDP) datum transformation. |
|
Construct a Time Dependent Helmert datum transformation. |
|
Construct a Time Dependent Helmert datum transformation. |
|
Uses coordinate system string definition from the geocalc.dat file which was shipped with version 5.x of the toolkit, and creates a coordinate system object from them. |
|
CreateObjRef |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject). |
Releases all resources used by the Component. (Inherited from Component). |
|
Equals |
Determines whether the specified object is equal to the current object. (Inherited from Object). |
Set up a "best" concatenated transform to convert between the sources and targets on the passed-in transform, using the specified preferences, without popping a picker dialog. |
|
Whether the specific object exists in the data source. |
|
Serializes a set of horizontal and vertical coordinate systems to a well-known text file as a compound coordinate reference system. |
|
Composes a string containing a WKT or PRJ coordinate system definition and writes it to a stream. |
|
Composes a string containing a WKT or PRJ coordinate system definition and writes it to a text file. |
|
Serializes coordinate systems to a GML file. |
|
Writes a JSON encoded CRS or EBCRS based on the specifications provided. |
|
Composes a string containing a MIF Clause. If the coord sys provided cannot be rendered as a MIF Clause the string returned will be empty. |
|
Composes a string containing a WKT or PRJ coordinate system definition. |
|
Serializes coordinate systems to a well-known text file. |
|
Serializes coordinate transforms to a well-known text file. |
|
Composes a string containing a GTF datum transformation definition and writes it to a Stream. |
|
Composes a string containing a GTF datum transformation definition. |
|
Exports a collection of objects to the specified file. |
|
Exports a collection of GeoCalc objects to the ESRI custom projection engine DB int the specified ESRI DB directory. |
|
Exports a collection of objects to the specified file. |
|
Exports a collection of objects to the specified stream. |
|
Finalize |
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component). |
Get the List of objects that match a given issuer/code. |
|
Finds all other objects that depend on the object in question. |
|
Searches the datasource for all objects that are equivalent to the specified object. |
|
Finds the most recent revision date and indicates which object is the first occurrance of that date. |
|
Searches the datasource for all objects that are nearly equal to the specified object. Primarily used for datasource merging where identifier codes on sub-objects matter. |
|
FindObjectOfUnknownIssuer |
Gets an object containing a specified identifier code. |
A helper function to return all the information needed to display tranform choices to a user, via a UI. |
|
Get the AngularUnit from the datasource. |
|
Get the AreaOfUse from the dataSource. |
|
Get the CartesianPoint from the dataSource. |
|
Get the ConcatenatedTransform from the dataSource. |
|
Get the CoordSys from the dataSource. |
|
Gets the coordinate transform referenced by the issuer/code pair. |
|
Get the CoordPoint from the datasource. |
|
Gets the coordinate reference system containing a specified identifier code. |
|
Gets the datum referenced by the issuer/code pair. |
|
Get the DatumTransform from the dataSource. |
|
Gets a list of all identifier codes that define this coordinate system. If the first code defines the actual object as it is, that will be all but if there are sub-changes those id's will also be returned. |
|
Gets either the View Display name or the Serializable name. |
|
Get the ProjectedCoordSys from the datasource. |
|
Get the Ellipsoid from the datasource |
|
Get the FittedCoordSys from the datasource. |
|
Get the GeocentricCoordSys from the datasource. |
|
Get the GeodeticCoordSys from the datasource. |
|
Get the GeodeticCoordSys based on the provided code from a HorizontalDatum. |
|
Get the GeodeticPoint from the datasource. |
|
Gets list of GML objects from the registry. |
|
GetHashCode |
Serves as the default hash function. (Inherited from Object). |
Get the HorizontalDatum from the datasource |
|
Gets a list of all identifier codes currently used in the datasource. |
|
GetLifetimeService |
Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject). |
Get the LinearUnit from the datasource. |
|
Gets the history for the given object. |
|
Get the latest datasource changes from the online webservice as a stream. |
|
Get the CoordSys from the online web service. |
|
Gets the message (error, exception or other) that occurred on previous webrequest call. |
|
Get the ParametricTransform from the datasource. |
|
Get the PrimeMeridian from the datasource. |
|
Get the ProjectedCoordSys from the datasource. |
|
Get the ProjectedPoint from the datasource. |
|
Get the ScalarUnit from the datasource. |
|
Get the Scope from the datasource. |
|
Get the Serializable from the datasource. |
|
Get the CoordTransform from the datasource. |
|
Get the StringCoordSys from the datasource. |
|
Get the StringPoint from the datasource. |
|
GetType |
Gets the Type of the current instance. (Inherited from Object). |
Get the Unit from the datasource. |
|
Get the Usage from the datasource. |
|
Find or create a placeholder usage for an AOU. |
|
Get the VerticalCoordSys from the datasource. |
|
Get the VerticalDatum from the datasource. |
|
Get the VerticalPoint from the datasource. |
|
Get the VerticalTransform from the datasource. |
|
Check whether there are datasource changes on the online service that have not been applied. |
|
Parses an input stream containing a WKT or PRJ coordinate system definition and creates horizontal and/or vertical coordinate system objects from it. |
|
Parses a text file containing a TAB, WKT or PRJ coordinate system definition and creates a coordiante system object from it. |
|
Parses a string containing a GML coordinate system definition and creates coordinate system objects from it. |
|
Parses a string containing a WKT, WKT2 or PRJ coordinate system definition and creates horizontal and/or vertical coordinate system objects from it. |
|
Uses strings defined in the geocalc.dat file which was shipped with version 5.x of the toolkit, and creates a coordinate system object from them. |
|
Parses an input stream from a WKT or GTF file containing a coord transform and creates transform object from it. |
|
Parses an input stream containing a WKT2 coordinate transform definition and creates datum or vertical transform object from it. |
|
Parses an input stream containing WKT2 coordinate transforms definition and creates datum or vertical transform objects from it. |
|
Parses an input stream from a GTF file containing a datum transform and creates datum transform object from it. |
|
Parses a string containing a GTF datum transform definition and creates a coordinate transform object from it. |
|
Imports a collection of objects from the specified CTL file into the current DataSource. |
|
Imports a collection of objects from the specified CTL file into the current DataSource. |
|
Imports a collection of ESRI projection engine DB custom objects from the specified ESRI DB directory. |
|
Imports a collection of supplementary objects from the specified file. |
|
Imports a collection of supplementary objects from the stream. |
|
Imports a set of additional per-object information into the current DataSource and updates the appropriate objects. May also add new Early Bound Coordinate Systems if needed. |
|
Imports a GML object from the registry into the current DataSource. |
|
Imports GML objects from the registry into the current DataSource. |
|
Loads the specified alternate datasource, and imports any identifiers that are not in the base already, for equivalent objects. |
|
Imports an object from a GML string. |
|
InitializeLifetimeService |
Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject). |
Whether the specific object is write-protected in the datasource. |
|
Find out if the passed in type is a single object, or a mask representing multiple datasource objects. |
|
Load the geocalc xml datasource. |
|
Goes through the datasource and finds all objects that have both srcIssuerToMap and tgtIssuerToMap codes and returns the list of these code mappings based on object type. This is useful if we have 1 datasource with issuer/codes that we want to populate another datasource with. |
|
Takes the code and display settings for a pre-GeoCalc7 string coord sys and returns the GC code identifying the system in the current datasource. |
|
Takes the code for a pre-GeoCalc7 vertical reference and returns the GC code identifying the vertical coord sys system and vertical transforms that correspond to it in the current datasource. |
|
Put the object into the datasource. |
|
Put the AngularUnit into the datasource. |
|
Put the AreaOfUse into the datasource. |
|
Put the CartesianPoint into the datasource. |
|
Put the ConcatenatedTransform into the datasource. |
|
Put the DatumTransform into the datasource. |
|
Put the object into the datasource but checks to make sure that all objects that it depends on have also been checked in first. |
|
Put the EarlyBoundCoordSys into the datasource. |
|
Put the Ellipsoid into the datasource. |
|
Put the FittedCoordSys into the datasource. |
|
Put the GeocentricCoordSys into the datasource. |
|
Put the GeodeticCoordSys into the datasource. |
|
Put the GeodeticPoint into the datasource. |
|
Put the HorizontalDatum into the datasource. |
|
Put the LinearUnit into the datasource. |
|
Put the ParametricTransform into the datasource. |
|
Put the PrimeMeridian into the datasource. |
|
Put the ProjectedCoordSys into the datasource. |
|
Put the ProjectedPoint into the datasource. |
|
Put the ScalarUnit into the datasource. |
|
Put the Scope into the datasource. |
|
Put the Serializable into the datasource. |
|
Put the StringCoordSys into the datasource. |
|
Put the StringPoint into the datasource. |
|
Put the Usage into the datasource. |
|
Put the VerticalCoordSys into the datasource. |
|
Put the VerticalDatum into the datasource. |
|
Put the VerticalPoint into the datasource |
|
Puts the VerticalTransform into the datasource. |
|
Removes an AngularUnit from the datasource. |
|
Removes an AreaOfUse from the datasource. |
|
Removes a CartesianPoint from the datasource. |
|
Removes a ConcatenatedTransform from the datasource. |
|
Removes a DatumTransform from the datasource. |
|
Removes an EarlyBoundCoordSys from the datasource. |
|
Removes an Ellipsoid from the datasource. |
|
Removes a FittedCoordSys from the datasource. |
|
Removes a GeocentricCoordSys from the datasource. |
|
Removes a GeodeticCoordSys from the datasource. |
|
Removes a GeodeticPoint from the datasource. |
|
Removes a HorizontalDatum from the datasource. |
|
Removes a LinearUnit from the datasource. |
|
Removes a ParametricTransform from the datasource. |
|
Removes a PrimeMeridian from the datasource. |
|
Removes a ProjectedCoordSys from the datasource. |
|
Removes a ProjectedPoint from the datasource. |
|
Removes a ScalarUnit from the datasource. |
|
Removes a Serializable from the datasource. |
|
Removes a StringCoordSys from the datasource. |
|
Removes a StringPoint from the datasource. |
|
Removes a VerticalCoordSys from the datasource. |
|
Removes a VerticalDatum from the datasource. |
|
Removes a VerticalPoint from the datasource. |
|
Removes a VerticalTransform from the datasource. |
|
Returns a list of Serializable objects matching the specified object type and filter. |
|
Returns a list of Serializable objects matching the specified object type and filters. |
|
Get a list of all objects of a given ObjectType. |
|
Set license from string. |
|
Sets the allowed class types for a specified object type. |
|
ToString |
Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component). |
Event |
Description |
OnlineDownloadComplete |
An event that clients can use to be notified whenever the elements of the list change. |
OnlineDownloadProgress |
An event that clients can use to be notified whenever the elements of the list change. |
Inherited Event |
Description |
Disposed |
Occurs when the component is disposed by a call to the Dispose() method. (Inherited from Component). |