10

Customizing the User Interface

Configuring GeoMedia
for the Way You Work

GeoMedia has been designed to be flexible, allowing you to configure it to fit the way you work. Customizing your user interfaces to GeoMedia allows you to fine-tune your work environment. You can set options in GeoMedia that affect the way other commands work. The Options dialog allows you to specify default settings that control various aspects of presentation in the application window.

You can customize existing toolbars or add new toolbars that facilitate the tasks most common to your workflow. Along similar lines, you can improve your workflow efficiency by customizing the menus on the title bar, adding new menus, or installing new applications. This section explores the customization options you have and ways they are implemented in the software.

The Various "Options" in Options

The Options dialog breaks down two ways. The first breakdown is by functional area. The seven tabs in the Options dialog represent the grouping of defaults into the following services: General, Map Display, Units and Formats, SmartLocate, File Locations, Query, and Layout. All of the tabs in this dialog relate to the way you are presented with attribute data, graphics, or prompts. As you will see, the majority of the options relate to map window operations.

The second way Options breaks down has to do with where each default setting is stored. Option defaults are stored in either the GeoWorkspace file or in the system registry. The defaults written to the workspace apply to that particular workspace only. They are referred to as GeoWorkspace preferences, and include the options available through the Map Display, Precision Coordinates, and a portion of the Measurement dialogs.

In contrast, the defaults you define on the General, SmartLocate, File Location, Measurement, and Query tabs are stored in the registry in \HKEY_CURRENT_USER\Software\Intergraph\GeoMedia(or GeoMedia Professional)\0204.00\PreferenceSet, and are therefore applied to all GeoWorkspaces. They can be viewed from the Windows Start button. Click on Run and type in regedit.

2 NOTE: Do not use reg-edit to change these entries, but rather to view them. Changes will be made through the appropriate GeoMedia operation. The regedit program allows you to view your user profile. Your user profile contains information that is specific to you, your working environment, and the software you use. It is loaded to the registry when you log on to Windows NT or when you start Windows 9x. GeoMedia user level options are stored in the registry as you work, and the registry is updated when you finish working or log off. These parameters are referred to as user preferences. Preference Set registry entries are shown in the following illustration.

 figure hgm10_1.gif

Preference Set registry entries. You will notice as you go proceed through subsequent chapters that you run into portions of the Options dialog. The Options dialog not only runs as a standalone utility but is tied contextually to other operations. For example, there is an Options button on the New Query dialog box. Selecting Options there takes you directly to the Query tab of the Options dialog, where you can override your default query settings on the fly.

This is referred to as an "on-the-fly" change, but note that the setting is not volatile. Changes you make during the course of executing other tasks become the new default settings. When you access Options via any other dialog, you are restricted to the tab relevant to the task you are running. Therefore, when you select the Options button from the New Query dialog, you can make changes only on the Query tab. The other tabs are dimmed and unavailable via the New Query dialog.

Before exploring the Options dialog (shown in the illustration at left) in detail, review the way tabs are designed in general. An application that can be broken down into a variety of distinct functional areas will often be designed as a tabbed dialog. The area you are interested in can be accessed by simply clicking on its tab, which brings it to the front and makes it the active dialog.

 hgm10_2.gif

The selections on each tab are generally divided into two or more subsections. These sections are indicated by outline boxes. Most of the time, when a list of choices appears in a section with radio buttons, you are restricted to one selection from the listing. Clicking a radio button selects it and deselects all others. Checkboxes usually indicate that one, none, or all entries in a section can be selected. Checkboxes are simply toggles that switch to the opposite status when clicked. If an item associated with a checkbox is a heading for other selections and is toggled off, the subheadings are made unavailable.

When a field is provided with a drop-down list of choices, it is often the case that those are the only valid selections for the parameter. Sometimes you may want to type in a selection that is not on the drop-down list.

NOTE: This may be okay, but be careful! It only appears that you are not prevented from highlighting the field and keying in your own value. It is wise to go back to that dialog and confirm that the value you keyed in was accepted. In many cases, the typed entry you think you made will be replaced with one of the "valid" selections. When a browse button appears next to a field, you will be taken to another dialog or selection menu. To adjust a field with a slider bar, simply click and drag the button on the slider bar to the desired setting. Several of the tabs contain Sample boxes or Preview boxes. The results of changes to the associated parameters are graphically displayed in these boxes.

General Tab

The defaults you set on the General tab, shown in the illustration at left, apply to all GeoWorkspaces. They fall into two categories. Under General options you have the choice of whether or not you want to be prompted to confirm deletions. When turned on, the prompt will appear in many different parts of your GeoMedia workflows. When deciding if you want this option enabled or not, consider the fact that the Undo functionality in GeoMedia is available only in the active data window. Deleted map objects cannot be recovered with an Undo in GeoMedia, although Undo capabilities have been provided for Pro.

 See Pro section for more info.

 graphic  hgm10_3.gif

The second setting, Display status bar, is a tiered selection. First decide if you want the status bar to display or not. The status bar appears at the bottom of the application window. It consists of five information panels that variously describe the state of your GeoMedia workflow. The content of each panel depends on the task you are performing. Panel 1, at the far left, displays a variety of information. When you pause the mouse on either a drop-down menu entry or a toolbar button, Panel 1 displays a description of the item’s function.

When you are performing an interactive task, such as digitizing, Panel 1 contains processing messages such as prompts and tips. Panel 2 displays ESC if the command currently running can be terminated by pressing the Escape key. When Panel 2 is blank, the command cannot be stopped. Panel 3 contains a progress bar for the tasks that use a progress bar. Panel 4 is currently not used. Panel 5 displays with the zoom scale or the view extents, depending on which is selected on the General tab.

If "Zoom scale" is selected, the scale of the current map window is displayed. When "View extents" is selected, the dimensions of the map window are displayed in the distance units specified on the Units and Formats tab. If you opt to turn the status bar display off, the scale and extents selections are disabled. The Status bar is alternatively toggled on and off from the pop-up menu produced by a right mouse click in the Toolbar area of the GeoMedia application window.

The third selection in the General options panel Adding connection prefixes to feature names applies to feature selection controls such as those in the query building dialog, legend entry properties, and PickQuick. The warehouse connection name is appended to the feature class in the format connection_name.feature_class. On the Entries tab of the Legend Properties dialog the connection name is displayed in the Source field. See Chapter 11 for more information. Likewise, the tooltip feature name displayed in the PickQuick dialog, discussed in Chapter 15, will be prefixed with the warehouse connection.

This will prove to be a valuable tool for users whose workflows require named queries based on features stored in a variety of warehouses.

Query maintenance and tracking via the Tools > Queries dialog is made much easier with the "documentation" provided by this option. Whenever you edit, delete, or run a query from this dialog, you know not only the feature class involved butbut also the warehouse in which the feature class resides. You will probably find that enabling this option is a requirement in cases where duplicate feature names are contained in more than one warehouse.

The final setting in General options is Do not load data when opening GeoWorkspace. When this option is selected a saved workspace will open with all legend entries and data window contents in the ‘unloaded’ state. That is, the legend will contain entries for all the feature classes that were added in the map window and the data window will contain a pointer to the feature class that was displayed when the workspace was saved, but neither the map nor the data window will contain any actual data. This option allows you to quickly open GeoWorkspaces that might contain displays of large feature classes without having to wait for all the displays to be created. When the workspace is open you can manually turn selective data displays on by selecting the Load Data option on the right click pop-up menu in the legend or the data window. Everything can be reloaded by clicking on View > Update All. The unloaded state and loading data topics are discussed in Chapter 11 "The Legend – Controlling How Features Are Displayed" and Chapter 9 "The Data Window and Attribute Data".

Both selections in the second panel of the General tab are productivity tools that, when selected, eliminate some steps from your workflow. Match GeoWorkspace and Warehouse coordinate systems When making first connection will automatically copy the coordinate system of the first non-vicinity warehouse connection to your workspace. This allows you to skip the step of manually configuring the GeoWorkspace coordinate system. This functionality is discussed in greater depth in Chapter 3 "GeoWorkspaces". The When creating a new warehouse option automatically applies the workspace coordinate system to any new Access warehouses you create in your workflows. Remember, when this option is not selected, a new warehouse coordinate system will default to the projection defined in the template you use to create it. If that is not the coordinate system you require, you must configure the appropriate projection before you add any feature classes to the new warehouse. See Chapter 4 for more information on new warehouses.

The final selection on this tab is used to define which connection you want to use as the Vicinity connection. This selection defaults to None while the drop-down menu contains the names of all your warehouse connections. The warehouse designated as the Vicinity connection is intended to be used for the creation of a Locator map. The features in the warehouse chosen as a vicinity connection are handled differently than those in non-vicinity connections. They are exempted from filtering by any applied spatial filters. The projection of this warehouse is ignored when the option to match warehouse and coordinate systems is selected.

All the control settings on this tab are User Preferences that are stored in the registry and apply to all your GeoWorkspaces with one exception. The Vicinity connection designation is stored in the workspace and apply only to that workspace.

Map Display Tab

 hgm10_4.gif

The first section on the Map Display tab, shown in the illustration at left, is used to control the behavior of map objects when the map window is resized. You have a choice of either allowing the map to be resized to fit the map window (in which case the area displayed remains constant but the scale varies) or of maintaining the map scale regardless of the map window size (in which case the scale is preserved and the amount of geometry displayed varies).

The resizing options in this dialog can be overridden by the options available in the Map Window Properties dialog.

In the second section, you can change the colors used to display select sets (see Chapter 15), the handles used to graphically manipulate map objects, the highlight color that indicates which map object lies under the cursor, and the map window background color.

TIP: Be sure to consider how the background color and the select color will interact. If both the background color and select color are white, selections in the map window will "disappear." When you change these, be sure to use contrasting colors. With the exception of the background color, these are all display options that pertain to working with select sets. The defaults set in the Map Display dialog are GeoWorkspace specific.

 The Units and Formats Tab

 hgm10-_2.gif

A wide range of GeoMedia commands use the parameters you set on the Units and Formats tab, shown in the illustration at the left.

Note: Those familiar with earlier releases of GeoMedia and GeoMedia Pro should note that this tab combines the options that were previously part of the Measurement and the Precision Coordinates tabs.

The "Default units and precision" panel of the dialog allows you to set default values for all the measurement and to control the way your Precision Coordinate display behaves. The units, precision, and measurement methods specified here are used to calculate distance with the Measure Distance tool. They are the units in which area and length are displayed on the General tab of Select Set Properties. They are the units in which the map window dimensions are expressed when the "View extents" option is selected for the Status Bar. The ground units for measuring distance and area, and the precision for both are used as defaults for processes such as buffer zone distances and the scale bar.

As you learned in Chapter 8, the Precision Coordinate Display is a dockable window that is turned on or off from the View menu or from a right mouse click in the toolbar portion of the application window. The Units and Formats tab allows you to specify how both projected and geographic coordinate readouts are presented when the display window is open. Coordinate settings are stored in the GeoWorkspace.
 
 

In the first panel you select the linear, areal, or angular measurement to define from the Type drop-down. For each type you can select a factor for its measurement from the Unit drop-down, and the number of decimal places from the Precision drop-down. The units available to you are dependent on the Type of unit you are defining. The Types available include Angle, Area, Azimuth, Distance, Geographic, and Projection.

If Area, predefined as square meters, is selected the following measurement units are available:
 
 

GeoMedia Area Measurements
 
Alias Unit of measure Conversion factor
ac Acres 4046.8564224 (m^2/ac)
ares Ares 100.0 (m^2/are)
centare Centares 1.0 (m^2/centare)
chain^2 Square chains 404.68564224 (m^2/chain^2)
cm^2 Square centimeters 0.0001 (m^2/cm^2)
deciare Deciares 10.0 (m^2/deciare)
ft^2 Square feet 0.09290304 (m^2/ft^2)
hectare Hectares 10000.0 (m^2/hectare)
in^2 Square inches 0.00064516 (m^2/in^2)
km^2 Square kilometers 1000000.0 (m^2/km^2)
link^2 Square links 0.040468564224 (m^2/link^2)
m^2 Square meters 1.0
mi^2 Square miles 2589988.110336 (m^2/mi^2)
mm^2 Square millimeters 0.000001 (m^2/mm^2)
perch Perches 25.29285264 (m^2/perch)
rod^2 Square rods 25.29285264 (m^2/rod^2)
yd^2 Square yards 0.83612736 (m^2/yd^2)

TIP: Remember that projection units change how the values are displayed only. It does not change the actual warehouse projection or units of measure. GeoMedia can access data in almost any projection and dynamically convert it to this format. The units of measure for Distance and Projection defaults to meters. Alternative units are listed in the following table.

GeoMedia Area Measurements
 
Alias Unit of measure Conversion factor
ac Acres 4046.8564224 (m^2/ac)
ares Ares 100.0 (m^2/are)
centare Centares 1.0 (m^2/centare)
chain^2 Square chains 404.68564224 (m^2/chain^2)
cm^2 Square centimeters 0.0001 (m^2/cm^2)
deciare Deciares 10.0 (m^2/deciare)
ft^2 Square feet 0.09290304 (m^2/ft^2)
hectare Hectares 10000.0 (m^2/hectare)
in^2 Square inches 0.00064516 (m^2/in^2)
km^2 Square kilometers 1000000.0 (m^2/km^2)
link^2 Square links 0.040468564224 (m^2/link^2)
m^2 Square meters 1.0
mi^2 Square miles 2589988.110336 (m^2/mi^2)
mm^2 Square millimeters 0.000001 (m^2/mm^2)
perch Perches 25.29285264 (m^2/perch)
rod^2 Square rods 25.29285264 (m^2/rod^2)
yd^2 Square yards 0.83612736 (m^2/yd^2)

3 TIP: Remember that area units change how the values are displayed only. It does not change the actual warehouse units of measure. GeoMedia can access data in almost any projection and dynamically convert it to this format. The units of measure for Angle (default degrees, and Azimuth and Geographic (both default to degrees:minutes:seconds) can be chosen from those listed in the table below.

GeoMedia Geographic Units
 
Alias Unit of Measure Conversion Factor
' Minutes 0.000290888208665722 (rad/min)
" Seconds 0.00000484813681109536 (rad/sec)
º Degrees 0.0174532925199433 (rad/deg)
dd.mmss Degrees minutes seconds See individual units.
deg Degrees 0.0174532925199433 (rad/deg)
d:m:s Degrees:minutes:seconds See individual units.
gr Grads 0.0157079632679490 (rad/gr)
min Minutes 0.000290888208665722 (rad/min)
rad Radians 1.0
rev Revolutions 6.28318530717959 (rad/rev)
sec Seconds 0.00000484813681109536 (rad/sec)

 

3 TIP: Remember that geographic units change how the values are displayed only. It does not change the actual warehouse projection or units of measure. GeoMedia can access data in almost any projection and dynamically convert it to this format. In the second section, you specify a preferred ground measurement interpretation method. The True (spheroidal) method takes the earth’s curvature into consideration for distance and coordinate calculation. It is also known as the geographic method. If the curvature of the earth is ignored with respect to ground measurements, the method is referred to as the Projected (planer) method. This section contains a Sample box that illustrates the difference between the two interpretation methods.

Measurement interpretation is used in coordinate system calculations. The information you specify on this  panel is stored in both the system registry and the GeoWorkspace. Ground units apply only to the workspace, whereas the ground measurement interpretation method applies to all workspaces.
 
 

GeoMedia Geographic Units
 
Alias Unit of Measure Conversion Factor
' Minutes 0.000290888208665722 (rad/min)
" Seconds 0.00000484813681109536 (rad/sec)
º Degrees 0.0174532925199433 (rad/deg)
dd.mmss Degrees minutes seconds See individual units.
deg Degrees 0.0174532925199433 (rad/deg)
d:m:s Degrees:minutes:seconds See individual units.
gr Grads 0.0157079632679490 (rad/gr)
min Minutes 0.000290888208665722 (rad/min)
rad Radians 1.0
rev Revolutions 6.28318530717959 (rad/rev)
sec Seconds 0.00000484813681109536 (rad/sec)

Upon selecting Projection, you can select from the units listed in the following table.

GeoMedia Linear Units
 
Alias Unit of Measure Conversion Factor
' Feet 0.3048 (m/ft)
" Inches 0.0254 (m/in)
Chain Chain 20.1168 (m/chain)
cm Centimeters 0.01 (m/cm)
ft Feet 0.3048 (m/ft)
furlong Furlong 201.168 (m/furlong)
hundredth Hundredth 0.000254 (m/100th)
in Inches 0.0254 (m/in)
kft Kilofeet 304.80 (m/kft)
km Kilometers 1000.0 (m/km)
link Link 0.201168 (m/link)
m Meters 1.0
mi Miles 1609.344 (m/mi)
mm Millimeters 0.001 (m/mm)
nm Nanometer 0.000000001 (m/nm)
nmi Nautical miles 1852.0 (m/nmi)
pole Pole 5.0292 (m/pole)
pt Point 0.000352777777777778 (m/pt)
rod Rod 5.0292 (m/rod)
sf Survey feet 0.304800609601219 (m/sf)
si Survey inches 0.025400050800102 (m/si)
sk Survey kilofeet 304.800609601219 (m/sk)
svy_ft Survey feet 0.304800609601219 (m/sf)
svy_in Survey inches 0.025400050800102 (m/si)
svy_kft Survey kilofeet 304.800609601219 (m/svy_kft)
tenth Tenth 0.00254 (m/tenth)
thousandth Thousandth 0.0000254 (m/1000th)
yd Yard 0.9144 (m/yd)

 

  From the Geographic quadrant drop-down, you can either specify which hemisphere is defined as positive or opt to display the cardinal direction associated with the coordinates as a prefix or suffix to the coordinate readout. This option applies to the Geographic coordinate type.In the fthird section, Projection quadrant, you can specify how the ordering of values in the projected coordinate display are interpreted.

+East, +North indicates that the first coordinate in the pair is to be expressed as a positive value along the East axis. The second coordinate is positive along the North axis. +East, +South, on the other hand, displays the first coordinate as positive on the East axis, but expresses the second coordinate as positive along the South axis, yielding positive y-coordinate readings as one moves down rather than up. This option applies to the Projection coordinate type. See Chapter 37 "Projections and Datum Transformations" for a complete discussion of projections.

The final panel, Azimuth settings, specifies the direction and starting point when setting and displaying azimuths. An azimuth is a way of specifying an angle by measuring either clockwise or counter-clockwise from 0 to 360 degrees. For example, using West as your starting point and going clockwise 90 degrees would give you due North. Direction specifies the direction to use when setting and displaying azimuths. The selections are clockwise or counterclockwise. Start from determines which direction to use as a starting point when setting and displaying azimuths. Select North, South, East, or West. These options apply to the distance and azimuth readouts and keyins.

SmartLocate Tab

 graphic  hgm10_5.gif
 
 
 
 

The SmartLocate tab, shown in the illustration at left, is divided into three sections. The first two sections set variables that control the way map objects and the Select tool behave during select set operations. The third section allows you to specify whether you want autopanning to function and how you want it to work. All settings defined on the SmartLocate tab are stored in the system registry, and apply to all GeoWorkspaces. Select set functionality, covered in detail in Chapter 815, is briefly introduced here.

Select Set operations specify which map object you want to use as input to another GeoMedia command. Clicking on a highlighted feature adds it to a select set. When a feature is a select set member, its associated attribute values can be viewed from Select Set Properties.

Assume, for example, that you are viewing a map of a platted subdivision. Associated with each lot in the plat is information about the lot’s owner, address, valuation, and so on. Clicking on any lot in the map pops up a display of the attribute data for that lot. The lot, by virtue of its membership in a select set, is also a candidate for editing or deletion, and can be moved as well.

When the Select tool (the arrow) passes over a graphic feature in an active map window, the feature is displayed in the highlight color you assigned on the Map Display tab. The first selection on the SmartLocate tab is a slider bar that sets the length of delay between the time the Select tool passes over the object and the time it becomes highlighted.

In the second section, you can customize the size of the cursor locate zone. A feature is highlighted, and therefore available for selection, when it falls within the cursor locate zone. This zone is simply a circular area at the tip of the select tool that defines the range in which the cursor is able to ide.gify map objects. Its tolerance is set internally in screen pixels.

In many displays there are multiple features in close proximity to one another. For example, roads cross over streams, parcel boundaries are near water valves, and so on. All features that fall within the cursor locate zone are selectable. When more than one map object falls inside the locate zone, a dialog is launched that allows you to ide.gify the object you are interested in from all objects that qualify (see Chapter 8 15 for more information on Select Sets and Pick Quick).

When the zone is very large, you will be locating many features. On the other hand, if it is too small, you may not be able to select a feature without a lot of detailed mouse movement. The size of the zone should be set based on the detail and complexity of your graphics. The locate zone size for both the Select tool and the Placement and Editing cursor (the crosshair cursor) is displayed in the preview box as you drag the slider bar button.

The last section on the SmartLocate tab is used to specify parameters for automatic panning in the map window. When autopan is turned on, it is functional for all open map windows, but operates in the active map window only. Autopan allows the map window to automatically pan when you approach the pan zone while measuring distance or placing, editing, or moving map objects.

The pan zone is expressed as a percentage of the map window, and ranges from 0 to 50 percent. When you reach a boundary of the pan zone while measuring or editing, the window scrolls to keep your cursor within the pan zone. The pan zone itself can optionally be displayed. However, it only appears when you are executing measuring or editing operations.

The sample box shows you approximately what proportion of the map window the specified pan zone will encompass. When you change the size of the pan zone, the sample window does not update until you click on OK, which dismisses the dialog box. The sample window will properly display on subsequent runs of the SmartLocate dialog.

File Locations Tab

hgm10_7.gif

The File Locations tab, shown in the illustration at left, in the Options dialog is used to set the default search paths for your GeoMedia and GeoMedia Pro files. By default, GeoWorkspace and warehouse files and templates install on your C:\drive. GeoWorkspaces and warehouses have their own directories. Both workspace, warehouse and layout templates install under the \Program Files\GeoMedia (or GeoMedia Professional)\Templates directory. The current paths for each file type display in the Location column.

To change these locations, select the path you want to change and click on Modify. In the "Browse for folder" dialog, navigate through the directory listings until you reach the one in which you want to store your files. File Locations is not workspace specific, but is stored in the system registry and applies to all workspaces.

Query Tab

The Query tab, shown in the illustration at left, is divided into two sections. The first section controls where query results are displayed. The second controls whether a warning will display when you set up query filters.

 hgm10_6.gif

The "Display named query results in" portion of the dialog allows you to specify which windows will contain your query results. If you select Active window, the query results will be posted as graphics to the map window or as attribute values to the data window, depending on which was active when you began the query operation. You have the option of displaying the query results in a new map or data window, in which case a new window is opened for the query display. Because these options are not mutually exclusive, you can select one, a combination, or none of them.

The "Confirm/show value operations" checkbox refers to a warning displayed during the query building process. When you create an attribute query filter, you have the ability to view all attribute values for a column in the database table.

Say, for example, you are building a query to find airports with runways of a certain length. In the query builder, you select the airport table, the runway_length attribute, and the greater than operator. You can then click on the Show Values button, which will generate a listing of all unique values for runway_length in the table. At this point, by default, a warning appears to alert you that it may take a bit of time to create this listing. The "Confirm show value operations" checkbox allows you to control whether or not that warning is displayed.
 
 

Layout Tab

 hgm10_8.gif

Caption The Layout tab in the Options dialog.

The Layout tab, shown in the illustration at left, is new to GeoMedia and GeoMedia Pro 4.0. It is used to control some of the default settings for the Layout window in which you design your hardcopy cartographic output. The Layout tab will be briefly covered here, and is discussed in detail in Chapter 24 "Cartographic Operations". The Layout tab itself is not available until a Layout window has been opened at least once in your GeoWorkspace. Until then the tab is dimmed.

In the Grid panel of the Layout options you can set grid display and grid snap defaults. The Layout window grid is a nonprinting tool that aids in the precision alignment of objects within the Layout window. You control whether a grid appears by selecting the Grid display checkbox. Grid spacing allows you to set the grid size and units of measure. Grid index sets the number of index grid lines. The size of each grid cell is determined by the grid spacing. The grid index determines the number of minor grid lines to display between the major grid lines. If the grid spacing is set to 0.25 inches and the grid index is set to four, then the minor grid lines will display as dashed gray lines at 0.25 inch intervals, and the major grid lines will display as solid gray lines at 1.0 inch intervals. When the Grid snap checkbox is selected, objects placed in the Layout window will snap to the intersection of grid lines. This option is overridden while you work in the Layout window if you use the ALT key when placing objects.

The Symbol browser panel allows you to set the default file system location of your SmartSketch symbol files. This location is used in the Symbol Explorer command within the Layout window. The Length readout panel allows you to define the Units and Precision used by the measuring tools in the Layout window. The Units drop-down menu is composed of the same units listed above in the GeoMedia Linear Units table in the Units and Formats section of this chapter.

Note: The parameters you set on the Layout tab can be overridden when you are working in the Layout window.
 
 

In the following workflow exercise, you will customize a work environment.
 
 

Workflow 10-1:
Configuring GeoMedia for the Way You Work

The Options dialog allows you to customize many parameters associated with your working environment. Some of the Option parameters are attached to the GeoWorkspace and are saved with the workspace. Others are associated with the user ID and remain consistent regardless of the workspace used.

The Options dialog is available from the Main Menu bar and consists of seven functional areas: General, Map Display, Units and Formats, SmartLocate, File Locations, Query, and Layout. Access to a context-specific Options dialog is also available at various times during the execution of other operations. When options are accessed from within a specific application, only those options that relate to that application are available. You have already seen instances of this functionality.

In this exercise you will step through the configurable parameters available from the Main Menu bar. You may make changes to your options, or simply step through the review.

1. Review the General options. On the Main Menu bar, click on Tools > Options.

2. Click on the General tab.

The General tab presents two groups of options: General and "Display status bar." General options are: • "Confirm deletions." Provides a confirmation dialog box for feature, data window cell, and vertex delete operations. Because there is no Undo functionality, it is probably wise to leave this enabled.

• "Add connection prefix to feature names." Should be handy when working with several connections in the same workspace.

Display status bar on or off checkbox options are as follows. • When on, "Display view extents" displays the map window’s linear dimensions in the units of measurement defined in the Units and Formats tab.

• "Display zoom scale" displays the map window’s scale.

• "Do not load data when opening GeoWorkspace". When checked on, data in map window legend entries and data windows will not be loaded.

Note: Unless your data sets are very large, you will probably leave this option turned off (unchecked).

When making first connection, When creating new warehouse. Check these boxes if you want projections automatically copied from your first warehouse connection to the workspace, and from the workspace to any new Access warehouses you create, respectively. These parameter options apply regardless of GeoWorkspace, except the Vicinity connection setting which is specific to the workspace.

4. Review the options for map display. Click on the Map Display tab.

    1. 3. Review the Units and Formats options. On the Options dialog click on the Units and Formats tab.
• Select a method of Measurement interpretation. The sample box will show you an example of each ground measurement method.

• Geographic coordinate order options: "Longitude first," or "Latitude first."

• Geographic quadrant specifies which hemispheres are defined as positive and negative, and whether a character designator should be included.

• Projection quadrant specifies how the ordering of values in projection coordinates are interpreted. For example, +East, +North indicates that the first coordinate of the pair is positive along the East axis, and the second coordinate is positive along the North axis.
 

4. Review the SmartLocate options. On the Options dialog, click on the SmartLocate tab. There are three options on the SmartLocate tab: "Cursor highlight delay," "Locate zone size," and "Behavior at map boundaries." These parameters apply to all GeoWorkspaces. • Delay before cursor highlights feature: Adjust the slider bar for preferred length of delay between the time the cursor passes over a map object and the time it highlights.

• Size of cursor locate zone: Adjust the slider to increase or decrease the size of the locate zone. Preview shows you a sample of the zone size.

• Pan map windows automatically: The checkbox indicates how you want the window to behave as you approach the edge. "Pan automatically," when turned on, allows you to continue to move when you reach a map window edge.

5. Review the File Location options. On the Main Menu barOption dialog, click on the File Locations tab. The File Locations tab tells GeoMedia where to start browsing for each GeoMedia file type. To change a default directory, click on the file type entry and click on Modify. Then type in the correct directory path. File location defaults apply to all GeoWorkspaces.

6. Review the Query options. On the Options dialog, click on the Query tab. There are two groups of Query settings: "Display named query results in," and "Confirm show value operations." These settings are applied to all GeoWorkspaces.

• "Display named query" specifies the windows in which query results will be displayed. You can select one or more of the following: "Active window" is the default; "New map window" will open with one legend entry for the query; and "New data window" will open and display the attribute data results from the query.

• Confirm show value operations: Refers to the message you receive when you select Filter > Show Values in the query dialog that informs you that it may take some time to gather the values for display. Checking the box (the default) indicates that you want to see the message.

7. Review the contents of the Layout tab. Click on Layout on the Options dialog.
 
 


 
 

Toolbar Modification

The second major mechanism for improving your workflow efficiency is toolbar customization. This section discusses manipulating the content of toolbars.

Toolbars are shortcut alternatives to the commands on the drop-down menus contained on the Main Menu bar. GeoMedia is delivered with five six toolbars: Standard, Selection, Data, Legend, Spatial Filters, and Placement and Editing.

Insert a See Pro section for more info here.

These toolbars consist of only a subset of the functionality contained in the menu options on the Main Menu bar. The customization dialog gives you access to toolbar buttons for all GeoMedia commands. When your workflow requires regular use of commands that do not appear on the default toolbars, you can add that functionality by modifying existing toolbars or by creating new toolbars that are more reflective of the way you work.

Like user preferences set in the Options dialog, toolbar configurations are stored in the system registry in \HKEY _CURRENT_USER\Software \Intergraph\GeoMedia (or GeoMedia Professional)\04.00\Toolbars. To view registry settings, click on Start > Run > Regedit from the Windows status bar. The Registry Editor is a tool that allows you to change the settings that contain information about how your computer will behave.

The path previously mentioned contains your GeoMedia toolbar settings stored on a per-user basis. As such, they vary according to user logon ID, and they are available for all your GeoWorkspaces. The following illustration shows an example of what registry settings for toolbars look like in the Registry Editor.

 hgm10_9.gif
 
 

Registry Editor.

3 TIP: You should only make changes to the registry through the tools provided to you within your applications. This will ensure the integrity of your registry. Although the option of directly editing the registry is provided in Regedit, you can introduce errors that render your computer nonfunctional. Should this happen, Registry Editor Help contains the procedure for returning the registry to its last "good" state. There are two main approaches to toolbar manipulation. You can use either the Toolbars dialog or the Customize Toolbars dialog. The Toolbars dialog can be accessed from the pop-up menu you are supplied with when you right click in the toolbar area of the application window. The same dialog can be accessed from the Main Menu bar by clicking on View > Toolbars. There is also a View Toolbar button in the All Commands category of the Customize Toolbars dialog, discussed in material to follow.

Toolbars Dialog

 hgm10_10.gif

 hgm10_11.gif

Caption Toolbars dialog.

Before exploring the Toolbars dialog, take a look at the other information on the Toolbars pop-up menu, shown in the illustration at left. The top section of the menu contains the names of all available toolbars. When you create a new toolbar, its name, or the default name Toolbar#, is added to this list. Toolbar display status is indicated by the checks. The first aspect of gross toolbar control is that a toolbar can be turned off entirely by unchecking it. The same applies to the last two entries on this pop-up: Status Bar and Precision Coordinates. Their displays can be toggled on and off. The center of the listing contains two other entries: Toolbars and Customize.

When you click on Toolbars on the pop-up, the Toolbars dialog, shown in the illustration at left, again presents you with a listing of all available toolbars, with their on/off status indicated in the checkboxes. Checkboxes are also provided that allow you to specify whether the toolbar buttons are color or grayscale, large or small, and whether tooltips (the labels that appear when the cursor is paused on an icon) are on or off.

The fourth button on the Toolbars dialog changes as a function of context. When one of the factory toolbars is selected, it is a Reset button. This button allows you to undo any changes you have made to a default toolbar and return it to its original configuration. When a user-defined toolbar is selected, the button becomes a Delete key. Although the display of any toolbar can be suppressed, only user-defined toolbars can be deleted.

The New button is important in that it is the only dialog that provides you with the opportunity to name a new toolbar. After you enter a unique toolbar name, a blank toolbar is displayed in the map window and you are taken directly to the Customize dialog, where you populate the toolbar. Contrast this with clicking on the Customize button. In this case, the subsequent dialog is the same, but the toolbar is named Toolbar1, Toolbar2, Toolbar3, and so on.

Customize Toolbars Dialog

The Customize dialog, shown in the following illustration, can be launched three ways: using the Toolbar dialog just discussed, from the pop-up menu in the toolbar area of the application window, or from the Main Menu bar Tools > Customize menu. The only prerequisite for running the Customize dialog is that when an existing toolbar is the target, its display must be on.

ORIGINAL GRAPHIC ig180015

Customization is simply a drag-and-drop operation. Any toolbar in the application window is a potential candidate for modification. Conversely, if you simply want to make an icon available and you are happy with the default naming scheme, you can begin dragging the buttons you want from the Customize dialog to the map window.

The Customize dialog consists of three tabs. The Toolbars tab will be discussed in this section. The Toolbars tab is divided into three parts: a Categories listing, the Buttons or Commands display, and a Description section. Categories represents a functional breakdown of GeoMedia commands. The default toolbars do not correspond one-to-one with the listed categories. Rather, the toolbars consist of a combination of commands from various categories.

When you select a category, the buttons for all but two categories of its commands are displayed in the Buttons window. Command names are displayed for the Edit and All Commands categories due to the number of commands and the space limitation of the Buttons window. The Commands listings, however, work the same way as the graphic displays for the other categories. The All Commands listing is the place to turn when you cannot find a command in any other category.

As the cursor is paused over any button, a long description of the button's function is displayed in the Description field. When ToolTips is turned on, the button label displays as well.

To create a toolbar, simply click on the button or command you need and, while keeping the mouse button depressed, drag the button to the map window. A toolbar can consist of a single button, or you can concatenate several buttons on one toolbar by dropping a button onto an existing bar. The existing toolbar can be one of the delivered GeoMedia toolbars or one you have created. Toolbars can float in the map window. The orientation of a toolbar can be changed by "resizing" it. A toolbar can float in the map window. Alternatively, it can be docked in the toolbar area, on either the left or right side of the application window, or below the Status Bar.

The Categories window contains the menu headings for all menus that appear on the Main Menu bar, and two additional entries: Custom and All Commands. Clicking on any category name, except Edit and All Commands, displays all buttons for the functionality contained in that menu. Note that each of the five delivered toolbars contains only a subset of the available buttons. You can add additional buttons and reset the toolbars to their original content.

When the cursor is paused over any button, the tooltips label for the button is displayed and a full description of the button’s functionality appears is the Description window. When the Edit or All Commands categories are selected, the Buttons window changes to a Commands window and text is displayed. In the following workflow exercise, you will customize toolbars.

Workflow 10-2:
Customizing Existing Toolbars

You accomplish tasks in GeoMedia via commands on the Main Menu bar, toolbar buttons, or keyboard shortcuts. You can modify all three via the Customize dialog. In this exercise you will review various options you can use to customize the toolbars for the way you work. Five default toolbars are delivered with GeoMedia: Data, Legend, Placement and Editing, Selection, and Standard (briefly discussed in Workflow 8-1). However, perhaps the buttons for operations you frequently use do not appear on these toolbars. The Toolbars dialog allows you to change the appearance and content of these toolbars, and to create custom toolbars.

In this exercise you will review the steps for customizing an existing toolbar. Open a new GeoWorkspace. You will not need warehouse connections for this exercise.

1. View toolbar status. Right click on any toolbar to access the toolbars pop-up. To go directly to the Toolbar dialog, click on View > Toolbars on the Main Menu bar. The checks on the pop-up are toggles that indicate which features you have turned on. To turn off a toolbar, the Status Bar, or Precision Coordinate readout, simply click on its entry. Toolbars and Customize take you to new dialogs.

2. Turn toolbar display off. The checkboxes in the Toolbars window are toggles that allow you to control which toolbars are displayed. Clicking on OK applies the changes. A toolbar that has been turned off can be redisplayed with this dialog, or by right clicking in the toolbar portion of the GeoMedia window and toggling the toolbar on by clicking on it.

3. Change button size, color, or tooltip display. The three checkboxes at the bottom are toggles that allow you to control these display features. Turn on "Large buttons," and click on OK. When Show Tooltips is checked, the text label for each toolbar button is displayed when the cursor is paused on the icon.

4. Open the Customize dialog. On the Main Menu bar, click on View > Toolbars. Click on the Customize button, and then click on the Toolbars tab. The Customize dialog contains tabs for modifying toolbars, menus, and keyboard shortcuts. The dialog can also be accessed by clicking on Tools > Customize.

5. Select a button category. In the Categories window, click on Tools. The Customize dialog contains tabs for modifying toolbars, menus, and keyboard shortcuts. Customize an existing toolbar. In the Buttons window, find the Customize button. Click on the button and drag it to the Selection toolbar, shown in the illustration at left. Close the dialog.

6. Reset an existing toolbar. Right click in the Toolbar area of the GeoMedia window. Select Toolbars, and highlight the Selection entry. Click on Reset. You are asked to confirm the reset to original settings. Click on Yes, and then on OK. The Customize button is removed from the Selection toolbar.

In addition to changing the five existing toolbars that are delivered with GeoMedia, you can create your own toolbars with the buttons in the Customize dialog. In the following workflow exercise, you will create new toolbars.
Workflow 10-3:
Creating New Toolbars

As with all GeoMedia functionality, the Toolbars and Customize dialogs are context sensitive. You will see some options that are available when working with custom toolbars that are not available when working with the default toolbars. In this exercise you will create a new toolbar consisting of some additional warehouse functionality. Open a new GeoWorkspace. You will not need warehouse connections for this exercise.

1. Create a new toolbar. Right click on any toolbar to access the toolbars pop-up. Click on Toolbars, and then click on New. To go directly to the Toolbar dialog, click on View > Toolbars on the Main Menu bar.

2. Name the new toolbar. In the New Toolbar dialog, type in Warehouse Tools. Click on OK. Toolbar names default to Toolbar1, Toolbar2, and so on. When the dialog box is dismissed, you will find a new toolbar with a blank button somewhere in the GeoMedia window.

3. Customize the new toolbar. From the Warehouse category in the Customize dialog, drag and drop the Warehouse Coordinate System, Feature Class Definition, and Define Connection Filter buttons to the new toolbar. Close the dialog. The buttons may initially be available or they may be dimmed, depending on the status of your workspace.

4. Dock the new toolbar. Drag the new toolbar to the toolbar portion of the GeoMedia window, shown in the following illustration. The Customize dialog contains tabs for modifying toolbars, menus, and keyboard shortcuts.

Ig180018

GeoMedia application window toolbar area.

5. Review the toolbar pop-up menu. Right click on the toolbar portion of the GeoMedia window. The new toolbar is listed with the existing toolbars.

6. Delete a custom toolbar. On the Main Menu bar, click on View > Toolbars. Highlight Warehouse Tools. Click on Delete. Note that the Reset button is replaced with a Delete button. Only user-defined toolbars can be deleted.

7. To create a custom toolbar via another method, click on Tools > Customize on the Main Menu bar. Select Edit from the Categories window.

2 NOTE: The Buttons window changes to a Commands window. Instead of icons, you get a text listing of the available commands. The commands are converted to GUIs when dragged off this listing. Although the All Commands category works the same way as Edit, it contains all GeoMedia functionality. All Commands contains some buttons that cannot be found in the regular categories, such as the Select Tool, Inside Fence, and Outside Fence. 8. Create a custom toolbar from the Edit or All Commands category. Select Scale Bar Properties and drag and drop it on the GeoMedia map window. Drag and drop North Arrow Properties and Select Set Properties to the same toolbar. The difference between this way of building a toolbar and the one at the start of the exercise is simply that you do not get the opportunity to name the toolbar. This one will appear as Toolbar1. Like other toolbars, this one can be docked in the toolbar section of the GeoMedia window. An example of a custom toolbar is shown in the illustration at left.
Working with Menus

Menu customization is the third approach for improving efficiency in your workflows. Customizing menus falls into two broad categories: internal modification of individual menus, and menu maintenance at the level of the Main Menu bar. Menu customization, like toolbar customization, allows you to add entries to existing menus, create new menus, and reset menus to their original settings. Unlike toolbar customization, you can rename menus, reformat menus, remove items you rarely use from menus, and delete menus. You cannot, however, create, modify, or remove pull-right menus such as View > Zoom > In.

There are three issues you should take special note of when working in the Menus portion of the Customize dialog. First, it is important that you are making changes relevant to the Window type selected. For example, this dialog will not prevent you from adding Data window commands to a menu designated as a Map window menu. However, GeoMedia will enforce context, and the items on your new menu will remain unavailable. This is something to check when your menus do not behave as expected.

The second thing to be aware of is that various types of changes are applied at different times. Some actions, such as Reset All, occur immediately, whereas others are not implemented until you exit the dialog. If you do not see your changes, close the dialog and check for them again.

It is highly unlikely that you can cause any irreversible damage to GeoMedia with this dialog. Changes you make here affect the content and appearance of your menus, but they do not make permanent changes to the GeoMedia command set. You can always back out and return to the original set of menus delivered with the software. The only downside to this is that when you reset the menus you lose all custom menus for a given window type.

Separate functionality for the creation of menus for custom commands is provided in the Programming Utilities Customization wizard. For example, you can create a totally new GeoMedia command using Visual Basic and install the command with the Programming wizard. You then add that command to the Main Menu bar or one of the existing menu drop-down listings with the Customize > Menu dialog. Information regarding the wizard can be found in Programming Utilities in the online Help.

Menus are stored in the system registry in \HKEY_CUR-RENT_USER\Software\Intergraph\GeoMedia(or GeoMedia Professional)\04.00\Menus. There are subdirectories under \Menus for both map and data window menus. Placing your menus in the registry makes them available to all of your GeoWorkspaces. In a multi-user environment such as Windows NT, the menu changes you make have no affect on the other GeoMedia users who may use the same computer.

Customizing Menus

Take another look at the types of changes you can make to menus. First, look at adding a command to a menu. Customization takes place on the Menus tab of the Tools > Customize dialog. From the drop-down list for "Window type," you have the choice of Map, Data, or None. None refers to the startup menu bar you have access to before you open a workspace, which by default contains only the File and the Help menus.

3 TIP: Remember that menus are context sensitive. Their availability varies as a function of which type of window is active. Likewise, you should bear in mind that the Customize dialog honors that sensitivity to the extent that one of the three window types is explicitly designated as the target for your changes. Confirm that you are making changes to the appropriate window type as you customize your menus. From the Categories window, you select the menu that contains the command in which you are interested. The commands that appear on the selected category menu are displayed in the Commands window. From this listing you select a command you want to add.

Notice that at the head of the command listing for each category is the Separator entry. Like any command in the list, this item can be selected for addition to a menu. It formats the menu with a divider bar at the location specified in the "Position on menu" field. In the "Change what menu" drop-down, you specify the menu to which the command will be added.

The "Position on menu" drop-down allows you to specify where on the menu the command is to appear. Your choices here are Auto (which places the command at the end of the menu), Top (which places the command at the top of the menu), and Bottom (which places the entry at the bottom of the menu). The items that follow represent the current format of the menu. If you wish to place the command at any other location, select an existing menu entry. Your command will be positioned below that item. The Add button will change to Add Below when you insert an item into the body of a menu.

The default command name will appear in the "Name on menu" field. You can accept the default or type in a new name. You can also specify which character in the name is to be the mnemonic for the command by placing an ampersand (&) in front of that character. The letter you select as a mnemonic is the one that appears underlined on the menu. It is the one that activates the command from the keyboard with the Alt key/letter keystroke. When you have completed the dialog, click on Add or Add Below.

To remove an item from a menu, simply select the menu to be modified in the "Position on menu" field. From the "Name on menu" drop-down, select the entry you want to delete and click on the Remove button. Removing a menu entry does not delete the command from GeoMedia. Menus can be restored to their original configuration at any time with the Reset All button. However, Reset All only restores the delivered menus for the window type you have selected. To revert back to the factory settings, you must Reset All for each of the three window types. In the following workflow exercise, you will customize menus.

Workflow 10-4:
Customizing Menus

The Customize dialog is used to modify the content of existing menus and to create new menus. In this exercise you will add the Edit Warehouse Connection command to the Tools menu and format the menu. Open a new GeoWorkspace. You will not need warehouse connections for this exercise.

1. Add a command to an existing menu. Right click in the toolbar area to access the toolbars pop-up. Click on Customize. Select the Menus tab. On the Main Menu bar, click on Tools > Customize or click on the Customize icon, shown in the illustration at left.

2. Select the window type associated with the menu. From the "Window type" drop-down, select Map.

3. Select a source category. From the Categories list, select Warehouse. This is the category that contains the command you want to add to a different menu. With the exception of Custom and All Commands, these are the names of the Main Menu bar menus for both the map and data windows.

4. Select the command to be added. From the Commands list, select Edit Warehouse. The Commands window contains all commands associated with the selected category.

5. Select the menu to be modified. From the drop-down for "Change what menu," select &Tools. The ampersand indicates which letter in combination with the <Alt> key constitutes the keyboard access to the command or menu.

6. Specify a location for the command entry on the target menu. On the "Position on menu" drop-down, select &Web Browser. The new command will be positioned after the Web Browser entry on the Tools menu. You can also specify a location at the top of the menu or at the bottom. Auto places the command at the end of the menu.

7. Change the name of the command on the menu. In the "Name on menu" field, type in &Maintain Connections. Command names default to their label specification. On the Warehouse menu, Edit Warehouse Connection appears as &Edit Connection.

8. Add a command to a menu. Click on Add Below. This button will either read Add or Add Below, depending on the location you assigned for the new entry. The Menus tab of the Customize dialog is shown in the following illustration.

ig180022 9. Add a separator to a menu. In the Commands window, click on Separator. Verify that the &Tools menu is still selected. Position the separator after the &Web Browser entry. Click on Add Below. Close the dialog. (There is a Separator bar at the start of the command listing for every category.) The illustration at left shows a separator added to a drop-down menu.

10. Undo menu changes. Confirm that the Window type is set to Map. Click on Reset All. (See the illustration at left.)
 
 

Creating New Menus

The Menu Bar button on the Menus tab takes you to a dialog designed for customizing the Main Menu bar. From this dialog you can add new menus, rename existing menus, or remove menus. As always, make sure you have the appropriate window type selected before proceeding to this dialog.

The Menu Bar dialog consists of only two sections. The operations available to you are a function of what is in them. When you initiate this dialog, it opens with "Last" highlighted, and only the Cancel key active. To remove a menu from the Menu bar, select it from the list. When a menu name is selected, the Remove button becomes available. As with removing an entry from a menu, the menu is not permanently deleted from GeoMedia. It can be restored to the Main Menu bar with the Reset All command.

Typing a name in the "Name on menu bar" field activates the Add button. The rules for adding a menu are the same as those for adding an entry to an existing menu. Selecting a position for the new menu on the Main Menu bar works the same way as positioning an item within a menu. You can specify that it appear First (leftmost), Last (rightmost), or that it follow another menu item. Specifying a mnemonic character is the same for menu names as it is for menu entries. Clicking Add or Add Below creates an empty menu. You return to the Menus tab to add commands (as previously outlined) to the new menu, which will appear in the "Change what menu" drop-down.

To change the name of an existing menu, type the new name in the "Name on menu bar" field, select the menu you wish to rename from the "Position on menu bar" list, and click on Rename. As with the changes previously discussed, original menu names can be restored with the Reset All command for the appropriate window type. In the workflow exercise that follows, you will create a new menu.

Workflow 10-5:
Creating New Menus

In this exercise you will create a new menu for your workspace commands and add commands to it. Open a new GeoWorkspace. You will not need warehouse connections for this exercise.

1. Open the Customize dialog. Right click in the toolbar area to access the toolbars pop-up. Click on Customize, and select the Menus tab. On the Main Menu bar, click on Tool > Customize, or click on the Customize icon.

2. Select the window type associated with the menu. From the "Window type" drop-down, select Map.

3. Run the Menu Bar dialog. Click on the Menu Bar button.

4. Name the new menu. In the "Name on menu bar" field, type &Workspaces.

5. Assign a location for the new menu. In the "Position on menu bar" list, highlight "First." Click on Add, and then close the Menu Bar dialog. You now have an empty menu named Workspaces, which will appear at the far left on the Main Menu bar.

6. Add a command to a new menu. Select a source category. From the Categories list, select File.

7. Select the command to be added. From the Commands list, select New GeoWorkspace.

8. Select the menu to be modified. From the drop-down for "Change what menu," select &Workspaces.

9. Specify a location for the command entry on the new menu. On the "Position on menu" drop-down, select "Auto."

10. Add a command to a menu. Click on Add.

NOTE: You can repeat steps 6 through 10 to add other commands to the new menu. When you click on Close on the Menus dialog, the new menu will be displayed on the Main Menu bar. To delete the menu, click on Reset All on the Menus tab, with the window type set to Map.