C# Class ArcStrabo10.ArcStraboObject

Datei anzeigen Open project: usc-isi-i2/strabo-arcstrabo Class Usage Examples

Public Properties

Property Type Description
lngLatSet Points[]
pointSet Points[]

Public Methods

Method Description
AddGraphicToMap ( ESRI map ) : void
AddPolygon ( IFeatureLayer featureLayer, IFeatureWorkspace featureworkspace, string dir ) : void

Read the GeoJason File and add new Polygongs to the vector layer the name of file should be newFile.json

AddRasterLayer ( string path, string fileName ) : void

Add Raster Layer for the result of Extract textlayer

CreateDirectory ( string current, string subDir ) : string
CreateFeatureClassWithFields ( String featureClassName, IFeatureWorkspace featureWorkspace, string dir ) : IFeatureClass

Add Feature class and its feilds

CreateFeatureClassWithFieldsGeoRef ( String featureClassName, IFeatureWorkspace featureWorkspace ) : IFeatureClass
CreateFeatureLayer ( IFeatureClass featureClass ) : IFeatureLayer

Cearte shapefile layer(Raster Layer) to open new layer for Polygons

Cearte New FeatureLayer

CreateShapefileWorkspace ( string dir ) : IWorkspace
GetXY ( double lat, double lng, double &pixelX, double &pixelY ) : void

/////////////Converting pixels to Lat/Long

MakingSymbolGeoJsonFile ( ) : void
MakingTextLabelGeoJsonFile ( string dir ) : void

access to the positive and negative layer and save them on the GeoJson File

SymbolExtraction ( ) : void
addPoligonGeorefrenced ( IFeatureLayer featureLayer, IFeatureWorkspace featureworkspace ) : void
consolidate ( ArrayList al, int w, int h, TextWriter log ) : HashSet
convertPolygon ( ) : void
findRasterLayerPath ( ) : string
getLngLat ( double x, double y, double &lng, double &lat ) : void

////////////Converting Lat/long to X and Y

symbolCreateShapefileWorkspace ( ) : IWorkspace
symbolFindRasterLayerPath ( RasterMapInfo rasterInfo ) : void
textIndentification ( string input_dir, string output_dir, string fn ) : void
textLayerExtract ( string sourceImageDir, string resultImageDir ) : void

TextExtraction and TextIdentifier Methods

votting ( ) : string

Private Methods

Method Description
AddShapeFileLayer ( string path, string fileName ) : void

Add Shapefile layer

addFeatureFeild ( string fieldName, string aliasName, esriFieldType type, IFieldsEdit fieldsEdit ) : void

add feature feild of each feature

bindURI ( ) : void
countVote ( string type ) : int
fillImageList ( string path, List imgList, Byte>.Image srcImage ) : void
fillSymbolList ( List imgList, Byte>.Image srcImage ) : void
findMinDistance ( CoordinatePoint item, List dbpediaResults ) : DBpedia.DbpediaInfo
setGeoJASONFeilds ( string fieldName, esriFieldType type, Field_info feild ) : void

set feature of GeoJson File

shortestDistance ( double lngS, double latS, double lngD, double latD ) : double
symbolRecognition ( Byte>.Image &gElement, string path ) : HashSet

Method Details

AddGraphicToMap() public method

public AddGraphicToMap ( ESRI map ) : void
map ESRI
return void

AddPolygon() public method

Read the GeoJason File and add new Polygongs to the vector layer the name of file should be newFile.json
public AddPolygon ( IFeatureLayer featureLayer, IFeatureWorkspace featureworkspace, string dir ) : void
featureLayer IFeatureLayer
featureworkspace IFeatureWorkspace
dir string
return void

AddRasterLayer() public method

Add Raster Layer for the result of Extract textlayer
public AddRasterLayer ( string path, string fileName ) : void
path string
fileName string
return void

CreateDirectory() public method

public CreateDirectory ( string current, string subDir ) : string
current string
subDir string
return string

CreateFeatureClassWithFields() public method

Add Feature class and its feilds
public CreateFeatureClassWithFields ( String featureClassName, IFeatureWorkspace featureWorkspace, string dir ) : IFeatureClass
featureClassName String
featureWorkspace IFeatureWorkspace
dir string
return IFeatureClass

CreateFeatureClassWithFieldsGeoRef() public method

public CreateFeatureClassWithFieldsGeoRef ( String featureClassName, IFeatureWorkspace featureWorkspace ) : IFeatureClass
featureClassName String
featureWorkspace IFeatureWorkspace
return IFeatureClass

CreateFeatureLayer() public method

Cearte shapefile layer(Raster Layer) to open new layer for Polygons Cearte New FeatureLayer
public CreateFeatureLayer ( IFeatureClass featureClass ) : IFeatureLayer
featureClass IFeatureClass
return IFeatureLayer

CreateShapefileWorkspace() public method

public CreateShapefileWorkspace ( string dir ) : IWorkspace
dir string
return IWorkspace

GetXY() public method

/////////////Converting pixels to Lat/Long
public GetXY ( double lat, double lng, double &pixelX, double &pixelY ) : void
lat double
lng double
pixelX double
pixelY double
return void

MakingSymbolGeoJsonFile() public method

public MakingSymbolGeoJsonFile ( ) : void
return void

MakingTextLabelGeoJsonFile() public method

access to the positive and negative layer and save them on the GeoJson File
public MakingTextLabelGeoJsonFile ( string dir ) : void
dir string
return void

SymbolExtraction() public method

public SymbolExtraction ( ) : void
return void

addPoligonGeorefrenced() public method

public addPoligonGeorefrenced ( IFeatureLayer featureLayer, IFeatureWorkspace featureworkspace ) : void
featureLayer IFeatureLayer
featureworkspace IFeatureWorkspace
return void

consolidate() public static method

public static consolidate ( ArrayList al, int w, int h, TextWriter log ) : HashSet
al System.Collections.ArrayList
w int
h int
log System.IO.TextWriter
return HashSet

convertPolygon() public method

public convertPolygon ( ) : void
return void

findRasterLayerPath() public method

public findRasterLayerPath ( ) : string
return string

getLngLat() public method

////////////Converting Lat/long to X and Y
public getLngLat ( double x, double y, double &lng, double &lat ) : void
x double
y double
lng double
lat double
return void

symbolCreateShapefileWorkspace() public method

public symbolCreateShapefileWorkspace ( ) : IWorkspace
return IWorkspace

symbolFindRasterLayerPath() public method

public symbolFindRasterLayerPath ( RasterMapInfo rasterInfo ) : void
rasterInfo RasterMapInfo
return void

textIndentification() public method

public textIndentification ( string input_dir, string output_dir, string fn ) : void
input_dir string
output_dir string
fn string
return void

textLayerExtract() public method

TextExtraction and TextIdentifier Methods
public textLayerExtract ( string sourceImageDir, string resultImageDir ) : void
sourceImageDir string
resultImageDir string
return void

votting() public method

public votting ( ) : string
return string

Property Details

lngLatSet public_oe property

public Points[] lngLatSet
return Points[]

pointSet public_oe property

public Points[] pointSet
return Points[]