C# Class Gbdx.Vector_Index.VectorIndexHelper

The vector index helper.
Afficher le fichier Open project: DigitalGlobe/DGConnect-ESRI Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

CapEnvelope() public static méthode

The cap envelope.
public static CapEnvelope ( IEnvelope &envelope ) : void
envelope IEnvelope /// The envelope. ///
Résultat void

CombineTables() public static méthode

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 ///
Résultat void

CreateFeatureLayer() public static méthode

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 ///
Résultat ILayer

DisplayRectangle() public static méthode

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

DrawRectangle() public static méthode

The draw rectangle.
public static DrawRectangle ( IElement &elm ) : IPolygon
elm IElement /// The elm. ///
Résultat IPolygon

GetPageId() public static méthode

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 ///
Résultat string

GetTable() public static méthode

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 ///
Résultat IRecordSet2

ProjectToWgs1984() public static méthode

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