Edit line

Editing a line. The line is activated by pointing it with the mouse and the closest line section is marked as an active section. If the line is pointed outside of its edpoints, only the endpoint is activated. The active line is displayed with an edit color. The beginning and the end of the line are shown with ortogonal line symbols. Also possible arc radiuses and hidden line sections of the active line are displayed. Additionally, currently active line section is shown with a different color and small arrow pointing the line direction. The active point is the endpoint of the active section.

Line reference point is a location where line attributes are shown. If it is not defined, location halfway between first two line points is used by default. Reference point is not normally displayed and it cannot be picked by mouse. When editing line, it is displayed as a small circle and its location can be changed by tools in Reference tab page.

Fields

Upper part fields display object type and three freely selectable attributes.

Pages

Line  Data  Segment  Reference

Points

The number of points belonging to the line. If the line has curves, the midpoint will be counted as one point.

Length XY, Length XYZ

2D and 3D length of the line.

Height difference, Minimum Z, Maximum Z

Minimum and maximum heights in the line and their difference.

Start section

Line start section for A-measure calculation.

Height

By default sets constant height value for line points. Calculation operators +, -, * and / can be given at front of the value to perform calculation operation. For example, +5.2 adds value 5.2 to line point heights. Negative height value can be given in parenthesis (e.g. "-2.3").

With the Shift-key searches line points with height value zero and interpolates new height to them by using previus and next point heights. There may be several adjacent zero height points, but point with height must be found from both sides. With the Alt-key searches line points with height value zero from line ends and extrapolates new height to them by using nearest point heights.

During line move mode field displays current height difference to the original line. Moved line height can be changed directly by editing value in the field. For constant level, move mode must be stopped first.

Area

Checkbox indicates that the line is closed area and value displays its area. Only closed line can be marked as an area. If the line is not closed, function asks permission to close it.

Join

Joins other line to the active line. Lines may not be closed. Joining is always done from the active line endpoint nearest to the active section. If other line's either endpoint is at the same location as active line end, joining is done to this common point. Otherwise joining is done to the other line endpoint nearest to the pointed mouse coordinate. If lines have different codes or surfaces, confirmation is asked and original active line data is used.

With the Shift-key mode stays on and several adjacent lines can be joined by pointing them with mouse.

With the Ctrl-key calculates intersection of original line end sections and joins lines to it. Height of the intersection point is an average of heights calculated from original line end sections and original line end points are removed from line. Average calculation does not use zero heights.

Break down

The line is deleted and its points are changed to random points. The value of T2 is changed to zero.

Move

Activates the whole line move with the mouse. By default move is relative to the endpoint of the active line section. With the Shift-key move is relative to the line reference point. If the line has no reference point, it is automatically calculated to the weight center.

During line move mode height field displays current height difference to the original line. Moved line height can be changed directly by editing value in the field. Height is also changed, if new line position is pointed with method Nearest point.

Rotate

Activates the whole line rotation with the mouse. By default rotation is relative to the enspoint of the active line section. With the Shift-key rotattion is relative to the line reference point. If the line has no reference point, it is automatically calculated to the weight center.

Code

Activates data copying from another object. Method Nearest point copies data from the nearest point and method Mouse from the nearest line. By default only the object code is copied. With the Shift-key all attributes are copied. If the pointed object is line point, attributes are copied from line object.

Drawing

Opens drawing data editing. Number of defined drawing data items is displayed in parenthesis after button label. With the Shift-key clears drawing data.

New

Creates new line and activates the point add mode. Each subsequent mouse click then adds new point to the line. With the Shift-key makes just a copy of the active line and activates the move mode.

If new line is created with method Breakline, undo removes whole line. Pointing the line with the Alt-key makes it possible to undo all added points separately.

Remove

The line and the points belonging to it are removed. With the Alt-key starts continuous remove mode. Objects pointed with the Alt-key are immediately removed.

Turn

The line’s direction is reversed. The direction of the line is sometimes important. In several mapping systems, slope marks/labels etc. are drawn in particular positions. Does not affect line point numbering or codes.

Close line

The first point of the line is repeated as the last point of the line, so that the line is closed.

With the Shift-key the closes rectangular line and creates last corner if necessary. Also converts all corners to right angles by moving points so that center of each side keeps its location. The first line section is used as a baseline and line may not contain arcs.

With the Ctrl-key closes line to the intersection of first and last line section. Height of the intersection point is an average of heights calculated from original line sections. Average calculation does not use zero heights.

With the Alt-key converts line to a bounding rectangle.

File

The file element where the object belongs.

Mode, X

Displays current edit mode (move, rotate, add, etc.). The X button quits the edit mode and returns to the normal state. If no mode is active, it releases the current object.


Special settings

There are some special settings related to this function.

EditFlag

Settings affecting edit and calculation function behavior.

TopDataList

Defines which attributes are displayed first in the list. By default T1,T2,T3,T4,T5.

See also: Using special settings