DataSource Class

Uses

GeoCalcCOM.IDataSource3

 

Description

The DataSource class provides properties and methods that allow the user to interact with the data source.  A description of how to use the data source can be found here.  A description of the contents of the data source can be found here.  

 

Public Properties

Property

Description

DefaultIssuer

Gets or sets the default issuer value for use with Get/Set/Put methods

Editable

A boolean value that indicates if the data source can be modified

FileName

The path and file name of the data source currently loaded into this object

IgnoreEnvelope

Indicates if all Envelopes should always return true for InBounds

IsLoaded

A boolean value that indicates if a data source is currently loaded

WKTForceMatch

Indicates if GeoCalc should try to find an existing ICoordSys that matches the WKT when importing an ICoordSys from WKT

 

Public Methods

Method

Description

CommitToFIle

Saves the DataSource to a file

CoordSysFromGML

Imports an ICoordSys from a GML document

CoordSysFromGMLWithSchema

Imports an ICoordSys from a GML document specifying a GML schema

EstablishDatumShift

Gets DatumShifts for a CoordTransform

ExportCoordSysToFile

Saves a WKT definition of the specified ICoordSys to a file

ExportCoordSysToString

Gets a WKT definition of the specified ICoordSys

ExportCoordSysToStrings

Produces strings that give the keys that identify the ICoordSys in GeoCalc 5.x

GetAngularUnit

Gets an AngularUnit from the DataSource

GetCartesianPoint

Gets a CartesianPoint from the DataSource

GetCoordTransform

Gets a CoordTransform from the DataSource

GetDatumShift

Gets a DatumShift from the DataSource

GetEllipsoid

Gets an Ellipsoid from the DataSource

GetEnvelope

Gets an Envelope from the DataSource

GetFittedCoordSys

Gets a FittedCoordSys from the DataSource

GetGeocentricCoordSys

Gets a GeocentricCoordSys from the DataSource

GetGeodeticCoordSys

Gets a GeodeticCoordSys from the DataSource

GetGeodeticPoint

Gets a GeodeticPoint from the DataSource

GetHeightModel

Gets a HeightModel from the DataSource

GetHorizontalDatum

Gets a HorizontalDatum from the DataSource

GetLinearUnit

Gets a LinearUnit from the DataSource

GetPrimeMeridian

Gets a PrimeMeridian from the DataSource

GetProjectedCoordSys

Gets a ProjectedCoordSys from the DataSource

GetProjectedPoint

Gets a ProjectedPoint from the DataSource

GetSerializable

Gets an ISerializable from the DataSource

GetValidDatumShifts

Finds all valid DatumShifts for the specified source and target ICoordSys

GetVerticalDatum

Gets a VerticalDatum from the DataSource

GetVerticalReference

Gets a VerticalReference from the DataSource

ImportCoordSysFromFile

Loads an ICoordSys from a file

ImportCoordSysFromString

Loads an ICoordSys from a WKT string

ImportCoordSysFromStrings

Loads an ICoordSys from the GeoCalc 5.x keys

ImportFile

Loads an ICoordSys into the data source

LoadFile

Loads a data source file into this DataSource

PutAngularUnit

Adds an AngularUnit to the DataSource

PutCartesianPoint

Adds a CartesianPoint to the DataSource

PutCoordTransform

Adds a CoordTransform to the DataSource

PutDatumShift

Adds a DatumShift to the DataSource

PutEllipsoid

Adds an Ellipsoid to the DataSource

PutEnvelope

Adds an Envelope to the DataSource

PutFittedCoordSys

Adds a FittedCoordSys to the DataSource

PutGeocentricCoordSys

Adds a GeocentricCoordSys to the DataSource

PutGeodeticCoordSys

Adds a GeodeticCoordSys to the DataSource

PutGeodeticPoint

Adds a GeodeticPoint to the DataSource

PutHeightModel

Adds a HeightModel to the DataSource

PutHorizontalDatum

Adds a HorizontalDatum to the DataSource

PutLinearUnit

Adds a LinearUnit to the DataSource

PutPrimeMeridian

Adds a PrimeMeridian to the DataSource

PutProjectedCoordSys

Adds a ProjectedCoordSys to the DataSource

PutProjectedPoint

Adds a ProjectedPoint to the DataSource

PutSerializable

Adds an ISerializable to the DataSource

PutVerticalDatum

Adds a VerticalDatum to the DataSource

PutVerticalReference

Adds a VerticalReference to the DataSource

RemoveAngularUnit

Removes an AngularUnit from the DataSource

RemoveCartesianPoint

Removes a CartesianPoint from the DataSource

RemoveCoordTransform

Removes a CoordTransform from the DataSource

RemoveDatumShift

Removes a DatumShift from the DataSource

RemoveEllipsoid

Removes an Ellipsoid from the DataSource

RemoveEnvelope

Removes an Envelope from the DataSource

RemoveFittedCoordSys

Removes a FittedCoordSys from the DataSource

RemoveGeocentricCoordSys

Removes a GeocentricCoordSys from the DataSource

RemoveGeodeticCoordSys

Removes a GeodeticCoordSys from the DataSource

RemoveGeodeticPoint

Removes a GeodeticPoint from the DataSource

RemoveHeightModel

Removes a HeightModel from the DataSource

RemoveHorizontalDatum

Removes a HorizontalDatum from the DataSource

RemoveLinearUnit

Removes a LinearUnit from the DataSource

RemovePrimeMeridian

Removes a PrimeMeridian from the DataSource

RemoveProjectedCoordSys

Removes a ProjectedCoordSys from the DataSource

RemoveProjectedPoint

Removes a ProjectedPoint from the DataSource

RemoveSerializable

Removes an ISerializable from the DataSource

RemoveVerticalDatum

Removes a VerticalDatum from the DataSource

RemoveVerticalReference

Removes a VerticalReference from the DataSource