DotSpatial.Tools
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
This tool provides access to buffer functionality native to DotSpatial.Features.
DotSpatial tools are intended to be used through the DotSpatial toolbox or modeler.
To perform buffer analysis through code, consider using DotSpatial.Feature.Buffer directly.
Create a new instance of the buffer tool
Once the parameters have been configured, the Execute command can be called, it returns true if succesful
Inititalize input and output arrays with parameter types and default values.
Gets or Sets the input paramater array.
Number of parameter and parameter types are defined during initialize.
Gets or Sets the input paramater array.
Number of parameter and parameter types are defined during initialize.
Clip With Polygon
Initializes a new instance of the ClipRasterWithPolygon class.
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
The Parameter array should be populated with default values here
Gets or Sets the input paramater array
Gets or Sets the output paramater array
This tool provides access to the random geometry functionality in DotSpatial.Analysis.RandomGeometry.
DotSpatial tools are intended to be used through the DotSpatial toolbox or modeler.
To perform buffer analysis through code, consider using DotSpatial.Analysis.RandomGeometry directly.
Create a new instance of the RandomGeometry tool
Executes the random geometry tool, returning true when it has completed.
Inititalize input and output arrays with parameter types and default values.
Gets or Sets the input paramater array.
Number of parameter and parameter types are defined during initialize.
Gets or Sets the output paramater array.
Number of parameter and parameter types are defined during initialize.
Raster Slope
Initializes a new instance of the RasterBinTool class.
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
Executes the slope generation raster.
The input altitude raster.
The double precision base value.
The double size of the output bin.
The output slope raster.
The progress handler.
True if the method worked.
The Parameter array should be populated with default values here
Fires when one of the parameters value has been changed, usually when a user changes a input or output Parameter value, this can be used to populate input2 Parameter default values.
Gets or Sets the input parameter array
Gets or Sets the output parameter array
Raster Add
Initializes a new instance of the RasterFromLAS class.
Once the Parameter have been configured the Execute command can be called, it returns true if successful
Executes the RasterFromLAS tool.
The string filename of the LAS file to convert.
The extent of the output raster.
The integer number of rows of the output raster.
The integer number of columns.
The output raster.
The progress handler.
Boolean, true if the method was successful.
The Parameter array should be populated with default values here
Fires when one of the parameters value has been changed, usually when a user changes a input or
output Parameter value, this can be used to populate input2 Parameter default values.
Gets or Sets the input parameter array
Gets or Sets the output parameter array
Used to consolidate duplicate code across multiple tools.
Initializes a new instance of the RasterMagic class.
Initializes a new instance of the RasterMagic class.
Expands the first envelope to include the second.
The first input raster to union the envelope for.
The second input raster to union the envelope for.
The expanded envelope.
Class for creating voronoi (Thiessen) polygons
Creates a new instance of the voronoi polygon tool
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
The Parameter array should be populated with default values here
Gets or Sets the input paramater array
Gets or Sets the output paramater array
Raster to Polygon tool
Initializes a new instance of the RasterToPolygon class.
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
Create polygons from raster.
The Polygon Raster(Grid file).
The Polygon shapefile path.
The progress handler.
Create polygons from raster.
The Polygon Raster(Grid file).
Connection Grid.
The Polygon shapefile path.
The progress handler.
The Parameter array should be populated with default values here
Gets or Sets the input paramater array
Gets or Sets the output paramater array
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Reproject Feature Set
Initializes a new instance of the ReprojectFeatureSet class.
Once the parameters have been configured the Execute command can be called, it returns true if successful
Executes the ReprojectFeatureSet Operation tool programaticaly.
The input FeatureSet.
The input Expression string to select features to Delete.
The target projected coordinate system to reproject the featureset to
The output FeatureSet.
The progress handler.
Ping deleted "static" for external testing
The parameters array should be populated with default values here
Fires when one of the parameters value has been changed, usually when a user changes a input or output
parameters value, this can be used to populate input2 parameters default values.
Gets or Sets the input parameter array
Gets or Sets the output parameter array
A tool for finding the average slope
Initializes a new instance of the FindAverageSlope class.
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
Finds the average slope in the given polygons.
The dem Raster(Grid file).
The scaler factor
The flow poly shapefile path.
The resulting DEM of slopes
The progress handler.
The Parameter array should be populated with default values here
Executes the slope generation raster.
The input altitude raster.
The multiplicitive scaling factor for elveation.
Boolean that is true if the slope values should be returned as percentages.
The output slope raster.
The progress handler.
Boolean, true if the method was successful.
Gets or Sets the input paramater array
Gets or Sets the output paramater array
Find the slope
Initializes a new instance of the FindAverageSlopeExtented class.
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
Finds the average slope in the given polygons with more user preferences.
The dem Raster(Grid file).
The scaler factor
The slope in percentage.
The flow poly shapefile path.
The field name to store average slope in the attribute.
The Featureset where we have the area of interest
The index of featureset which give paticular area of interest.
The path to save created slope Feature set.
The progress handler.
The Parameter array should be populated with default values here
Executes the slope generation raster.
The input altitude raster.
A multiplicative scaling factor to be applied to the elevation values before calculating the slope.
If this is true, the slope is returned as a percentage.
The output slope raster.
The progress handler.
Gets or Sets the input paramater array
Gets or Sets the output paramater array
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to This will add all features of input with attributes..
Looks up a localized string similar to Add Feature.
Looks up a localized string similar to This will add Feature in the Feature Set..
Looks up a localized string similar to Add Feature in the FeatureSet.
Looks up a localized string similar to Add Raster Layers.
Looks up a localized string similar to This will Add Two Raster Layer cell by cell.
Looks up a localized string similar to Add two Raster Layers.
Looks up a localized string similar to Aggregate.
Looks up a localized string similar to Aggregate features combines all the features in the featureset to form a single feature..
Looks up a localized string similar to Analysis.
Looks up a localized string similar to Area.
Looks up a localized string similar to This tool calculates the area of each polygon in a polygon feature set and appends the results to the Output feature sets attribute table..
Looks up a localized string similar to Calculates the area of polygons.
Looks up a localized string similar to The average slope will calculate and add in every polygon in its arribute.
Looks up a localized string similar to Ave_Slope.
Looks up a localized string similar to Base Feature Set.
Looks up a localized string similar to This bins the values of a raster so that there will be large regions of equal values..
Looks up a localized string similar to box Slope In Percentage.
Looks up a localized string similar to Buffer.
Looks up a localized string similar to This will add the buffer Polygon FeatureSet with Specified Distance.
Looks up a localized string similar to Buffer Distance.
Looks up a localized string similar to Buffer with distance around input..
Looks up a localized string similar to Calculate Areas.
Looks up a localized string similar to Calculates the euclidean distance from each raster cell to the nearest target cell.
Looks up a localized string similar to Calculate Average Slope for given polygons..
Looks up a localized string similar to Calculates the distance (proximity) from each cell to the nearest target cell. By default, all.
Looks up a localized string similar to Cel lSize.
Looks up a localized string similar to Change Cell Size.
Looks up a localized string similar to Child Feature Set.
Looks up a localized string similar to Clip bounds.
Looks up a localized string similar to Clip Feature Set With Polygon.
Looks up a localized string similar to This will Clip Grids with Polygon Shape File.
Looks up a localized string similar to Clipped feature set.
Looks up a localized string similar to Clip Polygon with Line.
Looks up a localized string similar to Clip Raster Layer.
Looks up a localized string similar to Clip Raster Layer with Polygon.
Looks up a localized string similar to Clips a layer with another layer.
Looks up a localized string similar to This too uses the Fortune algorithm to compute the voronoi diagram for a given set of points. In this diagram, every polygon represents the region where any point inside that polygon is closer to the original point in that polygon than it is to any other point..
Looks up a localized string similar to Conversion.
Looks up a localized string similar to Converted feature set.
Looks up a localized string similar to Converting LAS points from.
Looks up a localized string similar to Create Voronoi Polygons.
Looks up a localized string similar to Delete Features.
Looks up a localized string similar to This will delete Features from FeatureSet..
Looks up a localized string similar to Delete Features from FeatureSet.
Looks up a localized string similar to This will delete user selected Features from FeatureSet.
Looks up a localized string similar to Desired Cell Size or 0 to automatically calculate cell size.
Looks up a localized string similar to Desired Output Projection.
Looks up a localized string similar to Displaying is the Old Cell Hight. input New value for 'change' or leave that for 'no change'.
Looks up a localized string similar to DotSpatial Development Team.
Looks up a localized string similar to DotSpatial RasterFromLAS.
Looks up a localized string similar to This tool reduces the number of points on polylines using the Douglas-Peucker line simplification algorithm.
Looks up a localized string similar to DP line simplification.
Looks up a localized string similar to This will eliminate Second featureset from first featureset.
Looks up a localized string similar to Erase.
Looks up a localized string similar to Erase 2nd input from 1st input.
Looks up a localized string similar to Erased Result Feature Set.
Looks up a localized string similar to Exception in Executer the polygon cliping with line.
Looks up a localized string similar to Expression to Select the Features from Featureset.
Looks up a localized string similar to This feature set contain the area of interest where the average slope want to calculate..
Looks up a localized string similar to The feature set created from converting the raster.
Looks up a localized string similar to Feature set to clip.
Looks up a localized string similar to Feature To Raster.
Looks up a localized string similar to This will generate a new raster from given Polygon..
Looks up a localized string similar to Field name for average slope which will add new colom in the attribute.
Looks up a localized string similar to Field name for average slope..
Looks up a localized string similar to Find Average Slope.
Looks up a localized string similar to This will Generate the average slope in the given polygons..
Looks up a localized string similar to Calculate Average Slope for given polygons with more user preference.
Looks up a localized string similar to Find Average Slope Extented...
Looks up a localized string similar to Fixed Count.
Looks up a localized string similar to Fixed Distance.
Looks up a localized string similar to Fixed Distance: When using fixed distance if the minimum number of points is not found within the search radius it is increased until the minimum is found. Enter 0 for no minimum count.\n\nFixedCount: When using fixed count the maximum number of points will be used as long as they fall within the maximum search radius..
Looks up a localized string similar to Generalization.
Looks up a localized string similar to This will Generate the average slope in the given polygons with more user preferences..
Looks up a localized string similar to Generate Centroid.
Looks up a localized string similar to This will generate centroid FeatureSet from input FeatureSet..
Looks up a localized string similar to This will generate centroid FeatureSet from input FeatureSet..
Looks up a localized string similar to Generate Centroid from input FeatureSet.
Looks up a localized string similar to This will Generate Raster from given Polygon..
Looks up a localized string similar to Generate slope Raster Layer.
Looks up a localized string similar to The geographic extent for the output raster..
Looks up a localized string similar to Given a feature set, this will combine all of the features into a single shape. Polygons that touch will lose the separation boundaries..
Looks up a localized string similar to Converts the point elevations in a LAS file to a Raster..
Looks up a localized string similar to This tool creates a raster from a point feature set using Inverse Distance Weighting..
Looks up a localized string similar to Index.
Looks up a localized string similar to Index No to Overwrite Feature.
Looks up a localized string similar to Index of area of interest feature.
Looks up a localized string similar to This is the index which give the specific area of interest feature.
Looks up a localized string similar to input1 altitude Raster.
Looks up a localized string similar to input1 Feature Set.
Looks up a localized string similar to input1 polygon feature set.
Looks up a localized string similar to input1 Polygon Shape file..
Looks up a localized string similar to input1 polygon to Raster..
Looks up a localized string similar to Raster.
Looks up a localized string similar to Feature Set to Add.
Looks up a localized string similar to Feature Set to Overwrite.
Looks up a localized string similar to Line for Clipping.
Looks up a localized string similar to Polygon for Clipping.
Looks up a localized string similar to Second Raster.
Looks up a localized string similar to Input Feature Set.
Looks up a localized string similar to Input FeatureSet which has new features to add.
Looks up a localized string similar to Input FeatureSet which has new feature to be overwrite.
Looks up a localized string similar to Input FeatureSet to delete features.
Looks up a localized string similar to Input FeatureSet to generate Centroid features.
Looks up a localized string similar to Input FeatureSet to reproject.
Looks up a localized string similar to Input First Raster.
Looks up a localized string similar to Input line for cliping.
Looks up a localized string similar to Input new cell Hight.
Looks up a localized string similar to Input new cell Width.
Looks up a localized string similar to Input Polygon for Cliping.
Looks up a localized string similar to Input Polygon for cliping to Raste.
Looks up a localized string similar to Input Polygon to change to Raster featureset.
Looks up a localized string similar to input Raster.
Looks up a localized string similar to Input Raster containing the target cells.
Looks up a localized string similar to Input Raster for average slope calculation.
Looks up a localized string similar to Input Raster for Cliping.
Looks up a localized string similar to Input the Raster for No Data Value Change.
Looks up a localized string similar to The input raster to convert into a polygon featureset.
Looks up a localized string similar to Input Second Raster for Adding.
Looks up a localized string similar to Input Second Raster for Merging.
Looks up a localized string similar to Input Second Raster for Multiply.
Looks up a localized string similar to Input Second Raster for Subtract.
Looks up a localized string similar to input the area of interest.
Looks up a localized string similar to Input the Raster for Cell size Change.
Looks up a localized string similar to input Z factor.
Looks up a localized string similar to Input Z factor for slope display.
Looks up a localized string similar to Interpolation.
Looks up a localized string similar to Inverse Distance Weighting.
Looks up a localized string similar to ISU.
Looks up a localized string similar to lasFilename.
Looks up a localized string similar to Enter the full path value of the LAS filename..
Looks up a localized string similar to The field in the input point feature set layer that contains the values to interpolate..
Looks up a localized string similar to Line Feature Set.
Looks up a localized string similar to Main Feature set.
Looks up a localized string similar to MapWindow.Tools.
Looks up a localized string similar to MapWindow Add Feature.
Looks up a localized string similar to MapWindow Aggregate.
Looks up a localized string similar to MapWindow Buffer.
Looks up a localized string similar to MapWindow Calculate Areas.
Looks up a localized string similar to MapWindow Change Cell Size.
Looks up a localized string similar to MapWindow Change No Data Values.
Looks up a localized string similar to MapWindow Clip.
Looks up a localized string similar to MapWindow Delete Features.
Looks up a localized string similar to MapWindow Erase.
Looks up a localized string similar to MapWindow FeatureToRaster.
Looks up a localized string similar to MapWindow FindAverageSlope.
Looks up a localized string similar to MapWindow FindAverageSlope Extented...
Looks up a localized string similar to MapWindow Generate Centroid.
Looks up a localized string similar to MapWindow Inverse Distance Weighting.
Looks up a localized string similar to MapWindow Line Simplification.
Looks up a localized string similar to MapWindow OverWrite Feature.
Looks up a localized string similar to MapWindow Polygon Clip With Line.
Looks up a localized string similar to MapWindow Raster Add.
Looks up a localized string similar to MapWindow Raster Clip.
Looks up a localized string similar to MapWindow Raster Euclidean Distance.
Looks up a localized string similar to MapWindow Raster Merge.
Looks up a localized string similar to MapWindow Raster Multiply.
Looks up a localized string similar to MapWindow Raster Slope.
Looks up a localized string similar to MapWindow Raster Subtraction.
Looks up a localized string similar to MapWindow Reproject Features.
Looks up a localized string similar to MapWindow SimpeRasterToPolygon.
Looks up a localized string similar to MapWindow Theissen Polygons.
Looks up a localized string similar to MapWindow Union.
Looks up a localized string similar to Voronoi.
Looks up a localized string similar to Maximum distance.
Looks up a localized string similar to Maximum distance to be calculated. Cells with a distance to nearest target greater than 'Maximum distance' will be assigned a 'no data' value.";.
Looks up a localized string similar to This will Merge Two Raster Layer cell by cell.
Looks up a localized string similar to Merge Raster Layers.
Looks up a localized string similar to Merge two Raster Layers.
Looks up a localized string similar to Min / Max distance.
Looks up a localized string similar to Min / Max number of points.
Looks up a localized string similar to Multiply Raster Layers.
Looks up a localized string similar to This will Multiply two rasters values cell by cell.
Looks up a localized string similar to Neighborhood Type.
Looks up a localized string similar to New number of points:.
Looks up a localized string similar to The new raster will put on the Output raster name.
Looks up a localized string similar to Creates a new raster based on the specified featureset using the specified field to determine distinct polygons and assign the raster values.
Looks up a localized string similar to No Data Value Change .
Looks up a localized string similar to This will Change the No Data Values.
Looks up a localized string similar to The number of columns to create in the output raster..
Looks up a localized string similar to The number of rows to create in the output image..
Looks up a localized string similar to NumColumns.
Looks up a localized string similar to NumRows.
Looks up a localized string similar to One of the parameter layers in null.
Looks up a localized string similar to Optional - leave default for NoDataValue or input Exsisting Value.
Looks up a localized string similar to This is Optional where User want to change the Value to other Value. Defalt will be No Data Value change.
Looks up a localized string similar to Original number of points:.
Looks up a localized string similar to Output FeatureSet.
Looks up a localized string similar to Output feature set with average slope..
Looks up a localized string similar to Output Polygon Feature Set.
Looks up a localized string similar to Output Raster..
Looks up a localized string similar to Output Shapefile.
Looks up a localized string similar to Output slope Raster.
Looks up a localized string similar to Output feature set with average slope..
Looks up a localized string similar to OverWrite Feature.
Looks up a localized string similar to This will OverWrite Feature in the FeatureSet reference by index.
Looks up a localized string similar to This will OverWrite Feature in the FeatureSet..
Looks up a localized string similar to OverWrite Feature in the FeatureSet.
Looks up a localized string similar to Pass 1:.
Looks up a localized string similar to Pass 2:.
Looks up a localized string similar to Point Feature Set.
Looks up a localized string similar to Polygon Feature Set.
Looks up a localized string similar to Power.
Looks up a localized string similar to % progress completed.
Looks up a localized string similar to toraster.
Looks up a localized string similar to Random Points.
Looks up a localized string similar to Generate any number of randomly placed points within a specified area of the map..
Looks up a localized string similar to The number of points to generate..
Looks up a localized string similar to Select an area from the map and specify the number of points to generate inside of it..
Looks up a localized string similar to Raster.
Looks up a localized string similar to Raster Distance.
Looks up a localized string similar to Raster Distance (proximity).
Looks up a localized string similar to Raster Extent.
Looks up a localized string similar to Raster From LAS.
Looks up a localized string similar to This will Multiply two rasters values cell by cell.
Looks up a localized string similar to Raster Overlay.
Looks up a localized string similar to This will Generate slope raster from given altitude raster..
Looks up a localized string similar to This will Subtract second raster from first raster cell by cell.
Looks up a localized string similar to Raster To Polygon.
Looks up a localized string similar to This will generate a polygon featureset from a raster.
Looks up a localized string similar to Remove Feature Set.
Looks up a localized string similar to Reproject Features.
Looks up a localized string similar to This will reproject the specified featureset to a new coordinate system.
Looks up a localized string similar to Reprojects all the coordinates in the featureset to the specified coordinate system.
Looks up a localized string similar to This will Change the cell size.
Looks up a localized string similar to Select the Result of Output feature set with average slope in the attribute..
Looks up a localized string similar to Select the Result Raster Directory and Name.
Looks up a localized string similar to Result Shapefile.
Looks up a localized string similar to This will eliminate Second featureset from first featureset.
Looks up a localized string similar to Second Feature set.
Looks up a localized string similar to The second input layer must be a polygon feature set.
Looks up a localized string similar to Select Features to Delete.
Looks up a localized string similar to Select the Result FeatureSet Directory and Name.
Looks up a localized string similar to Select the result raster file name.
Looks up a localized string similar to Select the Result Shapefile Directory and Name.
Looks up a localized string similar to Select the Result of Output feature set with average slope in the attribute..
Looks up a localized string similar to Select the type of neighborhood to use when searching for point. \n\nFixed Distance: Searches a set distance from a cell for points and uses all of the points that are found to compute a cells value. If there are less points collected then the minimum specified the search radius is expanded until there are suffcient points found. \n\nFixed Count: Searches for the closest points to the cell until the max number of points specified is reached or the maximum distance is reached..
Looks up a localized string similar to Simplify Lines.
Looks up a localized string similar to Slope grid file is null..
Looks up a localized string similar to slope in percentage.
Looks up a localized string similar to slope in percentage true otherwise it will be in Degree.
Looks up a localized string similar to Slope Raster Layer.
Looks up a localized string similar to Source Projection.
Looks up a localized string similar to If the source projection should be different from what is already on the feature set.
Looks up a localized string similar to Spatial Reference.
Looks up a localized string similar to Statistics.
Looks up a localized string similar to The string name of the field to use in the data table.
Looks up a localized string similar to Subtract Raster Layer.
Looks up a localized string similar to Terrain Analysis.
Looks up a localized string similar to The cellsize in the geographic units of the input layer. If 0 the width is calculate as the extent of the input layer divided by 255.
Looks up a localized string similar to The destination projection..
Looks up a localized string similar to The influence of distance points. A higher power reduces the influences of distant points, a lower value increases it..
Looks up a localized string similar to The maximum number of rows/columns is 8000, so a cell size that is too small will be adjusted. A zero value calculates the values so that the shorter dimension between width and height will measure 256 cells..
Looks up a localized string similar to The value of each cell will either be assigned the value from this field or will attept to parse the string field member as a number.
Looks up a localized string similar to Thiessen Polygons.
Looks up a localized string similar to Tolerance.
Looks up a localized string similar to This tool combines many different polygons into a single, all encompassing shape, though the shape may have mutliple parts..
Looks up a localized string similar to This tool will read in LAS point files and produce raster representations for an area.
Looks up a localized string similar to This tool takes a feature set and a polygon feature set and clips the first feature set to the are defined by the polygon feature set..
Looks up a localized string similar to Union.
Looks up a localized string similar to This will add all features of input with attributes..
Looks up a localized string similar to Union Feature Set.
Looks up a localized string similar to Unioning Shapes.
Looks up a localized string similar to Union of inputs.
Looks up a localized string similar to User Can input New Value to replace Old Value.
Looks up a localized string similar to User New Values.
Looks up a localized string similar to Vector Overlay.
Looks up a localized string similar to This tool computes voronoi polygons around each of the points, defining the regions that are closer to that point than any other points..
Looks up a localized string similar to Z-value.
An add feature tool
Initializes a new instance of the AddFeature class.
Once the parameters have been configured the Execute command can be called, it returns true if succesful
Executes the add features Opaeration tool programaticaly.
Ping deleted "static" for external Testing
The input FeatureSet.
The input2 featureSet which has the new features to add.
The output FeatureSet.
The progress handler.
The parameters array should be populated with default values here
Gets or Sets the input paramater array
Gets or Sets the output paramater array
A tool for deleting the features
Initializes a new instance of the DeleteFeatures class.
Once the parameters have been configured the Execute command can be called, it returns true if succesful
Executes the Erase Opaeration tool programaticaly.
Ping deleted static for external testing 01/2010
The input FeatureSet.
The input Expression string to select features to Delete.
The output FeatureSet.
The progress handler.
The parameters array should be populated with default values here
Fires when one of the paramters value has beend changed, usually when a user changes a input or output parameters value, this can be used to populate input2 parameters default values.
Gets or Sets the input paramater array
Gets or Sets the output paramater array
An Erase tool
Initializes a new instance of the Erase class.
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
The Parameter array should be populated with default values here
Gets or Sets the input paramater array
Gets or Sets the output paramater array
Clip Polygon with line tool
Intersection tolerance for comparing to near 0.0
Initializes a new instance of the ClipPolygonWithLine class.
Accurate Clip Polygon with Line
This will clip MultiPart Polygon with line.
Input Polygon.
Input Line.
Output Featureset.
The speed optimizer.
Returns the portions of the polygons in polySF that lie within polygon as a
new shapefile of polygons: resultPolySF.
The shapefile of polygons that are to be clipped.
The polygon used for clipping.
The result shapefile for the resulting polygons to be saved (in-memory).
True if copying attrs
False if an error was encountered, true otherwise.
Takes an array of simple polygons and combines them into one multi-part shape.
The array of polygons.
The resulting multi-part shape.
Takes a MapWinGIS polygon shape and stores all x/y coordinates into a vertex array.
The polygon to be converted.
The array[numParts][] that will contain the polygon vertices.
Divides a polygon into multiple sections depending on where a line crosses it. Saves the resulting
polygon sections to a new polygon shapefile.
The polygon to be divided.
The line that will be used to divide the polgyon.
The in-memory shapefile where resulting polygons should be saved.
False if an error was encountered, true otherwise.
Removes portions of the input polygon shapefile that are within the erase polygons.
The input polygon shapefile.
The erase polygon shapefile.
The resulting shapefile, with portions removed.
For faster clipping of polygons with lines. Limits the finding of intersections to
outside->inside or inside->outside 2pt segments. Assumes only one intersections exists
per segment, that a segment of two inside points or two outside points will not intersect
the polygon.
The polygon that will be sectioned by the line.
The line that will clip the polygon into multiple parts.
The in-memory shapefile where the polygon sections will be saved.
False if errors are encountered, true otherwise.
Sorts all valid intersects in the array intersectPts.
Expected number of valid intersects.
Array of all possible intersect points.
Array that will contain only the valid intersect points in sorted order.
The reference point to sort the valid intersect points by.
Find the intersection points of lines that cross a polygon
The line features
The polygon feature
Output array of intersection counts
Output array of intersection points
Output array of intersection locations in reference to polygon vertex indices
Determines which shapes are holes and which shapes are islands in
a multi-part polygon and fixes their orientations accordingly.
The multi-part polygon whose parts need to be checked.
Calculates the distance between two points.
The first point.
The second point.
The distance between pt0 and pt1.
Separate Parts
Once the parameters have been configured the Execute command can be called, it returns true if succesful
Executes the ClipPolygonWithLine Operation tool programaticaly.
Ping deleted static for external testing 01/2010
The input Polygon FeatureSet.
The input Polyline FeatureSet.
The output Polygon FeatureSet.
The progress handler.
The parameters array should be populated with default values here
Given a line that contains portion both inside and outside of the polygon, this
function will split the polygon based only on the segments that completely bisect
the polygon. It assumes: out->out, and in->in 2pt segments do not intersect the
polygon, and out->in, in->out 2pt segments have only one point of intersection.
A boolean array indicating if a point is inside the polygon or not.
The line that intersects the polygon.
The polygon that will be split by the intersecting line.
The shapefile that the polygon sections will be saved to.
False if errors were encountered or an assumption violated, true otherwise.
Sorts all valid intersects in the array intersectPts, along with corresponding polygon locations in array polyLoc.
Expected number of valid intersects.
Array of all possible intersect points.
Array that will contain only the valid intersect points in sorted order.
The reference point to sort the valid intersect points by.
Array with corresponding indicies to where an intersect pt occurs in polygon.
For lines where every point lies within the polygon, this function will
find if any 2pt segment crosses through the polygon. If so, it will split
the polygon into mutliple parts using the intersecting line segments.
The line whose points are all inside the polygon.
The polygon being checked for intersection.
The file where new polygon sections should be saved to.
False if errors were encountered, true otherwise.
For lines where every point lies outside the polygon, this function will
find if any 2pt segment crosses through the polygon. If so, it will split
the polygon into mutliple parts using the intersecting line segments.
The line whose points are all inside the polygon.
The polygon being checked for intersection.
The file where new polygon sections should be saved to.
False if errors were encountered, true otherwise.
Given a line that contains portions both inside and outside of the polygon, this
function will split the polygon based only on the segments that completely bisect
the polygon. The possibility of mutliple intersections for any 2pt segment is taken
into account.
A boolean array indicating if a point is inside the polygon or not.
The line that intersects the polygon.
The polygon that will be split by the intersecting line.
The shapefile that the polygon sections will be saved to.
False if errors were encountered or an assumption violated, true otherwise.
Sections a polygon into multiple parts depending on where line crosses it and if previous sectioning has occured.
The line that splits the polygon. First and last points are intersect points.
The polygon that is to be split by the line.
Index to polygon segment where the first intersect point is found.
Index to polygon segment where last intersect point is found.
Reference to result shapefile where new polygon sections will be saved.
False if an error occurs, true otherwise.
Given a reference point to the line, and an array of points that
lie along the line, this method sorts the array of points from the point
closest to the reference pt to the pt farthest away. It also sorts the corresponding
polygon location array so that the indicies refer to the correct intersection point.
Point in line segment used as reference.
Array of points that lie on the same line as startPt.
Array indexing where in polygon an intersect occurs.
Given a reference point to the line, and an array of points that
lie along the line, this method sorts the array of points from the point
closest to the reference pt to the pt farthest away.
Point in line segment used as reference.
Array of points that lie on the same line as startPt.
Splits original polygon into two portions depending on where line crosses it.
The line the crosses the polygon. First and last points are intersects.
The polygon that is split by the line.
The section of the polygon where the first intersect point is found.
The section of the polygon where the last intersect point is found.
First portion of polygon returned after splitting.
Second portion of polygon returned after splitting.
Calculates the determinant of a 3X3 matrix, where the first two rows
represent the x, y values of two lines, and the third row is (1 1 1).
The first element of the first row in the matrix.
The second element of the first row in the matrix.
The third element of the first row in the matrix.
The first element of the second row in the matrix.
The second element of the second row in the matrix.
The third element of the second row in the matrix.
The determinant of the matrix.
Gets or Sets the input paramater array
Gets or Sets the output paramater array
Raster Slope
Initializes a new instance of the RasterSlope class.
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
Executes the slope generation raster.
The input altitude raster.
A multiplicative scaling factor to be applied to the elevation values before calculating the slope.
If this is true, the resulting slopes are returned as percentages.
The output slope raster.
The progress handler.
True if the method worked.
The Parameter array should be populated with default values here
Gets or Sets the input paramater array
Gets or Sets the output paramater array
Union all of the features from one polygon feature set into a single polygon.
Initializes a new instance of the class.
Once the Parameters have been configured, the Execute command can be called, it returns true if succesful.
Executes the Union Opaeration tool programaticaly
The source FeatureSet to aggregate the features for..
The result FeatureSet of aggregated features..
The progress handler.
Boolean if the result is true.
The Parameter array should be populated with default values here
Gets or Sets the input paramater array
Gets or Sets the output paramater array
Merge Grids
Initializes a new instance of the MergeGrids class.
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
Executes the Erase Opaeration tool programaticaly
Ping deleted static for external testing 01/2010.
The first input raster.
The second input raster.
The output raster.
The progress handler.
Boolean, true if the merge is successful.
The Parameter array should be populated with default values here
Execute the union region for output envelope.
the first input raster to union the envelope for.
input second input raster to union the envelope for.
The combined envelope.
Help text to be displayed when no input field is selected
Gets or Sets the input paramater array
Gets or Sets the output paramater array
No Data Value Change
Initializes a new instance of the NoDataValueChange class.
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
Executes the Erase Opaeration tool programaticaly
Ping Yang deleted static for external testing 01/2010
The input raster
The original double value representing no-data
The new double value representing no-data
The output raster
The progress handler
The Parameter array should be populated with default values here
Fires when one of the paramters value has beend changed, usually when a user changes a input or output Parameter value, this can be used to populate input2 Parameter default values.
Gets or Sets the input paramater array
Gets or Sets the output paramater array
Raster Distance tool
Initializes a new instance of the RasterDistance class.
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
Executes the Raster distance calculation
Ping Yang deleted static for external testing 10/2010
The input raster
The output raster
The maximum distance value. Cells with a larger distance to nearest
target cell than maxDistance will be assigned 'no data' value.
The progress handler
true if execution successful, false otherwise
The Parameter array should be populated with default values here
Reads and converts the specified row from input raster to an array of integer
It assigns noDataVal to 'noData' values and assigns dataVal to other values
The array where the row is saved. This array must be correctly dimensioned.
New value which will be assigned to value cells
New value which will be assigned to 'no data value' cells
Writes the integer row array to the output raster. The square distance is
converted to a normal distance. Unknown distance is converted to 'no data' value
Gets or Sets the input paramater array
Gets or Sets the output paramater array
Grid Resample
Creates a new instance of the resample grid tool
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
Executes the ReSample Opaeration tool programaticaly
Ping deleted the static property for external testing.
The input raster.
The size of the cell's hight.
The size of the cell's width.
The output raster.
The progress handler.
Boolean, true if the method was successful.
The Parameter array should be populated with default values here
Fires when one of the paramters value has beend changed, usually when a user changes a input or output Parameter value, this can be used to populate input2 Parameter default values.
Gets or Sets the input paramater array
Gets or Sets the output paramater array
Raster Multiply
Initializes a new instance of the RasterMultiply class.
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
Executes RastersMultiply Opaeration tool programaticaly
Ping Yang deleted static property for external testing 01/2010.
The original input input raster for raster multiplication.
The second input raster with values to multiply by.
The output raster.
The progress handler.
Boolean, true if the execute was successful.
The Parameter array should be populated with default values here
Gets or Sets the input paramater array
Gets or Sets the output paramater array
Raster subtract
Initializes a new instance of the RasterSubract class.
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
Executes the Erase Opaeration tool programaticaly
Ping Yang deleted static for external testing 01/2010.
The original input raster.
The second input raster.
The output raster
The progress handler.
Boolean, true if the method was successful.
The Parameter array should be populated with default values here
Gets or Sets the input paramater array
Gets or Sets the output paramater array
Raster Add
Initializes a new instance of the class.
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
Executes the Erase Operation tool programaticaly, 01/10 Ping Yang changed it for external testing.
The first input raster.
The input raster.
The output raster.
The progress handler.
Boolean, true if the method was successful.
The Parameter array should be populated with default values here
Gets or Sets the input paramater array
Gets or Sets the output paramater array
Fixed Count or Distance
Returns as many neighbors as fall within the specified range
Returns the nearest x values, regardless of how close.
Inverse distance weighting tool
Creates a new instance of the inverse distance weighting interpolation tool
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
Executes the Area tool with programatic input
Ping delete static for external testing
The input raster
The field name containing the values to interpolate
The double geographic size of the raster cells to create
The double power representing the inverse
Fixed distance of fixed number of neighbors
The number of neighbors to include if the neighborhood type
is Fixed
Points further from the raster cell than this distance are not included
in the calculation if the neighborhood type is Fixed Distance.
The output raster where values are stored. The fileName is used, but the number
of rows and columns will be computed from the cellSize and input featureset
A progress handler for receiving progress messages
A boolean, true if the IDW process worked correctly
The Parameter array should be populated with default values here
Fires when one of the paramters value has beend changed, usually when a user changes a input or output Parameter value, this can be used to populate other Parameter default values.
Gets or Sets the input paramater array
Gets or Sets the output paramater array
Area
Creates a new instance of the area calculation tool
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
The Parameter array should be populated with default values here
Gets or Sets the input paramater array
Gets or Sets the output paramater array
Line-simplification using Douglas-Peucker algorithm
Initializes a new instance of the DpSimplification class.
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
Executes the DP line simplefy tool programaticaly
Ping Yang Added it for external Testing
The input polygon feature set
The tolerance to use when simplefiying
The output polygon feature set
Executes the DP line simplefy tool programaticaly
The input polygon feature set
The tolerance to use when simplefiying
The output polygon feature set
The progress handler
The Parameter array should be populated with default values here
Gets or Sets the input paramater array
Gets or Sets the output paramater array
Clip Polygon with Polygon
Initializes a new instance of the ClipPolygonWithPolygon class.
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
Executes the ClipPolygonWithPolygon tool with programatic input
The input feature set to clip
The input polygon feature set to clip with
The output feature set
The progress handler for progress message updates
Ping delete "static" for external testing
The Parameter array should be populated with default values here
Gets or Sets the input paramater array
Gets or Sets the output paramater array
Generate Centroid tool
Creates a new instance of the centroid tool
Once the parameters have been configured the Execute command can be called, it returns true if succesful
Executes the generate centroid FeatureSet Opaeration tool programaticaly.
Ping deleted static for external testing 01/2010
The input FeatureSet.
The output FeatureSet.
The progress handler.
The parameters array should be populated with default values here
Gets or Sets the input paramater array
Gets or Sets the output paramater array
Overwrite feature
Initializes a new instance of the OverWriteFeature class.
Once the parameters have been configured the Execute command can be called, it returns true if succesful
Executes the overwrite feature Opaeration tool programaticaly.
The input FeatureSet.
The Index to overwrite
The input2 featureSet which has the new feature to overwrite.
The output FeatureSet.
The progress handler.
The parameters array should be populated with default values here
Help text to be displayed when no input field is selected
Gets or Sets the input paramater array
Gets or Sets the output paramater array
This tool creates a raster by drawing the specified feature onto the raster.
Initializes a new instance of the FeatureToRaster class.
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
Generates a new raster given the specified featureset. Values will be given to
each cell that coincide with the values in the specified field of the attribute
table. If the cellSize is 0, then it will be automatically calculated so that
the smaller dimension (between width and height) is 256 cells.
Ping Yang delete static for external testing 01/2010
The featureset to convert into a vector format
A double giving the geographic cell size.
The string fieldName to use
The raster that will be created
A progress handler for handling progress messages
The Parameter array should be populated with default values here
Fires when one of the paramters value has beend changed, usually when a user changes a input or output Parameter value, this can be used to populate input2 Parameter default values.
Gets or Sets the input paramater array
Gets or Sets the output paramater array
Union the features
Creates a new instance of the Union tool
Once the Parameter have been configured the Execute command can be called, it returns true if succesful
Executes the Union Opaeration tool programaticaly
The input are feature set
The second input feature set
The output feature set
The progress handler
The Parameter array should be populated with default values here
Gets or Sets the input paramater array
Gets or Sets the output paramater array