C# Class ProAppDistanceAndDirectionModule.Models.FeatureClassUtils

Exibir arquivo Open project: Esri/distance-direction-addin-dotnet

Public Methods

Method Description
CreateFCOutput ( string outputPath, SaveAsType saveAsType, List graphicsList, SpatialReference spatialRef, MapView mapview, GeomType geomType, bool isKML = false ) : System.Threading.Tasks.Task

Creates the output featureclass, either fgdb featureclass or shapefile

PromptUserWithSaveDialog ( bool featureChecked, bool shapeChecked, bool kmlChecked ) : string

Prompts the user to save features

Private Methods

Method Description
CreateFeatureClass ( string dataset, GeomType geomType, string connection, SpatialReference spatialRef, List graphicsList, MapView mapview, bool isKML = false ) : System.Threading.Tasks.Task

Create a feature class

CreateFeatures ( List graphicsList ) : System.Threading.Tasks.Task

Create polyline features from graphics and add to table

Method Details

CreateFCOutput() public method

Creates the output featureclass, either fgdb featureclass or shapefile
public CreateFCOutput ( string outputPath, SaveAsType saveAsType, List graphicsList, SpatialReference spatialRef, MapView mapview, GeomType geomType, bool isKML = false ) : System.Threading.Tasks.Task
outputPath string location of featureclass
saveAsType SaveAsType Type of output selected, either fgdb featureclass or shapefile
graphicsList List List of graphics for selected tab
spatialRef SpatialReference
mapview MapView
geomType GeomType
isKML bool
return System.Threading.Tasks.Task

PromptUserWithSaveDialog() public method

Prompts the user to save features
public PromptUserWithSaveDialog ( bool featureChecked, bool shapeChecked, bool kmlChecked ) : string
featureChecked bool
shapeChecked bool
kmlChecked bool
return string