C# Class Gbdx.Vector_Index.VectorIndexHelper

The vector index helper.
Show file Open project: DigitalGlobe/DGConnect-ESRI Class Usage Examples

Public Methods

Method Description
AddFeatureLayerToMap ( ILayer layer ) : void

Will add the given feature layer to arcmap.

CapEnvelope ( IEnvelope &envelope ) : void

The cap envelope.

CombineTables ( List &tables ) : void

Combines all the IRecordSet2 items in the table into the first item on the table. So if the table has 50 elements then the 0 element will have all the data from the other 49.

CreateFeatureLayer ( IFeatureClass featureClass, string name ) : ILayer

Creates a feature layer from the feature class.

DisplayRectangle ( IActiveView activeView, IElement &elm ) : IPolygon

The display rectangle.

DrawRectangle ( IElement &elm ) : IPolygon

The draw rectangle.

GetPageId ( string json ) : string

From a JSON object performs string operations to get the page id needed for getting pages of data from insight cloud/elastic search

GetTable ( string json ) : IRecordSet2

Takes a JSON string and converts into a RecordSet. From there the record set can be transformed into tables or feature classes as needed

ProjectToWgs1984 ( IEnvelope geom ) : IEnvelope

The project to WGS 1984.

Private Methods

Method Description
AddFields ( IFeatureBuffer &homeRow, IFeature rowToBeCombined ) : void

Will copy the features from the original feature to the destination feature

AddGraphicToMap ( IMap map, IGeometry geometry, IRgbColor rgbColor, IRgbColor outlineRgbColor ) : IElement

Draw a specified graphic on the map using the supplied colors.

Calling this function will not automatically make the graphics appear in the map area. Refresh the map area after after calling this function with Methods like IActiveView.Refresh or IActiveView.PartialRefresh.

VectorIndexColor ( ) : IRgbColor

The vector index color.

Method Details

AddFeatureLayerToMap() public static method

Will add the given feature layer to arcmap.
public static AddFeatureLayerToMap ( ILayer layer ) : void
layer ILayer /// The layer to be added ///
return void

CapEnvelope() public static method

The cap envelope.
public static CapEnvelope ( IEnvelope &envelope ) : void
envelope IEnvelope /// The envelope. ///
return void

CombineTables() public static method

Combines all the IRecordSet2 items in the table into the first item on the table. So if the table has 50 elements then the 0 element will have all the data from the other 49.
public static CombineTables ( List &tables ) : void
tables List /// List of IRecordSet2 elements ///
return void

CreateFeatureLayer() public static method

Creates a feature layer from the feature class.
public static CreateFeatureLayer ( IFeatureClass featureClass, string name ) : ILayer
featureClass IFeatureClass /// the feature class that the layer will use as a data source ///
name string /// Name of the feature layer ///
return ILayer

DisplayRectangle() public static method

The display rectangle.
public static DisplayRectangle ( IActiveView activeView, IElement &elm ) : IPolygon
activeView IActiveView /// The active view. ///
elm IElement /// The elm. ///
return IPolygon

DrawRectangle() public static method

The draw rectangle.
public static DrawRectangle ( IElement &elm ) : IPolygon
elm IElement /// The elm. ///
return IPolygon

GetPageId() public static method

From a JSON object performs string operations to get the page id needed for getting pages of data from insight cloud/elastic search
public static GetPageId ( string json ) : string
json string /// full JSON string ///
return string

GetTable() public static method

Takes a JSON string and converts into a RecordSet. From there the record set can be transformed into tables or feature classes as needed
public static GetTable ( string json ) : IRecordSet2
json string /// JSON string ///
return IRecordSet2

ProjectToWgs1984() public static method

The project to WGS 1984.
public static ProjectToWgs1984 ( IEnvelope geom ) : IEnvelope
geom IEnvelope /// The geometry to be converted to WGS 1984. ///
return IEnvelope