WMS:Drawing Tools: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{TOCright}}
[[File:WMS DrawingToolsQuick.png|thumb|right|The Annotation toolbar.]]
The following drawing object tools are in the dynamic portion of the Tool Palette when the Map , Terrain, or Drainage modules are activated. Only one tool is active at any given time.
Drawing tools allow the user to manual manipulate and create certain objects depending on the active module when the Map, Terrain, or Drainage modules are activated. These objects are created in layers, like sheets of paper stacked on top of one another. Only one tool is active at any given time.


==[[Image:WMSIcon_Contour_Labels.png]] Contour Labels==
==Tools==
;Create Line : The '''Create Line''' [[Image:Annotation Line Icon.svg|14 px]] tool can be used to create single line segments or polylines (a series of connected segments). An arrowhead can be placed on either end of the line. Lines are typically used in conjunction with text strings to highlight key features in a plot. A line is created by clicking on a series of points on the screen with the mouse and double-clicking to end the line. The color, line style, and arrowhead options of a line are edited with the ''Attributes'' dialog.


The '''Contour Label''' tool manually places numerical contour elevation labels at points clicked on with the mouse. These labels remain on the screen until the contouring options are changed, until they are deleted using the ''Contour Label Options'' dialog, or until the ''Graphics Window'' is refreshed. Contour labels can also be deleted with this tool by holding down the ''SHIFT'' key while clicking on the labels. This tool can only be used when the TIN is in plan view.
; Create Rectangle : The '''Create Rectangle''' [[Image:Annotation Rectangle Icon.svg|15 px]] tool is used to create wire frame or filled rectangles. Rectangles can be used to represent buildings, frame a series of text strings, etc.. Rectangles are created with this tool by dragging a rectangle with the mouse at the location on the screen where the user wishes to place the rectangle.


==[[Image:WMSIcon_Select_Drainage_Unit.png]] Select Drainage Unit or Basin==
; Create Oval : The '''Create Oval''' [[Image:Annotation Circle Icon.svg|15 px]] tool can be used to create wire frame or filled ovals. Ovals are created by dragging a rectangle with the mouse at the location on the screen where the user wishes to place the oval. The rectangle width and height determine the major and minor axes of the oval.


The '''Select Drainage Unit or Basin''' tool is used to select basins which can then be either merged together or split. In addition to selecting basins, this tool can be used to select one of the basin icons.
; Create Text : The '''Create Text''' [[Image:GMS Text Annotation Tool.svg|14 px]] tool is used to create a single line text string. The location clicked on defines where the text string will be placed. After clicking on a location, the ''Text Attributes'' dialog appears allowing the user to enter the text string and choose the font, color, etc.


==[[Image:WMSIcon_Move_Basin_Labels.png]] Move Basin Labels==
; Select Drawing Objects : The '''Select Drawing Objects''' [[Image:WMS SelectDrawingObjectsTool.svg|15 px]] tool is used to select the previously created text, rectangles, ovals, and lines. Once selected, a drawing object can be moved to another location by clicking on the object and dragging it to a new location. Lines, rectangles, and ovals can be resized by dragging the handles that appear on the corners or ends of the object when the object is selected. The '''Select Drawing Objects''' tool is also used to edit the graphical attributes.


Computed drainage data may be displayed for each basin. However, when there are many basins, the screen can become cluttered with data. The '''Move Basin Labels''' tool allows basin data to be placed at a position other than the centroid, which is the default location. When moving a label, click in the desired basin and while holding down the mouse button, drag the cursor to the desired position on the screen and then release the button. An arrow will be drawn from the final position to the point first clicked in the basin.
===Arrangement Tools===
The arrangement tools allow moving drawing objects up or down in the layers.  


==[[Image:WMSIcon_Flow_Path.png]] Flow Path==
;'''Move to Front''' [[File:WMS MoveToFrontIcon.svg|15 px]] :  Brings the selected object to the front (or the top) of the layers, so all other layers are below it.


The '''Flow Path''' tool allows the flow paths for specified points to be drawn. When this tool is active, clicking in the graphics window at a location on a TIN, or a DEM after TOPAZ data are computed will cause a flow path to be initiated from that point and followed "downstream" until a pit or local minima is reached, or until the path leaves the TIN/DEM. This tool can be very useful in checking portions of an edited TIN before stream and basin definition is completed.
;'''Move to Back''' [[File:WMS MoveToBackIcon.svg|15 px]] :  Moves the selected object to the back, so all other layers are above it.


The length and slope of overland and stream flow is displayed in the help window each time a new path is drawn. This can be helpful in obtaining parameters used to compute lag times with some empirical formulas. Stream distances are shown only after a stream has been created. In other words, channel flow is not counted in the stream distance unless a "stream" has been created along the channel.
;'''Shuffle Up''' [[File:WMS ShufleUpIcon.svg|15 px]] :  Moves the selected object up one layer.


Flow paths initiated from the centroid of each triangle or DEM cell can be displayed using the '''Draw Flow Patterns''' command in the ''TIN'' or ''DEM'' menu within the drainage module.
;'''Shuffle Down''' [[File:WMS ShuffleDownIcon.svg|15 px]] : Moves the selected object down lone layer.


==[[Image:WMSIcon_Create_Text.png]] Create Text==
==Drawing Objects Menu==
The Map module includes a set of tools for adding simple graphics and annotations to a plot. '''''These tools are not intended to be a full-featured drawing package as would be found in products like AutoCAD or Corel Draw'''''. However, they can be very useful for adding titles, arrows, and other annotations to a plot so that the plot can be directly included in a project report without the need to import the plot into an external drawing package prior to reporting generation.


The '''Create Text''' tool is used to create a single line text string. The location clicked on defines where the text string will be placed. After clicking on a location, the ''Text Attributes'' dialog appears allowing the user to enter the text string and choose the font, color, etc.
The types of drawing objects that can be created in the Map module are text, lines (including arrows), rectangles, and ovals. Drawing objects are created and edited using the Drawing Object tools in the Tool Palette. Drawing objects are saved in the Map file along with feature objects.


==[[Image:WMSIcon_Create Rectangle.png]] Create Rectangle==
===Drawing Object Attributes===
Each type of drawing object has a set of graphical attributes that can be edited by selecting the object with the '''Select Drawing Objects''' tool and selecting the '''Attributes''' command in the ''Drawing Objects'' menu. The attributes can also be edited by double-clicking on an object.


The '''Create Rectangle''' tool is used to create wire frame or filled rectangles. Rectangles can be used to represent buildings, frame a series of text strings, etc.. Rectangles are created with this tool by dragging a rectangle with the mouse at the location on the screen where the user wishes to place the rectangle. A square can be created by holding down the ''control'' key while dragging.
; Text Attributes : If a text object is selected, the '''Attributes''' command in the '''Drawing Objects''' menu brings up the ''Text Attributes'' dialog. The dialog can be used to change the font, the color, or the text string itself. An option is also provided to fill a rectangle just containing the text with a user-specified color. This option can be useful to help the text stand out from the objects being drawn behind the text.


==[[Image:WMSIcon_Create Oval.png]] Create Oval==
; Rectangle and Oval Attributes : The attributes for both rectangles and ovals can be edited with the ''Rectangle/Oval Attributes'' dialog. Rectangle and oval attributes include line style, line color, and line width. An option can also be set to either draw only the outline of the rectangle or oval (no fill) or fill the object with a user-specified fill pattern and color.


The '''Create Oval''' tool can be used to create wire frame or filled ovals. Ovals are created by dragging a rectangle with the mouse at the location on the screen where the user wishes to place the oval. The rectangle width and height determine the major and minor axes of the oval. A circle can be created by holding down the ''control'' key while dragging.
; Line Attributes : The attributes for lines are edited with the ''Line Attributes'' dialog. The line attributes include line color, line width, and line style. The arrowheads associated with a line can also be edited. The length and width of the arrowhead can be defined along with the placement of the arrowheads. The arrowheads can be placed at the beginning of the line, the end of the line, or at both ends of the line.


==[[Image:WMSIcon_Create Line.png]] Create Line==
; Default Attributes : When a new object is created, it inherits the default attributes for that object type. The default attributes are defined by selecting one of the drawing object tools (line, rectangle, oval, or text) and selecting the '''Attributes''' command in the '''Drawing Objects''' menu.


The '''Create Line''' tool can be used to create single line segments or polylines (a series of connected segments). An arrowhead can be placed on either end of the line. Lines are typically used in conjunction with text strings to highlight key features in a plot. A line is created by clicking on a series of points on the screen with the mouse and double-clicking to end to end the line. The color, line style, and arrowhead options of a line are edited with the ''Attributes'' dialog described below.
===Drawing Depth===
[[Image:WMS Drawing Depth.png|thumb|225 px|''Drawing Objects'' dialog]]
In some drawing packages, the drawing takes place in a purely two-dimensional medium. However, since the objects in WMS can be three-dimensional, the drawing objects must be positioned in three-dimensional space. This is accomplished by utilizing a drawing depth when drawing objects are created. When drawing objects are first created, they are created in a plane that is orthogonal to the current viewing angle. For example, in plan view, objects are drawn in an XY plane. When drawing in a plane, a depth must be defined for the plane. For example, when drawing in the XY plane, the drawing depth is the z coordinate of the XY plane.


==[[Image:WMSIcon_Select Drawing Objects.png]] Select Drawing Objects==
The drawing depth is designated with the '''Drawing Depth''' command in the ''Drawing Objects'' menu. Two options are provided in the associated dialog: the objects can either be drawn at the average depth of the visible objects or drawn at a user-specified depth.


The Select Drawing Objects tool is used to select previously created text, rectangles, ovals, and lines. Once selected, a drawing object can be moved to another location by clicking on the object and dragging it to a new location. Lines, rectangles, and ovals can be resized by dragging the handles that appear on the corners or ends of the object when the object is selected. The Select Drawing Objects tool is also used to edit the graphical attributes.
===Drawing Object Order===
The order in which drawing objects in the Map module are displayed becomes important whenever a rectangle or oval is displayed in the color fill mode. The order of drawing objects can be controlled using the '''Move to Front''', '''Move to Back''', '''Shuffle Up''', and '''Shuffle Down''' commands of the ''Drawing Objects'' menu.


; Move to Front : The '''Move to Front''' command causes the selected drawing object to be drawn last. In other words, it appears on top or in front of all other drawing objects.
; Move to Back : The '''Move to Back''' command causes the selected drawing object to be drawn first. In other words, it appears at the bottom or in back of all other drawing objects.
; Shuffle Up : The '''Shuffle Up''' command causes the selected drawing object to be displayed one object later than it is currently displayed. This causes it to appear in front of the object which is currently being displayed just ahead of it.
; Shuffle Down : The '''Shuffle Down''' command causes the selected drawing object to be displayed one object sooner than it is currently displayed. This causes it to appear behind the object that is currently being displayed just behind it.


==Related Topics==
==Related Topics==
* [[WMS:Tool Palettes|Tool Palettes]]
* [[WMS:Tool Palettes|Tool Palettes]]
* [[WMS:Drawing Objects|Drawing Objects]]
* [[WMS:Map Module|Map Module]]
* [[WMS:Display Options|Display Options]]




Line 52: Line 67:
[[Category:WMS Tools|D]]
[[Category:WMS Tools|D]]
[[Category:WMS General Information|D]]
[[Category:WMS General Information|D]]
[[Category:WMS Annotation Toolbar Icons]]
[[Category:Annotations]]
[[Category:WMS Feature Objects|D]]
[[Category:WMS Map Dialogs|D]]
[[Category:WMS Menus|Drawing]]
[[Category:Annotation Dialogs]]

Latest revision as of 21:18, 12 December 2023

The Annotation toolbar.

Drawing tools allow the user to manual manipulate and create certain objects depending on the active module when the Map, Terrain, or Drainage modules are activated. These objects are created in layers, like sheets of paper stacked on top of one another. Only one tool is active at any given time.

Tools

Create Line
The Create Line Annotation Line Icon.svg tool can be used to create single line segments or polylines (a series of connected segments). An arrowhead can be placed on either end of the line. Lines are typically used in conjunction with text strings to highlight key features in a plot. A line is created by clicking on a series of points on the screen with the mouse and double-clicking to end the line. The color, line style, and arrowhead options of a line are edited with the Attributes dialog.
Create Rectangle
The Create Rectangle Annotation Rectangle Icon.svg tool is used to create wire frame or filled rectangles. Rectangles can be used to represent buildings, frame a series of text strings, etc.. Rectangles are created with this tool by dragging a rectangle with the mouse at the location on the screen where the user wishes to place the rectangle.
Create Oval
The Create Oval Annotation Circle Icon.svg tool can be used to create wire frame or filled ovals. Ovals are created by dragging a rectangle with the mouse at the location on the screen where the user wishes to place the oval. The rectangle width and height determine the major and minor axes of the oval.
Create Text
The Create Text GMS Text Annotation Tool.svg tool is used to create a single line text string. The location clicked on defines where the text string will be placed. After clicking on a location, the Text Attributes dialog appears allowing the user to enter the text string and choose the font, color, etc.
Select Drawing Objects
The Select Drawing Objects WMS SelectDrawingObjectsTool.svg tool is used to select the previously created text, rectangles, ovals, and lines. Once selected, a drawing object can be moved to another location by clicking on the object and dragging it to a new location. Lines, rectangles, and ovals can be resized by dragging the handles that appear on the corners or ends of the object when the object is selected. The Select Drawing Objects tool is also used to edit the graphical attributes.

Arrangement Tools

The arrangement tools allow moving drawing objects up or down in the layers.

Move to Front WMS MoveToFrontIcon.svg
Brings the selected object to the front (or the top) of the layers, so all other layers are below it.
Move to Back WMS MoveToBackIcon.svg
Moves the selected object to the back, so all other layers are above it.
Shuffle Up WMS ShufleUpIcon.svg
Moves the selected object up one layer.
Shuffle Down WMS ShuffleDownIcon.svg
Moves the selected object down lone layer.

Drawing Objects Menu

The Map module includes a set of tools for adding simple graphics and annotations to a plot. These tools are not intended to be a full-featured drawing package as would be found in products like AutoCAD or Corel Draw. However, they can be very useful for adding titles, arrows, and other annotations to a plot so that the plot can be directly included in a project report without the need to import the plot into an external drawing package prior to reporting generation.

The types of drawing objects that can be created in the Map module are text, lines (including arrows), rectangles, and ovals. Drawing objects are created and edited using the Drawing Object tools in the Tool Palette. Drawing objects are saved in the Map file along with feature objects.

Drawing Object Attributes

Each type of drawing object has a set of graphical attributes that can be edited by selecting the object with the Select Drawing Objects tool and selecting the Attributes command in the Drawing Objects menu. The attributes can also be edited by double-clicking on an object.

Text Attributes
If a text object is selected, the Attributes command in the Drawing Objects menu brings up the Text Attributes dialog. The dialog can be used to change the font, the color, or the text string itself. An option is also provided to fill a rectangle just containing the text with a user-specified color. This option can be useful to help the text stand out from the objects being drawn behind the text.
Rectangle and Oval Attributes
The attributes for both rectangles and ovals can be edited with the Rectangle/Oval Attributes dialog. Rectangle and oval attributes include line style, line color, and line width. An option can also be set to either draw only the outline of the rectangle or oval (no fill) or fill the object with a user-specified fill pattern and color.
Line Attributes
The attributes for lines are edited with the Line Attributes dialog. The line attributes include line color, line width, and line style. The arrowheads associated with a line can also be edited. The length and width of the arrowhead can be defined along with the placement of the arrowheads. The arrowheads can be placed at the beginning of the line, the end of the line, or at both ends of the line.
Default Attributes
When a new object is created, it inherits the default attributes for that object type. The default attributes are defined by selecting one of the drawing object tools (line, rectangle, oval, or text) and selecting the Attributes command in the Drawing Objects menu.

Drawing Depth

Drawing Objects dialog

In some drawing packages, the drawing takes place in a purely two-dimensional medium. However, since the objects in WMS can be three-dimensional, the drawing objects must be positioned in three-dimensional space. This is accomplished by utilizing a drawing depth when drawing objects are created. When drawing objects are first created, they are created in a plane that is orthogonal to the current viewing angle. For example, in plan view, objects are drawn in an XY plane. When drawing in a plane, a depth must be defined for the plane. For example, when drawing in the XY plane, the drawing depth is the z coordinate of the XY plane.

The drawing depth is designated with the Drawing Depth command in the Drawing Objects menu. Two options are provided in the associated dialog: the objects can either be drawn at the average depth of the visible objects or drawn at a user-specified depth.

Drawing Object Order

The order in which drawing objects in the Map module are displayed becomes important whenever a rectangle or oval is displayed in the color fill mode. The order of drawing objects can be controlled using the Move to Front, Move to Back, Shuffle Up, and Shuffle Down commands of the Drawing Objects menu.

Move to Front
The Move to Front command causes the selected drawing object to be drawn last. In other words, it appears on top or in front of all other drawing objects.
Move to Back
The Move to Back command causes the selected drawing object to be drawn first. In other words, it appears at the bottom or in back of all other drawing objects.
Shuffle Up
The Shuffle Up command causes the selected drawing object to be displayed one object later than it is currently displayed. This causes it to appear in front of the object which is currently being displayed just ahead of it.
Shuffle Down
The Shuffle Down command causes the selected drawing object to be displayed one object sooner than it is currently displayed. This causes it to appear behind the object that is currently being displayed just behind it.

Related Topics