Open Table of Contents

ET GeoWizards Scripting

DispersePoints
(Go to the main page of the function)

Disperses (separates) the coincident points. The first point in a location preserves its coordinates. Every next point found in the same location is moved randomly within user defined maximum offset distance from its original location.

Syntax    

Dim ET As  New ETGW_Core
Set variable =  ET.DispersePoints(pInFeatureClass, sOutFileName, dMaxMove, sMessage)

The DispersePoints method syntax has the following object qualifier and arguments:

Part Description
variable An IFeatureClass object
pInFeatureClass Required. An IFeatureClass object (Must be a Point feature class)
sOutFileName Required. A String - the full name of the output feature class (A feature class with the same full name should not exist)
dMaxMove Required. A Double representing  the Maximum allowed offset - the duplicate points will move no further than this tolerance from their original location.
sMessage Optional. In a case of failure -  description of the cause. If the functions completes with success an empty string will be returned. 

Example