ET GeoWizards Toolbox
Snap Polylines
(Go to the main page of the
function)
Snaps the features of a polyline feature class to the features of another dataset (Point, Polyline or Polygon)
Command line syntax
ET_GPSnapPolylines <input_dataset> <Reference_dataset> <out_feature class> <snap_tolerance> <snap_what> {snap_to_vertices} {snap_to_nearest}
Parameters
Expression | Explanation |
---|---|
<input_dataset> | A Polyline feature class or feature layer |
<Reference_dataset> | A
Point,Polyline or Polygon feature class or feature layer. NOTE: The <Reference_dataset> and the <input_dataset> can be the same point dataset. In this case to each point will be assigned the distance to the closest point from the same dataset. |
<out_feature_class> | A String - the full name of the output feature class (A feature class with the same full name should not exist) |
<snap_tolerance> | A Double representing the Search tolerance (in the units of the calc_spatial_reference) to be used |
<snap_what> | A
String indicating what parts of the input polylines will be snapped.
Possible values:
|
{snap_to_vertices} | A Boolean indicating whether snapping to the closest vertex of the nearest feature from the Reference_dataset to be used |
{snap_to_nearest} | A Boolean indicating whether snapping to the nearest point of the nearest feature from the Reference_dataset to be used |
Scripting syntax
ET_GPSnapPolylines (input_dataset, Reference_dataset, out_feature_ class, snap_tolerance, snap_what,snap_to_vertices, snap_to_nearest)
See the explanations above:
<> - required parameter
{} - optional parameter