|
Cleans the gaps in a polyline dataset representing
contours.
Inputs:
- A Polyline dataset
- A field representing the elevation value of
the contours
- Tolerance - the gaps smaller than this
tolerance will be closed.
Outputs:
- New polyline feature class. The gaps in the
contours that a smaller than the selected tolerance are closed.
Notes:
- The function is designed specifically for
contours, but it can be used on datasets representing different features.
- Always inspect the results before accepting
them as valid.
Example :
| Input Contours |
Resulting Polylines |
 |
 |
ToolBox
implementation
Command line syntax
ETS_GPCleanContourGaps <Input
Dataset> <Out Feature Class> <Gap Size>
<Height Field>
Parameters
| Expression |
Explanation |
|
<Input
Dataset> |
A
Polyline feature layer or feature class |
| <Out
Feature Class> |
A String
- the full name of the output feature class |
|
<Gap Size> |
A Double representing the
tolerance. The gaps in the contours that a
smaller than this tolerance will be closed.
|
|
<Height Field> |
A String representing the
name of the height field in the input contour dataset. |
Scripting syntax
ETS_GPCleanContourGaps
(Input
Dataset, Out Feature Class,
Gap Size, Height Field)
See the explanations above:
<> - required parameter
{} - optional parameter
All ESRI
products mentioned are trademarks of Environmental Systems Research
Institute, Inc.
Copyright: Ianko Tchoukanski |