SMMCMASTER

McMaster arc smoothing


EnvironmentsPYTHON :: EASI :: MODELER
Batch ModeYes
Quick linksDescription :: Parameters :: Parameter descriptions :: Details :: Related

Back to top

Description


SMMCMASTER performs vector smoothing using the McMaster algorithm. It selects first five vertices and calculates their average to find the new, "smoothed" vertex. SMMCMASTER may also be used with vectors containing less than five vertices.
Back to top

Parameters


Name Type Length Value range
InputA: Input vector segment* Vector port 1 - 1  
OutputA: Output vector segment* Vector port 1 - 1  
Tolerance Value Float 0 - 1 Default: 0.5
Using Slide Average String 0 - 1 TRUE | FALSE
Default: FALSE
DBSD String 0 - 1  
Report String 0 - 192 See parameter description

* Required parameter
Back to top

Parameter descriptions

InputA: Input vector segment

Specifies the vector segment containing the input arc layer to be smoothed.

OutputA: Output vector segment

Specifies the vector segment to receive the smoothed output vector layer.

Tolerance Value

Specifies the tolerance value. This value must be greater than zero and smaller than one. The larger the tolerance value, the more pronounced the smoothing effect.

Using Slide Average

Specifies whether sliding average is to be used. Sliding average brings the smoothed vertex closer to the original line. The slide averaging has less affect the closer the tolerance value is to zero. The default value is FALSE (unchecked).

DBSD

Describes (in up to 64 characters) the contents or origins of the new vector data.

Report

Specifies where to direct the generated report.

Available options are:

Back to top

Details

SMMCMASTER performs vector smoothing using the McMaster algorithm. It selects first five vertices and calculates their average to find the new, "smoothed" vertex. SMMCMASTER may also be used with vectors containing less than five vertices.

This algorithm works well for stepped linework vectors produced by raster-to-vector conversion routines, or those produced through digitizing.

SMMCMASTER does not alter the start and end vertices of a vector.

© PCI Geomatics Enterprises, Inc.®, 2024. All rights reserved.