/// <summary> /// The Parameter array should be populated with default values here /// </summary> /// <returns></returns> void ITool.Initialize() { _inputParam = new Parameter[2]; _inputParam[0] = new FeatureSetParam(TextStrings.Featuresettoclip); _inputParam[1] = new PolygonFeatureSetParam(TextStrings.Clipbounds); _outputParam = new Parameter[1]; _outputParam[0] = new FeatureSetParam(TextStrings.Clippedfeatureset); }
/// <summary> /// Creates an instance of the dialog /// </summary> /// <param name="inputParam">The parameter this element represents</param> /// <param name="dataSets">An array of available data</param> public FeatureSetElement(FeatureSetParam inputParam, List<DataSetArray> dataSets) { //Needed by the designer InitializeComponent(); //We save the parameters passed in base.Param = inputParam; _dataSets = dataSets; //Saves the label this.GroupBox.Text = Param.Name; Refresh(); }
/// <summary> /// Creates an instance of the dialog /// </summary> /// <param name="outputParam">The parameter this element represents</param> /// <param name="dataSets">An array of available data</param> public FeatureSetElementOut(FeatureSetParam outputParam, List<DataSetArray> dataSets) { //Needed by the designer InitializeComponent(); //We save the parameters passed in base.Param = outputParam; //Saves the label base.GroupBox.Text = Param.Name; //Sets up the initial status light indicator base.Status = ToolStatus.Empty; base.LightTipText = MapWindow.MessageStrings.FeaturesetMissing; //Populates the dialog with the default parameter value if (outputParam.Value != null && outputParam.DefaultSpecified == true) { textBox1.Text = outputParam.ModelName; base.Status = ToolStatus.Ok; base.LightTipText = MapWindow.MessageStrings.FeaturesetValid; } }
/// <summary> /// The Parameter array should be populated with default values here /// </summary> /// <returns></returns> public void Initialize() { _inputParam = new Parameter[1]; _inputParam[0] = new RasterParam("input1 polygon Raster"); _inputParam[0].HelpText = "Input Raster to change to Polygon featureset"; _outputParam = new Parameter[1]; _outputParam[0] = new FeatureSetParam("Output converted polygon."); _outputParam[0].HelpText = "Select the Result of Output feature set with average slope in the attribute."; }
/// <summary> /// The parameters array should be populated with default values here /// </summary> /// <returns></returns> public void Init() { _inputParam = new Parameters[2]; _inputParam[0] = new FeatureSetParam("Base Feature Set"); _outputParam = new Parameters[1]; _outputParam[0]=new FeatureSetParam("Union Feature Set"); }
/// <summary> /// The Parameter array should be populated with default values here /// </summary> /// <returns></returns> public void Initialize() { _inputParam = new Parameter[4]; _inputParam[0] = new FeatureSetParam("input1 polygon to Raster."); _inputParam[0].HelpText = "Input Polygon to change to Raster featureset"; _inputParam[1] = new IntParam("Input No of Cell rows in the output raster."); _inputParam[1].HelpText = "Standard is 255 but you can input according to your requirement."; _inputParam[2] = new IntParam("Input No of Cell colums in the output raster."); _inputParam[2].HelpText = "Standard is 255 but you can input according to your requirement."; _selectionType = new List<string>(); _selectionType.Add("Cover Center"); _selectionType.Add("Cover Area"); _inputParam[3] = new ListParam("SelectionType", _selectionType, 0); _inputParam[3].HelpText = "Select the type of selection when consider cell allocaton.\n\n Cover Center: " + "what ever the polygon cover the center of the cell will alocate to that polygon.\n\n Cover Area: " + "This will decide which polygon cover more area with that cell and allocate the more covering polygon"+ " to that cell."; _outputParam = new Parameter[1]; _outputParam[0] = new RasterParam("Output Raster."); _outputParam[0].HelpText = "Select the Result of Output feature set with average slope in the attribute."; }
/// <summary> /// The Parameter array should be populated with default values here /// </summary> /// <returns></returns> public void Initialize() { _inputParam = new Parameter[2]; _inputParam[0] = new FeatureSetParam(TextStrings.InputFeatureSet); _inputParam[1] = new DoubleParam(TextStrings.BufferDistance, 10.0); //_inputParam[1].Value = 10.0; _outputParam = new Parameter[1]; _outputParam[0] = new PolygonFeatureSetParam(TextStrings.OutputPolygonFeatureSet); }
/// <summary> /// The Parameter array should be populated with default values here /// </summary> /// <returns></returns> public void Initialize() { _inputParam = new Parameter[2]; _inputParam[0] = new RasterParam(TextStrings.input1Raster); _inputParam[0].HelpText = TextStrings.InputRasterforCliping; _inputParam[1] = new FeatureSetParam(TextStrings.input2PolygonforCliping); _inputParam[1].HelpText = TextStrings.InputPolygonforclipingtoRaster; _outputParam = new Parameter[1]; _outputParam[0] = new RasterParam(TextStrings.OutputRaster); _outputParam[0].HelpText = TextStrings.ResultRasterDirectory; }
/// <summary> /// The parameters array should be populated with default values here /// </summary> /// <returns></returns> public void Initialize() { _inputParam = new Parameter[1]; _inputParam[0] = new FeatureSetParam(TextStrings.input1FeatureSet); _inputParam[0].HelpText = TextStrings.InputFeatureSettogenerate; _outputParam = new Parameter[1]; _outputParam[0] = new FeatureSetParam(TextStrings.OutputFeatureSet); _outputParam[0].HelpText = TextStrings.SelectResultFeatureSetDirectory; }
/// <summary> /// The Parameter array should be populated with default values here /// </summary> /// <returns></returns> public void Initialize() { _inputParam = new Parameter[3]; _inputParam[0] = new RasterParam(TextStrings.input1altitudeRaster); _inputParam[0].HelpText = TextStrings.InputRasterforaverageslopecalculation; _inputParam[1] = new DoubleParam(TextStrings.inputZfactor, 1.0); _inputParam[1].HelpText = TextStrings.InputZfactorforslopedisplay; _inputParam[2] = new PolygonFeatureSetParam(TextStrings.input1polygonfeatureset); //_inputParam[2] = new FeatureSetParam(TextStrings."input1 polygon feature set"); _inputParam[2].HelpText = TextStrings.FindAveregeSlopeDescription; _outputParam = new Parameter[1]; _outputParam[0] = new FeatureSetParam(TextStrings.Outputfeaturesetwithaverageslope); _outputParam[0].HelpText = TextStrings.Resultofaverageslope; }
/// <summary> /// The parameters array should be populated with default values here /// </summary> /// <returns></returns> public void Initialize() { _inputParam = new Parameter[3]; _inputParam[0] = new FeatureSetParam(TextStrings.input1FeatureSet); _inputParam[0].HelpText = TextStrings.InputFeatureSettodelete; _inputParam[1] = new IntParam(TextStrings.Index, 0); _inputParam[1].HelpText = TextStrings.IndexNotoOverwrite; _inputParam[2]=new FeatureSetParam(TextStrings.input2FeatureSettoOverwrite); _inputParam[2].HelpText = TextStrings.InputFeatureSettobeoverwrite; _outputParam = new Parameter[1]; _outputParam[0] = new FeatureSetParam(TextStrings.OutputFeatureSet); _outputParam[0].HelpText = TextStrings.SelectResultFeatureSetDirectory; }
/// <summary> /// The Parameter array should be populated with default values here /// </summary> /// <returns></returns> public void Initialize() { _inputParam = new Parameter[2]; _inputParam[0] = new FeatureSetParam(TextStrings.BaseFeatureSet); _inputParam[0].HelpText = TextStrings.MainFeatureset; _inputParam[1] = new FeatureSetParam(TextStrings.ChildFeatureSet); _inputParam[1].HelpText = TextStrings.SecondFeatureset; _outputParam = new Parameter[1]; _outputParam[0]=new FeatureSetParam(TextStrings.UnionFeatureSet); }
/// <summary> /// The parameters array should be populated with default values here /// </summary> /// <returns></returns> public void Initialize() { _inputParam = new Parameter[2]; _inputParam[0] = new FeatureSetParam(TextStrings.input1FeatureSet); _inputParam[0].HelpText = TextStrings.InputFeatureSettodelete; _inputParam[1] = new IndexParam(TextStrings.SelectFeaturestoDelete); _inputParam[1].HelpText = TextStrings.ExpressionSelectFeatures; _outputParam = new Parameter[1]; _outputParam[0] = new FeatureSetParam(TextStrings.OutputFeatureSet); _outputParam[0].HelpText = TextStrings.SelectResultFeatureSetDirectory; }
/// <summary> /// The Parameter array should be populated with default values here /// </summary> /// <returns></returns> public void Initialize() { _inputParam = new Parameter[2]; _inputParam[0] = new FeatureSetParam(TextStrings.BaseFeatureSet); _inputParam[1] = new FeatureSetParam(TextStrings.RemoveFeatureSet); _outputParam = new Parameter[1]; _outputParam[0] = new FeatureSetParam(TextStrings.ErasedResultFeatureSet); }
/// <summary> /// The Parameter array should be populated with default values here /// </summary> /// <returns></returns> public void Initialize() { _inputParam = new Parameter[2]; _inputParam[0] = new RasterParam("input1 Raster"); _inputParam[0].HelpText = "Input Raster for Cliping"; _inputParam[1] = new FeatureSetParam("input2 Polygon for Cliping"); _inputParam[1].HelpText = "Input Polygon for cliping to Raster"; _outputParam = new Parameter[1]; _outputParam[0] = new RasterParam("Output Raster"); _outputParam[0].HelpText = "Select the Result Raster Directory and Name"; }
/// <summary> /// The Parameter array should be populated with default values here /// </summary> /// <returns></returns> public void Initialize() { _inputParam = new Parameter[4]; _inputParam[0] = new FeatureSetParam(TextStrings.input1polygontoRaster); _inputParam[0].HelpText = TextStrings.InputPolygontochange; _inputParam[2] = new DoubleParam(TextStrings.DesiredCellSize); _inputParam[2].HelpText = TextStrings.Themaximumnumber; _inputParam[1] = new ListParam(TextStrings.stringnameoffield); _inputParam[1].HelpText = TextStrings.Thevalueofeachcell; _outputParam = new Parameter[1]; _outputParam[0] = new RasterParam(TextStrings.OutputRaster); _outputParam[0].HelpText = TextStrings.Resultofaverageslope; }
/// <summary> /// The parameters array should be populated with default values here /// </summary> /// <returns></returns> public void Initialize() { _inputParam = new Parameter[2]; _inputParam[0] = new PolygonFeatureSetParam(TextStrings.input1PolygonShapefile); _inputParam[0].HelpText = TextStrings.InputPolygonforCliping; _inputParam[1] = new LineFeatureSetParam(TextStrings.input2LineforCliping); _inputParam[1].HelpText = TextStrings.Inputlineforcliping; _outputParam = new Parameter[1]; //_outputParam[0] = new PolygonFeatureSetParam(TextStrings.OutputShapefile); _outputParam[0] = new FeatureSetParam(TextStrings.ResultShapefile); _outputParam[0].HelpText = TextStrings.SelectResultShapefileDirectory; }
/// <summary> /// The Parameter array should be populated with default values here /// </summary> /// <returns></returns> public void Initialize() { _inputParam = new Parameter[7]; _inputParam[0] = new RasterParam(TextStrings.input1altitudeRaster); _inputParam[0].HelpText = TextStrings.InputRasterforaverageslopecalculation; _inputParam[1] = new DoubleParam(TextStrings.inputZfactor, 1.0); _inputParam[1].HelpText = TextStrings.InputZfactorforslopedisplay; _inputParam[2] = new BooleanParam(TextStrings.slopeinpercentage, TextStrings.boxSlopeInPercentage, false); _inputParam[2].HelpText = TextStrings.slopeinpercentage; _inputParam[3] = new FeatureSetParam(TextStrings.input1polygonfeatureset); _inputParam[3].HelpText = TextStrings.averageslopeinarribute; _inputParam[4] = new FeatureSetParam(TextStrings.inputtheareaofinterest); _inputParam[4].HelpText = TextStrings.featuresetcontainareainterest; _inputParam[5] = new IntParam(TextStrings.Indexofareaofinterestfeature, 0); _inputParam[5].HelpText = TextStrings.indexspecificarea; _inputParam[6] = new StringParam(TextStrings.Fieldnameforavrageslope, TextStrings.AveSlope); _inputParam[6].HelpText = TextStrings.Fieldnamecolomavrageslope; _outputParam = new Parameter[1]; _outputParam[0] = new FeatureSetParam(TextStrings.Outputwithaverageslope); _outputParam[0].HelpText = TextStrings.SelecttheResultofOutput; }
/// <summary> /// The parameters array should be populated with default values here /// </summary> /// <returns></returns> public void Initialize() { _inputParam = new Parameter[3]; _inputParam[0] = new FeatureSetParam(TextStrings.InputFeatureSet); _inputParam[0].HelpText = TextStrings.InputFeatureSettoreproject; _inputParam[1] = new ProjectionParam(TextStrings.SourceProjection); _inputParam[1].HelpText = TextStrings.sourceprojectiondifferent; _inputParam[2] = new ProjectionParam(TextStrings.DesiredOutputProjection); _inputParam[2].HelpText = TextStrings.Thedestinationprojection; _outputParam = new Parameter[1]; _outputParam[0] = new FeatureSetParam(TextStrings.OutputFeatureSet); _outputParam[0].HelpText = TextStrings.SelectResultFeatureSetDirectory; }
/// <summary> /// The parameters array should be populated with default values here /// </summary> /// <returns></returns> public void Initialize() { _inputParam = new Parameter[2]; _inputParam[0] = new FeatureSetParam(TextStrings.input1FeatureSet); _inputParam[0].HelpText = TextStrings.InputFeatureSettodelete; _inputParam[1] = new FeatureSetParam(TextStrings.input2FeatureSettoAdd); _inputParam[1].HelpText = TextStrings.InputFeatureSetaddnewfeatures; _outputParam = new Parameter[1]; _outputParam[0] = new FeatureSetParam(TextStrings.OutputFeatureSet); _outputParam[0].HelpText = TextStrings.SelectResultFeatureSetDirectory; }