C# Класс SampleRasterType.DiMapParser

Class used to parse the dim file (xml format) and get relevant properties from it.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DiMapParser ( ) : System
DiMapParser ( string xmlPath ) : System
GetBandDesc ( int bandIndex ) : string

Get the name of the band.

GetBandIndex ( int indexCounter ) : string

Index of the band based on the counter.

GetBandStatMax ( int bandIndex ) : string

Get maximum value for the band.

GetBandStatMean ( int bandIndex ) : string

Get mean value for the band.

GetBandStatMin ( int bandIndex ) : string

Get minimum value for the band.

GetBandStatStdDev ( int bandIndex ) : string

Get standard deviation value for the band.

GetNextVertex ( string &x, string &y, string &col, string &row ) : bool
GetNextVertex2 ( string &x, string &y, string unit ) : bool

Get next vertex from the footprint defined in the xml based on the vertex count and unit.

ResetVertexCount ( ) : void

Reset the vertex count to get vertices of the footprint.

Описание методов

DiMapParser() публичный Метод

public DiMapParser ( ) : System
Результат System

DiMapParser() публичный Метод

public DiMapParser ( string xmlPath ) : System
xmlPath string
Результат System

GetBandDesc() публичный Метод

Get the name of the band.
public GetBandDesc ( int bandIndex ) : string
bandIndex int Index of the band for which to get the name.
Результат string

GetBandIndex() публичный Метод

Index of the band based on the counter.
public GetBandIndex ( int indexCounter ) : string
indexCounter int Counter (similar to vertexCount) to get the index for.
Результат string

GetBandStatMax() публичный Метод

Get maximum value for the band.
public GetBandStatMax ( int bandIndex ) : string
bandIndex int Index of the band for which to get the value.
Результат string

GetBandStatMean() публичный Метод

Get mean value for the band.
public GetBandStatMean ( int bandIndex ) : string
bandIndex int Index of the band for which to get the value.
Результат string

GetBandStatMin() публичный Метод

Get minimum value for the band.
public GetBandStatMin ( int bandIndex ) : string
bandIndex int Index of the band for which to get the value.
Результат string

GetBandStatStdDev() публичный Метод

Get standard deviation value for the band.
public GetBandStatStdDev ( int bandIndex ) : string
bandIndex int Index of the band for which to get the value.
Результат string

GetNextVertex() публичный Метод

public GetNextVertex ( string &x, string &y, string &col, string &row ) : bool
x string
y string
col string
row string
Результат bool

GetNextVertex2() публичный Метод

Get next vertex from the footprint defined in the xml based on the vertex count and unit.
public GetNextVertex2 ( string &x, string &y, string unit ) : bool
x string The X value.
y string The Y value.
unit string Unit to check which parameter to get vertex from.
Результат bool

ResetVertexCount() публичный Метод

Reset the vertex count to get vertices of the footprint.
public ResetVertexCount ( ) : void
Результат void