Vr Mapping

ON-LINE REFERENCE DOCUMENTATION

CARDINAL SYSTEMS, LLC

www.cardinalsystems.net

Clear Polygons (ClePol)

Type: Batch Application

 

Clears or modifies lines inside polygons.

Detailed Description

Clears or modifies source lines that pass through or are contained inside target polygons. The target lines may be nested in the case of a tree line within a tree line. The target line nesting is unlimited. The most common use for Clear Polygons is the handling of contour lines through buildings or tree lines.

 

The direction of the target lines is very important to Clear Polygons as it is used to determine if a source line is considered inside a target line. If a target line direction is backward the source line will be clipped to the target line edge but the layer and graphic pointer assigned will be incorrect.

 

NOTE: Due to the recursive nature of this application it is not undoable. VrOne file should be backed up before using Clear Polygons.

 

Before:

ClearPolygons_image002

 

After:

ClearPolygons_image004

Available Key-ins

Key-in

Description

Range

PARFIL=

Load parameter file

Clear Polygons parameter file name (.clp)

RUN

Run Clear Polygons

 

Parameters for Clear Polygons

ClearPolygons_image006

Workspaces to consider

Defines the workspaces to consider when running Clear Polygons.

Target line layers to clear

Defines the layers that contain lines to clear. These layers are considered target layers. In the case of dashing contour lines that are inside tree lines, the target layers would contain the tree lines. NOTE: Do not include the same layer number on both “Target line layers to clear” and “Source line layers”.

Source line layers

Defines the layers that contain lines to clip and modify against the target layers. In the case of dashing contour lines that are inside tree lines, the source line layers would contain the contour lines. NOTE: Do not include the same layer number on both “Target line layers to clear” and “Source line layers”.

Line direction to consider inside

Defines the target line direction to consider inside. This parameter may be Clockwise or Counter clockwise. This parameter determines whether to assign the “inside” layer/graphic pointer or the “outside” layer/graphic pointer to source lines inside target lines.

New layer of lines inside polygons

Defines a new layer for source lines that are inside target lines. An entry of –1 will keep the original layer and an entry of 0 will delete the line.

New graphic pointer for lines inside polygons

Defines a graphic pointer for source lines that are inside target lines. An entry of –1 will keep the original graphic pointer.

New layer of lines outside polygons

Defines a new layer for source lines that are outside target lines. An entry of –1 will keep the original layer and an entry of 0 will delete the line.

New graphic pointer for lines outside polygons

Defines a graphic pointer for source lines that are outside target lines. An entry of –1 will keep the original graphic pointer.