Beruflich Dokumente
Kultur Dokumente
We would like your opinion of this document. Please help us improve our documentation by completing this
questionnaire. Write your comments or circle your responses to the questions. Circle all responses that apply, and
include additional pages of comments if you wish. When you have completed the questionnaire, fold and mail it to
Intergraph. Postage is prepaid. Thank you for taking the time to let us know what you think.
9. Did this document help you learn to use the software in a satisfactory way? 9. 1 - 2
(1=yes, 2=no)
10. How would you rate this document overall? (1=poor . . . 5=excellent) 10. 1 - 2 - 3 - 4 - 5
11. Have you used Intergraph documentation before? (1=yes, 2=no) 11. 1 - 2
12. Please describe and note page numbers of any errors or inconsistencies in this document.
Name Date
Organization Phone
Address
City State Zip Code
Thanks again for your time and effort.
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
Table of Contents
Start Here .................................................................................................................................... 1-1
Looking at GeoMedia: An Overview.................................................................................... 1-1
What You Need to Know to Work......................................................................................... 1-2
Documents Provided .............................................................................................................. 1-2
Getting Started ....................................................................................................................... 1-6
Getting Around in the Software ............................................................................................. 1-6
Customizing the Menus and Toolbars.................................................................................... 1-7
The Product Workflow........................................................................................................... 1-9
What is a GIS? ....................................................................................................................... 1-9
Working with GeoWorkspaces................................................................................................. 2-1
Creating a GeoWorkspace...................................................................................................... 2-1
Opening a GeoWorkspace...................................................................................................... 2-2
Delaying Data Loading .......................................................................................................... 2-3
Automatically Backing Up GeoWorkspaces.......................................................................... 2-4
Saving, Closing, and Copying a GeoWorkspace ................................................................... 2-4
E-Mailing a GeoWorkspace................................................................................................... 2-5
Creating a GeoWorkspace Template...................................................................................... 2-6
Linking and Embedding a GeoWorkspace............................................................................. 2-7
Working with Coordinate Systems .......................................................................................... 3-1
Defining a Coordinate System for a GeoWorkspace ............................................................. 3-5
Defining a Coordinate System for a Feature Class ................................................................ 3-7
Matching GeoWorkspace and Default Warehouse Coordinate Systems ............................... 3-9
Getting Coordinate Readouts ............................................................................................... 3-11
Setting Units and Formats.................................................................................................... 3-12
Configuring for Datum Transformations ............................................................................. 3-14
Displaying Data That Has No Coordinate System Specified............................................... 3-15
Creating Coordinate-System Files from Design Files.......................................................... 3-19
Working with Warehouses........................................................................................................ 4-1
Creating a Read-Write Access Warehouse ............................................................................ 4-3
Defining a Coordinate System for a Warehouse.................................................................... 4-4
Preparing to Connect.............................................................................................................. 4-4
Working with Connections .................................................................................................. 4-14
Viewing Changes in a Multi-User Environment.................................................................. 4-18
Creating an Access Warehouse Template............................................................................ 4-19
Changing the Coordinate System of a New Access Warehouse Template .......................... 4-19
Configuring PickLists with Access Warehouses ................................................................. 4-20
i
Working with GeoMedia
ii
Table of Contents
iii
Working with GeoMedia
v
Working with GeoMedia
vi
Start Here
Welcome to GeoMedia®—the next generation in geographic-information systems (GIS).
Based on Jupiter technology from Intergraph Corporation, this product is an enterprise
GIS for the Windows® XP, Windows Vista®, or later operating systems.
As a viewing and analysis tool, this product allows you to combine geographic data from
different sources, in different formats, and with different map projections, all into a single
environment. Using this product, you can perform complex queries on spatial and
attribute data from various sources, and produce numerous views of highly sophisticated
maps in a single GeoWorkspace. Furthermore, this product gives you the capability of
printing those map views on a single sheet and adding borders, marginalia, and other
finishing touches.
++This product is also a software-development environment, and you can customize it
with standard Windows-development tools such as Microsoft® Visual Basic® and Visual
C®.
1-1
Working with GeoMedia
In this product, features are contained in feature classes, and the word feature refers to
each instance of a feature within a feature class. Feature classes, images, query results,
and thematic displays in the map window are collectively referred to as either features or
map objects.
Features are represented in the map window by geometry and in the data window by
attributes. You can display any number of map and data windows simultaneously or
separately. They are linked so that changes made in one window are automatically
reflected in the other.
You display features in a map window by adding entries to the legend. The legend is the
control center for the map window. Through the legend, you populate the contents of the
map window and control the display characteristics of the features, including their style
and display priority.
To perform certain tasks, such as inserting images or buffer zones, you must have a
read/write Access warehouse connection open. As with any other warehouse type, data
written to a read/write warehouse can be viewed along with other data sets in a single
GeoWorkspace.
Results of your analyses can be customized in the map window, printed, and saved for
future use, all without altering the original data.
Documents Provided
The documents provided with GeoMedia are delivered into three groups: Developer
Documentation, User Documentation, and Utilities Documentation..
Developer Documentation
Developer Documentation is accessed online only.
Document Description
GeoMedia Information about using the Command Wizard to create Visual Basic
Command Wizard commands for the GeoMedia-based application and to edit or to delete
Help Visual Basic or Visual C++ command-set information. Access through
the Command Wizard.
1-2
Start Here
Document Description
GeoMedia Object Programmer's guide to the objects, methods, and properties in the
Reference software’s automation layer. Access through Start > All Programs >
GeoMedia > Developer Documentation.
Building on the Information about customizing the software and building your own
GeoMedia Engine applications with the GeoMedia engine. Access through Start > All
Programs > GeoMedia > Developer Documentation.
User Documentation
User Documentation is accessed, depending on the component, both in hard copy and
online or online only.
Document Description
GeoMedia Step-by-step instructions for all tasks and information about tools and
Help dialog boxes. Available in the software and from Start > All Programs >
GeoMedia > User Documentation.
Installing Instructions for installing the product. Available in pdf format through the
GeoMedia PDF Viewer from Start > All Programs > GeoMedia > User
Documentation.
Learning Hands-on tutorial that guides you through the software basics using an
GeoMedia example workflow and real data. Runs through a Web browser.
Available online from Start > All Programs > GeoMedia > User
Documentation.
Working with Overview of and workflows for performing most software tasks.
GeoMedia Available in .pdf format through the PDF Viewer from Start All >
Programs > GeoMedia > User Documentation, or from the C:\Program
Files\GeoMedia folder.
Utilities Documentation
Utilities Documentation consists of online-only documentation for the following delivered
utilities (Start > All Programs > GeoMedia > Utilities):
• Define CAD Server Schema File
• Define Coordinate System File
• Define Symbol File
• Define Text File Server Format File
• Define Warehouse Configuration File
• Licensing Utility
• Edit MGSM Parameter File
1-3
Working with GeoMedia
Bold An item in the graphical interface, such as the title of a dialog box or a
unserifed tool. Paths through menus use right angle brackets between items you
type select.
For example: Select File > Open to load a new file.
Courier Information you type.
type
For example: Type original.dat to load the ASCII file.
Italic type A document title, the first occurrence of a new or special term, folder
and filenames, or information about what the software is doing.
Interactive Documents
This product provides an interactive tutorial to help you learn how to perform the basic
tasks. If you are new to this product, you should work through Learning GeoMedia
Help is available online if you need step-by-step instructions, and other documents are
available for programmers who want to customize the software.
Learning GeoMedia
Learning GeoMedia steps you through an example workflow that uses real data and
covers the basic tasks. You start this tutorial by selecting Help > Learning GeoMedia
from the GeoMedia menu or by selecting Start > All Programs > GeoMedia > User
Documentation > Learning GeoMedia. This opens the tutorial in your default Web
browser. This tutorial works best with Internet Explorer 5.0, but it will run on another
browser.
1-4
Start Here
After you have worked through Learning GeoMedia, use Working with GeoMedia to gain
a broader understanding of what you can accomplish using this product.
Help Topics
You can find information for advanced topics and procedures from the online Help.
Included with the Help topics is a dictionary.
If Help was not installed on your hard drive during setup, you must have the GeoMedia
CD in your CD-ROM drive or be connected to the network node containing the Help
files.
To display Help when the software is active, select Help > GeoMedia Help from the
menu. To display Help when the software is not active, select Start > All Programs
> GeoMedia > User Documentation > GeoMedia Help.
Help is context sensitive, which means that you can press F1 to display Help for the
active window or dialog box. You can also click the Help button or press
SHIFT+F1. When the cursor changes to a question mark, select a menu item,
toolbar, or area of a window or dialog box.
Programming Guides
This product includes two online guides for developers who have experience with
programming languages that use automated objects and who want to customize or build
applications on this software.
• Building on the GeoMedia Engine is an interactive user’s guide developed in HTML.
• GeoMedia Object Reference covers the objects, methods, and properties available
through automation.
You can access the documents through Start > All Programs > GeoMedia Developer
Documentation.
1-5
Working with GeoMedia
Getting Started
To start this product, select Start > All Programs > GeoMedia > GeoMedia. If it has
not been turned off, the introductory GeoMedia dialog box appears.
This dialog box lets you create a new GeoWorkspace using a blank GeoWorkspace or a
GeoWorkspace template or open an existing GeoWorkspace from a list of recently opened
GeoWorkspaces. You can select one from the list, and click OK, or if the existing
GeoWorkspace you want is not listed, you can select More Files, and click OK to find the
GeoWorkspace yourself. To not open this dialog box when you start the software, check
the Don’t show this dialog box again check box.
Note: To exit the software at any time, select File > Exit from the GeoMedia menu.
See the “Working with GeoWorkspaces” chapter for complete information on using
GeoWorkspaces.
1-6
Start Here
• Within the software, you work in three types of windows, map windows, data
windows, and the layout window. These windows are contained in a GeoWorkspace,
which is roughly analogous to a workbook in Microsoft Excel®. If you have a
Microsoft IntelliMouse™, you can use it to manipulate map, data, and layout
windows faster and more efficiently.
• The software offers several specialized toolbars that are available only under the
appropriate circumstances. The Data toolbar, for example, is available only when the
data window is active. Select View > Toolbars to specify which toolbars you want
to display.
• Some right mouse menus are available in this product. You display pop-up menus by
pressing the right mouse button. The tools on the menu vary with the location of
your cursor.
• The product’s toolbars can be moved from their default locations and docked at other
locations within the interface. Moving a toolbar over a map window converts the
toolbar to a dockable control, and some tools provide a control rather than a dialog
box interface. Further, clicking the right mouse button on the title bar of a control
displays a menu that allows you to restore, move, minimize, maximize, or hide the
control, while clicking the X icon dismisses the control. Clicking the right mouse
button on a toolbar (or on the icons in a control) displays a menu that allows you to
turn toolbars on and off, display the Status and Precision Coordinates toolbars, and
customize toolbars.
• All controls in the product that perform the display and entry of either graphic text or
attribute text, support multi-language text (Unicode).
See the “Working with Map Windows”, “Working with Data Windows”, and “Working
with Layout Windows” chapters for information on the three types of windows.
1-7
Working with GeoMedia
Menus—Add new menu items to and remove items from menus for quick access to the
commands you use most often, and reset menus to the original settings. You can also add,
rename, and delete menus.
Toolbars—Create new custom toolbars and add command buttons to delivered and custom
toolbars.
See the “Using the Customize Command” topic in the GeoMedia Help for complete
information on using this command.
To load a customized settings file with the Load Customized Settings command, you
select Tools > Load Customized Settings to open the Open common dialog box. You
then select the drive and folder containing the customized settings file you want to load.
1-8
Start Here
Next, you type the name of the customized settings file in the File name field or select it
from the list, and then click Open.
The command line option is /custom “<filename>”. During GeoMedia initialization, this
option is read, and the menus and toolbars are loaded, for example: GeoMedia.exe /custom
“D:\xmlfiles\MySettings.xml”.
What is a GIS?
A GIS (geographic information system) is a computer system capable of assembling,
storing, manipulating, analyzing, and displaying geographically referenced information.
This system contains both data identified according to their locations as well as graphic
and nongraphic data.
1-9
Working with GeoMedia
Aspects of a GIS
The following are some important aspects of a GIS system:
• A GIS knows where things are, which is essential to rational decision making in many
cases.
• The a GIS is only as useful and accurate as the information you put into it.
• Proper implementation of the technology is critical to the system’s success
• A map itself is not a GIS; a map is a derived output product of a GIS.
• A map is to a GIS as a report is to a database.
Types of Information
A GIS may contain the following types of information:
Textual—Reports, tabular data, and data streams.
Image Files—Aerial photos, scanned images, and photographs.
CAD (Vector)—Drawings containing linework, such as floor plans, schematics, and
diagrams, which are sometimes drawn to scale and sometimes not.
GIS (Smart Vectors)—Maps, properly scaled and properly oriented, and support for
multiple projections. Map feature definitions also include nongraphic data (attributes).
Other Documents—Office automation: presentations, spreadsheets, web pages, and so
forth.
1-10
Start Here
Warehouses—Collections of GIS data, for example Oracle, ArcInfo, and CAD databases.
GeoMedia establishes connections to warehouses to gain access to the GIS information.
• Features have attributes. A feature class definition defines all of the attributes and
associated data types. Specific instances of the feature class have unique values for the
attribute fields.
1-11
Working with GeoMedia
• Features can be represented in the GIS as points, lines, polylines, areas, arcs, text, and
images.
Queries and Spatial Queries—Queries are questions, some complex, some simple, that
you can pose to the GIS. For example, a simple query might be to see all cities with more
than 100,000 people. Or, you may ask to see all states with a population over 100,000
1-12
Start Here
containing cities where the total crime rate is greater than 125. Spatial queries supplement
relational operators with spatial operators.
GIS Applications
A GIS can be productively used in many endeavors, including the following:
• Agriculture
• Business
• Cartography
• Meteorology
• Geology
• Tourism
1-13
Working with GeoMedia
• Education
• Archeology
• Facilities Management
• Military installation management
• Asset Management
• Environmental Management
• Utilities Management (water and sewer, electric, communication systems, cable, cell
phone coverage areas, and so forth)
• Natural Resources and Resource Conservation
• Public Safety (emergency dispatch management)
• Disaster planning (hurricane evacuation, earthquake)
• Health Care Industry (disease outbreak studies, epidemics)
• Industrial (plants, pipelines, storage tanks, and so forth)
• Aeronautical (Airport GIS, airspace management)
• Marine Engineering (biology, soundings)
• State and local government – Land Information Systems (LIS): parcels, right-of-way,
and so forth.
• Transportation Industry (highways, railroads, planning and analysis)
Benefits of GIS
Some of the benefits of using a GIS are the following:
Reduces Operations and Maintenance Costs—As a productivity multiplier, a GIS
enables less-skilled personnel to complete sophisticated analyses, as well as expanding the
output of the technical staff.
Improves Mission Effectiveness—A GIS provides command and management personnel
with the opportunity to rapidly analyze multidisciplinary sets of data and to arrive at the
best solution with complete supporting documentation.
Provides Rapid Modeling Capabilities for Analyzing Alternative Strategies— A GIS
provides the capability for command personnel to make the best and most cost-effective
decisions in tight budget environments.
Greatly Improved Communication Aids—Effective communication is essential for
managing an infrastructure, whether it be a college campus, military installation, or a city.
GIS visualization tools are fast and easy to use.
Promotes Harmony—By providing a standard set of data and tools for modeling and
analysis, major alternatives for a project can be consistently produced and analyzed. This
1-14
Start Here
capability helps bring teams together with the increased job satisfaction associated with the
feeling of effective group participation.
Provides a Repository of Institutional Knowledge—By incorporating as much
knowledge as possible into standard GIS functions, the loss of key personnel knowledge
can be minimized.
1-15
Working with GeoMedia
1-16
Working with GeoWorkspaces
A GeoWorkspace is the container for all your work in this product. Within its confines are
the warehouse connections to your data, map windows, data windows, layout windows,
toolbars, coordinate-system information, and queries you have built. The first thing you do
is open an existing GeoWorkspace or create a new one.
Once you are in a GeoWorkspace, you can change its coordinate system, establish
warehouse connections, run queries, display data, and perform spatial analyses. The
settings and connections you define in a GeoWorkspace are saved in a .gws file, although
the actual data remains stored in warehouses. The software is delivered with an example
GeoWorkspace, USSampleData.gws.
Note: The U.S. Sample Data Set contains a shaded relief image of the United States,
complete with hypsometric tints. The data consist of a 1000-meter pixel resolution RGB
GeoTIFF file.
Every GeoWorkspace is built on a template, and you can create your own templates or use
an existing one. The software is delivered with a default GeoWorkspace template,
normal.gwt, which contains an empty map window, an empty legend, and a predefined
coordinate system. If you accidentally delete the normal.gwt file, you must reinstall the
software to restore the template; so it is a good idea to back up this file.
This is a representative workflow for creating and configuring a GeoWorkspace:
1. Select File > New GeoWorkspace.
2. Select a template.
3. If the coordinate system you want differs from the one in the template, define a
different coordinate system for the GeoWorkspace.
4. Make warehouse connections; configure map and data windows (topics covered in
other chapters).
5. Save the GeoWorkspace.
Creating a GeoWorkspace
You create a GeoWorkspace using normal.gwt or another template in the
\GeoMedia\Templates\GeoWorkspace folder. The available templates are displayed when
you select File > New GeoWorkspace from the GeoMedia menu or Create new
GeoWorkspace using from the introductory GeoMedia dialog box.
2-1
Working with GeoMedia
Opening a GeoWorkspace
You can have only one GeoWorkspace open at a time. When you open a second
GeoWorkspace in the same software session, the software closes the open GeoWorkspace.
If the GeoWorkspace you want to open is read-only, you are advised that it is read-only
and asked if you still want to open it. If you open it, the software makes a copy of the
read-only GeoWorkspace and opens it as read-only. If you then make changes to this
internally copied GeoWorkspace and try to save it, you are advised that you have made
changes and asked if you want to save the GeoWorkspace to a different file name because
the original GeoWorkspace is read-only. The changes you make to a read-only
GeoWorkspace are discarded when you close it unless you save it with a different file
name.
A list of the most recently used GeoWorkspaces appears at the bottom of the File menu.
You can open a GeoWorkspace from this list by clicking the filename.
Note: GeoWorkspace (*.gws) files created in GeoMedia and other GeoMedia applications
that are saved to disk with queries specific to those applications, such as geometry
validation queries, will not open in GeoMedia.
To open a GeoWorkspace:
1. Select File > Open GeoWorkspace.
2-2
Working with GeoWorkspaces
Note: If a connection fails while attempting to open a GeoWorkspace, an error dialog box
appears prompting you to verify that your warehouse connection parameters are correct.
Upon setting this option, the map windows and data windows are empty when you open a
GeoWorkspace. The legend entries in the map view are created but not in a loaded state;
the data view shows a title but displays no records. Any existing queries are not re-
executed. Also, any subsequent opening of an existing GeoWorkspace, in the same session
or future sessions, does not load the data.
After opening a GeoWorkspace, you can selectively load its data as follows:
Legend Entries
• Select View > Update All to update all legend entries in all map windows and all data
windows.
2-3
Working with GeoMedia
• Select one or more legend entries, display the right mouse menu (on the legend, not the
map window), and select Load Data. This is enabled only when one or more of the
selected legend entries is in an unloaded state.
Data Windows
• Select View > Update All to update all legend entries in all map windows and all data
windows.
• Display the right mouse menu, and select Load Data. This is enabled only when the
data window is in an unloaded state.
2-4
Working with GeoWorkspaces
• To save a new GeoWorkspace, select File > Save GeoWorkspace As, and type a
name for the GeoWorkspace in the File name field.
Note: To make a GeoWorkspace read-only, you use standard Windows procedures for
changing file attributes.
• To copy the open GeoWorkspace to a new file, select File > Save GeoWorkspace As,
and give the GeoWorkspace a different name. This closes the open GeoWorkspace
without saving changes to it since the session was opened or since the last save. The
newly named GeoWorkspace becomes the open one.
• To close a GeoWorkspace without saving changes made since the last save or since the
current session was opened, select File > Close GeoWorkspace.
E-Mailing a GeoWorkspace
When you select File > Send from the GeoMedia menu, the electronic-mail application on
your system starts and attaches a copy of the open GeoWorkspace.
Because all warehouse connections are stored as folder paths, the person receiving the
GeoWorkspace will be able to open the GeoWorkspace, re-establish all original warehouse
connections, and view the data as it appeared when you e-mailed the GeoWorkspace.
2-5
Working with GeoMedia
Note: If you have named an alternate file location for GeoWorkspace templates, that
location appears in the Save in field of the Save GeoWorkspace As dialog box. Then
if you want to store the new template in the main templates folder, click the drop-down
arrow and browse to the \Program Files \GeoMedia\Templates\GeoWorkspaces folder.
11. Verify that GeoWorkspace Template appears in the Save as type field.
12. Type a name for the template in the File name text box. The file extension must be
.gwt.
13. Click Save.
2-6
Working with GeoWorkspaces
2-7
Working with GeoMedia
2-8
Working with Coordinate Systems
This application displays all data—even data from different sources—using the coordinate
system defined for the GeoWorkspace. Each feature class stored in a warehouse can have
its own unique coordinate system and is transformed on the fly into the GeoWorkspace
coordinate system when you display them in the map window.
IMPORTANT: To accurately display raster images, FRAMME data, or data from many
non-Intergraph proprietary formats in a GeoWorkspace, the coordinate system of the
GeoWorkspace must either match that of the feature data in the warehouse or you must
define a coordinate system file for the feature data so that it can be correctly converted for
you. Assigning a coordinate system to your source data is the only way to ensure that
GeoMedia understands the source projection of your data. Data servers that use coordinate
system files typically specify the association of feature name to coordinate system file in
their ini file. In some cases these data servers allow the same coordinate system file to be
shared by all features in the warehouse. To create a coordinate system file (*.csf), you use
the Define Coordinate System File utility that is delivered with the software. A common
method to create the .ini file is the Define Warehouse Configuration File utility.
See "Displaying Data That Has No Coordinate System Specified" in this chapter. Also, see
the Define Coordinate System File utility’s online Help.
A coordinate system provides the mathematical basis for relating the features in your study
area to their real-world positions. The software supports the following types of coordinate
systems:
• A geographic coordinate system (the default) references a spheroid, expressing
coordinates as longitude, latitude, where longitude is the angular distance from a prime
meridian, and latitude is the angular distance from the equator.
• A projected coordinate system references a projection plane that has a well-know
relationship to a spheroid, expressing coordinates as X,Y, where X normally points
east on the plane of the map, and Y points north at the point chosen for the origin of
the map. The X coordinate is called easting, and the Y coordinate is called northing.
• A geocentric coordinate system references an earth-centered Cartesian system,
expressing coordinates as defining the position of a specific point with respect to the
center of the earth. These coordinates are Cartesian (X, Y, Z) where the X axis of the
geocentric system passes through the intersection of the prime meridian and the
equator, the Y axis passes through the intersection of the equator with 90 degrees East,
and the Z axis corresponds with the earth’s polar axis. The X and Y axes are positive
pointing outwards, while the Z axis is positive towards the North Pole.
3-1
Working with GeoMedia
Geographic and projected coordinate systems reference horizontal position using either
longitude, latitude, or X,Y. Such a position may be extended to reference a vertical
position in the form of a third coordinate that indicates elevation above a known reference.
All GeoMedia coordinate systems provide both horizontal and vertical reference
information.
Coordinates may be transformed between these the geographic, projected, and geocentric
reference spaces. A paper reference space, which is a scaled representation of the
projection plane, is also supported.
Because the shape of the earth's surface varies from one geographic area to another, the
software interprets horizontal coordinates with reference to a network of geodetic control
points called the geodetic datum. The horizontal geodetic datum in turn defines the
reference ellipsoid, which is the model used to represent the shape of the earth’s surface.
Vertical coordinates (elevations) are interpreted with reference to a network of vertical
control or other vertical reference frame called the vertical datum.
See the “Coordinate System Information” appendix for a list of supported horizontal
geodetic datums, vertical datums, and ellipsoids.
If you change the coordinate system after displaying data, the data are transformed to the
new coordinate system, and the display is updated. Changing the coordinate system in the
GeoWorkspace does not affect the data in the warehouse, only data in the map window.
When you add a feature class to a GeoWorkspace, the software checks the datums in the
warehouse and in the GeoWorkspace for compatibility. If the datums are different, the
software automatically builds the appropriate datum transformation for these datums.
The default coordinate system in the software contains the following settings:
• Base storage type—Geographic
• Horizontal storage unit—1 degree
• Vertical storage unit—1 meter
• Projection algorithm—Cylindrical Equirectangular
• Projection parameters—Centered at the equator and the prime meridian
• Horizontal geodetic datum and ellipsoid—WGS84
• Vertical datum— Earth Gravitational Model (EGM96)
• Nominal map scale—1:50,000
3-2
Working with Coordinate Systems
Note: When the coordinate system type is geocentric, the projection algorithm is preset to
be Local Space Rectangular with latitude of origin at the North Pole. When the coordinate
system type is geographic, the projection algorithm is preset to Cylindrical Equirectangular
centered at the equator and prime meridian. For the geocentric and geographic coordinate
system types the projection algorithm is preset and cannot be changed.
Storage Units
You can set the horizontal storage unit, vertical storage unit, geocentric storage unit, and
storage center parameters on the Storage Space tab of the Define Coordinate System File
dialog box, the GeoWorkspace Coordinate System dialog box, and the Coordinate
System Properties dialog box. The content of this tab varies depending on base storage
type. The following example is for the projection base storage type:
3-3
Working with GeoMedia
For the geographic base storage type, you also define the horizontal and vertical storage
units, but the storage center options are longitude, latitude, and height. For the geocentric
base storage type, you define the geocentric storage unit and the storage center options of
X, Y, and Z.
Horizontal storage unit—For the coordinate system of a data source, the horizontal
storage unit defines what the distance between sequential integer X or Y coordinate
values is when the base storage type is geographic or projection.
For example, if the resolution is 0.001 ft., and then the X coordinate of a point changes
from 1 to 2, the distance in the X direction of the change is 0.001 ft. This is very important
for data sources that store coordinates as integers (MGE, MGDM, MGSM, and CAD with
.dgn files) because for these data types, you cannot go between 1 and 2. Thus, the smallest
distance that will resolve two values as being separate is 0.001 ft., which leads to the term
resolution being applied to integer storage. In the context of IGDS/MGE, this concept was
presented with the term UOR (Unit of Resolution), whereas GeoMedia uses storage
coordinates. Thus, when MGE tells you that you have 1000 UORs per ft., it is telling you
exactly the same thing that GeoMedia is telling you when it says you have a horizontal
resolution of 0.001 ft. (1 ft./1000 UORs). GeoMedia is just looking at the distance
between two adjoining UORs, whereas MGE/MCSO presents the same concept as "how
many UORs fill a common distance (such as 1 ft.)". The GeoMedia way of presentation
mimics common language, such as, "My data are at cm. resolution" (meaning the distance
between UORs is 1 cm., whereas MGE would state this as "100 UORs per m." or "1 UOR
per cm.").
For CAD and MGE users, the horizontal resolution is expressing the very real limitations
of the data. For example, you cannot draw a line and measure between two UORs.
For other data sources that use floating point, these limitations do not exist (within reason).
Much ArcInfo and MapInfo data are defined with a horizontal storage unit of 1 meter (or
for geographic data, 1 degree). That just means that the data source chose to store the
coordinates in those units. It is not necessary for floating point data to be stored as
hundredths of a foot, for example, which would be wasted calculation; they just store it as
feet (or meters, or whatever—whole units, usually).
3-4
Working with Coordinate Systems
Likewise, data in GeoMedia's own geometry cache is kept as floating point. Thus, it is
normally not necessary to adjust the resolution definition for the GeoWorkspace coordinate
system. This is especially true due to the ability to match GeoWorkspace and default
warehouse coordinate systems through the General tab of the Options dialog box (Tools >
Options).
Note: If you are exporting data from an integer-based storage format to a floating-point
storage format, you should set the horizontal resolution for the coordinate system in the
target warehouse to 1. This ensures that the coordinates stored reflect the actual
coordinates of the data rather than the UOR values.
Vertical storage unit—For the coordinate system of a data source, the vertical storage unit
defines what the distance between sequential Z coordinate values is, when the base storage
type is geographic or projection.
Geocentric storage unit—For the coordinate system of a data source, the geocentric
storage unit defines what the distance between sequential X, Y, or Z coordinate values is,
when the base storage type is geocentric.
For a geocentric coordinate system, the geocentric storage unit takes the place of both
horizontal and vertical storage units because the geocentric storage space has uniform
scaling in all directions.
The description of how the horizontal storage unit relates to integer and floating point data
storage applies also to the vertical storage unit and the geocentric storage unit parameters.
Storage center—This is another legacy from integer storage. Integer storage mechanisms
such as MGE and CAD .dgn files can only store so many UORs. In some cases, users need
to offset the range of UORs that is used (some users wanted all coordinates to be positive,
for example). The MicroStation global origin offset would accomplish that. This appears
in GeoMedia as the storage center. A normal data set has a center of (0,0), which means
no shifting is defined.
Note: If you are exporting data from an-integer based storage format to a floating-point
storage format, you should set the storage center for the coordinate system in the target
warehouse to 0. This ensures that the coordinates stored reflect the actual coordinates of
the data rather than the shifted values.
3-5
Working with GeoMedia
• Storage center
• Projection algorithm and parameters
• Horizontal (geodetic) and vertical datums
• Reference ellipsoid and parameters
See the "Coordinate System Information" appendix for the settings available in the
software.
3. Optional: To change the storage units and storage center, select the Storage Space
tab.
4. For projected coordinate systems only: On the Projection Space tab, select a
projection algorithm from the Projection algorithm drop-down list.
To change parameters, click Projection Parameters. Depending on the projection
algorithm selected, some text boxes may be read-only.
3-6
Working with Coordinate Systems
5. Optional: On the Geographic Space tab, select the geodetic datum from the Geodetic
datum drop-down list.
6. Optional: If you select a user-defined (non-standard) geodetic datum, you can change
the ellipsoid on the Geographic Space tab; and if you select a user-defined (non-
standard) ellipsoid, you can change ellipsoid parameters as well.
7. Optional: On the Geographic Space tab, select the vertical datum from the Vertical
datum drop-down list.
Note: For a feature class being reviewed or a feature class being edited that has data, you
can only review the coordinate system properties. However, a warehouse coordinate
system may be marked as the default coordinate system for the warehouse while reviewing
or editing an existing feature class, or while creating a new feature class.
3-7
Working with GeoMedia
You may select a coordinate system by name from the Coordinate system drop-down
list. The properties of the selected coordinate system may be reviewed by clicking the
Properties button, which displays the Coordinate System Properties dialog box
(described below) in read-only mode. To create a new coordinate system for the
feature class, click New, which displays the Coordinate System Properties dialog
box in read-write mode:
4. On the General tab of the Coordinate System dialog box, select the Geographic,
Projection, or Geocentric coordinate system type.
5. Optional: To change the storage units and storage center, select the Storage Space
tab.
6. For projected coordinate systems only: On the Projection Space tab, select a
projection algorithm from the Projection algorithm drop-down list.
To change parameters, click Projection Parameters. Depending on the projection
algorithm selected, some text boxes may be read-only.
7. Optional: On the Geographic Space tab, select the geodetic datum from the Geodetic
datum drop-down list.
8. Optional: If you select a user-defined (non-standard) geodetic datum, you can change
the ellipsoid on the Geographic Space tab; and if you select a user-defined (non-
standard) ellipsoid, you can change ellipsoid parameters as well.
3-8
Working with Coordinate Systems
9. Optional: On the Geographic Space tab, select the vertical datum from the Vertical
datum drop-down list.
10. Optional: On the General tab, type values in the coordinate system Name and
Description fields.
Both will be stored in the warehouse and can make it easier to determine what
coordinate systems are assigned to specific feature classes. The Name entry will be
used in the Coordinate system drop-down list on the New <feature class name>
dialog box when you exit the Coordinate System Properties dialog box with OK.
11. Click OK on the Coordinate System Properties dialog box.
12. Optional: To create or change the default coordinate system for the warehouse, select
the appropriate coordinate system from the Coordinate system drop-down list; then
click the Set As Default button.
Note: You can assign only one default coordinate system per warehouse.
3-9
Working with GeoMedia
The default warehouse coordinate system is assigned by clicking the Set As Default button
on the New / Edit / Review <feature class name> dialog box within the Warehouse >
Feature Class Definition command. If a default coordinate system has not been defined,
the software will look for the first coordinate system having the Description property
value Default. If no default is found that way, the first coordinate system found in the
metadata table GCoordSystem will be used.
The When making first connection option allows you to match the two coordinate
systems by copying the definition of the default coordinate-system of the first warehouse
connection made for the GeoWorkspace with the New Connection command to the current
GeoWorkspace coordinate system. If you do not select this option, New Connection has
no effect on the definition of the GeoWorkspace coordinate system. You can verify the
new coordinate-system definition through View > GeoWorkspace Coordinate System.
The When creating a new warehouse option allows you to match the two coordinate
systems by copying the coordinate-system definition of the current GeoWorkspace to the
default coordinate system of a new Access warehouse when it is created. If you do not
select this option, the active template defines the default coordinate system of the new
warehouse. This option does not affect Oracle or SQL Server connections.
The optimum workflow in many situations is to first use New Connection to connect to
your data, thus setting the GeoWorkspace coordinate system, and then to use New
Warehouse to create any appropriate new Access warehouse(s). This sequence ensures
that the new Access warehouse shares the same coordinate-system definition with the data
source and the GeoWorkspace.
Note: The When creating a new warehouse option does not apply to the Oracle Object
Model. When using the Oracle Object Model, you need to verify that the coordinate
system is set to what you want it to be; it is not automatically set by the software.
3-10
Working with Coordinate Systems
Related Effects
The software automatically updates the various aspects of the system that are affected by
copying the default coordinate-system definition of the first connection to the
GeoWorkspace coordinate system. Any transformation pathways to coordinate systems of
connections that were previously created and then deleted will be updated. Any spatial
filters that exist (either from the GeoWorkspace template or from running Spatial Filter
definition commands) will be transformed into the new GeoWorkspace coordinate system.
Coordinate-system information will be updated on all map views, resulting in recalculation
of the display scale. If the north arrow and scale bar are displayed, they will be refreshed
to account for the new coordinate system and display scale.
Copying the GeoWorkspace Coordinate-System Definition onto the Default
Coordinate System of a New (Access) Warehouse
If you select the matching options, the software copies the definition of the coordinate
system of the GeoWorkspace into the warehouse and marks it as the default coordinate
system for the warehouse. This definition is written into the GCoordSystem table of the
database. The software creates a new row if necessary.
You can actually use the New Warehouse command in two slightly different ways to
create 1) a new Access warehouse (.mdb – the default), or 2) a new Access warehouse
template (.mdt). Only when creating a new warehouse (.mdb) does the command establish
a connection to the new warehouse. Because an open connection is required to update or
to add a row to the GCoordSystem table of the warehouse, it is only when a new warehouse
(not warehouse template) is created (and the preference is set) that the New Warehouse
command copies the GeoWorkspace coordinate system to the warehouse and marks it as
the default coordinate system.
The impacts of copying the GeoWorkspace coordinate-system definition onto the
coordinate system of a new (Access) warehouse affect the optimum workflow. The
optimum workflow in many situations is to first use New Connection to connect to your
data source, thus setting the GeoWorkspace coordinate system, and then to use New
Warehouse to create any new warehouse(s). This ordering ensures that the new
warehouse shares the same coordinate-system definition with the data source and
GeoWorkspace.
This control displays the precision coordinates for the current cursor position in the map
window. The current coordinate format drop-down list determines if the displayed
3-11
Working with GeoMedia
coordinates are geographic or projected. The coordinate display and entry field displays
the coordinate readout for the current cursor position. The units and precision of the
coordinate readout are defined using the Units and Formats tab of the GeoWorkspace
Coordinate System dialog box. You have the option to update coordinates with a mouse
move (the default) or with a click. The coordinate display and entry options drop-down
menu displays options that include the following:
• Update coordinates on mouse move
• Update coordinates on click
• Clear coordinates after enter (this option applies to precision keyins, not to precision
readouts)
See the Precision Coordinates Help topic in GeoMedia Help for complete information.
These are the options you can set on the Units and Formats tab:
3-12
Working with Coordinate Systems
• Type specifies the type of unit for which to set the default unit and precision. Each
unit type used by the software is listed. When the software outputs values of the
specified unit type, those values by default are displayed using the units and precision
specified here. Some commands allow you to override these defaults.
• Unit sets the linear, areal, or angular unit of measure. The choices vary with the unit
type.
• Precision defines the number of decimal places of precision in the coordinate-readout
applicable commands. A separate precision may be specified for each unit type.
• Geographic coordinate format defines the ordering of longitude and latitude values
and the definition of the positive direction of the two axes (including the option for
using character designators) when geographic coordinates are formatted or parsed as
ASCII strings.
• Projection coordinate format defines the ordering of projection east/west and
north/south values and the definition of the positive direction of these two axes used in
projection coordinate strings that are formatted for output or parsed for input.
• Measurement interpretation specifies how Earth curvature and nominal map scale
are accounted for in measurements and coordinate calculations.
− True (spheroidal) specifies that distance/area/azimuth(bearing) measurements are
taken on the surface of the ellipsoid by taking the curvature of the Earth into
account. These measurements do not contain any projection distortions.
− Projected (planar) specifies that distance/area/azimuth(bearing) measurements are
taken on the projection plane without taking the curvature of the Earth into
account. These measurements do contain projection distortions. This is the default
setting.
− Paper (scaled) specifies that distance measurements are computed on the paper
plane that is scaled in relation to the projection plane at the current nominal map
scale.
Note: This option is available only when the Units and Formats dialog box is
displayed with the Tools > Measure Distance dockable control.
• Azimuth settings specify the direction and starting point when setting and displaying
azimuths. An azimuth is a way of specifying an angle by measuring either clockwise
or counterclockwise from 0 to 360 degrees. These options apply to the distance and
azimuth readouts and keyins, and to some coordinate system projection parameters.
See the “Conversion Tables” appendix for multiplication factors for converting from/to the
International System of Units (metric) to/from the United States Customary System.
Units and formats can be temporarily set when displaying the Units and Formats dialog
box from the Tools > Measure Distance and the Insert > Feature dockable controls.
3-13
Working with GeoMedia
The Paper (scaled) measurement interpretation is only available with the Tools >
Measure Distance dockable control.
See the "Measuring Distances" in the “Working with Map Windows” chapter.
3-14
Working with Coordinate Systems
• Datum-transformation-model types are defined using the ASCII mnemonics from the
CSDatumTransformationModelConstants enumeration.
• This file is never localized for different languages, rather, it is always interpreted in
English (it uses the comma for the field separator and the dot for the decimal
character). No thousands grouping character is used.
• Floating point values are never written in scientific notation.
When you make changes to the autodt.ini file, they do not affect any GeoMedia or
GeoMedia object-based process that is currently running. This is because the coordinate
transformation software only reads the file once at start-up time; so if the file is altered
afterwards, the process does not know about the alteration until the next time the process is
run.
In addition, when you make changes to the autodt.ini file, they do not affect
transformations that have already been persisted in a GeoMedia GeoWorkspace. This is
because the coordinate transformation software only uses the autodt.ini file to build new
datum transformations. If, for example, you make a connection and the software at that
time uses the autodt.ini file to include a datum transformation and you then save the
GeoWorkspace, any subsequent change you make to the autodt.ini file does not affect that
saved GeoWorkspace. This is because the datum transformation has already been created
and saved within the GeoWorkspace.
See the “Coordinate System Information” appendix for a list of datum-transformation
models the software supports.
3-15
Working with GeoMedia
4. For projected coordinate systems only: On the Projection Space tab, select a
projection algorithm from the Projection algorithm drop-down list.
5. Optional: To change parameters, click Projection Parameters. Depending on the
projection algorithm selected, some text boxes may be read-only.
6. Optional: On the Geographic Space tab, select the geodetic datum from the Geodetic
datum drop-down list.
7. Optional: If you select a user-defined (non-standard) geodetic datum, you can change
the ellipsoid on the Geographic Space tab; and if you select a user-defined (non-
standard) ellipsoid, you can change ellipsoid parameters as well.
8. Optional: On the Geographic Space tab, select the vertical datum from the Vertical
datum drop-down list.
9. Optional: On the General tab, type values in the coordinate system Name and
Description fields.
These will be saved in the .csf file. Many data servers that use .csf files will use these
values as the name and description exposed for a coordinate system, which may, for
example, be seen during Review of feature properties within the Feature Class
Definition command.
10. On the Define Coordinate System File dialog box, click Save As.
11. On the Save Coordinate System File As dialog box, select the drive and folder where
you want to save the coordinate-system file. If you do not select a path, the
coordinate-system file will be saved in the root folder of your active drive.
Select one of the following locations:
− The folder containing the specific warehouse for which the coordinate-system file
defines coordinate data. This is the preferred location.
3-16
Working with Coordinate Systems
− The folder where the warehouses are stored. The default is <drive:>\Warehouses.
It may be necessary to use this location, for example, when the actual warehouse
data are located on read-only media.
− For FRAMME data, you can specify the folder containing the gateway file fsa.gtw
or the folder named in the gralocs.txt file, which is located on the FRAMME
graphics server. The default is \win32app\ingr\frs\cfg.
12. In the File name text box, type the name that you want to give to the coordinate-
system file.
13. Verify that the Save as type is set to Coordinate System File (*.csf).
14. Click Save.
To display ARC/INFO data:
(.csf)You identify the coordinate-system file for the ARC/INFO data by creating a
<workspace>.ini file, where <workspace> is the name of the ARC/INFO GeoWorkspace
data folder. Within this file, you specify the coordinate-system file to be used. Place the
<workspace>.ini file in the ARC/INFO GeoWorkspace folder, or if that is not possible, in
the software’s \Warehouses folder specified during installation.
See the “Creating Data Server .INI Files” topic in GeoMedia Help.
3-17
Working with GeoMedia
3-18
Working with Coordinate Systems
3-19
Working with GeoMedia
3-20
Working with Warehouses
You display feature geometries and attribute data in a GeoWorkspace through connections
to warehouses where the data are stored. Each warehouse connection uses a data server to
convert the data into a format that the software can display. Connections are links that
allow the transfer and translation of feature data from the various supported data
warehouse types.
You can output feature data in any GeoMedia-supported format to a warehouse with the
Output to Feature Classes command. You must have at least one read-write open
connection to use this command.
See the “Outputting Feature Data to Warehouses” section of the “Working with Features”
chapter
The New Connection command lets you to easily create warehouse connections. This
command guides you through the process of entering the information necessary to define
and to make the connection to your data. You specify the name and location of the
connection and all the necessary connection parameters. This command lets you specify a
warehouse configuration (.ini) file for many data connections. You can create the .ini files
using the Define Warehouse Configuration Utility before connecting to the data.
Note: Access-based warehouses, catalogs, and libraries all use *.mdb files. You should
maintain these in separate directories in order to make the individual database type more
easily found. In addition, the software has separate folder locations for the Access versions
of these files, and you should add the word catalog, library, or warehouse to filenames in
order to distinguish them from each other. Oracle and SQL Server can also contain
libraries and catalogs, and the associated schemas should be named to distinguish them
from standard spatial schemas.
4-1
Working with GeoMedia
See the “Creating Data Server .INI Files” and the “New Connection Dialog Box” topics
in GeoMedia Help and the Define Warehouse Configuration File utility’s online Help for
complete information.
This version of the software lets you connect to data created in the following formats:
• Access • MGE Data Manager
• ARC/INFO • MGE Segment Manager (MGSM)
• ArcView shapefile • ODBC Tabular
• CAD – AutoCAD and MicroStation®/IGDS • Oracle® Object Model
• FRAMME™ • SQL Server
• GeoGraphics • SmartStore Server
• GML • Text File Server
• I/CAD MAP • WFS
• MapInfo • WMS
• (MGDM)Modular GIS Environment (MGE)
See the “Working with Map Windows” and “Working with Data Windows” chapters for
more information.
All warehouse types are read-only, except for Access, Oracle, and SQL Server. This
protects the integrity of your source data. So, if you want only to display data in the
software from one or more warehouses, you simply create one or more warehouse
connections and then use map windows and data windows to display the data.
This is a representative workflow for accessing the warehouse data you want to display:
1. Open a new GeoWorkspace.
2. Connect to the warehouse containing the data for your area of interest.
3. Connect to other warehouse(s).
4. Display the feature data.
If you want write access to the data in the software—to add new features or change
attributes of existing ones, for example—you create a new Access warehouse and import
data into it. You may also import data into an Oracle Object Model or SQL Server
warehouse assuming you have a read-write connection.
Whether you are displaying data or writing it, your GeoWorkspace can contain data from
many different sources, even those whose native data types are incompatible.
This is a representative workflow for importing data into a read-write warehouse:
1. Follow the steps in the preceding workflow to identify the area for which data are to be
imported.
2. Optional: Define a coordinate system for the empty warehouse. (The GeoWorkspace
defaults to the coordinate system from the first feature added to the legend.)
3. Import feature classes from the connected warehouses into your read-write warehouse
(Access, Oracle Object Model, or SQL Server).
4-2
Working with Warehouses
Note: Warehouse, catalog, and library all use *.mdb files. Therefore, you should maintain
files for each of these three components in separate folders, or under separate users in SQL
Server and Oracle. In addition, the software has special and separate folder locations for
the Access versions of these files, and you should add catalog, library, or warehouse to
filenames (Access) or user names (SQL Server, Oracle) to help distinguish between files
for each use.
Note: The default storage location is established when the software is installed, but
you can change it in the product from the File Locations tab of the Options dialog box
(Tools > Options).
Preparing to Connect
As the universal geographic client, the software lets you combine data from many sources
and in different formats into one spatially accurate environment. To ensure accuracy, you
must set up your data servers and provide the software with certain information about the
data you want to view. Each data type requires different information; the following
sections cover special procedures or information required for each.
4-4
Working with Warehouses
• A coordinate-system file (.csf) for the ARC/INFO data must be created with Define
Coordinate System File.
• The coordinate-system file for the ARC/INFO data must be identified in a
<Arc/Infoworkspace folder name>.ini file, which should be stored in the ARC/INFO
GeoWorkspace folder, or if that is not possible, in the software’s \Warehouses folder.
• For ease of maintenance, you should store the .csf and .ini files along with the data in
the ARC/INFO warehouse folder as the primary location. When this is not possible
(due to read-only media, for example), you should store these files in the default
warehouse location, and the software will find them there.
The software does not support the PC version of ARC/INFO.
See “Displaying Data That Has No Coordinate System Specified” in the “Working with
Coordinate Systems” chapter and the “Creating Data Server .INI Files” topic in
GeoMedia Help.
4-5
Working with GeoMedia
• For AutoCAD and MicroStation V8 data, a coordinate-system file (.csf) must have
been created with Define Coordinate System File
See “Displaying Data That Has No Coordinate System Specified” in the “Working
with Coordinate Systems” chapter.
• For IGDS and AutoCAD data, an ODBC data source must have been created if there
are database attribute linkages that have to be served.
• A CAD schema definition file (.csd) must have been defined with Define CAD Server
Schema File utility (Start > All Programs > Product_Name > Utilities > Define
CAD Server Schema File). The CAD data server allows you to use MicroStation V7
design files (with or without attribute linkages) or AutoCAD files (.dwg/.dxf with or
without database attribute linkages) or MicroStation V8 design files (without attribute
linkages) as a GeoMedia data source.
Note: In order to use the Define CAD Server Schema File utility, you must have clear
and complete understanding of your CAD data.
You can specify a .ini file in the .csd file that allows for persistent caching. Persistent
caching is done in CAD data server to improve server performance.
See the “Creating Data Server .INI Files” topic in GeoMedia Help.
See the Define CAD Server Schema File utility’s online Help for complete information
about this utility.
See the “Creating Data Server .INI Files” topic in GeoMedia Help.
17 Text TextPointGeometry
22 Point OrientedPointGeometry (collection)
35 Shared Cell OrientedPointGeometry, TextPointGeometry, and
CollectionGeometry. This is served based on the .ini file
variables.
4-7
Working with GeoMedia
• GML file, the .gml / .xml filename with its full path or address. The file can be a file
on the disk or an URL of a .gml file on the Web.
• Advanced options:
o When the GeoReferenceService (GRS) fails to return the coordinate system (CS)
object for a given EPSG code and a matching coordinate system file is not found
for a feature class in the default \EPSG folder, the options are:
− Ignore the coordinate system, that is, serve the feature class data without the
coordinate system.
− Skip the feature class.
− Abort the connection and report an error about the missing coordinate system
file.
o When the GeoReferenceService (GRS) fails to return the coordinate system (CS)
object for a given EPSG code and a matching coordinate system file is not found
for a feature instance in the default \EPSG folder, the options are:
− Serve with the coordinate system of the feature class, that is, serve the feature
instance data with the coordinate system of the feature class.
− Skip the feature instance.
− Serve only the attributes of feature instance data, that is, the geometry is made
NULL.
− Abort the query and report an error about the missing coordinate system file
for the feature instance.
o Swap the coordinate order for the following coordinate system types: Geographic
and Projected.
4-8
Working with Warehouses
You must replace the parts enclosed by angle brackets (< >) with appropriate values. The
following example (VB code snippet) illustrates usage of GeoMedia’s Connection object to
connect to an I/CAD MAP warehouse:
Dim objConn As Object
Set objConn = CreateObject("GeoMedia.Connection")
With objConn
.Type = "ICADMAP.GDatabase"
.Name = "I/CAD MAP Connection 1"
.Location = "I/CAD MAP file location"
.Mode = gmcModeReadOnly
.ConnectInfo = “DATA=\\node1\ICADMAP\data\Florida\Florida.map;” & _
“CSF=\\node1\ICADMAP\data\Florida\Florida.csf;” & _
“INI=\\node1\ICADMAP\data\Florida\Florida.ini"
.Connect
End With
4-9
Working with GeoMedia
the GEOMETRY TYPE: variable. If there is no entry in the .ini file regarding
geometry type for a coverage, the data are served up as AnySpatial.
• If the coverage has text in addition to a point, linear, or areal geometry, use the
TEXT: variable in the <MapInfo Tables folder name>.ini file to enable the data
server to serve up Text. The server will not display the Text Geometry for a coverage
if this is not enabled in the <MapInfo Tables folder name>.ini file.
• The COORDINATE SYSTEM: section should be the first section in the <MapInfo
Tables folder name>.ini file. The other sections may or may not be present. If they
are present, they may be in any order.
See “Displaying Data That Has No Coordinate System Specified” in the “Working with
Coordinate Systems” chapter and the “Creating Data Server .INI Files” topic in
GeoMedia Help.
4-10
Working with Warehouses
client, you need to have an ODBC driver installed on your machine corresponding to your
database. You also need to configure the ODBC driver to point to your database with a
DSN (Data Source Name). This DSN is the schema name in the .mge file.
Note: It is strongly recommended that you use ODBC Tabular only for data types that do
not have a data server available in GeoMedia. For example, do not use the ODBC Tabular
data server to connect to Access; instead connect using the Access data server.
If you are using the ODBC Tabular data server to connect to Excel (.xls), you need to
define a named range in the Excel workbook to expose a table name. By default, the range
is usually already defined as all rows and the name is defined as the sheet name. You can
easily define a name in Excel by selecting the range of data for the table and then using the
Insert > Name > Define command.
4-11
Working with GeoMedia
You cannot use the ODBC Tabular data server to connect to Oracle Object Model
warehouses. You can, however, use it to connect to any Oracle schema containing
attribute data.
For more information on Excel, ODBC, and ADO technology see
http://www.microsoft.com.
4-12
Working with Warehouses
Note: The Select a folder containing GeoMedia SmartStore files option on the New
Connection dialog box assumes that the .ddc files you have published to this folder came
from a single source warehouse. If your folder contains .ddc files from multiple source
warehouses, you will encounter errors.
You have the option of using the coordinate system of the input warehouse, or of
specifying that SmartStore is to transform the data to a different coordinate system.
• WFS URL
• Advanced options:
o When a matching coordinate system file is not found for a feature class in the
default \EPSG folder, the options are:
– Ignore the coordinate system, that is, serve the feature class data without
coordinate system.
– Skip the feature class.
– Abort the connection and report an error about the missing coordinate system
file.
o Swap the coordinate order for the following coordinate system types: Geographic
and Projected.
section. The Connections command also lets you open, close, reopen, and delete
connections as well as view and edit connection parameters.
4-15
Working with GeoMedia
Note: The Library and Catalogs commands use a similar connection system and
interface.
4-16
Working with Warehouses
2. Select the row selector of the row(s) whose open/close status you want to change.
4-17
Working with GeoMedia
Note: Use Shift/Ctrl to select multiple rows; click the top left-corner grid button, to
the left of the Name row, in order to select all rows.
4-18
Working with Warehouses
up external modifications on these feature classes even if the changes are made by non-
GeoMedia applications.
5. Select your new template as the new GeoMedia database file. You must either type the
full path or change the file dialog filter to *.* if you browse for your new template.
6. Optional: Type a description of the connection.
7. Click OK.
8. Select View > GeoWorkspace Coordinate System, and proceed to change the
appropriate values.
9. Select Warehouse > Edit Connection to close and to delete the connection to the
template.
See the “Working with Coordinate Systems” chapter.
Note: After changing the coordinate system, the new Access warehouse template is ready
for you to use to create new warehouses. When you turn on the Match GeoWorkspace
and Warehouse coordinate systems options on the General tab of the Options dialog
box (Tools > Options), the coordinate system defined in the template by the previous
procedure will be the coordinate system of the newly created Access warehouses.
4-20
Working with Warehouses
GPickListTable
Column Name Datatype
FeatureName Varchar(255)
FieldName Varchar(255)
PickListTableName Varchar(255)
ValueFieldName Varchar(255)
DescriptionFieldName Varchar(255)
FilterClause Varchar(255)
4-21
Working with GeoMedia
The following is an example of tables, columns, and values that could be defined for
PickLists:
GAliasTable
TableType TableName
INGRPickLists GPickListTable
GPickListTable
FeatureName FieldName PickListTableName ValueField
Name
Buildings Name PL_Building CodeValue
Buildings State PL_State StateName
Buildings Type PL_Building CodeValue
DescriptionFieldName FliterClause
ValDescription Bld_Type =
'NAME'
Desc
ValDescription Bld_Type =
'TYPE'
PL_Building
CodeValue ValDescription Bld_Type
0 MOTEL TYPE
1 MARRIOT NAME
2 HOLIDAY INN NAME
3 BED AND BREAKFAST TYPE
PL_State
StateName Desc
Alabama ALABAMA
Arkansas ARKANSAS
Colorado COLORADO
Texas TEXAS
Florida FLORIDA
4-22
Working with Images
In GeoMedia, raster images, such as a scanned map sheet, an aerial photograph, or a
satellite image, reside in image feature classes. Image feature classes are distinguished
from one another based on the coordinate system of the feature class. You can only insert
images into an existing feature class when the coordinate systems of the image and the
feature class are in agreement. All the images in an image feature class can be represented
by a either a single legend entry or multiple legend entries. You can add images to existing
feature classes as needed, without the images being displayed, thereby managing system
resources more efficiently.
Note: Avoid inserting multiple images with the same filename into a single warehouse,
even if the images are stored in different folders.
The file type, associated metadata, and ancillary information contained in the file
determine whether the file must be inserted by interactive placement or, optionally, by
georeferenced placement.
Before inserting the image(s), you should determine the appropriate warehouse, feature
class, and placement method. You should define the image feature class name for the
specified image(s). This feature class name is actually the table name in the warehouse in
which the specified image(s)’s information will be placed.
Note: A valid image feature class must have a primary key of type autonumber. The
Insert > Interactive Image and the Insert > Georeferenced Image commands
automatically insert this key into any new image feature classes they create. Image feature
classes created with other tools are not usable unless they also have a primary key of type
autonumber.
5-1
Working with GeoMedia
5-2
Working with Images
selected. This selection is handled automatically by the command during the error
checking for the > and >> file selection buttons.
Note: The following website contains the GeoTIFF specification, details about who is
supporting GeoTIFF, source code, and sample images:
http://www.remotesensing.org/geotiff/geotiff.html
GeoTie information consists of coordinates for the corners of the map image in a
geographic coordinate system based on the WGS84 datum. Only Intergraph raster-file
formats support the use of GeoTie information.
A Header matrix is a proprietary Intergraph data structure that uses design file UORs to
properly position the image geographically. This type of matrix is only found in
Intergraph raster format and TIFF format images.
A Native matrix with internal CS image is an image that contains a matrix and a coordinate
system definition within the image itself, but which does not fall into the other categories
with internal coordinate system information: GeoTIFF, Intergraph GeoTie, or USGS
DOQ.
A Native matrix with external CS image is an image that contains a matrix but which does
not contain any internal coordinate system information and which does not fall into the
world file or by-header category. The ECW raster format is an example of this.
A USGS DOQ image is an image with geodetic information in its header in a format
specific to USGS data. The software places USGS DOQ images using this information.
MrSid files, TIFF files, or JFIF (.jpg) files can have associated world files (*.sdw , *.tfw, or
*.jgw). These world files contain the six parameters necessary to define an affine matrix
that will transform the image to the desired geographic location in a specific coordinate
system. World files do not contain coordinate system information, so you must specify
this information in a coordinate system file or a MicroStation design file, which contains a
type 56 (coordinate system definition) element. The use of JFIF (*.jpg) files is
discouraged.
IMPORTANT: With the georeferenced placement mode using a world file, you must
supply a design file to which the image was originally registered or create a coordinate
system file for the image. The coordinate system you define in the coordinate system file
describes the native coordinate system of the image, not the coordinate system of the
GeoWorkspace. When you insert an image into your map window, you specify the design
file or coordinate system file to be used in the Coordinate system file field.
5-3
Working with GeoMedia
2. In the Image name field, type the name of the image you want to insert, or click
Browse to select the image from the standard Open dialog box.
3. From the Warehouse drop-down list, select the read-write warehouse where you want
to store the path to the image and other associated attributes.
4. From the Feature class drop-down list, select the feature class to add the image to, or
type a new feature class name. Remember, all images in a single feature class must
have a common coordinate system and projection. Only those image feature classes in
which the coordinate system matches that of the GeoWorkspace will appear in the
drop-down list.
5. Click OK to load the image into the specified warehouse and feature class.
The software prompts you to define a rectangle by two points in the active map window
for the location of the image.
6. Place the cursor over the location for one corner, press and hold the mouse button, and
then drag the cursor to the opposite corner.
The aspect ratio of the image is maintained.
7. Release the mouse button.
The image is inserted into the specified feature class, and the path to the image is
saved in the read-write warehouse.
If you specified a new feature class, a new image entry is added to the top of the
legend associated with the active map window, and the image is displayed. If you
specified an existing image feature class, the display of the newly inserted image is
dependent on the current display properties of the image feature class.
5-4
Working with Images
2. From the Georeference mode drop-down list, select the appropriate mode (Automatic
is the default). If your Georeference mode is USGS DOQ, GeoTIFF, Other with
internal coordinate system, or GeoTie, no coordinate system file is required; go to Step
4.
3. In the Folder field, type the name of the folder that contains the appropriate image
files, or click Browse to select it from the standard Browse for Folder dialog box.
4. Optional: In the Extensions field, type a new extension to change the default *.*.
If you enter a new extension, the Images list is updated accordingly, and any selected
image files are unselected.
5. From the Available files list, select an image or images; then move the selected
image(s) to the Selected files list using the arrow buttons.
6. In the Coordinate system file field, type the name of the coordinate system for the
chosen georeference mode, or click Browse to select it from the standard Open dialog
box.
7. From the Warehouse drop-down list, select the read-write warehouse where you want
to store the path to the image.
8. From the Image feature classes with matching coordinate systems drop-down list,
select the image feature class to add the image to, or type a new image feature class
name. Only those existing image feature classes that have coordinate systems
matching those of the selected images are available for selection.
5-5
Working with GeoMedia
9. Optional: For a new feature class only, select the Image display method by checking
the Add new legend entry for feature class check box, or by leaving it unchecked
(the default) to not add a new legend entry.
Note: When inserting large numbers of images, it may be to your advantage to not add
the entire feature class to the legend. This allows the use of a spatial filter to restrict
image display as desired.
GeoMedia image records are always stored in their native coordinate system – there is no
warping or transformation of the image geometry prior to its insertion into an image feature
class.
The suitability of any image feature class for storage of a new image record is determined
by how similar the two coordinate systems (that of the feature class and that of the image)
are to one another. If the match is not sufficiently close, a new feature class needs to be
created to store the new image record. When an image is inserted into an image feature
class, the path to the image file and the geometry of the image are recorded. Relocation of
the image file causes errors when displaying the image. Modification of any file-based
georeferencing information stored in or with the image file (GeoTIFF tags, world file
information, and so forth) is ignored by GeoMedia, once the images are inserted into an
image feature class.
The coordinate system of a given image (and of the image feature class it can be inserted
into) can be specified in a number of ways. With some georeferencing modes (GeoTIFF,
GeoTie, and DOQ) the image files contain their own coordinate system definitions. For
these data, the image feature class coordinate system is taken from the image file header.
Other modes of georeferencing images (an image with a WorldFile or an Intergraph raster
format with header matrix) require the use of an associated coordinate system definition
file to provide the necessary context. This file can be either a MicroStation design file that
contains a coordinate system element (.dgn) or a GeoMedia Coordinate System File (.csf).
5-7
Working with GeoMedia
raster image must be retrieved from a hard disk, it is often advisable to use a UNC path
when inserting images residing on other computers.
Note: An XML moniker is always considered valid, so the associated icon is always the
valid icon.
Note: If you want to add all the images in a feature class to the display, under a single
legend entry, consider using the Legend > Add Feature Class command.
The Images command also lets you review the image entries and update the paths to any
filename image entries, single or multiple, not pointing to valid raster image files. You
5-8
Working with Images
cannot, however, update multiple images entries that contain both filenames and XML
monikers, nor single or multiple XML monikers, which are always valid. GeoMedia does
not store the image in the warehouse; rather the path to the image is stored in the image
feature class. If the location of the image file is changed, you can update the path stored in
the geometry column with this command. The image files of the selected filename entries
are automatically validated and their associated icons are updated after the update
operation.
If an image will no longer be used, you can delete its record from its image feature class
with the Images command. Alternatively, select the image in the map window and use the
Delete Feature command, or you can delete the feature class entirely with the Feature
Class Definition command.
Additionally, this command lets you validate the files associated with the selected entries.
The icons of the entries are then updated after the operation. As previously stated, you
cannot validate entries with XML monikers because they are always valid.
All image records of the selected image feature class are displayed in the Images list.
3. To display selected images, select the valid image record(s) from the Images list; then
click Display.
5-9
Working with GeoMedia
4. Select the Display in a single legend entry (the default) option to display the selected
images in a single legend entry; then click OK.
OR
Select the Display in separate legend entries option to display the selected images
with one legend entry per image; then click OK.
OR
Select the Create query without legend entry option to create a query containing the
selected images that can be added to the legend at a later time through the Analysis >
Queries command; then click OK.
The image files of the selected entries are automatically validated, the icons of the
entries are updated after the operation, and the images are displayed in the active map
window or the query is created.
5-10
Working with Images
5. Click Close.
Note: You can also delete an image as any other legend entry by selecting the image name
on the legend using the Select by Legend Entry and Delete commands on the Edit menu.
To delete an image feature class with Warehouse > Feature Class Definition:
1. Select Warehouse > Feature Class Definition.
2. Select the image feature class to delete from the Feature Classes drop-down list.
3. Click Delete.
4. Click Yes to confirm the deletion of the image feature class.
The image feature class is deleted from the warehouse, and any images in that feature
class that were displayed are removed from the map window. Notice that the name of
the image feature class may still be on the legend
5. Click Close.
6. Delete the old image feature class entry from the legend.
5-11
Working with GeoMedia
remove an image feature class from the legend, the Legend > Add Legend Entries
command lets you redisplay the entire contents of the image feature class.
Note: When inserting large numbers of images, it may be to your advantage to not add the
entire feature class to the legend. This allows the use of a spatial filter to restrict image
display as appropriate. If you want to display only selected images from the image feature
class, use the Warehouse > Images command as previously described.
To remove an image feature class or query from a view and redisplay it:
1. Select the image feature class or query name on the legend.
2. Press DELETE on the keyboard; then confirm the deletion from the legend and map
window by clicking Yes.
3. Select Legend > Add Legend Entries.
4. Select the appropriate categories, queries, reference features, or connections node
from the Features treeview to display all feature classes within that group.
5. Select the appropriate image feature class check box from the treeview; then click OK
to redisplay the image.
5-12
Working with Images
Note: When using images as a backdrop, it is often useful to use the legend to turn off the
locate property for the image feature class so that the image canvas is not selected when
working with features.
5-13
Working with GeoMedia
You can also use the Advanced tab to change attribute-based symbology. This tab
redisplays some of the information from the Image Style tab in a grid format with the
Default Value column containing the values from the Image Style tab. The Attribute
Based column lets you drive the value of a given property from a field value or from an
expression.
OR
Click Properties to display the Style Properties dialog box.
Note: The first image type associated with the raster legend entry determines which
tab is available.
3. On the Image Style tab, change the characteristics of the selected image(s).
4. Optional: On the Advanced tab, change the attribute-based symbology.
5. Click OK to dismiss the dialog box and display the changes.
The changes are saved and reflected in the display of the image(s) in the associated
map window.
The default name for the text geometry field is ImageLabelGeometry. This default field
name cannot be changed through the command dialog box. An example legend entry title
is ImageLabelGeometry of Image footprints of LincolnCoTopos.
See “Displaying Selected Images” in the next section in this chapter.
2. Select an image feature class, query, category, or reference feature from the Create
image footprints for drop-down list.
Note: Only image feature classes and reference features are listed. If a query or
categorized item is chosen, it is verified to have an image geometry.
5-16
Working with Images
5-17
Working with GeoMedia
remains in the legend but has zero records; thus, any displayed images for that legend entry
are unloaded. This reuse allows legend entry settings, such as transparency, to be
maintained across multiple invocations of the Display Selected Images command. If no
matching legend entry can be found, a new legend entry will be created with the extended
property set to the appropriate value. Objects in the select set that do not have an image
geometry are skipped.
Queries are not created as output. To make a reusable named query in the GeoWorkspace,
you must use the Select Set to Query command.
See“Defining Queries from Select Sets” in the “Working with Features” chapter.
5-18
Working with Map Windows
The GeoMedia GeoWorkspace can contain one or more windows—map windows, data
windows, and a layout window. These windows provide you with different ways of
visualizing your data. The map window shows a graphic display of the geographic data
(features, images, and so forth). The data window shows the same features in tabular form,
displaying the attributes associated with the geographic data. Thus, if a feature is
displayed in multiple map and data windows, it highlights in all windows when selected.
The layout window allows you to design and to plot a map layout. Map graphics in the
layout window are linked their originating map window to reflect any changes made to the
data, or they can optionally be placed as a static snapshot reflecting the characteristics of
the map window at the time of placement.
Each map window contains the following marginalia items: a legend, a north arrow, and a
scale bar. You can select or deselect each of them on the View menu to turn them on or
off. Whatever the active parameters are for these marginalia items in the map window, the
same parameters are used to render these items in the layout window.
For the most part you define the content and design of each map window through its
legend. While a traditional legend simply reflects what is displayed on a map, you use the
GeoMedia legend to control what is displayed in the map window and how it looks.
The following is a representative workflow for displaying geographic data and map objects
in a map window:
1. In an open GeoWorkspace, connect to the warehouse(s) containing the data you want
to display.
2. Display the legend in the active map window.
3. Add entries to the legend.
4. Customize the look of your map by using the legend to change the display
characteristics of the geographic data.
5. Turn on the north arrow and change its appearance.
6. Turn on the scale bar and change its appearance.
7. Customize the appearance of the legend.
8. Add new map and/or data windows to the GeoWorkspace to show different views of
your map and/or data.
See the “Working with Data Windows” and the “Working with Layout Windows” chapters
for information on data windows and layout windows.
6-1
Working with GeoMedia
Depending on the current state of the map window, this menu lets you do the following:
• Restore a minimized window.
• Move, restore, minimize, or maximize the window.
• Close the map window.
• Activate the next map or data window in the stack.
The GeoMedia Window menu contains tools for cascading or tiling windows and for
activating a different window. The bottom of this menu lists all the open windows in the
GeoWorkspace. A checkmark appears next to the title of the active window. You set the
title and behavior of a map window by setting its properties. To adjust the display in a map
window, you use the mouse and the map viewing tools. The north arrow and scale bar,
which you can turn on and off from the View menu, dynamically update to reflect changes
to the map window. The status bar dynamically updates to reflect the current display scale
or view extents.
On the Map Display tab of the Options dialog box, you can specify with the When
resizing map windows options that the contents of a map window be fit automatically
when the window is resized, or that the map scale be preserved.
6-2
Working with Map Windows
• View at current scale (the default—Features in the select set are highlighted, but the
map window does not shift or change scale.)
• Center at current scale—Features in the select set are highlighted and centered in the
map view, but the map window does not change scale.
• Fit and zoom out—Features in the select set are fit to the map view, and the view
zooms out according to the percentage you specify. The default setting is 105%.
If you set the properties in Window 1, for example, to Center at current scale or Fit and
zoom out, selecting features in any window changes the zoom scale or window location.
You probably do not want this to happen when selecting features in Window 1 itself, only
when selecting in other windows. To override this behavior in Window 1, you select the
View at current scale option.
The following diagram shows a feature selected in the left map window. The same feature
is centered, fit, and zoomed out in the right map window:
The following diagram shows a the same feature selected in a data window and centered,
fit, and zoomed out in the map window:
6-3
Working with GeoMedia
This command lets you define the following properties that affect the way the map
graphics are displayed:
Display scale—Typically associated with screen displays, display scale is the scale factor
with which to view the map data in a map window. This factor is flexible, changing every
time you zoom in or out. The current display scale is shown in the GeoWorkspace in the
lower-right corner of the Status bar.
Nominal map scale—Typically associated with style scaling, the nominal map scale is the
scale factor that serves as the base or reference scale. It is referenced when legend entries
have their style scaling set to Paper. When defining the style of a feature (for example,
6-4
Working with Map Windows
line thickness, symbol size, or text size), you define the size of the style in paper units.
With Paper style scaling, the styles are rendered at the nominal map scale and increase or
decrease in size as you zoom in or zoom out away from the nominal map scale. When you
display the Display Properties dialog box, this field contains the current nominal map
scale.
You can choose from two different ways of displaying data in a map window: View (size
is true at any display scale) and Paper (size is true at nominal map scale). Both options
are global, affecting the style scaling for all legend entries. When View (size is true at
any display scale) is turned on, the appearance of the style of a feature will not change as
you zoom in and out in the map window. In other words, the size of the symbols and the
text features, and the thickness of the lines, will not increase or decrease as the display
scale changes.
When Paper (size is true at nominal map scale) is turned on, the nominal map scale
becomes important in controlling the display in the map window because it serves as the
base scale for the definition of the style. The appearance of the style will increase or
decrease in size as the display scale changes. For example, if your nominal map scale is
set to 1:10,000, and you symbolize your text feature to be 12 point size, they will only
appear this size on the screen when the display scale is set to 1:10,000. If you zoom out to
1:20,000, the text will then appear to be 6 point in size. For this reason, you may notice
that certain features sometimes are too small to be seen, even though you set the style to be
20 points. This is because your nominal map scale is large, for example, 1:5,000, and you
are zoomed out so the display scale is much smaller, for example, 1:100,000. The text is
thus being displayed at 1/20th of its point size. You can fix this by changing the nominal
map scale, close to something you want to plot at. Or you can set style scaling for all
legend entries to View, so it always displays at 20 points, regardless of how far in or out
you are zoomed (display scale).
Rotation angle—Rotation angle of the map view. When the units are degrees (deg), the
values in the drop-down list are: -90, -75, -60, -45, -30, -15, 0, 15, 30, 45, 60, 75, and 90.
When the units are not degrees, the values are the preceding degree values converted to the
current angular units.
Units—Angular units. Changing the units converts the rotation value to the new units.
Set style scaling for all legend entries to—Legend entry display in the map window.
• View (size is true at any display scale)—The styles on all legend entries are display-
scale independent, overwriting the setting of the legend right mouse menu Style
Scaling > View command.
• Paper (size is true at nominal map scale)—The styles on all legend entries are
display-scale dependent, overwriting the legend right mouse menu Style Scaling >
Paper command.
To achieve a WYSIWYG (What You See Is What You Get) display in the map view, you
set the Display scale and Nominal map scale to the intended plot scale, set the Set style
scaling for all legend entries to setting to Paper (size is true at nominal map scale), and
6-5
Working with GeoMedia
apply any rotation angle. The display of the features on the screen is how they will look
when plotted. If line weights, text sizes, and symbol sizes appear too small or too large,
you should make the necessary adjustments in the style definition for those features. In
general, the nominal map scale should be the same as the plot scale. However, it is not
necessary that they be the same, and having them differ does offer additional design
flexibility. After you have set these properties, you can use the View > Pan command to
view different areas of the intended plot area.
See “Defining Map Objects Display Properties” in this chapter and “Defining Map
Specifications in the Map Window” and “Previewing the Map in the Map Window” in the
“Designing Map Layouts for Printing in the Layout Window” chapter.
When you first open a dataset, such as the USSampleData.gws, various feature classes may
appear not to load properly to the legend, for example, Labels of Major Cities, Major
Cities, Interstates, and Highway Interchange. These feature classes have a not loaded
legend key. The actual legend key does not load to the legend view initially because these
feature classes are all set to view by scale and are thus not visible. The software does not
load data for a legend entry until/unless that legend entry is within its display scale range.
This behavior thus allows large data sets to be loaded quickly. When you zoom in so that
these features become visible, the actual legend keys display in the legend, as in the
following:
Note: If your mouse has been reconfigured so that the button functions are reversed, you
must reverse left and right mouse-button instructions in all the product’s documents.
In a map window, you use the left mouse button to do the following:
• Activate the window.
• Create a select set.
• Place or edit a map object.
6-6
Working with Map Windows
Using an IntelliMouse
If you have a Microsoft IntelliMouse, you can use it to manipulate the display in your map
windows faster and more efficiently. Rolling the IntelliMouse wheel forward causes the
view to zoom in at the current cursor location, and rolling the IntelliMouse wheel
backward causes the view to zoom out at the current cursor location.
Fit Select Fit the contents of a select set to the active window.
Set
Note: This command generates expected results only when the selected features are
within the defined display scale range of the legend entry.
Update Load unloaded legend entries and refresh the display in all
All map windows.
6-7
Working with GeoMedia
Note: This command redraws the graphics in all map windows in which the loading
of data in the legend was terminated by the ESC key, beginning at the point in the
legend where the interruption occurred. This command does NOT refresh the map
window if the legend content has not changed. It does not repaint the window after
any view process has been interrupted; this applies only to the interrupting of the
loading of legend entry data.
Pan Drag the display in the direction of the cursor. A right
mouse click exits this command.
Pan has two modes, dynamic and fast, which are set through the When panning map
windows options on the Map Display tab of the Options dialog box (Tools > Options).
While the Pan command is active, you can switch between dynamic and fast panning by
changing the selected option.
The Use dynamic pan option means that all the graphics in the map window move
continuously in unison with the mouse cursor when panning is performed as you press and
hold the left mouse button.
The Fast pan option means that the graphics in the map window remain fixed while
panning is performed, thus limiting the number of map window redraw operations. This
mode is useful if the map window contains a large number of graphic objects, images in
particular, which results in dynamic panning not being smooth and efficient because it
takes too long to continuously redraw the window due to the large number of graphic
objects.
In performing fast panning, the graphics do not move until the left mouse button is
released. Placing the cursor in the map view and pressing and holding the left mouse
button defines the pan starting point. As you move the cursor, the graphics remain fixed,
and a dynamic dashed line appears. One end of this line remains fixed at the pan starting
point; the other end moves dynamically with the cursor, thus giving you a visual indication
of the distance and direction of the pan that will occur when the left mouse button is
released. Releasing the mouse button defines the pan ending point and ends the current
pan action, and the dashed line disappears. The map window is redrawn with the pan
starting point moved to the pan ending point.
On the General tab of the Options dialog box, which you access from the Tools menu,
you can specify whether to display in the status bar the view extents or the display scale. If
you have the status bar turned on, the view extents or current display scale appears in the
rightmost panel at the bottom of the GeoWorkspace window. To see the display scale
change, select it on the Options dialog box, and zoom in or out in the map window.
The look and function of a map is determined by certain display characteristics of each
map object:
• Display priority. Which map objects are displayed on top of other map objects?
• Style. What does each map object look like?
• Scale range. At what scale range can map objects be displayed?
• Locatability. Can the map object be selected or highlighted in the map window?
the View setting is the same as the View (size is true at any display scale) option. To
maximize you workflow, you can select multiple legend entries at a time and change this
setting. For global changes (all legend items), you can still use the Display Properties
dialog box.
The styles of legend entries that are defined as View maintain their size definition when
you change the display scale in the map window. Line weight, text size, and symbol size
definitions are always rendered at the current display scale. When you zoom in on a linear
feature that has its legend entry defined as View, the line remains the same width in the
display.
The following diagram shows the affect of having the View setting defined for text features
at three different display scales. The text remains the same size in all of the displays.
The styles of legend entries that are defined as Paper are display scale dependent, meaning
that its display is associated with a particular scale. Line weight, text size, and symbol size
are rendered at the nominal map scale defined on the Display Properties dialog box. The
display appears larger as you zoom in and smaller as you zoom out.
The following diagram shows the affect of having the Paper setting defined for text
features at three different display scales. The size of the text varies as the window is
zoomed out but remains proportionate to the map.
The active Style Scaling setting for any given legend entry appears with a check mark
when viewed in the legend right mouse menu. If multiple legend entries are selected, and
have a combination of Paper or View settings defined, neither option contains a check
mark when viewed in the legend right mouse menu.
See “Defining Map Window Display Properties” in this chapter.
6-10
Working with Map Windows
3. On the Scale Range dialog box, select a predefined range, select minimum and
maximum range values from the drop-down lists, or key in minimum and maximum
range values between 1 and 1,000,000,000.
4. Click OK.
Changing the Locatability of Map Objects
A map object must be locatable to be selected with the cursor. Turning off the locatability
setting helps when you have several feature classes clustered in one area but only want to
select from one feature class. Likewise, it makes no sense to select certain map objects,
such as backdrops or logos. You can turn its locatability off to prevent its being selected
accidentally.
An arrow next to the legend entry indicates that an object is locatable. You control this
through the legend right mouse menu Locatable On/Off commands.
6-11
Working with GeoMedia
6-12
Working with Map Windows
Style types are always interchangeable within style classes. For example, a symbol style
can be used in all of the same places that a picture style can be used.
Style types may also be reused within other style types, even if they are in different style
classes. For example:
• Point style types are used for point geometry but also for patterns in line and fill types.
• Line types are used for linear geometry but also for boundaries in area types and for
hatches in fill types.
• Area types are used for area geometry but also for frames in text types.
6-13
Working with GeoMedia
Style Types
The following section discusses each of the style types and their parameters, which you can
define through the Styles and Style Properties dialog boxes.
See corresponding GeoMedia Help topics for complete description of the styles, their
parameters, and how they are defined.
Picture Style—This point style class provides for the rendering of pictures at point
locations. The term picture is used in the Microsoft sense of the word, and encompasses a
wide range of common Microsoft-supported formats mostly, but not exclusively, of a raster
nature.
The following style properties exist for a picture style:
• Bitmap Image (*.bmp) • Portable Network Graphics Image (*.png)
• JPEG File Exchange Format Image • Graphics Interchange Format Image (*.gif).
(*.jpg, *.jpe, *.jpeg).
• TIFF Document (*.tif, *.tiff). • ICON Image (*.ico).
• Windows Metafile Image (*.wmf). • Enhanced Metafile Image (*.emf).
All pictures, symbols, and fonts used in point displays are externally referenced. You
cannot load a bitmap into the GeoWorkspace as an embedded picture; it is always a file
reference.
You can define the following picture style parameters: size, transparent color, override
color, translucency percentage, rotation, alignment, and offset.
Font Style—This point style class provides for the rendering of a character in a specified
font at point locations. All font characters are displayed through common Microsoft text-
rendering techniques. These techniques do not, however, recognize MicroStation-
proprietary font resource files. Thus, such files must be converted into a format
6-14
Working with Map Windows
6-15
Working with GeoMedia
• Ignore geometry orientation—When unchecked, the style will rotate based on the
orientation of the geometry of the point feature. When checked, the style will not
rotate, maintaining the rotation angle specified.
• Always keep upright—When combining map window rotations and geometry
orientations, it is quite possible that some of the styles will display upside down. This
option ensures that the style will always read right-side up.
Simple Line Style—This line style class provides basic linear rendering capability for
linear geometries and area boundaries. You can define the following simple line style
parameters: color, translucency percentage, width line type, interior boundary tint (area
boundary only), start and end cap (linear only), dash cap, mid-line joins, and offset.
The line type can be one of any number of predefined line types representing dash-gap
sequences, for example, solid, dotted, short dash, or long dash triple dot. A set of fourteen
predefined line types is available. A custom line type setting is also available for you to
enter a custom dash-gap sequence. In addition, you can indicate that the dash-gap
sequence should remain proportional to the line width. This setting is commonly used with
the predefined line types ensuring that the dash-gap ratio stays consistent as line widths
change.
The display of the start and end points of the line may be set independently of one another,
to any of the following:
• Round • Flat • Square • Triangle
• Round anchor • Square anchor • Diamond anchor • Arrow anchor
• No cap (the dash cap setting is used at the start and end instead)
The anchor choices generate a cap that is proportionally larger than the width of the line,
forming a knob at the start or end of the line.
The display of the ends of each dash in the dash-gap sequence of a line may be set to any
of the following: Round, Flat, or Triangle. The display of the joins that occur at each
bend/vertex in a multi-vertex geometry may be set to any of the following: Round, Miter,
or Bevel.
Pattern Line Style—This line style class provides the ability to render a pattern of point
styles along linear geometries, area boundaries, and area hatching. You can define the
following simple line style parameters: point style, position of point style along line,
insets, and offsets.
The point style can be any user-defined style that is of the point style class. You may use
the full range of point style types (picture style, font style, symbol style, or a collection of
any combination of these) to draw the pattern. You can then adjust this property through
the common properties interface.
You can use any combination of five different positioning options on the Pattern Style tab
of the Style Properties dialog box (Fix at start, Fix at end, Fix at center, Fix at vertex
with angle, or Repeat with spacing of) for how the pattern elements described by the
6-16
Working with Map Windows
point style are to be placed along the line. You can choose each option independently;
however, their combined selection and subsequent suboptions may affect the overall point
style placement. For example, the Fix at vertex with angle option allows you to specify
what the minimum angle should be for where the point style should be placed. This
provides the flexibility for not only placing a point at every vertex (0 degrees), but also
allows point filtering so points are only placed on vertices where there is a specific change
in direction. When the Repeat with spacing of option is combined with any of the fixed
location options and a conflict or overprint occurs, the repeat point style that is in conflict
with the fixed point style will not be placed. For the best cartographic results, whenever
the Repeat with spacing of option is used in conjunction with any of the fixed” location
options, the Adjust to produce even spacing setting should be selected.
Note: Linear patterns such as railroads, that are depicted as a line with a point symbol
placed along that line, require two separate entries in the style: a Simple Line Style to
define the line’s characteristics, and a Pattern Line Style to define the point style’s
characteristics.
Simple Fill Style—This fill style class provides basic fill rendering capability for the
interiors of area geometries. You can define the following simple fill style parameters: fill
type, color, and translucency percentage.
Hatch Fill Style—This fill style class provides hatch display capability for the interiors of
area geometries. You can define the following hatch fill style parameters: line style,
spacing, and angle.
Pattern Fill Style—This fill style class provides pattern display capability for the interiors
of area geometries. You can define the following pattern fill style parameters: point style,
rotation, spacing, staggering, and fill mode.
The point style can be any user-defined style that is of the point style class. You may use
the full range of point style types (picture style, font style, symbol style, or a collection of
any combination of these) to draw the pattern. You can then adjust this property through
the common properties interface.
You can define the behavior of the symbol display when the symbol encounters the area
boundary as follows on the Pattern Fill Style tab of the Style Properties dialog box:
• Clip—Causes each patterned point element to be clipped to the boundary of the area.
• Inside—Draws each patterned point element only if the entire element falls within the
boundary of the area.
• Overlap—Allows each patterned point element to be drawn beyond the boundary of
the area, if its origin is within the area or on its boundary.
Text Style—This text style class provides for the rendering of the text within a graphic text
geometry. You can define the following text style parameters: font, font style
6-17
Working with GeoMedia
characteristics (bold, italic, underline), size, color, translucency percentage, frame, halo
around the text, alignment, offset, justification and line spacing.
You can define the display behavior of the text based on different rotation scenarios on the
Text Style tab of the Style Properties dialog box:
• Ignore map rotation—When unchecked, the text will rotate with all other graphics as
the map window is rotated. When checked, the text will not rotate, maintaining the
rotation angle specified for the text style.
• Ignore geometry orientation—When unchecked, the text will rotate based on the
orientation of the feature’s geometry. When checked, the text will not rotate,
maintaining the rotation angle specified for the text style.
• Always keep upright—When combining map window rotations and geometry
orientations, it is quite possible that some of the text will display upside down. This
option ensures that the text will always read right-side up.
Image Style—This image style class provides display capability for imagery. Images
participate in the display system exactly as do vectors. As with all other style types, the
impact of changes in the style definition are visible in the map window only after you have
dismissed the Styles or Style Properties dialog box. You can define the following image
style parameters: translucency percentage, contrast, brightness, invert image, transparent
color, transparent pixel values, binary foreground color, and binary background color.
See “Changing the Raster Image Display” in the “Working with Images” chapter.
Area Style—This area style class provides display capability for the boundary and interior
fill of area geometries. As a composite style, the area style has no style properties of its
own for drawing. Rather, it provides a hierarchical style composition tree that includes the
following style collections:
• Boundaries—A collection of zero or more line style types to use in drawing the
boundary of the geometry.
• Fills—A collection of zero or more fill style types to use in drawing the interior of the
geometry.
Area features also provide the ability to display the following:
• No boundary • Any number of line styles for a boundary
• Pattern line styles for a boundary • Any number of fill styles for an interior.
The following is an examples of area style usage for interior boundary tints:
6-18
Working with Map Windows
Compound Style—This compound style class provides display capability for the point,
line, and area geometry members of compound geometries. As a composite style, the
compound style has no style properties of its own for drawing. Rather, it provides a
hierarchical style composition tree that includes the following style collections of:
• Points–Zero or more point style types to use in drawing the point geometries.
• Lines–Zero or more line style types to use in drawing the line geometries.
• Areas–Zero or more area style types to use in drawing the area geometries.
Compound features also provide the ability to perform the following:
• Display no points, no lines, and/or no areas.
• Display any number of point styles, line styles, and areas styles.
• Guarantee, through style collections, that points are on top of lines, which are on top of
areas.
6-19
Working with GeoMedia
Collections are structures that occur when there are multiple definitions within a style
class. Collections can be created within a simple style structure, as illustrated in the style
below on the left. Or they can be created within a composite style structure, as illustrated
below on the right.
The style for the intermittent lake above does not contain any collections. While there are
multiple definitions in the style, there is only a single definition in each of the predefined
branches in the hierarchy. In contrast, the Fish Hatchery style above contains multiple Fill
Styles, and thus contains a collection. When the second Fill Style was added, the Fill
Styles branch became a collection.
Collections are optional and may be created at any time. You can create a user-defined
collection within the style composition tree of the Style Properties dialog box by right
clicking on a member of the tree to display the context menu and then selecting either the
New Style or Select Style options. This adds another member to the tree, and
automatically converts the chosen member to a collection, and puts the original style
definition and the newly created or selected style definition into that collection.
Once a style collection exists, the opportunities for manipulating that collection are the
same. More members may be added by right-clicking on the collection member and then
using the New Style and Select Style options as described. Additionally, each existing
member may individually be deleted, renamed, replaced, reordered, copied, changed to
another style type, or edited.
Like any other style type, a style collection has style properties that influence its behavior.
In the case of a style collection, these are not visual characteristics in themselves, but are
instructions for the order that the collection as a whole is to be drawn. When a style
collection is selected in the Style Properties dialog box, the following three options are
made available:
• Order by feature—This option draws the entire style collection one feature at a time
(Feature 1 – Style A, Style B. Feature 2 – Style A, Style B).
• Order by style—This option draws all of the features one style at a time within the
collection, (Style A – Feature 1, Feature 2, Style B – Feature 1, Feature 2). A common
6-20
Working with Map Windows
use for this capability is for intersection clearing in the case of a multi-part linear
styles. This option is only available for style collections that occur at the root of the
style definition.
• Select single style component—This option draws one feature at a time, using only a
single designated style from the collection (Feature 1, Style B – Feature 2, Style B).
The preceding illustration shows the three distinct drawing orders available, from left to
right: Order by feature, Order by style, and Select single index component.
As with other style types, you can find and select a style collection on the Styles and Select
Style dialog boxes, where you can edit the most commonly used style properties, with a
focus on providing group editing of all members of the collection. In most cases, these
collection controls provide limited editing capabilities because the collection may contain a
mixture of different style types within that style class, and those style types may have
different properties, as follows:
Point Collection Style—Permits manipulation of the color and size of all point styles.
Line Collection Style—Permits manipulation of the color and width of a simple line style.
Fill Collection Style—Permits manipulation of the fill color and translucency percentage.
Area Collection Style—Permits manipulation of the fill color and translucency
percentage, and of the boundary color and width of the line style(s) associated with the
area boundary
Compound Collection Style—Permits manipulation of the following:
• Fill color and translucency percentage.
• Boundary/line color and width of the line style(s) associated with the boundary/line.
• Point color and size of the point style(s).
Text Collection Style—Permits the manipulation of the font, size, font style characteristics
(bold, italic, underline), and color.
Image Style—Collections are not supported for this style class. However, the common
controls permit the manipulation of translucency percentage, contrast, and brightness.
sequences (any non-solid Simple Line Style) or symbol spacing (any Pattern Line
Style), it can be important that the dashes, gaps, and symbols be placed consistently
relative to one another. Correctly spacing these elements produces complex lines that
are commonly referred to as being ‘in phase’ or ‘synchronized’.
For composite linear styles composed of non-solid simple line styles, GeoMedia’s
interpretation of the linear style definition requires that the shortest dash length in any
linear element be greater than or equal to the width of that linear element. Perceived errors
in the way composite linear style definitions are rendered are most commonly due to the
failure to take this requirement into consideration. Specifically, the following two cases
lead to style definitions that may be perceived as being incorrectly rendered:
• Use of style definitions (pre-defined or user-defined) that contain a ‘dot’—A dot is
specified by a dash length of 0 (zero). However, when drawn, it must be drawn with a
length equal to the width specified for the linear element. The difference between the
dash-length specified (0) and the actual length used to render the dot (line width) may
result in unexpected results when the linear style is rendered.
• Use of a dash length that is less than the line width—Because dash caps are included in
the total length of a dash, and because the length of a dash cap is half the width of the
line, the minimum length for any dash is the length of two dash caps, or the line width.
The use of explicit dash lengths (not zero-length dots) and dash lengths greater than or
equal to the width of the linear element ensures proper interpretation of composite linear
style definitions. Care must also be taken when changing line widths – such changes may
cause dash lengths to be less than the new line widths, resulting in the loss of proper
phasing.
6-22
Working with Map Windows
The styles list provides a visual listing of the named styles available in the GeoWorkspace.
This list presents a folder-like hierarchy of style definitions in the familiar Explorer look.
The following three alternate views of the list are available:
• Details—Styles in a single list by name, with a small sample rendering of the style and
additional columns for name, style class, style type, description, and folder.
You can filter the list by style class, and sort it by name, style class, style type, description,
or folder. You can also select styles and style folders and manipulate them through a right
mouse menu, which provides capabilities for you to create new style folders and style
definitions, rename, change properties, delete, and cut, copy, paste within the style list.
For more information on style classes and style types, see “Style Types” earlier in this
section.
The style preview provides a flexible visualization capability for a single selected style. It
lets you control the background color and magnification of the preview, display the
location of the origin for point and text styles, and gives you a choice of sample geometries
to use in the preview for linear and area styles.
6-23
Working with GeoMedia
box through Properties to edit the complete properties. Additionally, clicking Units
displays the Style Units dialog box, which lets you specify the units of measure that style
properties are expressed in.
See the corresponding GeoMedia Help topics for complete information on these two dialog
boxes.
6-24
Working with Map Windows
See the corresponding GeoMedia Help topic for complete information on this dialog box.
Note: You can also create new styles from the Style Properties dialog box by selecting
Add Style (icon) > New Style. In this case, the new style of the current style type is
immediately added to the Style composition list on the Style Properties dialog box.
You can access the Style Properties dialog box from the Styles, the Select Style, the
Legend Entry Properties, and the Add Thematic Legend Entry dialog boxes, and from
the legend right mouse menu.
See “Adding Entries to the Legend” and “Creating Thematic Maps” in this chapter.
The style composition display on the Style Properties dialog box has a hierarchical
presentation of the style, with a dedicated rendering of each component in the style
definition. It permits the addition, replacement, removal, and reordering of component
members of the style definition.
6-25
Working with GeoMedia
The style preview display varies with the style type of the selected item in the style
composition tree. You can preview the entire style or any individual component of a style
definition.
You can review and edit the complete set of style properties on two tabs, available
depending on the style: the style-specific main style tab (for example, the Symbol Style
tab), which contains the commonly used style properties, and the Advanced tab.
See the corresponding GeoMedia Help topics for a complete description of the style-
specific parameters on both tabs and how they are defined.
The following example shows these two tabs for the symbol style.
The Advanced tab appears when any style is selected, except area and compound. This
tab is, however, available for the component parts of these two styles. The Advanced tab
gives you a style-specific comprehensive tabular view of all aspects of the style definition,
and the specifications of attribute-based display override rules for each. The grid contains
one row for each style property with three columns of information describing each
property. If animation is turned on, the grid contains a fourth column, Animation.
Clicking the button in this column displays the Animation dialog box for defining
animation frame sequence on the style property.
6-26
Working with Map Windows
The grid also provides for the definition of a default or fallback value in case the attribute-
based assignment fails. You can edit the properties of the style in a generic fashion using
standard editors for known style property types such as color, style definition, or one of
several enumerated types. All unknown style properties are treated as a key-in field of the
appropriate type.
The Advanced tab columns are the following:
Property—Read-only column alphabetically listing all style properties of the selected
style (for example, Size, Color, and Rotation). Hovering over a cell in this column shows
the property name and data type (Boolean, Double, Text, and so forth) as a tooltip.
Default Value—Read-write column displaying the value of each style property used as the
default for displaying the feature. These values correspond directly to the settings
available on the main style tab for each style type, and serves as the backup value in the
event that an attribute-based assignment fails. Cells in this column are either a key-in field
or provide a drop-down list for you to choose from for the available options. For example,
when editing the Displayable property in the Default Value column, after selecting the
cell, a button appears that displays a drop-down list for you to make a selection.
Clicking in other cells might display a drop-down list of options or make the cell active for
direct key in. These values can optionally be overridden by an attribute-based expression
placed in the Attribute Based column.
Attribute Based—Empty column by default, but it can be populated with an existing
attribute value or an expression in the same grammar used with the Functional Attribute
system. The attribute value or expression is evaluated when used in display, with any non-
null result overriding the default property. When you click in this column, a drop-down
list appears from which you can select from a list of available attributes or select the
Expression option. Selecting Expression from the list displays the Expression dialog
box, which allows you to build an expression. Depending on the data type of the selected
property, an entry is added to the drop-down list for each available attribute that matches
that data type.
See “Working with Functional Attributes” in the “Analyzing GeoMedia Data” chapter.
The following example demonstrates how to use the Attribute Based definition to specify
which point symbol to display. The Symbol Style type has a source property that identifies
the symbol file to use. In the case of multi-symbol file types (*.fsm, *.cel, *.svg), the
symbol name is appended to this definition. The syntax for this property is
“Source;Name”. In our example, Source is the Symbol file name, and Name is the
Attribute. An expression can be built to construct the appropriate syntax required for the
Source property as follows:
6-27
Working with GeoMedia
You can also specify a scale range using the following syntax:
DISPLAYSCALE() > 100000 AND DISPLAYSCALE() < 500000
To test for an attribute value, the following syntax can be used:
IF (MyAttribute="Bridge", TRUE(), FALSE())
Or
IF (MyAttribute is null, TRUE(), FALSE())
In these examples, the feature has an attribute called “MyAttribute”. In the first test, the
feature is displayed only when that value is “Bridge”. In the second test, the feature is
displayed whenever “MyAttribute” has not been defined.
Note: When using Attribute Based definitions for the Displayable property in Composite
or Collection style structures, each of the leaf nodes in the structure needs to be defined.
For example, in an Area Style, the boundary style and the fill style both need to have their
Displayable property set with the appropriate expression.
use animation to provide emphasis of a small number of features within a map display; it is
not intended for application to a legend entry displaying a large number of features.
Misuse may result in poor map display performance.
This column displays the animation state button for each row, indicating the current
animation state for each style property. The three states are as follows:
Enabled but not defined Enabled and defined Not enabled
Clicking this button in any of the three states displays the Animation dialog box, which
lets you define the animation frame sequence. Each member of the sequence is a frame
with a designated style property value (or expression), as well as definition of the timing
and nature of the transition to the next frame in the sequence. Note that you cannot define
animation for the “Locatable” style property.
Clicking New or Properties on the Animation dialog box displays the Animation
Property dialog box, which lets you define the properties for a specific animation frame.
The options available vary with the selected style property.
In addition, the Animation icon on the Style Properties dialog box displays the Animate
Style dialog box, which lets you set the animation properties (Animated and StartTime) of
the root style for legend entries, except when the root style is a non-image style. This
dialog box also lets you enable/disable the animation.
See the corresponding GeoMedia Professional Help topics for complete information on the
animation user interface and its use.
6-29
Working with GeoMedia
See the corresponding GeoMedia Help topic for complete information on this dialog box.
And, for more information on styles, see the “Style Types” in this section.
6-30
Working with Map Windows
6-31
Working with GeoMedia
entry with a Standard definition can be expanded into a Thematic definition. Similarly, a
Thematic definition can be collapsed down to a Standard definition.
6-32
Working with Map Windows
2. To place map window symbols (.fsm), layout window symbols (.sym), AutoCAD
blocks (.dwg), or MicroStation cells (.cel), from an existing file into the new file:
− Click Add.
− Identify the appropriate file type, select a file from the list on the Add From File
dialog box, and then click Open.
− Use the SHIFT and CTRL keys to select symbols from the list.
− Click Insert.
− Click Close.
The symbols you selected are appended to the new library file. Symbol colors that
match the map-window background may be replaced with another color so they can be
seen against the software background.
3. To change the name or description of a symbol, select it, click Edit, make the changes,
and click OK on the Edit Symbols dialog box.
4. To remove a symbol from the library, select it and click Remove.
5. Click Save As, and save the opened file in the \symbols folder.
6. Close the Define Symbol File dialog box.
6-33
Working with GeoMedia
Note: 1 ) To have the correct color definition transferred from your MicroStation cell
library to the new GeoMedia symbol file, copy the MicroStation design-file color table
used when creating the cells to <drive>:\Program Files\GeoMedia\Program\Color.tbl.
The RGB definitions obtained from the color table will be used when creating the new
symbols. 2) If MicroStation fonts are used in the .cel files, for the correct translation of the
font, you must copy the font resource file into the <drive>:\Program
Files\GeoMedia\Program\Symtrans\font.rsc, and update the same location in ‘MS
Resource files’ entry under the [Options] section of <drive>:\Program
Files\GeoMedia\Program\Symtrans\DGNGT2D.ini.
Note: Double clicking a .fsm file starts the Define Symbol File utility.
When creating the layout window symbol files, you should draw the graphics at the
appropriate output scale and size of intended use, using the appropriate line thickness and
colors. When converted to a map window symbol file, the size of the symbol and all of the
line thickness definitions are proportional. In other words, you can resize the symbols
during placement, but when you do, as the geometry scales, the line thickness scales as
well. If the symbol size defined with the utility is equivalent to the original layout window
symbol size, the symbol appears identical in the map window to the symbol drawn in the
layout window.
See “Obtaining Symbols for Feature-Class Displays” in this chapter and the Define
Symbol File utility’s online Help.
Note: When creating a symbol using different elements, press CTRL while choosing
elements with the Select Tool.
6-34
Working with Map Windows
3. Click a point on the layout sheet to define the origin of the symbol.
4. On the Save As dialog box, select the directory, and then type an appropriate name.
The document is saved with a .sym extension.
6-35
Working with GeoMedia
legend but you only need a limited number displayed for certain workflows. Grouping
legend entries on the Groups tab allows you to easily do this.
6-36
Working with Map Windows
of whether the child legend entries are selected. Also, when you delete a leaf legend entry
on one tab the corresponding legend entry on the other tab is also deleted.
Note: When the map legend is floating, the caption of the named legend is shown. You
can edit this name through the Legend Properties dialog box.
The graphic key that accompanies each legend entry may take on your choice of large,
medium, or small icons, and may vary in size for point and graphic text features. Legend
entry statistics are provided, and statistics are turned on by default for new map windows.
6-37
Working with GeoMedia
docking state of the map legend. If it is floating, the size of the map legend is adjusted to
the minimum bounding box of all legend entries. If it is docked, the width of the map
legend is adjusted to the minimum width of all legend entries while the height of the map
legend is always the height of the map window.
The legend contains a separate entry for each map object. When a feature class or query
has multiple geometry or text attributes, a separate entry is added to the legend for each of
these attributes.
Each entry contains a title and a style key. If statistics for a legend are turned on, the entry
displays the count of map objects in parentheses next to the title. Style keys for feature
classes and queries are dynamic and represent the geometry type of the feature class (point,
line, area, or compound). Style keys for thematic displays, images, and text are static and
represent the object type. You can change the style key by double clicking a style key to
open the Legend Entry Properties dialog box.
See “Working with Styles” this chapter.
Style keys include the following:
Style Key Object Type
Point feature class
Linear feature class
6-38
Working with Map Windows
Style keys can also indicate the state of the following legend entries:
Style Key Indicates
The data is not loaded. Here are some possible causes:
• If you press ESC while the map object is being loaded, the legend
entry is created but the data are not loaded.
• If you turn off the display of a map object, close the warehouse
connection or the GeoWorkspace, and then reopen the connection or
the GeoWorkspace, the data are not loaded.
• If you replace a legend with a named legend, and the named legend
has the display of a map object turned off, the data for that map
object is not loaded.
• If you have checked the Do not load data when opening
GeoWorkspace option on the General tab of the Options dialog box
(Tools > Options), all legend entries are not loaded.
• If the map object is set to view by scale and not visible initially; the
legend entry is not within its display scale range.
The legend entry is in an invalid state. This could mean the feature table
has been deleted or that an attribute has been altered in such a way as to
prevent the display of data.
Map object is locatable, which means you can use the mouse to click on a
map feature and retrieve its attribute information.
Map object is displayed by scale, which means the feature will only
appear when the map window is displayed within a specific scale range.
Note: If you interrupt the loading of map objects by pressing ESC, the entry will still
appear on the legend, but data for subsequent legend entries will not be loaded. To reload
the data, select Load Data from the Legend right mouse menu.
You can add the following types of map objects as entries to the legend:
• Feature classes (Legend > Add Legend Entries)
• Queries (Legend > Add Legend Entries or Analysis > Queries > Display, and most
other Analysis commands)
• Thematic displays (Legend > Add Thematic Legend Entry)
• Raster images (Legend > Add Legend Entries or Warehouse > Images)
See “Inserting Images into Warehouses” in the “Working with Images” chapter for
information on adding image entries.
Note: The Categories node only appears in the list if categories have been created using
the Warehouse > Categories command. Likewise, the Reference Features node only
appears in the list if reference features have been created using the Warehouse > Spatial
Filter Reference Features command.
6-40
Working with Map Windows
Each feature class/query is displayed through the default legend entry found in the
designated master legend. If a legend entry for a feature class or query is found in the
master legend, the this command makes a copy of the master legend entry and adds it to the
legend. If there are categorized items defined in the GeoWorkspace, you can automatically
create or add groups and subgroups of legend entries by category and subcategory.
After you select the items to add to the legend, the command creates a legend entry for
every selected feature class, query, categorized item, and reference feature. Additionally,
this command creates legend entries for all the secondary geometry fields of every selected
feature class or query. However, if the secondary geometry field is of type coverage, the
command does not create a legend entry for it.
Grouping legend entries by categories is a useful way to manage large numbers of features
and queries, organizing them into legend groups based on common properties. Categories
manage feature classes and queries into a single group, making it easier to work on them as
a whole, for example, when there is a buffer zone around a road feature. Legend groups
organize these legend entries into a single group for easier location and manipulation when
dealing with large legends. If you have created categories to organize your features, the
Group legend entries by category option uses these categories to automatically create
corresponding legend groups on the Groups tab of the legend when you add features to the
legend. All new groups are added alphabetically at the top of the legend. If a
corresponding legend group is already present on the Groups tab, the new legend entries
are added to it, rather than creating a duplicate group.
2. Expand the treeview nodes as needed; then select the categories, queries, reference
features, or connections nodes to select all features within that group, or select
6-41
Working with GeoMedia
individual features within each group by choosing the appropriate feature within each
node.
6-42
Working with Map Windows
After selecting the feature class for your legend entry, you edit its display characteristics to
meet your requirements. These characteristics include the type of legend entry and style
definitions or thematic characteristics. The picture sample on the dialog box illustrates the
active display type and changes as the legend entry type changes, as do the available style
definitions or thematic characteristics.
The thematic map updates when changes occur in the source data. The timing as to when
the thematic changes occur varies based on the type of connection. A thematic from read-
write data updates automatically if the edit to the source data is done from the local client
machine. A thematic from read-only data updates when the GeoWorkspace is opened. If
the edit to the source data occurred on a different machine, the thematic updates when the
GeoWorkspace is opened or after selection of Warehouse > Refresh with Warehouse
Changes.
Standard
The Standard legend entry type symbolizes the feature with a style, letting you edit the
standard legend entry style. A standard legend entry is a single legend entry with no
hierarchy. It has a style, record, and geometry field name all used together to display data.
In defining this legend entry style, you can:
• Select a named style.
• Change the selected style.
• Save the current definition as a named style.
• Change the style properties.
6-43
Working with GeoMedia
See the Style Properties and Select Style dialog box topics in GeoMedia Help for complete
information on setting the Style.
6-44
Working with Map Windows
Range Thematic
For numeric attributes, the Range Thematic legend entry can analyze the values and group
them into classes, with each class having a defined range. These ranges or classes may
then be displayed in the map window, each with its own style. For example, county
population values may be broken into ranges, and each county may be color-filled based
on the range its population is classified as.
This legend entry creates a specified set of range classes each with their own style. It does
so by adding appropriate properties to the legend entry and structuring it in a two-level
hierarchy, where each sub-legend entry represents a discrete range. Each leaf legend entry
represents a specific range of values for the selected attribute. Every leaf legend entry is
associated with a style. Typically, the sub-legend entries are formatted using a color ramp.
6-45
Working with GeoMedia
6-46
Working with Map Windows
Thematic Classes
The Thematic classes frame specifies what inputs are required to produce the range or
unique value thematic classes. To produce the classes, you first select the appropriate
attribute value from those available from the input legend entry. The data types supported
for range thematics are: byte, short, long, float, currency, and double; the data types
supported for unique value thematics are: text, memo, byte, short, long, float, and double.
After selecting the attribute, you select the appropriate classification through the Classify
button to populate the two grids with corresponding styles, values, labels, and counts. The
styles are derived from the current settings of the Thematic styles frame.
For the range style, clicking Classify displays the Classify dialog box.
This lets you create discrete ranges by the following classification techniques:
• Equal Range (the default)— Divides the ranges equally and distributes the values into
each range. The records, most likely, are distributed unevenly into equal ranges..
• Equal Count—Distributes the same number of records to each range. The range
values automatically adjust to distribute the records evenly.
• Standard Deviation—Calculates the standard deviation of all values and applies it to
the number of ranges.
Selecting Equal Range enables the Begin Value and End Value fields in which you type
values to limit the ranges created. If the classification type is not Equal Range, these
fields are disabled, but the minimum and maximum attribute values are displayed.
You also select the number of ranges to create from the Number of ranges drop-down list,
which contains numbers from 2-20 to give you a notion of what is considered reasonable,
but the number is not limited to these values. The value is defaulted to 4, with a minimum
value of 2.
Clicking the Statistics button displays the Statistics dialog box that lets you review the
statistics, such as the number of records, minimum and maximum values in the field, range,
standard deviation, and so forth.
6-47
Working with GeoMedia
Thematic Styles
The Thematic styles frame specifies the styles for the leaf legend entries of the range and
unique value thematic classes through base style, colors, and size/width. Unlike the
Thematic classes, any change to any of the parameters in Thematic styles automatically
updates styles corresponding to each of the range and thematic classes, the effect being
immediately visible in top grid.
The Base style functions as a seed for all style-related activities. Clicking Base style
displays the Style Properties dialog box, which lets you modify the current style
parameters. For point geometries, the base style defines which point symbol to use. For
linear geometries, the base style defines the line’s characteristics (line type, caps and joins,
etc.). For area geometries, the base style defines the boundary / fill characteristics. For text
geometries, the base map defines the font characteristics. If the input legend entry is a
range or a unique value legend entry, the base style is obtained from the style property of
the root legend entry. When you edit the base style, it is immediately applied to all
thematic classes in the top grid, using the current color and size schemes. It is also set as
the style for the Other item in the bottom grid.
The Assign colors option lets you specify when colors are automatically assigned to the
thematic classes in the top grid. Automatic color assignment happens when you click
Classify, change the color scheme, or insert a new item into the top grid. In each case, the
active settings in the Thematic styles frame are applied. If this option is unchecked,
automatic assignment of style information to the thematic classes ignores the colors
schemes and defaults to the color of the base style for all thematic classes.
6-48
Working with Map Windows
Note: When assigning colors to area features, the result varies based on the definition of
the Base style. If the base style of the area only contains a boundary definition, the
boundary color will be modified. If the base style of the area contains a fill and boundary
definition, only the fill color will be modified. If the base style of the area contains
multiple fill definitions, the fill color of all definitions will be modified.
The image drop-down list contains colored bands that represent a color scheme. The
name for the color scheme is not displayed in the list but as a tooltip for the active color
scheme. The ramp color schemes are all listed first and then the random colors, but the
order of both is dictated by the color schemes collection order.
When you select a color scheme, it is immediately applied to the styles in the top grid. The
first item in the grid gets the first color in the color scheme. The second item gets the
second color, and so on. If there are more items in the grid than color scheme colors, the
process of assigning colors wraps back to the first color in the color scheme. Selecting a
different color scheme does not re-apply the base style or size ramping to the top grid; only
the colors are adjusted.
The Assign sizes/widths options let you ramp the minimum/maximum size of a point style,
text style, or a compound style that has a point style in it (that is, size applies to point and
text styles only) or the minimum/maximum width of a linear style. Automatic size or
width assignment happens when you click Classify or Base style. In each case, the active
settings in the Thematic styles frame are applied. If you insert a new item, it gets assigned
the base styles width. The size and width check boxes are not displayed at the same time.
If the style is an area style, the check box and the minimum/maximum items are not
displayed. If this option item is unchecked, automatic assignment of style information to
the thematic classes ignores the size/width ramping and defaults to the width of the base
style for all thematic classes.
When selecting the minimum/maximum width, it is immediately applied to the styles in the
top grid. The first item in the grid is assigned the minimum width value. The second item
is assigned the next calculated width value, and so on. The act of assigning a
minimum/maximum width does not re-apply the base style or active color scheme to the
top grid. Only size ramping occurs.
6-49
Working with GeoMedia
Grids
The dialog box contains top and bottom grinds. The top grid displays a display state,
styles, values, labels (entry title), and counts. The bottom grid displays the Other class.
Top Grid
The columns in the top grid for range and unique values legend entry styles are populated
as follows:
Check box—Sets the display state of the legend entry in both the legend and the map
window. By default when new items are created, this is checked, meaning the items are
displayed.
Style—Displays a preview of the style for the thematic classes for each row, based on the
current settings in the Thematic styles frame. Double clicking the image displays the
Select Style dialog box, which lets you edit the style for the corresponding thematic class.
Values—These columns vary with the legend entry style. Range displays the Begin Value
and End Value columns, and unique value displays the Value column.
• Begin Value and End Value—Represent the minimum and maximum values of the
selected attribute. These columns let you edit existing ranges, which results in
validations and automatic adjustments with adjacent rows to prevent range overlap.
The Count column is updated automatically to reflect any change in the range. For
new rows, Begin Value has to be specified before the End Value.
• Value—Displays the unique values. This column lets you edit an existing row or add
a new row, which results in validation for uniqueness among all rows in the same
column. After validation, the Count column is updated with the record count
corresponding to the new value entered. The Label column is also updated with the
new value if the record is new (it is not updated if this is an edit). In addition to
impacts to this value, the Other class is updated (record count).
Label—Displays the label for the range or unique value legend entry styles sub-legend
entry. This editable column can have duplicate values; null values are not allowed. For
6-50
Working with Map Windows
the range legend entry style, the label is set to [BeginValue] to [EndValue] by default.
For the unique value legend entry style, the unique value is set as the label.
Count—Displays the count of records associated to a range or unique value legend entry,
either as an absolute record count or a percentage, depending on the Show count as
percent check box setting. This column is updated automatically when the Begin Value
or End Value columns change or the Show count as percent check box setting changes.
Bottom Grid
The bottom grid displays only one row, the Other class, which contains all of the
unclassified data and always exists. For the unique value legend entry style, the Value
column is not displayed; for the range legend entry style, the Begin Value and End Value
columns are not displayed. You cannot add new rows to the bottom grid nor delete the
single row. You cannot edit the columns, only check or uncheck the display check box.
6-51
Working with GeoMedia
2. Select the feature class or query you want from the connections, queries, categories and
reference features in the Input features drop-down list.
3. Select the Standard legend entry Type.
4. Check the appropriate Named style from the Styles drop-down list.
5. Optional: Redefine the common properties of the Style.
6. Optional: Click Name Style to rename the style.
6-52
Working with Map Windows
8. Click OK on the Add Thematic Legend Entry dialog box to add the selected
thematic legend entries.
An entry is created and added to the top of the legend, and the active map window
reflects the changes.
10. In the Thematic styles frame, click Base style to edit the style on the Style
Properties dialog box.
11. Check or uncheck the Assign colors check box; then if checked, select a color
scheme from the drop-down list.
12. For point style, text style, or a compound style that has a point style in it, or a linear
style, check or uncheck the Assign sizes/widths check box; then if checked, ramp the
minimum/maximum size/width values.
Note: You can also perform both of the Assign colors and Assign sizes/widths
operations before clicking Classify.
6-54
Working with Map Windows
Note: You can also perform both of the Assign colors and Assign sizes/widths
operations before clicking Classify.
6-55
Working with GeoMedia
Changes to the master legend do not affect existing legend entries, but do affect future
additions to legends. You can use the master legend to change the default legend
properties for a feature class, and still customize individual legends.
Note: When you open a GeoMedia 5.2 GeoWorkspace in 6.0, the existing master legend
is made available in the Legends collection, is given the name Master, and it is designated
as the master legend. This ensures that there is no loss from any previously-defined master
legend.
IMPORTANT: If you close a map window without naming the legend, the legend of the
map window is not saved.
In addition to the steps listed below, you can use certain shortcuts to change legend (and
thus map-object) properties.
• To edit the style of a map object, double click the style key on its legend entry.
• To copy a legend entry, drag-and-drop with the CTRL key pressed.
• To change a thematic-display attribute, double click the thematic style key.
6-56
Working with Map Windows
• To edit a title or subtitle of a legend entry, double click the title or subtitle.
• To change the display priority of map objects, drag legend entries up or down the
legend with the cursor.
• To delete a map object, select its legend entry and press DELETE.
See “Using the Legend Right Mouse Menu” later in this chapter for complete right mouse
menu functionality.
If you have created and customized a legend that you want to use in other GeoWorkspaces,
save the GeoWorkspace in which you have customized the legend as a template. Then,
when you create a new GeoWorkspace, select that template and use the customized legend.
The legend right mouse menu Properties commands lets you customize various features of
the legend, such as:
• Legend title, which is visible when the legend is in its undocked position only.
• Font characteristics for the legend entry title and legend entry subtitle.
• Background color.
• Display of legend entry statistics. You can choose any combination of record count,
geometry count, and percentage (for thematic classifications only).
• Key size of each legend entry (small, medium, or large).
• Point and text styles fit to the key. You can choose to have point and graphic text
styles fit to the size of the graphic key, or have the size of the point or graphic text
style dictate the size of the graphic key.
6-57
Working with GeoMedia
3. Set the font characteristics of the Legend entry title and Legend entry subtitle by
clicking the corresponding Font button to display the Font dialog box.
4. Click the Background color button to select the background color of the legend from
the Color dialog box.
5. Select the appropriate Key size option.
6. Set the Fit point and text styles to key check box appropriately.
7. Check the appropriate Statistics check boxes to suit your preference. You specify the
type of statistics for thematic displays on the Add Thematic Legend Entry dialog
box.
8. Click OK or Apply to accept the changes.
6-58
Working with Map Windows
6-59
Working with GeoMedia
To name a legend:
1. To name and thus save the legend in the active map window, select Legend > Name
Legend.
2. On the Name Legend dialog box, type a name for the legend.
3. Click OK.
To rename a legend:
1. Select Legend > Legends.
2. Select the appropriate legend name; then click Rename.
3. Type the new name in the Name field; then click OK.
4. Close the Legends dialog box.
To replace a legend:
You can replace the contents of the legend in the active map window with the contents of
another selected named legend.
1. Select Legend > Legends.
2. Select the legend that you want to use as the replacement on the Legends dialog box.
3. Click Replace.
To append a legend:
Append lets you append the contents of the selected named legend(s) to the legend of the
active map window. For each appended legend, a new group is created at the top of the
Groups tab, with the group name being the name of the named legend (with incremented
number appended if needed, to ensure uniqueness). The Display Order legend entries of
the appended legend are added within the new group on the Display Order tab with no
additional hierarchy, and its group legend entries are added within the new group on the
Groups tab. The active map window display is updated to reflect the change in the legend
contents.
1. Select Legend > Legends.
6-60
Working with Map Windows
2. Select the legend that you want to append on the Legends dialog box.
3. Click Append.
To delete a legend:
1. Select Legend > Legends.
2. Select the legend that you want to delete on the Legends dialog box.
3. Click Delete.
6-62
Working with Map Windows
Name—Sets the name of the feature class or query as the map window tooltip. If the
format of the tooltip matches that of the query name, Name is marked with a dot beside it.
6-63
Working with GeoMedia
Expression—Opens the Map Window Tooltip dialog box from which you edit the map
window tooltip. If the tooltip is defined and it is neither the name of the feature class or
query nor the name of any displayable attribute, Expression is marked with a dot beside it.
See “Working with Functional Attributes” in the “Analyzing GeoMedia Professional
Data” chapter.
If no tooltip is defined, the map window displays nothing when you hover the cursor over a
feature, and the PickQuick interface displays only its tooltip.
6-64
Working with Map Windows
2. Type a title for the map window in the Window name field.
3. Select a legend for the map window. The legend can be one that has already been
named (saved) in the GeoWorkspace, if one exists, or an empty legend.
4. Click OK.
You can click and drag the north arrow anywhere within the map window. The size of the
north arrow remains constant regardless of how the scale is changed in the map window. If
the azimuth is defined by the north arrow location, the north arrow is intelligent, that is, it
updates dynamically when you move it or when you zoom or pan through the window. If
the azimuth is user-defined, the north arrow does not update dynamically.
The direction of the north arrow is determined in the following manner:
1. The center of the north arrow window is calculated (the center of the square box
around the north arrow).
2. The position of this center point on the earth is determined.
3. The world coordinates for the center point are given to the Coordinate System
Manager and the azimuth of that point is returned.
4. The arrow is rotated about the center point to match the azimuth.
See the “Inserting North Arrows” section in the “Designing Map Layouts for Printing in
the Layout Window” chapter for information on using north arrows in the layout window.
6-65
Working with GeoMedia
2. To change the north-arrow symbol, browse to select a different one. The product
delivers .wmf files for north arrows and compass roses in the \GeoMedia\Program
folder, but you can also select another one if you have it.
Note: To see graphics of all the north arrows and compass roses, open the
NorthArrows.pdf file, which is also in the \GeoMedia\Program folder.
3. Select the size from the Size drop-down list, or type the appropriate value. The north
arrow is not defined in ground units; it is printed at the position and size specified in
the map window.
Note: The largest value in the drop-down list is 96, but you can type a larger value in
the Size field. The maximum size allowed is 32767 points.
Note: If you want the arrow to appear transparent in the map window, select a color
that matches the background of the map window.
5. To make the background of the north arrow transparent during printing, check the
Print transparent check box.
Note: The north arrow appears in a printed copy exactly as it appears in the map
window.
6. Select Azimuth at north arrow location to draw the north arrow according to the
north azimuth of the north arrow location.
OR
7. Select Custom azimuth to define your own azimuth of north, by selecting or , typing
the appropriate degree value.
Note: The azimuth of north is measured clockwise from the vertical: 0 points straight
up, 90 points horizontally to the right, 180 points straight down, and so forth..
8. To save the settings on the North Arrow Properties dialog box as the default settings
for all map windows in the GeoWorkspace, click Save as Default If you do not, only
the properties and location of the north arrow in the active window are saved
9. Click OK.
The scale bar shows the scale for the window in which it is displayed. You can display
only one scale bar in a map window. You can click and drag the scale bar anywhere within
the map window. The scale that the scale bar uses is the scale of the map window. The
measurement unit of the scale bar is km by default, but you may change that using the Edit
> Scale Bar Properties command.
The scale bar provides great flexibility for changing its appearance through Scale Bar
Properties. You can easily change the scale bar displayed in the active map window by
selecting Edit > Scale Bar Properties or right clicking the scale bar and selecting
6-67
Working with GeoMedia
Properties from the pop-up menu, and then setting appropriately the options on the three
tabs of the dialog box. As you make changes, they are displayed in the Preview area.
See the “Inserting Scale Bars” section in the “Designing Map Layouts for Printing in the
Layout Window” chapter for information on using scale bars in the layout window.
The Style tab lets you define the display characteristics of the scale bar including the type,
color, and line widths.
Single Ruler with Ticks Down Single Ruler with Ticks Up Double Ruler
Stepped Ruler
This tab also lets you select the color fill of odd- and even-numbered interval blocks and
the line work in the scale bar. In addition, you set the scale bar height, width, and
centerline. Finally, you can specify whether the scale bar background is transparent when
the map window is printed. You can print the scale bar without a background so that it lets
any items behind the scale bar be seen. Or you can have the scale bar mask all the items
behind it when printed with the background using the specified color. The scale bar
always masks when displayed in the map window.
6-68
Working with Map Windows
The Intervals and Units tab lets you specify information such as the number of intervals,
interval length, and ground units represented by the scale bar. You can also define the text,
position, and font characters of the units label.
If you modify the extents of the map window, the scale bar automatically resizes to
indicate the correct scale bar length. The scale bar length and the number of displayed
intervals may be shortened or lengthened to maintain a length that is approximately one-
fifth the width of the map window. To ensure that information is displayed clearly, the
scale bar holds a minimum length.
You can define the interval properties for the scale bar or have them automatically
calculated based on the size of the map display associated with the scale bar. When you
specify the number of intervals and/or interval length, the scale bar maintains those values
regardless of the effects of resizing or rescaling. If the resulting display is inappropriate,
you can change the scale bar-interval properties.
You can choose from the following unit label positions on the Intervals and Units tab:
Above scale bar Below scale bar
6-69
Working with GeoMedia
The Labels tab lets you specify the appearance of the scale bar numbers and caption and
where they are displayed.
You can choose from the following fixed interval label locations on the Labels tab:
Every interval Intervals and first subinterval
Note: For scale bars in the map window, the unit for this property is defined by the Line
weight field on the Style Units dialog box accessed through the found on the Style
Definition dialog box of the legend.
See the “Conversion Tables” appendix for converting from the International System of
Units (metric) to the U.S. Customary System, and vice versa.
6-70
Working with Map Windows
Measuring Distances
The Measure Distance tool calculates the linear distance between two or more points.
The measurement interpretation option, the units of measure, and their precision are set on
the Units and Formats tab of the GeoWorkspace Coordinate System dialog box. In
addition, this tool updates the Precision Coordinates control with the coordinate values of
each snapped point found as you move the cursor in the active map window instead of the
coordinate values of the actual cursor position.
After you select the first point, the commands starts measuring the distance between that
point and the cursor location and draws a dynamic line. The distance is displayed on the
Measure Distance dialog box in the Distance field along with the chosen measurement
interpretation (True, Projected, or Paper) and the default unit in the Interpretation
(unit) field. The distance value and dynamic line segment are continuously updated as you
move the cursor.
When you select a second point, the distance between the first and second points is
displayed in the Total field, and the dynamic display between those two points is frozen.
The dynamic display resumes between the second data point and the current cursor
location. Subsequent selected points behave similarly, with the Total field containing the
cumulative distance between the first and last data points entered.
You can display the distances in paper units by clicking the Units and Formats button to
the right of the Interpretation (unit) field to display the Define Coordinate System File
dialog box. You can then use this dialog box to select the appropriate measurement
interpretation, display unit, and display precision. When the Paper (scaled) measurement
interpretation is used, the selections (unit and precision) for the Paper Distance unit type
apply to the display of distances of the Measure Distance command. If the selected
Measurement interpretation is Projected or True, then the Distance unit type applies to
the measurements. Changes to the unit types through the Measure Distance dockable
control do NOT change the units as defined by the View > GeoWorkspace Coordinate
System command.
See "Setting Units and Formats" in the “Working with Coordinate Systems” chapter.
To find the area of a feature, right click a single area feature that you have selected, and
select Select Set Properties from the pop-up menu. The area of the feature is listed on the
General tab.
When using Oracle and measuring areas of features that contain arcs, GeoMedia reads the
three points stored in Oracle to represent the arc and generates a GeoMedia ArcGeometry
object from them. Internally, this object consists of a start point, an end point, a radius, a
normal vector and a greater than PI flag. The GeoMedia ArcGeometry does not keep track
of the original point on the arc that is stored in Oracle (nor does it need to in order to do its
job).
6-71
Working with GeoMedia
To measure distance:
1. Select Tools > Measure Distance.
2. Optional: Click the Units and Formats button; then change the measurement
interpretation and units to be used to measured on the Units and Formats dialog box.
3. In the map window, click the starting point, and move the mouse to draw a dashed line
to the second point.
The dashed line moves with the mouse, and the Distance fields in the Measure
Distance dialog box is updated dynamically. If the Update coordinates on mouse
move option has been set on the Precision Coordinates control, its coordinate values
are also updated dynamically. The Interpretation (unit) field displays the chosen
measurement interpretation and the corresponding unit.
Note: You can use snaps during measurement to snap to specific locations.
6-72
Working with Map Windows
4. Click the second point, and move the mouse to the third point, click it, and continue in
this fashion until you have the measurement you want. You can press the
BACKSPACE key to delete a previous point measurement, and right click to reset and
start over.
Now the Distance field shows the distance from the last point as you move the mouse,
and the Total field shows the cumulative distance between all points clicked (it does
not update dynamically as the mouse moves).
5. Press the right mouse button to clear the measure.
6. Leave the Measure Distance dialog box displayed while you work on other tasks, or
dismiss it by clicking the X on the title bar.
See the “Conversion Tables” appendix for converting from the International System of
Units (metric) to the U.S. Customary System, and vice versa.
Measuring Angles
The Measure Angle tool calculates the angle between any two selected linear or area
geometry segments (default Segment Mode, or between any two imaginary line segments
designated by four points placed in the map window (Four Point Mode). You can choose
either mode from the right mouse menu, which also contains the Copy To Clipboard and
Exit options. Measurements are displayed directly in the map window in the default unit
and format designated for the GeoWorkspace. Once the measurement has been calculated,
you can copy the angle value, in text format, to the clipboard through the Copy to
Clipboard on the right mouse menu or the <Ctrl>+C accelerator key. This command is
available for features from both read-write and read-only connections. The command also
identifies both parallel and collinear lines.
Measuring an angle with the Segment Mode requires you to define two line segment
portions (of a linear or area feature) as input. If the identified lines do not intersect, an
intersection point is computed to serve as the vertex of the measured angle. The selected
line segments are extended as required to show point intersection. As you move the
mouse, the measured angle value is displayed as a dynamic text at the midpoint of a
dynamic arc showing the angle value.
The command responds to the mouse move and calculates the appropriate angle
measurements. As you hover the mouse beyond the calculated intersection point, the
selected line segment portions are extended appropriately, and the corresponding
supplementary/vertical angle measurement is shown in the dynamics, as shown in the
6-73
Working with GeoMedia
following figures. Nothing is displayed when you place the mouse on the intersection
point of the two line segments.
Measuring an angle with the Four Point Mode requires you to define the starting point
and the end point of two line segments between which the angle is to be determined. These
two pairs of points can be points on existing features or points selected by clicking
anywhere in the map window. You can select the points within a pair in any order. The
line segments created by joining these two pairs of points are then extended to intersect at a
vertex point.
The angle between the two lines is shown dynamically. As you move the mouse, the
measured angle value is displayed as a dynamic text at the midpoint of a dynamic arc
showing the angle value. The command responds to mouse moves and calculates the
appropriate angle measurements. As you hover the mouse beyond the calculated
intersection point, the selected line segment portions are extended appropriately, and the
corresponding supplementary/vertical angle measurement is shown in the dynamics.
If the intersection point is off the map window, the command attempts to show the
dynamics (that is, angle value and arc). The command honors the auto pan option so that
by placing the mouse on the boundary of the active map window, you can adjust the map
window extent to see the dynamics and calculated intersection point.
The following figure shows angle measurement when a line segment portion of an area
feature and a linear feature are selected.
6-74
Working with Map Windows
Note: You can change the selection of attributes exposed for all feature classes by editing
the .csd file created by this command.
If the GeoWorkspace options are set to match the GeoWorkspace and the default
warehouse coordinate systems when you first make a connection, and if there are no
connections in the GeoWorkspace, and if you have specified a coordinate system file - then
6-75
Working with GeoMedia
the GeoWorkspace coordinate system is changed to match the coordinate system you
specified.
5. On the General tab, select the CAD type from the drop-down list.
6. In the Folder field, type the complete path of the folder containing the CAD files, or
use Browse to locate the folder.
7. From the Available files list, select one or more files you want to display.
8. Optional: Type the appropriate Files of type, or select it from the drop-down list - if
you need to see/select a specific type of files in the Available files list.
9. Optional: In the Coordinate system file field, type the complete path of the file to be
used for all selected design files, or use Browse to select the file.
10. Optional: On the Advanced tab, change the default in the CAD server schema file
field by typing the complete path of the CAD server schema output file or by using
Browse to specify the file.
11. Optional: In the Connection name field, change the default connection name.
12. Accept the default Display all levels/layers display option, or select Levels/Layers to
display and select the appropriate levels/layers in the Levels/Layers list.
13. Accept the default Create a single legend entry for all selected levels/layers legend
option, or select Create a separate legend entry for each selected level/layer.
6-76
Working with Map Windows
14. Optional: Check/uncheck the default checked Do not create legend entries for
empty levels/layers check box to specify whether or not to create legend entries for
empty (no data/statistics) levels/layers.
15. Click OK.
The software creates a new CAD server schema file, a CAD server connection with
that file, and feature classes based on the options set on the Advanced tab; and then
(depending on your selection) displays the features on the specified levels/layers in the
active map window based on the options set on the Advanced tab.
See “Connecting to a CAD Warehouse” in the “Working with Warehouses” chapter and
the Define CAD Server Schema File utility’s online Help.
6-77
Working with GeoMedia
6-78
Working with Data Windows
Each data window contains the nongraphic attributes of a single feature class or query.
This equates to a feature table, with each column representing an attribute and each row
representing an instance—a feature—of the feature class. The data in each cell is called a
value or attribute value. Data windows display area, linear, point, image, compound,
graphics text, and nongraphic feature classes, but do not display geometry or spatial index
key attributes.
In a read-write warehouse, you can review and edit the features and values in a data
window, and any changes you make will be reflected in the map window. So, if you delete
a row in a data window, the corresponding feature is also deleted from the map.
You can use the layout window command Insert Data Table to display selected portions
of a data window in the layout window in a customized style.
See “Inserting a Data Table” in the “Designing Map Layouts for Printing in the Layout
Window” chapter.
The data window displays descriptions for attributes with PickLists defined. For editing
such an attribute, a drop-down list box is displayed in the cell. This list contains all the
available descriptions for the attribute values as well as a blank entry (available only if the
attribute is not required). You can insert a value of NULL for this attribute by selecting the
blank value. You can edit an attribute only by selecting a description from the list.
7-1
Working with GeoMedia
display in a data window. The feature class or query can be from either a category,
reference features, connections, or queries.
2. Type a title for the data window in the Window name field.
3. Click the plus sign next to the warehouse or query folder that contains the feature class
you want to display in the data window.
If you select a query that has not been run, the software runs the query and displays the
results in the data window. If you select a query that has been run, the existing results
are displayed in the data window.
4. Click OK.
7-2
Working with Data Windows
Clicking this icon displays a menu that allows you to control the data window. Depending
on the current state of the data window, this menu lets you do the following:
• Restore a minimized window.
• Move, restore, minimize, or maximize the window.
• Close the data window.
• Activate the next data or map window in the stack.
In addition, the GeoMedia Window menu contains tools for cascading or tiling windows
and for activating a different window. The bottom of this menu lists all the open windows
in the GeoWorkspace. A checkmark appears next to the title of the active window.
2. On the Data Window Properties dialog box, type a new title in the Data window
name field.
3. Click OK.
Note: If your mouse has been reconfigured so that the button functions are reversed, you
must reverse left and right mouse-button instructions in all the product’s documents.
In a data window, you use the left mouse button to do the following:
• Activate the window.
• Place the cursor.
• Create a select set.
7-3
Working with GeoMedia
Using an IntelliMouse
If you have a Microsoft IntelliMouse, you can use it to manipulate the display in your data
windows faster and more efficiently. Rolling the IntelliMouse wheel forward scrolls up at
the cursor location. Rolling the IntelliMouse wheel backward scrolls down at the cursor
location.
7-4
Working with Data Windows
2. On the Show Columns dialog box, toggle the display of individual columns
(attributes) on or off. A check beside a column name means that the column is shown
in the data window. Removing the check hides the column, but does not delete it.
3. Click OK.
7-5
Working with GeoMedia
2. On the Change Data Window Contents dialog box, select another feature class or
query from either a category or reference features or connections or queries.
3. Click OK to update the active data window.
Edit > Cut deletes selected cell values. You cannot cut cells containing the
primary key or other required values.
Edit > Copy copies selected multiple cells, columns, and rows to the
Clipboard as text. For example, you can copy a data view into an Excel
spreadsheet. You can select cells directly as a range of one or more cells or
indirectly by selecting rows or columns, which you can select in various ways
including their buttons on the data window, the Select Tool in the map
window, Select by Legend Entry, and so forth. This command is enabled
when you select one or several cells, rows, or columns in the data window.
Both the Cut and Copy commands let you copy data window column headers
to the clipboard. You set this option through the Copy data window column
headers to clipboard check box on the General tab of the Options dialog
box (Tools > Options). The default (unchecked) is to not copy the headers.
If you are cutting or copying a single cell, the copy header setting is ignored
and the headers are not included. Also, if you have copied data to the
clipboard with column headers, the headers are removed before you paste the
cell data back into the data window.
Edit > Paste copies data from the Clipboard to the selected cell(s). When you
select a single cell, the data on the Clipboard is pasted to the right and down
from the selected cell, replacing the selected cell. When you select a
contiguous block of cells, the data on the Clipboard replaces each selected cell
with the corresponding entry on the Clipboard.
Paste will not work in the following circumstances:
• If the shape you want to paste does not match exactly the shape of the selected cell(s),
except when pasting to one cell.
• If pasting to the right and down would exceed the number of columns in the data
window.
• If pasting would create null values for required cells.
• If the primary key column is not displayed.
• If pasting would require an invalid data conversion, such as trying to paste a text string
containing letters into a numeric field.
• If pasting would require duplicate values for the primary key field or any other fields
requiring unique values.
• In pasting into the last row, the software tries to paste all cells from the Clipboard. If
you have selected multiple cells in the last row, the shapes must match exactly. If you
have selected a single cell, cells are pasted to the right of the selected cell, but not
down. If the paste would populate required fields and create a unique primary key, the
paste creates new features in the database corresponding to each row from the
7-7
Working with GeoMedia
Clipboard. Pasting does not occur if the paste would not populate the required fields,
or if the paste would create duplicate primary keys.
You can use Edit > Undo to undo changes made as in standard Microsoft
Office products. You cannot use Undo following a cut or paste operation.
You can paste the snapshot into any application that supports OLE, such as Word,
MSPaint, or an HTML Web page.
7-8
Working with Features
A feature is represented in a map window by geometry and is further defined by
nongraphic attributes in the database. The values of these nongraphic attributes can be
viewed as cells in the data window view on the non-spatial data of the feature. For
example, a parcel of land—Parcel 126-A—is represented graphically in the map window
by area geometry.
The area geometry attributes for Parcel 126-A are part of a single row in the Parcels table.
The Parcels table contains information about all the members of the Parcels feature class.
Parcel 126-A is one of 15 members of this feature class. The Parcels table, therefore,
contains 15 rows, one for each parcel.
Among the nongraphic attributes of Parcel 126-A are its identification number (126A), the
name of its owner (P. Brown), and its assessed value ($10,000). Each of these attributes is
a column in the Parcels table. So, the Parcels table has at least the following three
columns: ID, OWNER, and ASSESSED_VALUE.
126A, P. Brown, and $10,000 are values (or cells) in the ID, OWNER, and
ASSESSED_VALUE columns of the row containing the geometry for the Parcel 126-A
geometry.
In a read-write warehouse, you can create a new feature class, delete a feature class, and
edit a feature class definition. You can edit a feature class in the following ways:
• By adding attributes (columns)
• By removing attributes
• By changing attributes
In a read-write warehouse, you can also manage feature data in the following ways:
• By changing attribute values (cells)
• By adding or deleting features (rows)
8-1
Working with GeoMedia
A point feature is represented by one or more points on a map that represent the
location of a feature. A point can also represent features that cannot be mapped at
the defined map scale. Points can have an orientation, that is, they can be rotated.
Elevation control points, oil wells, and manholes are all examples of point
features.
A linear feature is represented by one or more lines and/or arcs. What appears on
the map to be a single line may actually be line segments strung together to form a
single feature. Rivers, railroad tracks, utility lines, and roads are examples of
linear features.
An area feature is represented by closed boundaries. Each boundary may or may
not contain one or more holes, and the boundaries and holes themselves may be
composed of one or more lines and/or arcs. Counties and land parcels are
examples of area features.
A compound feature may have point, linear, and/or area geometry within the
feature class or even within a single feature.
A text feature is represented by text that appears at a point location on a map.
You can place text in an existing text feature class or create a new one to contain
it. Text can have an orientation, that is, it can be rotated.
An image feature is a raster image.
Features can be contiguous or discontiguous. A contiguous feature has a single geometry.
In a map data set, for example, California is a single contiguous feature that consists of one
geometry. A discontiguous feature consists of multiple geometries. For example, Hawaii
is a single discontiguous feature that consists of several islands, each island being a
separate geometry.
You can create a hole in an area geometry by adding a second area geometry that falls
entirely inside the boundary of the first area geometry. You can create an island inside the
hole by adding a third area geometry that falls entirely inside the boundary of the second
area geometry.
8-2
Working with Features
Coordinate Systems
When creating a feature class through the Feature Class Definition command, you select a
coordinate system to be assigned to the primary geometry field of the feature class from the
list of available warehouse coordinate systems. Upon starting this command, a coordinate
system is pre-selected on the General tab of New/Edit/Copy – <FeatureClass> dialog
box. For a new feature class, this is the inherent default coordinate system. For an existing
feature class being edited or reviewed, this is the coordinate system assigned to the primary
geometry field.
The available warehouse coordinate systems are listed alphabetically with an icon for each
to indicate its validity and default status, as follows:
Non-default coordinate system.
Default coordinate system, with Default appended to its name. If
the coordinate system name is blank, it is listed with <Unnamed #>,
where # is a number to make the name unique within the list. If the
coordinate system has a non-unique name within the list, the name is
appended with #, a number to make it unique within the list.
Temporary coordinate system. When a new coordinate system
definition is defined, it is added to the list and assigned this icon as
this coordinate system has not yet been written to the warehouse.
Invalid coordinate system. In cases where the coordinate system
environment is faulty such as the following:
• Client side coordinate system metadata table does not exist or
there is no reference to it in the server side table.
• The metadata table is properly set up (that is, it exists and is
referenced), but it is empty.
• The metadata table is populated but does not contain the
coordinate system referenced by the primary geometry field of
the feature class.
8-3
Working with GeoMedia
Clicking Save As Default on this tab lets you set the selected coordinate system to be the
default for the read-write warehouse and assign it to the feature class. Only one coordinate
system can be set as the default.
Clicking Properties on this tab lets you review the selected coordinate system definition
on the Coordinate System dialog box. If the coordinate system has not yet been written to
the warehouse, you can edit its definition. You can then save all of the changes to the new
coordinate system definition and assign the modified coordinate system to the primary
geometry field of the feature class. If the coordinate system was identified as the default
warehouse coordinate system, this information is also written to the warehouse.
Clicking New on this tab lets you define a new coordinate system on the Coordinate
System dialog box and assign it to the feature class. When a coordinate system in the
warehouse is modified, the new coordinate system definition is added to the list and is
assigned the temporary coordinate system bitmap as this coordinate system has not yet
been written to the warehouse. Once added, the new coordinate system can be edited
and/or set as default in the warehouse.
Key Attributes
Each feature class created from scratch or by copying must contain a key attribute and a
primary, unique index value on that key. You can define multiple key fields (up to ten) for
a feature class on the Attributes tab of the New/Edit/Copy – <FeatureClass> dialog box.
Note that there can only be one attribute with data type autonumber. You set the key
definition for the current or selected attribute row by clicking the Set Primary Key button
on this tab. This button appears when you select an attribute row. When the selected
attribute is already a part of the primary key, the button name changes to Unset Primary
Key.
Ordering of the attributes in defining the primary compound key is determined by the order
in which they are defined. As you define new keys, they are added at the next available
index. When a key is undefined, that key is removed, and all key indices below it are
adjusted accordingly. The Key column on this tab indicates the key priority ordering by
including the index number (1 to 10).
You cannot modify the key index order directly. However, by undefining and redefining
keys, you can move them to a different index position. For example, to move the key at
index 1 to index 2 when there are 2 keys defined, you have to undefine and redefine key 1.
When you undefine it, key 2 moves up to the first position. When you redefine it, it is
added at index 2.
8-4
Working with Features
Note: It is possible to hide the primary key column(s) from Feature Class Definition by
setting their Displayable flag to No in GeoMedia’s metadata tables. Feature Class
Definition will disable the Set Primary Key button if it determines there are hidden
primary key fields. If the primary key fields are not hidden, the Set Primary Key button is
enabled for Edit mode.
The ODBC Tabular Data Server allows you to create a connection to any nongraphic table
in an ODBC-compliant data source. Thus, you can access additional data stores containing
tabular-only data, such as coordinate locations, addresses, and additional attribute
information. In addition, you can attach one or more tabular-only feature classes from the
following external data sources with the Feature Definition command: a text file, an
Excel worksheet, or an Xbase database. You can, however, only attach an external data
source to a read-write Access warehouse connection.
You can view and handle the resulting table(s) in the target read-write connection similarly
to other tables except that the feature class is read-only. For example, you can edit the
name, description, and data source name of the attached table and copy an attached table.
When you copy an attached table, the software creates a local table without data. This
new, empty table then serves as a template into which you can add data.
The software also allows you to easily to review the general and attribute feature class
properties or an attached table definition, to delete a feature class, and to detach an attached
table.
You should use the Feature Class Definition command to add or to modify features in an
Access warehouse. Using Microsoft Access to modify features in a GeoMedia Access
warehouse can result in the improper operation of the feature class or corruption of the
warehouse.
You should never delete or modify the following tables with Microsoft Access:
• GcoordSystemTable • INGRFeatures
• Gmodifications • INGRGeometryProperties
• GmodifiedTables • INGRAttributeProperties
• INGRSQLOperatorsTable • INGRFieldLookup
8-5
Working with GeoMedia
The words in the following list are the keywords in SQL Parser. They are considered
GeoMedia Keywords. As such, they cannot be used in table or column names or anywhere
else in a given warehouse. They can only be used as part of SQL queries.
ABS ALL AND ANY ASC
AVG BETWEEN BY COMMIT COUNT
DATE DELETE DESC DISTINCT EXISTS
FLOAT FROM GROUP HAVING ININSERT
INTO IS LIKE MAX MIN
NOT NULL ON OR ORDER
ROLLBACK SELECT SET SOME SUM
TIME TIMESTAMP UNION UPDATE VALUES
WHERE WITH TO_DATE TO_CHAR TO_NUMBER
See the “Working with Feature Classes” topic in GeoMedia Help, and the “Defining
Attribute-Filter Queries” section in the “Analyzing GeoMedia Data” chapter.
Note: This dialog box is resizable for better viewing of long query names.
2. Select the connection to the read-write warehouse where you want to store the new
feature class; then click New.
8-6
Working with Features
3. On the General tab of the New - <FeatureClass> dialog box, type a name for the
feature class. The feature class name must be unique within a warehouse.
Note: When creating or editing attribute names, the Name column fields may
seem to become un-editable. If this occurs, toggle the Hypertext check box on
the Attributes tab on then off to edit the field.
Note: The Description field has a maximum length of 255 characters. If you type
more, only the maximum number of characters is assigned to the Text property, and
the extra characters are truncated. Furthermore, in double-byte character set (DBCS)
systems like Chinese, each character can take up to two bytes instead of only one,
which further limits the number of characters you can type in this field.
5. From the Geometry type drop-down list, select a geometry type. To create a feature
class for labels or for inserting text, select a geometry type of Text.
6. For a feature class other than a nongraphic type (None):
To change the default coordinate system, select a coordinate system from the
Coordinate system drop-down list; then click Set As Default.
OR
To change the coordinate system, select a different coordinate system from the
Coordinate system drop-down list.
OR
8-7
Working with GeoMedia
To review and/or edit the coordinate system properties, click Properties; then make
the appropriate changes on the Coordinate Systems Properties dialog box.
See the “General Tab (Coordinate System Properties)” topic in GeoMedia Help for
information on using this dialog box.
OR
To define a new coordinate system and assign it to the feature class, click New; then
define the coordinate system on the Coordinate Systems Properties dialog box
7. Click the Attributes tab on the New - <FeatureClass> dialog box, which contains a
grid with a row for each attribute definition.
8. To define a unique primary key for the feature class, click in a cell in the Key column
or select the row; then click on the Set Primary Key button or press the space bar.
You can define multiple rows as key columns as described earlier in this section.
9. In the Name column, type attribute names. Each of these must be unique for the
feature class.
8-8
Working with Features
10. Click the cell in Type for each row to display the drop-down list of available data
types.
11. Select a data type, and define its parameters at the bottom of the Attributes tab,
which varies with the data type selected. The AutoNumber data type has no
parameters for you to define.
12. Optional: You can assign default values for attributes as long as the value is not a
function. Functional defaults are not supported in Feature Class Definition.
13. Optional: Type a brief description of the attribute in the Description cell of each
attribute.
14. Click OK.
15. Note the new feature class on the Feature Class Definition dialog box, and close the
dialog box.
Note: You can change the geometry type of a feature class only if the feature class is
empty.
Note: Editing an existing Oracle feature class definition is an Oracle administrative task
and is, therefore, not allowed in the GeoMedia Feature Class Definition tool.
8-10
Working with Features
The read-only Source column is populated with the folder/path of the features selected in
the treeview. The read-only Features to Output is populated with the names of the
features selected in the treeview.
The Target Feature Class column lets you select a target feature class name. Each cell in
this column has a drop-down list to populate feature class names from the target
connection. You can select a feature class from the list, edit an exiting feature class name,
or type a new feature class name. The default name is the same name given for the source
features. If you choose a new target feature class name, new values are generated as
needed for all subsequent columns in the grid. In the case of a query, any embedded
spaces are replaced with an underscore (_).
You can output more than one source feature class to the same target feature class, even if
the target feature class does not exist. One feature class is processed with output mode set
to New, while all others are processed with output mode set to Append. If there are two or
more features with the same name and, if a feature class with that name does not exist in
the target connection, the output mode for the first selected feature class would be New.
The target feature class for the rest of the features is same as the first selected feature class
with Append as the output mode. If the output of the first selected feature class with the
output mode as New fails, all subsequent output operations to the same feature class with
Append as the output mode also fail. If there are two or more features in the column with
the same name and, if a feature class with that name exists in the target connection, the
output mode of all such features is Append.
If the target feature class name you supply or the default value does not conflict with a
name already in the target connection, the command populates the default values in
subsequent columns as is the following table. If multiple features are being output to the
8-11
Working with GeoMedia
same target feature class that does not exist in the target warehouse, the command
populates the default values for the first selected feature class as follows.
Column Name Default value
Output Mode New
Key Mode Preserve Key if the source has a displayable primary key, otherwise New
Key
AutoNumber Preserve Definition and Values (PD&V) if the target warehouse
Mode supports this capability, for example, OOM.
Preserve Values if target warehouse does not support PD&V, and the key
mode is New Key.
Preserve Definition if target warehouse does not support PD&V, and the
key mode is Preserve Key.
Target Coord For vector geometry, the default coordinate system of the target
System warehouse is populated.
For raster geometry, the source coordinate system is populated.
For nongraphic feature classes, this cell is empty.
For no default coordinate system in the target warehouse, the fall-back
logic (using MetadataService) is used to get the first coordinate system
from the GcoordSystem table.
For an empty target warehouse, the source coordinate system is assigned
to the target feature class. This similar to the raster case mentioned.
For an invalid or missing source coordinate system, no coordinate system
is populated.
If the target feature class name you supply or the default value conflicts with a name
already in the target connection, the command populates the default values in subsequent
columns as in the following table. If multiple features are being output to the same target
feature class that does not exist in the target warehouse, the command populates the default
values for all the features other than the first selected feature as follows.
Column Name Default value
Output Mode Append
Key Mode N/A (blank)
AutoNumber N/A (blank)
Target Coord Primary geometry's coordinate system of the target feature class of the
System target warehouse, if the target feature class exists in target warehouse. If
not, this is same as the target coordinate system of the first such target
feature class that has its output mode as New. For non-geometry feature
classes, this cell is blank.
The Output Mode column lets you set one output mode for a selected item, based on the
existence of the target feature class in the target warehouse: New, Append, Force
Append, Append and Update, and Update. The default is Append if the target feature
class exists, New if not. These modes are available on the right mouse menu after selecting
this column.
8-12
Working with Features
• New—New data.
• Append (default)—Appends new records by doing a primary key comparison. New
key values are added; existing key values are skipped.
• Force Append—Appends all records and re-sequences the primary key.
• Append and Update—Appends new records and updates existing records based on
primary key value.
• Update—Only updates existing records by comparing primary key values.
The Key Mode column lets you set one of the following key modes (only if the target
feature class does not exist in the target warehouse, that is, if the output mode is New).
• New Key—Creates a new primary key column.
• Preserve Key—Uses existing key column.
The default is New Key in the case of source data that has no key field(s) or hidden key
field(s), and Preserve Key in all other cases. These modes are available on the right
mouse menu after you select this column.
The AutoNumber column lets you set one of the following autonumber modes (only if the
target feature class does not exist in the target warehouse, that is, if the output mode is
New):
• Preserve Definition—Preserves the primary key column definition but not the data.
• Preserve Values— Preserves the existing data in the primary key column.
• Preserve Definition and Value (default)— Preserves key definition and data values.
These modes are available on the right mouse menu after you select this column.
The read-only Target Coord System column is populated with the coordinate system
name of the primary geometry field of the selected target feature class. If the name of the
coordinate system is blank, a temporary name is supplied. This cell is blank if the selected
target feature class is a nongraphic type or it has no coordinate system. If the selected
target feature class is a new feature class, the default coordinate system of the target
connection is populated for a vector type; otherwise, for a raster type the coordinate system
of the source feature class is populated by default.
Below the Output settings grid, you have the following additional options:
• Select Source Attributes—Opens the Attributes of <feature name> dialog box that
lets you select a subset of fields. You can use this option if only one record is selected
in the grid.
• Target Coordinate System—Opens a dialog box of the same name that lets you
perform the following:
8-13
Working with GeoMedia
Running Output To Feature Classes creates the log file gmotts.log in your \Warehouses
folder, if the file does not already exist, and appends log information to the contents of an
existing log file. The command always deletes the existing log file and creates a new one
for each run of the command.
2. On the General tab, select the appropriate items from the Source features to output
treeview.
8-14
Working with Features
Note: When you hover the mouse cursor over an entry in the treeview, a tooltip is
displayed indicating the geometry type.
3. Select the appropriate target connection from the Target connection drop-down list.
4. Select the Advanced tab; then for a selected source feature, select the appropriate
name from the corresponding Target Feature Class cell drop-down list, edit an
existing name, or type a new name.
5. If appropriate, change the Output Mode, Key Mode, and AutoNumber values.
Note: You can select these modes from the right mouse menu after you select a
column cell. You can also set a mode to all rows in bulk.
6. Optional: Click Select Source Attributes to select a subset of fields if only one record
is selected in the grid.
8-15
Working with GeoMedia
See the GeoMedia Help for information on using this dialog box.
7. Optional: Click Target Coordinate System to review, define, or assign a coordinate
system. Continue with Steps 8 through 9.
See the “Target Coord System” and the “Select Coordinate System” topics in the
GeoMedia Help for information on using these dialog boxes.
8. Select the appropriate name from the Coordinate systems list.
9. Click New to define a new coordinate system on the Define Coordinate System File
dialog box.
OR
Click Review to review the selected coordinate system.
OR
Click Assign to assign the selected coordinate system to the selected target feature
class(es) being output in New mode.
8-16
Working with Features
10. Optional: Check the Display target feature classes in map window check box to add
a new legend entry to the active map window for each selected feature class.
11. Click Apply.
The dialog box is dismissed, and a confirmation message box is displayed with the
following information:
The output process will result in:
<n> feature classes – New mode
<n> feature classes – Append mode
<n> feature classes – Force Append mode
<n> feature classes – Update mode
<n> feature classes – Append and Update mode
Do you want to continue?
12. Click Yes to output the data from the source connection/query to the target warehouse
The status information and progress during processing are displayed in the status bar,
and the log file gmotts.log is created. Optionally, new legend entries are added to the
active map window.
The locate zone determines how close to a feature you must be to highlight it or to select it.
The size of the locate zone is set using the Size of cursor locate zone slider on the
SmartLocate tab of the Options dialog box (Tools > Options).
8-17
Working with GeoMedia
The size or tolerance is measured in screen pixels. You drag the slider to the right to
increase the size and to the left to decrease it. A preview of the locate zone is displayed
next to the slider.
The Selection toolbar supports Inside Fence, Overlap Fence, Rectangular Fence, and
Polygonal Fence selection modes, which are described later in this section.
A feature can be located (identified) only if it is displayed in the active map window and its
Locatable property is turned on. A feature within the locate zone of the cursor is not
located or highlighted until the cursor has been paused over the feature for a short time, but
you do not have to pause the cursor to select the feature. The duration of the pause interval
is set using the Delay before cursor highlights features slider on the SmartLocate tab.
When you select one or more features, they become a select set. A select set can contain
features from one or more sources. You create a select set to edit it. When the select set
contains more than one object, any Edit tool you select affects all objects in the select set
simultaneously.
A select set can also contain both read-write and read-only features. Objects in the select set
are distinguished as read-write or read-only by the display of handles in the map window
when an edit tool is selected. For example, if you select the Move tool when a select set is
active, handles appear on read-write objects but not on the read-only objects in the select
set.
8-18
Working with Features
Note: You change the highlight, select, and handles colors on the Map Display tab of the
Options dialog box.
You can have only one select set active in a GeoWorkspace at a time. The same select set
is visible in all displayed windows, both map windows and data windows.
You can also select a feature by selecting its row in the data window by clicking on the
row selector or using the CTRL or SHIFT keys to select multiple features.
See “Changing the Locatability of Map Objects” in the “Working with Map Windows”
chapter.
You use PickQuick to select features that overlap each other or features that are hidden by
other features. A numbered button is displayed for each selectable feature. If there are
more than six features, the dialog box displays scroll buttons. Move the Select Tool over
the buttons without clicking to highlight the corresponding features. When the feature you
want to select is highlighted, click the corresponding button on the PickQuick dialog box.
8-19
Working with GeoMedia
PickQuick supports keyboard navigation. You can use the arrow keys to navigate among
the items, and the space bar to select\unselect items. You use the CTRL and SHIFT keys
in the conventional way to select and unselect groups of items in multi-select mode.
When you move the cursor over a numbered button representing a feature in the map view,
a tooltip appears showing the name of the feature class or query of the highlighted item. If
the Add connection prefix to feature names check box is selected on the General tab of
the Options dialog box, the feature class name is prefixed with the connection name. If a
map window tooltip has been defined for the legend entry associated with the highlighted
item, the text for the map window tooltip is displayed.
For more information on map window tooltips, see “Defining Map Window ToolTips” in
the “Working with Map Windows” chapter.
− Inside Fence selects all features that fall completely within the fence.
− Overlap Fence selects all features that fall inside and are overlapped by the fence.
– Rectangular Fence (the default) selects all features that fall completely inside the
rectangular fence.
– Polygonal Fence selects all features that fall completely inside the polygonal
fence.
8-20
Working with Features
This selects all map objects in the map window associated with highlighted legend entries,
regardless of whether objects are fitted in the map window. Legend entries must have the
display turned on and must be in the current view scale, but map objects do not need to be
locatable.
Note: You must hold down CTRL or SHIFT, or the select set will be replaced.
8-21
Working with GeoMedia
schema apparent. Queries resulting from other GeoMedia analysis commands that
combine disparate feature classes (for example, Join and Spatial Difference) cannot be
processed. Only those feature classes in the select set that are valid for processing by the
command appear in the drop-down list.
The resulting query is a snapshot of the select set at the time you run the command. Any
subsequent changes made in the select set do not affect any queries previously created from
the select set.
Select Set to Query appends the query to the query folder and optionally outputs the
resultant query to a data window and/or map window. You can adjust the display style for
optimum viewing in the map window.
3. From the Select features from drop-down list, select a feature class or query within
the select set to be converted to a query.
Note: The Add connection prefix to feature names check box setting on the
General tab of the Options dialog box is honored. Also, the complete connection
name and feature class name appear as a tooltip when you hover the mouse cursor
over the list box.
4. Optional: Change the default name and/or type a description of the query.
5. Verify that the Display query in map window box is checked, and change in the Map
window name field, if appropriate, the map window in which to display the query
results.
OR
To not display the query results in a map window, click the Display query in map
window box to remove the checkmark.
8-22
Working with Features
6. Optional: Click Style, and change the default style on the Select Style dialog box.
7. Verify that the Display query in data window check box is selected, and change in
the Data window name field, if appropriate, the data window in which to display the
query results.
OR
To not display the nongraphic attributes of the query results in a data window, select
the Display query in data window check box to remove the checkmark.
8. Click OK to generate and to display the query results in the specified data window
and/or map window.
Note: If you do not select either a map window or a data window, the query is only
appended to the query folder.
8-23
Working with GeoMedia
Note: Pressing ESC does not cancel Insert Feature; you must select another
command, such as the Select Tool, to cancel the command.
2. Click the drop-down arrow on the Insert Feature dockable control to display the list
of feature classes in the read-write warehouses to which you are connected.
3. Click the feature class that will contain the new feature.
4. Place the geometry of the new feature in the map window.
Note: If the selected feature class has compound geometry, the buttons on the right of
the Insert Feature control enable to let you select the type of geometry to place.
Toggle between the feature’s Properties dialog box and the geometry-type buttons as
you place geometry.
5. In the feature’s Properties dialog box, type attribute values in the appropriate fields.
8-24
Working with Features
Note: When performing inserts into an Oracle Object Model warehouse, any default
values that you have will not appear on the Properties dialog box until after you have
inserted the feature.
6. Click OK.
7. Repeat Steps 4 - 6 to insert additional features.
8. To exit Insert Feature mode, press ESC in the Select Tool.
Note: If you dismiss the control by clicking the X on the title bar, the control
disappears, but Insert Feature mode remains active.
8-25
Working with GeoMedia
In addition to basic text insertion, Insert Text provides the following functionality:
• Applying instance-based symbology for text features—By default, placed text relies
on the Select Style parameters defined in the legend when displaying the text in the
map window. You may override these parameters on individual text instances
(instance-based symbology) by checking the Override style check box and defining
the appropriate text symbology. When the Override style check box is checked, the
entire text string will display using the defined format (bold, italic, or underline), color,
size, and font. To change instance-based text symbology, you need to use the Edit
Text command.
• Placing incremental numeric text—Type a numeric (integer or real) value into the
text-entry field, and then set the increment value to an integer or real number.
• Placing text at a user-defined rotation angle—Set the rotation mode to Place at
angle, set the appropriate angle for placing the text, and then click to place the text.
The controls on the dockable control remain as set.
• Placing text to rotate dynamically—Set the rotation mode to Rotate dynamically,
click for the location of the text origin, and then click for rotation.
• Placing text along an arc—Set the rotation mode to Place along arc, optionally
modifying the inter-character spacing, and then digitize three points to define the
curvature of the arc, in the order 1-2-3. Upon defining the third data point, the text
will be floating and oriented along the curvature of the arc defined. Click a fourth
point to place the text. Type additional text to continue the process, select another
command, or press ESC. Using this mode generates a composite text collection, which
lets other parts of GeoMedia recognize the resulting multi-part text as a single
composite string rather than individual characters.
• Placing along existing geometry—Set the rotation mode to Place along existing
geometry, type a single-line text, and then select a linear, area. or compound
geometry. This displays the text in dynamics, undulating along the curvature of the
selected geometry starting from the mouse cursor. You can control the distance of the
text from the geometry and the spacing of the characters, and influence the smoothness
of the flow of the text. Move the cursor above or below the geometry to get the
appropriate offset distance from the geometry, increasing the inter-character spacing by
using the mouse wheel or clicking the up arrow key. Tune the resulting text pattern by
changing the vertical offset or by using the down arrow key. Click on the map window
or type the location coordinates to place the text.
8-26
Working with Features
To insert text:
1. Select Insert > Text to display the Insert Text dockable control.
2. Click the drop-down arrow to display the list of text feature classes, queries, reference
features, and categories in the read-write warehouses to which you are connected. If
none of the open read-write warehouses contains a text feature class, create one
through Warehouse > Feature Class Definition.
3. Click the feature class you want to contain the text.
4. Optional: Check the Override Style check box; then define the appropriate text
symbology.
5. Select the text alignment you want from the drop-down list.
6. Type the text you want to place in the text-entry field. To create a new line in the text,
press CTRL+ENTER (except for curved text).
As you type, the text appears in the text field and in dynamics next to the cursor in the
map window.
7. Select the text placement rotation mode.
8. Position the text where you want it on the map; then click the left mouse button.
9. To place additional instances of the same text, repeat Step 8.
10. To place additional but different text, repeat Steps 7 - 9.
11. To exit Insert Text mode, press ESC or click the Select Tool.
Note: If you dismiss the control by clicking the X on the title bar, the control disappears,
but Insert Text mode remains active.
Editing Text
Edit Text lets you to interactively edit one or more instances of read-write text, and the
corresponding alignment and symbology, generated by the Insert Label command or
Insert Text command. You can select the text from a map window or a data window;
however, if from a data window, you must activate a map window to enable this command.
8-27
Working with GeoMedia
Also, if you select a mixture of read-only and read-write text, you can only edit the read-
write text.
This command lets you place the text with instance-based text symbology through the
Override style check box. When you select this option, the entire text string in the Edit
Text dialog box is placed with instance-based text symbology, and the active symbology
settings for text format (bold, italic, or underline), color, size, and font override the legend
display parameters set on the Select Style dialog box for the selected feature class.
8-28
Working with Features
Note: The following behavior also applies to one or more instances of text selected from a
text collection. Basically, the Edit Text dialog only displays attributes if they are
common. Any edits are written to all of the items in the collection
8-29
Working with GeoMedia
3. In the Text field, type the replacement text. If you are editing multiple text instances,
all instances are modified to reflect the new text.
4. Accept or select a different alignment from the Alignment drop-down list. If you are
editing multiple text instances, all instances are set to the new alignment.
5. Accept or change the Override style check box setting. If you are editing multiple text
instances, all instances will be modified to reflect the new text.
6. Accept the text symbology, or change it through the format (bold, italic, or underline),
color, size, and font controls.
7. Click OK.
8-30
Working with Features
contains a standard text collection, the geometry is selected if at least one of the items in
the collection matches the selection criteria.
Selecting Edit > Text > Select Text displays the Select Text dialog box for you to define
the appropriate search criteria. When you first start this command, all the dialog box
controls are in the neutral state as in the example on the left. To return to this neutral state
after setting any search parameters, as in the example on the right, you must exit and restart
the command.
You can type or select the text string you want to search for in the Text field. Note that the
search is not based on a case-sensitive text string. Checking the Match entire text check
box selects those graphic text features with their text having an exact match with the string
value entered in the Text field.
Checking the Use wildcards check box lets you use any of the listed special characters
entered in the Text field as wildcards and perform pattern matching using both regular
characters and wildcard characters as specified in the Text field. Regular characters must
exactly match the characters specified in the character string. Wildcard characters,
however, can be matched with arbitrary fragments of the character string based on the
wildcard character used. This command supports the following GeoMedia-recognized
wildcards only:
• % Any string of zero or more • _ (underscore) Any single character
characters
• [] Any single character within • [^] Any single character not within the
the specified range ([a-f]) specified range ([^a-f]) or set
or set ([abcdef]) ([^abcdef])
When the Use wild cards check box is checked, the Match entire text checkbox is
disabled automatically and cannot be checked.
You can also set the appropriate text Style characteristics, using any combination of bold,
italic, and underline, as well as font color, size, and name to define the selection criteria.
hypertext has been inserted into a table, you can invoke the external application associated
with the file and activate the file by clicking the hypertext cell in the data window.
If the feature table does not already have a hypertext attribute defined, you must define one
in the warehouse before inserting hypertext. Once you have a hypertext column in a table,
you can add hypertext links to as many features as the table contains.
2. On the Feature Class Definition dialog box, navigate to the warehouse connection
that contains the feature class in which you plan to insert the hypertext, and select the
feature class.
3. Click Edit.
4. On the Attributes tab of the Edit - <FeatureClass> dialog box, click the bottom row
selector that contains an asterisk.
8-32
Working with Features
5. Click somewhere in the Name field, and replace the automatically generated attribute
name by typing a meaningful name, such as HYPERTEXT.
6. Click the Hypertext check box.
7. Click OK.
8. Close the Feature Class Definition dialog box.
3. On the Attributes tab of the feature’s Properties dialog box, click the hypertext cell in
the Value column, and type the path and name of the file or Web location. To edit,
highlight the file name or Web location, and type the new file name or Web location.
Note: You must highlight the text to edit it. If you just click on the text, the
hypertext link is invoked.
8-33
Working with GeoMedia
4. Click OK.
See “Attributes Tab” later in this chapter.
Adding Geometry
You can add geometry to an existing feature that does not have geometry, add holes to
existing geometry, and add geometry to existing geometry.
Here are some tips for placing geometry:
• Follow prompts in the status bar when placing geometry.
• Use the map view tools for more accurate placement.
• To place discontiguous geometry, press and hold the CTRL key while you place
geometry. When you have placed all segments of the feature, double click the left
mouse button.
• If you are placing a linear or area feature, press the back arrow key to delete the last
vertex.
• When you place linear or area features, double click to indicate you have placed the
last point.
8-34
Working with Features
For point and area geometry, the Continue Geometry tool adds only discontiguous
geometry. For line geometry, if the first or last point of the new geometry is within the
locate zone of an end point of the feature, the Continue Geometry tool adds contiguous
geometry; otherwise, it adds discontiguous geometry.
When the cursor is within the locate zone of any locatable map object, the pointer changes
to indicate when you can snap to an end point, snap to a line, or snap to a vertex, as
follows:
To add geometry to a feature, select the feature, select Edit > Continue Geometry, and
place the new geometry in the map window.
Note: If you select a feature from the data window that is not on the legend in the map
window, the geometry of the feature appears for the duration of the process. Once the
process is completed, the geometry disappears from the map view, although it is not
deleted. To display the geometry, add the feature class to the legend.
Attributes Tab
The Attributes tab lets you review and edit the attribute values of features. On this tab, all
required fields are indicated by the value in the Name column appearing in bold, red type.
All key fields are likewise indicated by the value in the Name column appearing in bold,
red type (because key fields are also required fields) and by the value’s being underlined.
8-35
Working with GeoMedia
Tooltips
When you hover the cursor over a cell in the Name column, a tooltip displays the attribute
description defined through the Feature Class Definition command. If no attribute
description was defined, no tooltip appears.
When you hover the cursor over a cell in the Value column, a tooltip displays the data type
and the default value of the column. If there is no default value, the tooltip displays only
the appropriate data type string from the table. If there is a default value, the data type
string is followed by the string “ : Default = “ and then by the actual default value string
supplied by the data server.
If the default value string is a literal value of the correct data type for the attribute, it is
formatted according to the display rules for the field (honoring the format and precision
properties, regional settings as appropriate, custom Boolean wording, and so forth), as seen
in the following example:
Text (20) : Default = Alabama
Memo : Default = This is a default value for a memo field.
Integer : Default = 5
Double : Default = 123.456,789
Currency : Default = $ 1,200.50
Boolean : Default = Yes
Date : Default = 01-May-2000
If the default value string is not a literal value of the correct data type for the attribute, it is
displayed in its native form as provided by the data server. This may occur when, for
example, the default value is an autonumber or is to be calculated through a database
procedure, as in the following example:
Integer : Default = AutoNumber
Date : Default = TRUNC(SYSDATE)
8-36
Working with Features
In this example, ID is a required field. The cursor is hovering over the word Alabama
in the Value column, thus the tooltip shows the data type of the field, the size (because
it is a text field), and the default value.
Note: You could also double click the select set, which amounts to triple clicking a
feature, or right click a select set and select Properties from the right mouse menu.
8-37
Working with GeoMedia
4. Optional: Resize the dialog box to more easily view and change data in the Value
column of both tabs.
5. On the Attributes tab of the Properties dialog box, click the cell in the Value column
that you want to edit.
The arrow on the row selector moves to the row you clicked.
6. Type the new value in the cell.
If the warehouse is read-write, a pencil appears on the row selector when you begin to
type.
7. Click OK.
If the map window display check box was selected, the map window with the
geometries is displayed. If the data window display check box was selected, the data
window with the geometries is displayed.
See “Editing Cells in the Data Window” in the "Working with Data Windows" chapter.
8-38
Working with Features
Moving the cursor in a clockwise direction counts degrees backwards (0, 360, 359, . . .
). Moving the cursor in a counterclockwise direction counts degrees forward (0, 1, 2,
3, . . . ).
8-39
Working with GeoMedia
When you click, the first reading before the cursor is moved shows the beginning
active angle. As you move the cursor in either direction, the active angle changes and
the readout in the status bar updates dynamically.
5. Click to accept the angle.
Note: You can use the CTRL or SHIFT key to select multiple handles (vertices).
5. To insert a vertex, select the point of the geometry where you want to insert the vertex.
6. To move a vertex, press and hold the left mouse button on the vertex you want to
move, drag it to the desired location, and release the mouse button.
7. To delete a vertex, select the vertex and press DELETE.
To delete geometry:
When you delete the geometry of a feature in a map window, the feature is no longer
displayed in the map window. Deleting geometry, however, does not delete the feature.
Attribute data still exists for the feature, which can be viewed in a data window.
IMPORTANT: When you select multiple rows in a data window, this procedure deletes
all the geometry and text for all selected rows, including those not displayed in the active
view.
1. In a map window, create a select set containing the feature(s) you want. Or, in a data
window, select the row(s) for the feature and then activate the map window by clicking
the title bar.
By creating a select set in the map window, you delete only the selected geometry.
2. Select Edit > Delete Geometry.
To delete a feature:
When you delete a feature, it is removed from the warehouse and from all windows.
However, the legend entry is not affected, and you must delete it separately.
8-40
Working with Features
IMPORTANT: This procedure deletes all selected features, including those not displayed
in the active view.
The mode in which the command is running depends on the contents of the select set. If
the select set is empty when you start the command, Delete runs in action-object mode,
which lets you delete multiple features (one after another) during a single instance of the
command. In this mode, you cannot clear the contents of the selected cells from data
window or use fence select or CTRL-Click select. If the select set contains one or more
features, or when the data window is active and there are cells selected, the command runs
in object-action mode, which lets you delete only the selected features or clear the selected
cells during the command instance.
1. In a map window, create a select set containing the feature(s) you want. Or, in a data
window, select the row(s) for the feature and then activate the map window by clicking
the title bar.
2. Select Edit > Delete.
Note: Through Tools > Options, you can specify whether the confirmation box is
displayed before processing.
All views that were displaying the deleted features are updated. If you selected
columns or cells instead of the row, the values in the cells are set to NULL.
to a category at that time. Categories can contain feature classes and queries from multiple
connections, including read-only connections, and the connections are hidden to simplify
category organization and presentation. No distinction is drawn between feature classes
and queries within a category. In addition, you can nest categories in folders that in turn
can have subfolders representing individual categories, and each such category subfolder
can in turn have sub-categories to continue the nesting as required for your organizational
plan. You also have flexibility in naming categories by the aliasing of feature class and
query names as well as the aliasing of attribute names. Finally, you can share your
categories within the enterprise.
Managing Categories
The Categories dialog box lets you easily manage your categories and their contents. You
can create and delete categories, add features and queries to them, edit their properties,
rename/alias categories and attributes, move and copy categories and their contents in the
treeview, and organize and expand the treeview nesting.
Central to the Categories command is the categories treeview. This treeview always
contains the root node Categories. To this you expand the treeview by adding category
folders as you create as many categories as you require. These category folders can in turn
have sub-folders that represent sub-categories, or feature classes or queries. Thus the
treeview contains three types of nodes: categories, feature classes, and queries. The items
at each level are displayed alphabetically. A category may be nested to any level. A
category node may contain its sub-category nodes or query or feature class nodes. The
query and feature class nodes themselves cannot have subfolders. If any of the source
connections of any of the categorized feature classes are closed, or if the categorized query
is closed or invalid, it is flagged with an icon indicating the feature class or query is not
accessible:
8-42
Working with Features
You can copy and move categories/sub-categories, feature classes, and queries to other
categories by using drag-and-drop. You cannot, however, drop feature classes and queries
on the root node Categories nor drag-and-drop this node. Drag-and-drop works similarly
to Windows Explorer’s folders treeview. While drag-and-drop is being done, if you press
Ctrl, a copy is performed; otherwise, a move operation is performed. Tooltips on the
treeview show the original feature class name (with or without the connection name, per
the Options > General tab setting Add connection prefix to feature names) or query
name.
Once defined, the category structure appears in treeviews across the product by the
commands, for example Attribute Queries and Join, and controls to support categories.
Categories are thus displayed in the treeviews along with all the connections, queries, and
reference features information, for example, in the New Data Window and Add Legend
Features dialog boxes. If, however, categories have not been defined, no empty
Categories node is displayed by other commands.
8-43
Working with GeoMedia
In creating categories under the Categories root node or subfolder, you use Create
Category to provide a unique name and an optional description, both of which you can
later change. You can delete a selected category, which also deletes all subfolders and
their contents by clicking Delete Category on the Categories dialog box or by pressing
the Delete key.
To add one or more sets of features (feature classes/queries) under a category, you select a
category and then use Add Features to make selections from all the features and queries in
the GeoWorkspace under the Queries node and the name of each connection in the
GeoWorkspace as a separate node at the first level, as displayed on the Add Features
dialog box. All connection nodes contain the feature classes available in that connection.
These are the physical connection, feature class, and query names, not the logical names as
categorized. You can add multiple items to a category by checking multiple item check
boxes or the Queries node and/or the connection node on the Add Features dialog box.
You can remove features or queries from a category by selecting the item then clicking
Remove Features on the Categories dialog box or by pressing the Delete key.
Once you have added feature classes and queries to a category, you can review and edit
their properties from the Categories dialog box. Selecting a feature class or query and
then clicking Attributes displays the Attributes of <feature name> dialog box, which lets
you choose, reorder, and rename attributes for the selected feature class or query.
Selecting a feature class or query in the Categories treeview and clicking Properties
displays the Properties of <feature name> dialog box, which lets you review and change
properties for both feature classes and queries. You can review the read-only original
name and description (as present in the warehouse - connection name of the feature class,
and as defined on the query, that is, the one with which the query is identified in the
Queries folder) as well as the current name and description (as categorized). You can edit
(rename) only the default/user-defined, categorized feature class and query names and
descriptions. Changing these names and descriptions does not change the original, read-
only values. You can also view the read-only feature class and query category names.
These names show the complete category hierarchy using the dot convention. For
example, a category C1.Sub_C1_1 indicates, that the feature class belongs to sub-category
Sub_C1_1 whose parent category is C1.
8-44
Working with Features
8-45
Working with GeoMedia
Note: To create a sub-category, select the category and then repeat Steps 2 – 5.
6. Optional: To edit the name and/or add a description, select a category, click Properties,
and then click OK.
7. To add features to the category, select the category; then click Add Features.
8. Expand the appropriate feature class and/or query node(s); then check the appropriate
feature class and/or query check boxes.
8-46
Working with Features
8-47
Working with GeoMedia
4. Check or uncheck the appropriate Attributes check box(es) for the selected feature class
or query.
5. To reorder an attribute, select the attribute; then use the up/down arrows to the right of
the Attributes list.
6. To rename an attribute, select the attribute; then click Rename.
8-48
Working with Catalogs
The Catalogs commands form a bridge between spatial data and the standard geospatial
catalog that describes that data. These commands support the integration of metadata
search, edit, and query functionality with other GeoMedia functions, and they also provide
complete spatial metadata functionality within GeoMedia. With these commands, you can
connect to geospatial catalogs, query for interesting catalog records (metadata items), and
open associated GDO connections (if the record is already associated to a feature class).
See “Catalog Features,” “What is Geospatial Metadata?,” and “Glossary of Catalog
Terminology” in this chapter.
In summary, the Catalogs commands let you catalog and open associated feature classes
and perform the following additional tasks in manipulating catalogs:
• Import metadata from other exchange formats.
• Associate a feature class to a metadata record.
• Update spatially related metadata elements from the associated feature class.
• Search catalogs for feature data and image files.
• Export to standard exchange formats.
• Generate catalog record reports.
9-1
Working with GeoMedia
The functional modules can be classified into the following three categories:
1. The first set interacts with the open catalogs and process metadata. Query/search,
import and export, and report generation are examples of this set.
2. The second set of modules has spatial data as input from warehouses and generates
metadata as output. Examples are capturing spatial attributes and creating skeleton
metadata records for selected feature classes.
3. The third set of modules has metadata records as input either directly from user-
selected metadata records, or as a result set from a query and open associated
connections in GeoMedia.
These modules, the Catalogs commands, thus form a bridge between spatial data sets and
their associated metadata sets.
The Catalogs commands are the following:
• New Catalog • Export Catalog Records
• New Catalog Connection • Associate Catalog Records
• Catalog Connections • Catalog Explorer
• Import Catalog Records
Catalog Features
Standards-compliant—GeoMedia Catalog makes it easy for anyone, regardless of prior
knowledge of the Federal Geographic Data Committee (FGDC) standard, to create,
manage, and publish FGDC-compliant metadata. Catalog also supports publication of
metadata records that conform to the ISO-19139 TS RC technical specification (May
2006).
Biological Data Profile—Create standardized metadata for your biological datasets
following the FGDC’s Biological Data Profile.
Data Layer Association—Catalog ties metadata to data by allowing you to associate a
metadata record with the GeoMedia feature class or image file that it describes.
Metadata Capture—Once you have associated a catalog record with a dataset, you can
extract metadata elements like bounding coordinates and attributes, directly from the
dataset into the metadata record.
Catalog Explorer—Bridges the gap between spatial data and metadata catalogs to provide
an unprecedented level of access to and control over your GIS data library. With the
Catalog Explorer, you can quickly locate and preview any dataset in your GIS data
library, and you can automatically load search results into a GeoMedia map window.
Browse Graphics—Include images of datasets in your Catalog reports.
9-2
Working with Catalogs
9-3
Working with GeoMedia
9-4
Working with Catalogs
2. Data Quality Information: A data quality assessment. How accurate is the data?
What steps were followed to create the data? What sources were used to create the
data?
3. Spatial Data Organization Information: How is spatial data represented in the
dataset? What objects were used to represent space?
4. Spatial Reference Information: The description of the reference frame for, and the
means to encode, coordinates in the dataset. What are the projection parameters?
5. Entity and Attribute Information: What entity types and attributes does the data
describe?
6. Distribution Information: From whom may the data be obtained? In what media is
it available? How large is the dataset? Can it be downloaded? Does it cost anything?
7. Metadata Reference Information: Information about the metadata. When was the
metadata record created? Who is the responsible party? When was it last updated?
In addition, the FGDC standard defines three supporting sections, which are not used
alone, but rather are used within the seven main sections. The supporting sections are as
follows:
1. Citation Information: A recommended reference for the dataset.
2. Time Period Information: Information about the date and time of an event.
3. Contact Information: Information about the persons and organizations associated
with a dataset.
Each section is comprised of individual metadata elements, and of compound elements.
For example, the compound element address may include individual elements for street
address, city, state, or province.
9-5
Working with GeoMedia
Under the FGDC standard, there is a one-to-one relationship between a metadata record
and the GeoMedia feature class or image file that it describes. In other words, you should
have one metadata record per dataset.
ISO is also at work on ISO-19139, an XML schema for metadata implementation. ISO-
19139 is designed to provide a common specification for describing, validating, and
exchanging metadata about geographic datasets. It is intended to promote interoperability,
and to exploit ISO 19115’s advantages in a concrete implementation specification.
GeoMedia’s Catalog commands include support for exporting metadata records in an XML
format that conforms to the 19139 XSchemas TS RC (May 2006 ).
9-6
Working with Catalogs
9-7
Working with GeoMedia
Note: Access-based warehouses, catalogs, and libraries all use *.mdb files. You should
maintain these in separate folders in order to make the individual database type more easily
found. In addition, the software has separate folder locations for the Access versions of
these files, and you should add the word catalog, library, or warehouse to filenames in
order to distinguish them from each other. Oracle and SQL Server can also contain
libraries and catalogs, and the associated schemas should be named to distinguish them
from standard spatial schemas.
OR
9-9
Working with GeoMedia
9-10
Working with Catalogs
Name—Catalog connection names, with an icon at the start of the cell indicating the state:
Open Read-Write
Open Read-Only
Closed
Type—Catalog connection type, Access or ODBC.
Catalog—Location of the database .mdb file for an Access database or the data source
name for an Oracle or SQL Server database. You can edit the location of the catalog using
the Properties but not directly from the cell of the grid.
2. Click New.
3. Select Access database as the Connection type.
OR
Select ODBC database as the Connection type.
9-11
Working with GeoMedia
9-12
Working with Catalogs
5. Change the location of the .mdb file for an Access database or the data source name for
an Oracle or SQL Server database.
9-13
Working with GeoMedia
pre-processing a metadata XML file with the mp application available from the U.S.
Geological Survey. The no-cost mp utility can parse and output a metadata record into an
FGDC-compliant format that is acceptable for FGDC clearinghouse submission and for
import into Catalog. This and other metadata utilities are available for free download
through the USGS website at http://geology.usgs.gov/tools/metadata/.
Catalog users can process any XML metadata file through mp and can generate an output
XML file which is completely compliant, along with helpful information about metadata
fields which may be missing or incorrect.
This command Import Catalog Records creates one catalog record for each imported file.
The record is created in the catalog with a primary key consisting of the FGDC-standard
content field title as contained in the selected file. If a catalog record with same title exists
in the destination catalog, an error is generated, and the import process for that record is
aborted.
Each import generates log files (.log) listing the results of the import operation. There are
two types of log files, an individual log file for each input file and a summary log file for
the entire import operation. The log files are output to the folder in which the input files
reside, unless that folder is read-only. In this case, the log files are output to your \tmp
folder.
2. Type the location from where the import files are to be read, or use Browse to select
the location.
9-14
Working with Catalogs
Note: A tooltip is attached to the filenames so that long filenames can be read easily.
specified destination folder. The default destination folder is the \Catalogs subfolder of
your \Warehouses folder. The exported file is named are <Record title>.<export file type>.
In case the title of the exported record contains invalid characters for file naming in
Windows, these characters are replaced by an underscore ( _ ) in naming the exported file.
This command generates one or more files for each exported metadata record.
Options:
• Rollup empty fields—Lets you exclude all the empty metadata elements.
• Include biological profile—Lets you include the metadata content belonging to
biological profiles.
• Include map display—Lets you include a map display of the record. This option is
not applicable if the selected record is nongraphic.
Publish using style sheet, displayed only for the XML (FGDC) and XML (ISO)
formats—Lets you attach a style sheet to the exported data. You can type the style sheet
path or browse to select the style sheet.
A style sheet customizes the display of your catalog content. It is attached to the exported
XML file to view the XML data in a browser. For XML(ISO) only, the core elements are
published using a style sheet. Four style sheets are delivered in the \Program
Files\GeoMedia\stylesheets\catalogs folder: FGDC_classic.xsl, FGDC_FAQ.xsl,
ViewDetails.xsl, and ISO_Stylesheet1.xsl.
Note: XSL is a language for expressing style sheets. An XSL style sheet is a file that
describes how to display an XML document of a given type. The XSL style sheets used to
display GeoMedia catalog metadata records in your Web browser include bits of
programming known as scripts. Scripts are termed active content; examples of familiar
active content include stock tickers, video, and animated content on Web pages. In order
to properly display metadata in FGDC.XML or ISO.XML format, be sure that your Web
browser is set to allow the running of scripts.
Each export generates log files (.log) listing the results of the export operation. There are
two types of log files, an individual log file for each catalog record exported and a
summary log file for the entire export operation. In case the title of the exported record
contains invalid characters for file naming in Windows, these characters are replaced by an
underscore ( _ ) in naming the log file. The log files are output to the export folder.
9-17
Working with GeoMedia
2. On the General tab, select the appropriate Catalog connection from the drop-down
list.
3. Select the appropriate open catalog record(s) from the Records list.
4. Select the appropriate Export format option.
5. Type the appropriate location where the export files are to be saved in the Export
folder field, or use Browse to select it.
6. Select the Advanced tab; then set the available parameters appropriately.
(The following example is the Advanced tab for the HTML export format.)
9-18
Working with Catalogs
(The following example is the Advanced tab for the XML (ISO) export format.)
If the style sheet you want to use is available on your network, browse to its location,
and select the XSL file you want to use. Click Open and OK. Until you change this
selection, Catalog will publish all XML (ISO) metadata records with a link to this style
sheet.
Some users map network drives to their machines with the possibility of remapping in
the future. If this applies to you, you may want to use a UNC pathname, for example,
9-19
Working with GeoMedia
9-20
Working with Catalogs
record, updating the relevant metadata record of the catalog. Once disassociated, the
dataset can no longer be previewed.
This command also captures spatially related metadata after associating a dataset
(foreground) to a catalog record. The captured information is stored in related fields in the
catalog record. This allows synchronizing the captured metadata stored in a catalog to
reflect changes to the associated dataset in the foreground. Captured metadata elements are
the following:
• Bounding coordinates—The limits of coverage of a dataset expressed by latitude and
longitude values. This compound metadata element is stored in the
Identification/Spatial domain section.
• Attribute name—The identity of all attributes associated with the feature class. This
metadata element is stored in the Entity and Attributes section.
• Point and vector object information—The type and number of vector or non-
gridded-point spatial objects in the dataset. This compound metadata element is stored
in the Spatial Data Organization section.
Finally, this command lets you view the associations and complete metadata content for a
selected catalog record. Thus, you can see the spatial data captured during a capture
operation.
9-22
Working with Catalogs
2. Select the appropriate catalog connection to display the treeview of Available catalog
records.
3. Select the appropriate catalog record to associate.
4. Select the appropriate Dataset associations > Foreground layer/Background layer
option.
For Foreground layer, if a feature class is associated to the record, warehouse
connection and feature information is displayed. If an image is associated to the
record, the image folder and image file name are displayed.
For Background layer, if a feature class is associated to the record, warehouse
connection and feature information is displayed. If an image is associated to the
record, the image folder and image file name are displayed.
5. For a feature class, click Associate Feature Class.
OR
For an image file, click Associate Image File.
6. For a feature class, select the appropriate connection and Feature class to which the
catalog record needs to be associated; then click OK.
9-23
Working with GeoMedia
OR
For an image file, select the appropriate connection and image file to which the catalog
record needs to be associated; then click OK.
9-24
Working with Catalogs
Note: The width of the Catalog record field expands to fit the largest item in the list.
To capture information:
1. Select Tools > Catalogs > Associate Catalog Records.
2. Select the appropriate catalog connection to display the treeview of Available catalog
records.
3. Select the appropriate catalog record.
4. Click Capture.
9-25
Working with GeoMedia
The metadata elements of the catalog record are updated by capturing relevant
information from the associated foreground layer.
Exploring Catalogs
Catalog Explorer provides a functional and practical means for you to manage your data
and metadata. This command provides a powerful tool for quickly locating and
previewing datasets in your GIS data library. You can browse catalog records from
multiple catalogs and locate datasets according to metadata keywords, attributes, time
period, or geographic area.
To use this command, at least one catalog connection must exist in the GeoWorkspace.
When you select a catalog connection, the catalog will be opened if it is not already open,
that is, the catalog connection is opened on-demand by the command but not during the
GeoWorkspace load. You must supply a password to establish a connection to the catalog
if it is required.
With this command, you can view a list of open catalogs and the catalog records that they
contain. You can then select one of the catalog records in the Windows Explorer-style
treeview, and view the important metadata content, as follows:
• Title and the contact persons for the metadata and the dataset
• Preview of the map if the catalog record is associated to a feature class
• Basic description
• Important spatial metadata content
You can define specific criteria for searching within open catalogs, and you can clear and
redefine a search. This search criteria for the selection of catalog records include the
following:
• Contains any or none of the listed keywords
• Contains any of the listed attributes
• Corresponds to the time period of content
9-26
Working with Catalogs
9-27
Working with GeoMedia
The Search results treeview is populated with the list of titles of the search results when a
search is executed on all connected catalogs. The search operation is based on the search
criteria entered in the Search Criteria subtab of the Search tab. You can select one of the
catalog records in the list to view the metadata summary. The selection of the catalog
record in the Available catalog records treeview and in the Search results treeview is
synchronized. Thus, if you select one catalog record in the Search results treeview, the
same item is highlighted in the Available catalog records treeview and the metadata
summary of a selected record is displayed in the tabs to the right. Similarly, if you select a
catalog record in the Available catalog records treeview, the corresponding item in the
Search results treeview is selected if the item exists, and the metadata summary of a
selected record is displayed in the tabs to the right. When multiple catalog records are to
be selected for a load operation, you select them by selecting multiple items from the list.
When multiple items are selected in this list, however, there is no synchronization with the
Available catalog records treeview and the Search results treeview, and no metadata
summary is displayed in the tabs.
9-28
Working with Catalogs
Note: The graphic file, style elements, and content displayed by the ViewDetails.xsl style
sheet can be modified to conform to your preferences and enterprise standards by anyone
who has the XML authoring tools and system privileges to modify this or other style sheets
delivered in the <HOME>\StyleSheets\Catalogs folder.
Load Feature Data lets you create, open, and use warehouse connection(s) and feature
classes in GeoMedia that are associated with the selected catalog record(s). This command
is enabled when you select one or more catalog records from the Available catalog
records treeview or from the Search results treeview. If you need to select a single
record, you can do so from the Available catalog records treeview or from the Search
results treeview.
Load Feature Data checks whether the selected catalog record(s) have associated feature
class(es). Catalog records that are not associated to a dataset, or that are associated to an
image file, are skipped. For each qualifying feature class, the command checks whether a
GDO warehouse connection is already established. To identify whether the warehouse
connection already exists or not, the command tries to match the location and the
connection information for each connection in the connection collection on the document
with that of the dataset of the selected catalog. If the command finds an exact matching
connection, with a closed status, it tries to open the connection in the read-only state. If
command does not find a matching connection already connected, a new connection is
created by generating a unique name for the connection based on the type of the dataset
(‘<Type> Connection <numeric>’) for example, ‘OracleORO Connection 1’. The new
connection is always opened in the read-only state, irrespective of the type of the dataset,
for example, Oracle read-write or read-only. If such a connection already exists but is
closed, the connection is opened. If it is possible to open the connection in the read-write
state, the connection is opened. If such a connection already exists and is open, no further
action related to the connection is required.
Once an open connection is established, the associated feature class is added to the active
map window legend, if a map window is indeed active and if the feature class in question is
a spatial feature class. A legend is created using the name of the feature class as the title,
and this name is added to the legend entries collection in the first position. This is repeated
for all the catalog records you select. The log file LoadFeatures.log is created in the user
\temp folder to log any errors in making connections.
9-29
Working with GeoMedia
9-30
Working with Catalogs
9-31
Working with GeoMedia
Spatial tab—Displays a map preview of the associated feature class of the selected catalog
record. A catalog record can have two feature classes associated to it, one to display the
foreground layer and one to display the background layer. The map control is disabled if
either of the following two conditions exists:
• The metadata has no associated feature class for the foreground layer.
• The selection is on a catalog node in the Available catalog records treeview.
To the left of the map is a toolbar that lets you display and browse the map content.
Show Map—Display map or data, if available.
Zoom In—Zoom in on features.
Zoom Out—Zoom out from features.
Pan—Pan map features.
Full Extent—Display full extent (fit all) of the map.
This tab also displays read-only association details and spatial-related metadata elements of
the two feature class layers. For the foreground layer it displays the feature class name,
warehouse, number of features in the map, and map projection. For the background layer
it displays the image filename, image folder, and bounding coordinates.
Note: The projection of the displayed map is always predefined as geographic, and the
symbology is also predefined and hard coded.
9-32
Working with Catalogs
Attributes tab—Displays all the Attribute labels and their Attribute definition for the
entity named captured. FGDC metadata can contain multiple entities for the dataset it is
explaining. An entity contains multiple attributes. Each attribute has a name, a value, and
several associated properties. The attributes of the associated feature class are captured
and placed under an entity named captured.
Search tab—Contains two subtabs, Text/Data Criteria and Spatial Criteria, that let you
enter search criteria to search for metadata. You can search on the following criteria:
• Keywords • Time period
• Attributes • Geographic area
The Text/Date Criteria tab contains the following frames: Keywords, Attributes, Not
containing keywords (excluded), Associated dataset type, and Time period of content.
The Keywords and Attributes frames let you enter a list of keywords or attributes. The
search process finds the catalog records containing one of the keywords or attributes from
the list. Clicking Add appends the new keyword or attribute to a list. The excluded frame
finds the catalog records not containing the keywords from the list.
The Associated dataset type frame lets you select catalog records associated with a
specific type of warehouse. The Time period of content frame lets you enter the time
period of interest to which the metadata corresponds.
9-33
Working with GeoMedia
The Spatial Criteria tab is for the interactive capture of bounding extents of the interested
spatial area for a search. The Bounding coordinates frame contains a feature class
(having geometry) selection field, a search graphic, and bounding extents fields. The
command automatically fills in the bounding coordinates based on the search area defined
and searches for corresponding bounding coordinates entered in the metadata records.
This tab gives you a geographic display so you can select a region to search for the data
you want. The catalog search is based on the spatial extent values that you enter manually
or that you capture from a map by rubber banding. The display contains the feature class
selected for reference in the map. To the left of the map is a toolbar that lets you display
and browse the map content, as described for the Spatial tab, and the Bounding Extent
button, which lets you rubber band on the map: .
9-34
Working with Catalogs
Note: The projection of the displayed map is always predefined as geographic, and the
symbology is also predefined and hard coded.
The Search tab also has two command buttons, Search and Clear. Search lets you
perform the search on open catalogs to select catalog records satisfying the search criteria
entered in the Spatial Criteria tab, and it then lets you send the results to the Search
results treeview. To perform a search from this tab, you must either edit existing search
criteria to create new search criteria, or you must clear existing search criteria and search
results with Clear, and then enter the new search criteria. This command is enabled when
any of the controls on this tab are populated.
You can navigate through the search results by clicking the summary tabs and by clicking
the record of interest in the Search results list. This provides a quick means of locating a
dataset, especially for those organizations with hundreds or thousands of datasets to
manage.
To explore catalogs:
1. Select Tools > Catalogs > Catalog Explorer.
9-35
Working with GeoMedia
2. Select the appropriate catalog connection to display the treeview of Available catalog
records.
3. Select the appropriate catalog record.
4. Select the Description tab to view the corresponding information.
5. Select the Identification tab to view the corresponding information.
6. Select the Spatial tab to view the corresponding information.
7. To display the map/data if the map display area contains the message Click the Show
Map button to view the data, click Show Map on the toolbar.
8. Select the Attributes tab to view the corresponding information.
9. Select the Search tab to perform a metadata search.
10. Select the Text/Data Criteria bottom tab; then enter the appropriate search criteria.
11. Select the Spatial Criteria bottom tab; then enter the appropriate search criteria.
12. Click Search.
The results are displayed in the Search results treeview.
9-36
Working with Catalogs
Another client has called to ask if you have any U.S. data in your warehouses of worldwide
feature classes. To perform a search on all of the feature classes described in the catalog,
you select the Search tab and then the Spatial Criteria subtab. Define a region around the
U.S. in the displayed map – zoom in, if you would like. Then click Search, which
generates a search result set based on the bounding region.
9-37
Working with GeoMedia
1. To perform a related search using a keyword, select the Text/Date Criteria subtab of
the Search tab. Type highway in the Enter keywords field, click Add, and then
click Search.
Notice that the feature classes appearing as Search Results is reduced; you have
generated a search result set based on the spatial selection and on the keyword.
2. The client is happy you found the data, but now has asked you to provide a digital
copy of the data in HTML format. To do this, use the Export Catalog Record
command, selecting the catalog records included in your search results as the metadata
to export. Then select the HTML export format (keeping the advanced defaults and
including the map display), and then perform the export.
3. You were quickly able to query and to display for the client key information on U.S.
geospatial datasets that are related to highways. Your client is really seeing the value
of metadata management.
FGDC: U.S. Federal Geographic Data Committee, which supports the “Content Standard
for Digital Geospatial Metadata.” See http://www.fgdc.gov/metadata.
GCE: GeoMedia Catalog Exchange. A file format for the exchange (export and import)
of metadata records among GeoMedia Catalog users.
Geospatial Catalog: See Catalog.
Geospatial Metadata: Data that describes the content, quality, condition, and other
characteristics of geospatial data.
ISO: International Organization for Standardization, which is the world's largest
developer of standards. An ISO technical committee is responsible for the development of
ISO-19115 and ISO-19139, which are international standards and technical specifications
9-38
Working with Catalogs
Software Delivery
GeoMedia Catalog functions will be delivered as part of GeoMedia by using the default
delivery folder of C:\Program Files\GeoMedia. These are referenced as “<HOME>” in
the remainder of this section.
GeoMedia software components will be delivered to the folder <HOME>\Program.
GeoMedia Catalog functions require the delivery of database(s), style sheet(s), and other
files that will be located in the structure detailed in the following table.
Catalog Components Delivery Table
Files/Folders Description Location
CatalogTemplate.mdb Template access Catalog <HOME>\Templates\Catalogs
required for the New
Catalog command.
Catalog_Samples.mdb Sample Catalog required <Drive>:\Warehouses\Catalogs
for the New Catalog
Connection command.
World.mdb GeoMedia warehouse used <Drive>:\Warehouses
in the Catalog Explorer
command as the default
search map.
Oracle Scripts Template scripts required <Home>\Program
for creating Oracle
catalogs.
SQLServer Scripts Template scripts required <Home>\Program
for creating SQL Server
catalogs.
9-39
Working with GeoMedia
9-40
Analyzing GeoMedia Data
GeoMedia provides various ways for you to analyze your data using queries. Broadly, a
query is a request for information. Specifically, it is a request for the features that meet the
conditions you define and/or a request for certain information about the features. The
software gives you several ways to define these conditions.
To find features that meet your conditions, you query feature classes in any open
warehouse in the GeoWorkspace or query previously built queries. Queries are stored in
the GeoWorkspace so that, if a warehouse changes, all queries are updated each time they
are displayed. If a default spatial filter is defined for the warehouse connection at the time
the query is defined, the query is limited to the geographic area defined by the spatial filter.
Furthermore, spatial filters, feature classes, interact in three scenarios. First, if a feature
class that has never been accessed in the GeoWorkspace, the feature class has never had a
spatial filter created for it and so gets the default spatial filter. Second, if the feature class
has already been accessed in the GeoWorkspace, it has its own spatial filter and so does not
get the default spatial filter. Third, a query always has its own spatial filter.
The software scans the query area for the features that meet your conditions and then
displays the results geographically in a map window or in tabular format in a data window.
An entry for the query result is added to the legend, and its display can be manipulated
through the legend properties like any other legend entry. In fact, once built, a query can
be treated just like a feature class.
10-1
Working with GeoMedia
For example, a spatial query would return all parcels that are within 500 feet of a
railroad.
• A combined attribute and spatial query requests features with certain attribute values
that meet specified spatial conditions, such as overlapping or being contained by
another feature class or query.
For example, a combined attribute and spatial query would return all parcels with an
assessed value of $50,000 or more that are within 500 feet of a railroad.
Note: Attribute filtered spatial queries cannot be run against the results of a Spatial
Intersection query unless the results are first output to a feature class.
• To retrieve information from an MGSM warehouse, you build linear network queries.
MGSM stores distributed attributes that are linearly referenced to network linear
features such as roads, rivers, or pipelines. Linear network queries are a type of
combined spatial and attribute query.
For example, a linear network query would return all segments of a railroad that
intersect accident sites.
10-2
Analyzing GeoMedia Data
For example, the following query would find all parcels where the accessed value is greater
than the average accessed value for all parcels:
. . . where assessed_value > (select AVG (assessed_value) from
parcels);
You create compound expressions with the and or the or operator and group expressions
with parentheses ( ).
The and operator means that both statements must be true to produce a query result.
For example, the following query would find all parcels where the owner is J. Smith and
the assessed value is over $50,000:
. . . where parcel_owner = ‘J. Smith’ and assessed_value > 50000;
The or operator means that either statement can be true to produce a query result.
For example, the following query would find all parcels where the owner is either J. Smith
or M. Brown:
. . . where parcel_owner = ‘J. Smith’ or parcel_owner = ‘M. Brown’;
Parentheses can be used to control the order in which an expression is evaluated. By
default, all relational comparison operators (<, >, <>, =,<=, >=) are evaluated first, from
left to right. The logical and operator has a higher precedence than the logical or operator;
so all and operations are performed first. You can use parentheses to change the order.
For example, to find all roads with more than four lanes or divided roads that were paved
before 1994, you would create the following filter:
last_paved < 1994 and num_lanes > 4 or divided = ‘yes’;
Because of the precedence of the and operator, you would get all roads that are divided or
all roads where the number of lanes is greater than four and paved before 1994. To get the
correct results, you would use parentheses as follows:
last_paved < 1994 and (num_lanes > 4 or divided = ‘yes’);
The software uses SQL for creating attribute-filter queries, but its point-and-click interface
allows you to build a query without knowing SQL.
SQL Dialects
Different connection types require different SQL dialects. For example, Access
connections require pound sign (#) delimiters around date and time values, whereas
MGSM connections require the keyword TIMESTAMP followed by single-quote (‘)
delimiters.
The software formats SQL statements into the appropriate dialect for each connection type
except MGE and MGDM. The SQL dialect for MGE and MGDM connections depends on
the ODBC driver. For date and time queries—and possibly others—you must manually
edit the SQL text on the Filter dialog box to issue a successful query.
10-3
Working with GeoMedia
10-5
Working with GeoMedia
SQL Server See Attribute Filter See Attribute See Attribute Filter See note below.
GDO server SQL Pipe. Filter Pipe. Pipe.
Note: If user-defined format is “Date”, the date value is expressed as YYYY-MM-DD, delimited by single
quotes. If user-defined format is “Time”, the time value is expressed as HH:MM:SS, delimited by single quotes.
If user-defined format is “Date/Time”, the date/time value is expressed as YYYY-MM-DD HH:MM:SS,
delimited by single quotes.
2. On the Options dialog box (Tools > Options), select the Confirm show value
operations check box on the General tab to turn on or off the display of the
confirmation dialog box that appears if you click Show Values when you define a
filter; then click OK.
3. From the Select features in drop-down list, select a feature class or query.
4. If you know SQL and the attribute you want to query, type the where clause in the
Filter box and skip to Step 10. Otherwise, click Filter to display the Filter dialog
box.
10-6
Analyzing GeoMedia Data
5. Select an attribute from the selected feature class and click the down arrow below the
Attributes box, or double click an attribute.
Note: MGE features use the MSLINK value as an identifier. Features in an MGE
warehouse that have graphics but no attributes do not have an MSLINK value. When a
query is performed on such features, the MGE data server assigns them MSLINK
values that are numbered sequentially in the order that they are encountered—that is,
sequentially within each category in map-table order. The first MSLINK number
assigned is 16777217.
When you view attributes in a data window or on the Filter dialog box, non-attributed
features will have the MSLINK identifier assigned by the MGE data server, whereas
attributed features will have an MSLINK, a MAPID, and other attributes.
6. Select an operator. If you select an operator from the drop-down list, you must click
the down arrow to make it appear in the Filter box.
7. To see the list of values in the selected attribute, click Show Values.
If you checked Confirm show value operations on the Options dialog box, the
confirmation message appears.
8. Type a value for the attribute in the Filter box, or select one from the list of values and
click the down arrow, or double click an attribute. You can also type a value in the
Values box.
9. Verify that the SQL statement in the Filter box is correct, and click OK.
Note: For date and time queries—and possibly others—on MGE and MGDM
connections, you may have to manually edit the SQL text on the Filter dialog box to
issue a successful query. This is due to the varying SQL dialects of the various
available ODBC drivers.
10-7
Working with GeoMedia
10. On the Attribute Query dialog box, accept or override the default query name, and
optionally type a query description.
11. Verify that the Display query in map window check box is selected, and change in
the Map window name field, if appropriate, the map window in which to display the
query results.
OR
To not display the query results in a map window, uncheck the Display query in map
window check box.
12. Optional: Click Style, and change the default style on the Select Style dialog box.
13. Verify that the Display query in data window box is checked, and change in the Data
window name field, if appropriate, the data window in which to display the query
results.
OR
To not display the query results in a data window, uncheck the Display query in data
window box.
14. To display the query, click OK.
The query is displayed in accordance with the query options you set.
See the ODBC documentation for instructions.
10-8
Analyzing GeoMedia Data
Touch returns features that touch the defined features in any way—meeting, overlapping,
containing, or being contained by.
touch with the Not qualifier
Contain returns features that surround defined features. Contained features can touch but
not overlap the borders of the surrounding features. Points cannot contain other features.
contain with the Not qualifier
Are contained by returns features that fall completely within the defined features.
Contained features can touch but not overlap the borders of the surrounding features.
are contained by with the Not qualifier
Entirely contain returns features that surround defined features. Contained features
cannot touch or overlap the borders of the surrounding features. Points cannot entirely
contain other features.
entirely contain with the Not qualifier
Are entirely contained by returns features that fall completely within the defined features.
Contained features cannot touch or overlap the borders of the surrounding features.
are entirely contained by with the Not qualifier
10-9
Working with GeoMedia
Meet returns features that fall next to the defined features, touching without overlapping.
meet with the Not qualifier
Are spatially equal returns features that occupy the same space and location. Features
must be of the same type to be spatially equal.
are spatially equal with the Not qualifier
Are within distance of returns features having any part located within the specified
distance of the defined features. If either the starting or ending point of a linear feature, for
example, falls within the specified distance, it is returned.
are within distance of with the Not qualifier
Note: The spatial operators used by Spatial Query are different from the Oracle Spatial
Cartridge specific operators used by the Native Query command when querying an Oracle
warehouse.
2. From the Select features in drop-down list, select a feature class or query.
3. Optional: To create a combined query, define an attribute filter for either or both
feature classes or queries. Click Filter to display the Filter dialog box; then define the
appropriate attribute filter.
4. Accept the default spatial operator for the that clause or override it by selecting another
operator from the That drop-down list.
5. Accept or override the default not qualifier by checking or unchecking the Not check
box.
6. If you selected the are within distance of operator in Step 5, type the zoning distance
in the Distance field, and select the appropriate units from the Units drop-down list.
7. Select the second feature class or query from the Features in drop-down list.
8. Optional: Define an attribute filter as described in Step 4.
9. Accept or override the default query name, and optionally type a query description.
10. Verify that the Display query in map window check box is selected, and change in
the Map window name field, if appropriate, the map window in which to display the
query results.
OR
To not display the query results in a map window, uncheck the Display query in map
window check box.
11. Optional: Click Style, and change the default style on the Select Style dialog box.
12. Verify that the Display query in data window box is checked, and change in the Data
window name field, if appropriate, the data window in which to display the query
results.
OR
10-11
Working with GeoMedia
To not display the query results in a data window, uncheck the Display query in data
window box.
13. To display the query, click OK.
The query is displayed in accordance with the query options you set.
In addition, you can set the style for the map window for optimum display results. One can
think of this command as producing results that are the opposite of those produced by
Spatial Difference as shown in the following two figures from the delivered Madison
County, Alabama sample data set.
Note: Attribute filtered spatial queries cannot be run against the results of a Spatial
Intersection query unless the results are first output to a feature class.
10-12
Analyzing GeoMedia Data
Spatial Intersection results with the touch operator showing the intersection of the Major
Water Polygons features and the Parks features:
10-13
Working with GeoMedia
• Spatially intersect roads to districts; then use the spatial intersected roads to input to
Aggregation or Analytical Merge for total mileage of roads X district.
• Spatially intersect address points with voting districts to combine the attributes of both
the address and the district. The result can then be output to a warehouse such as
Access and used with Report Wizard to run a report on the addresses X district.
2. Select the first feature class from the top Features in drop-down list.
3. Optional: Click Filter to define an attribute filter for the selected feature class on the
attribute filter dialog box.
4. Optional: Change the default spatial operator in the That drop-down list; then verify
the operator in the illustration below the operator field.
5. Select the second feature class from the bottom Features in drop-down list.
6. Optional: Click Filter to define an attribute filter for the selected feature class on the
attribute filter dialog box.
7. Optional: Change the default value in the Query name field.
8. Optional: Type a query description in the Description field.
9. Verify that the Display intersection in map window check box is selected, and
change in the Map window name field, if appropriate, the default active map window
in which to display the new spatial intersection.
OR
To not display the new spatial intersection in a map window, uncheck the Display
intersection in map window check box.
10. Optional: Click Style, and change the default style on the Select Style dialog box.
10-14
Analyzing GeoMedia Data
11. Verify that the Display intersection in data window box is checked, and change in
the Data window name field, if appropriate, the default new data window in which to
display the new spatial intersection.
OR
To not display the nongraphic attributes of the new spatial intersection in a data
window, uncheck the Display intersection in data window check box.
12. Click OK to generate and to display the new spatial intersection in the specified map
window and/or data window.
Note: You may need to adjust the style for better viewing.
See “Defining Spatial Queries” in this chapter for a description of the spatial
operators.
See “Defining Attribute-Filter Queries” in this chapter.
10-15
Working with GeoMedia
Spatial Difference results showing the difference of Major Water Polygons features and
the Parks features. The difference is shaded gray.
10-16
Analyzing GeoMedia Data
2. Select the feature class to be masked from the From features in drop-down list.
3. Optional: Click Filter to define an attribute filter for the selected feature class on the
attribute filter dialog box.
4. Select the feature class to be used as a mask from the Subtract features in drop-down
list.
5. Optional: Click Filter to define an attribute filter for the selected feature class on the
attribute filter dialog box.
10-17
Working with GeoMedia
Note: You may need to adjust the style for better viewing.
10-18
Analyzing GeoMedia Data
Spatial Cartridge engine and the speed of the hardware containing the database. The
performance of this command depends on how well you tune the Oracle database and the
Spatial Cartridge. Performance also depends on the nature of your query, for example, if
your query retrieves a small number of feature instances out of a large data set.
A spatial query defines the relationship between two feature classes using a spatial
operator. The spatial operator forms the that clause of the query statement.
The following spatial operators are available:
10-19
Working with GeoMedia
Note: The spatial operators used by Native Query when querying an Oracle warehouse
are specific to Oracle Spatial Cartridge and are different from those used by the Spatial
Query command.
10-20
Analyzing GeoMedia Data
5. From the That drop-down list, select the appropriate spatial operator(s).
6. From the Features in drop-down list, select the appropriate constraining feature class.
7. Optional: Click Filter to define an attribute filter for the selected constraining feature
class on the attribute filter dialog box.
8. Accept the default query name, or type an appropriate name in the Query name field.
9. Optional: Type an appropriate query description in the Description field.
10. Verify that the Display query in map window check box is selected, and change in
the Map window name field, if appropriate, the default active map window in which
to display the query results.
OR
To not display the query results in a map window, select the Display query in map
window check box to remove the checkmark.
11. Optional: Click Style, and change the default style on the Select Style dialog box.
12. Verify that the Display query in data window box is checked, and change in the Data
window name field, if appropriate, the default new data window in which to display
the query results.
OR
To not display the nongraphic attributes of the query results in a data window, click the
Display query in data window box to remove the checkmark.
13. Click OK to generate and to display the native query results in the specified map
window and/or data window.
Note: If you do not select either a map window or a data window, the query is only
appended to the query folder.
10-21
Working with GeoMedia
10-22
Analyzing GeoMedia Data
positive direction of a highway (the direction of increasing distance). If you use a fixed
offset that is a negative number, the offset is to the left of the centerline when you are
looking in the positive direction of a highway (the direction of increasing distance).
Scaled offsets are different because the offset display is depends on the value used in the
database offset column (Scale attribute). If you use a scaled offset size that is positive
and the offset value in the database is also positive, the offset is displayed on the right of
the centerline. If your database offset value is negative, the offset is displayed to the left of
the centerline. However, if you use a scaled offset size that is negative and the database
offset value is positive, then the offset is displayed to the left of the centerline. If your
database offset value is negative, the offset is displayed to the right of the centerline.
The command retrieves the scale attribute value from the database and multiplies it by the
scale factor to obtain the offset distance in the specified unit of measure. The scale factor is
the server the command applies to the value of the scale attribute of the segment.
3. From the Select features in drop-down list, select the feature class on which to query.
4. Optional: Click Filter to define an attribute filter and/or an overlay filter for the
selected feature class on the Filter dialog box.
5. Select the appropriate offset type(s), Fixed offset and/or Scaled offset.
6. Enter the appropriate corresponding offset parameters.
7. Accept the default query name, or type an appropriate name in the Query name field.
8. Optional: Type an appropriate query description in the Description field.
10-23
Working with GeoMedia
9. Verify that the Display query in map window check box is selected, and change in
the Map window name field, if appropriate, the default active map window in which
to display the query results.
OR
To not display the query results in a map window, select the Display query in map
window check box to remove the checkmark.
10. Optional: Click Style, and change the default style on the Select Style dialog box.
11. Verify that the Display query in data window box is checked, and change in the Data
window name field, if appropriate, the default new data window in which to display
the query results.
OR
To not display the nongraphic attributes of the query results in a data window, click the
Display query in data window box to remove the checkmark.
12. Click OK to generate and to display the native query results in the specified map
window and/or data window.
Note: If you do not select either a map window or a data window, the query is only
appended to the query folder.
10-24
Analyzing GeoMedia Data
For example, a query for accidents that differ from construction returns only segments
containing accidents where there is no construction.
You can also apply attribute filters and spatial queries to linear network queries. For
example, you can build a query to find roads that intersect construction and touch
wetlands where geese have nests.
10-25
Working with GeoMedia
Note: The Add Overlay and Remove Overlay buttons only appear on the Filter
dialog box if you are querying a feature class from an MGSM warehouse.
13. On the overlay tab, select an attribute, and click the down arrow below the Attributes
box.
14. Select an operator and, if necessary, click the down arrow in the Operators box.
15. To see the list of values, click Show Values.
16. Type or select a value, and click the down arrow below the Values box.
17. To add an additional overlay, click Add Overlay, and repeat Steps 9 - 15.
Note: Clicking Remove Overlay removes the overlay displayed on the active tab,
thereby removing that portion of the query statement.
Manipulating Queries
The software provides various commands that allow you to manipulate queries in order to
obtain the exact results you need for each specific condition of your workflow.
10-26
Analyzing GeoMedia Data
Displaying Queries
In general, a query is displayed automatically when you build it. If you build a query
without displaying it—to use in another query or for creating a thematic display, for
example—there are many ways to display it later.
To display a query:
Add the query to the legend. This displays queries in the
active map window and ignores query option settings.
10-27
Working with GeoMedia
Note: This dialog box is resizable for better viewing of long query names.
Furthermore, you can use standard Microsoft procedures for multiple selections using
CTRL and SHIFT.
2. From the Queries dialog box, select the query you want to display, and click Display.
3. On the Display Query dialog box, select a window in which to display the query.
4. To display the query in a new window, type a name in the appropriate window name
field. To display the query in an open window, select it by name from the drop-down
list.
5. To change the style of a query display in a map window, click Style, define the style,
and click OK on the Style dialog box. The style of the query depends on the feature
class type returned by the query.
6. Click OK.
Editing Queries
Once a query has been defined, you can change everything except the feature class or
query on which it is built. If you change a query name, the new name is not changed in
any existing legend-entry titles, data-view captions, or dependent query names. Editing a
query that is used as input to other queries may affect the other queries.
If a feature class or query that is used in a query changes, the dependent query is also
affected:
• Changes to the definition of a feature class or query can invalidate a dependent query.
If the dependent query is an attribute-filter query, its display will be removed from the
map window. Data windows associated with the feature class will not contain any data
if the dependent query is rendered invalid by the change.
• If you close the connection to a warehouse containing a feature class on which a query
is dependent, the data will be removed from the display, but you will have to edit the
legend to remove the entry.
10-28
Analyzing GeoMedia Data
To edit a query:
1. Select Analysis > Queries.
2. On the Queries dialog box, select the query you want to edit and click Properties.
The type of query selected determines what is displayed on the Query Properties
dialog box.
For example, if you selected a query that is a label, the Query Properties dialog box
appears with the options that were available on the Join or the Label dialog box.
Note: The Query Properties dialog box has a different appearance with queries
generated from the following commands: Analyze Geometry, Attribute Filter,
Geocode Addresses, Geocode Coordinates, Join, Label, Native Query, Spatial
Difference, Spatial Intersection, and Spatial Query. This dialog box also varies if
the query was created with Spatial Query in GeoMedia version 4.0 and earlier or in
GeoMedia version 4.0 Service Pack 1.
To delete a query:
1. Select Analysis > Queries.
2. On the Queries dialog box, select the query or queries you want to delete and click
Delete.
10-29
Working with GeoMedia
Unloading Queries
Unload lets you unload the data associated with one or more queries and thus free up
memory by closing the selected queries.
To unload a query:
1. Select Analysis > Queries.
2. On the Queries dialog box, select the query or queries you want to unload; then click
Unload.
The bitmaps of the selected queries are updated to reflect the new unloaded status.
10-30
Analyzing GeoMedia Data
This dockable control displays the name of the currently active spatial filter (if any) in a
read-only field and contains command buttons for defining and managing spatial filters, as
discussed in the following sections. This control is persistable. Thus, if you save a
GeoWorkspace with the control hidden, when you next open this GeoWorkspace, the
control is not displayed. To display the control again, you must select Warehouse >
Spatial Filter, or select Spatial Filter from the right mouse menu.
10-31
Working with GeoMedia
By Placing a Fence
You can define a spatial filter by simply following the standard digitizing prompts to place
one of the following fence types in the active map window:
• Rectangular Fence – (Rectangular Fence Filter)
• Polygonal Fence – (Polygonal Fence Filter)
• Circular Fence – (Circular Fence Filter)
10-32
Analyzing GeoMedia Data
This method is similar in to filtering by select set, but lets you select a reference feature
instance by name attribute. This method is thus a flexible alternative to named spatial
filters, effectively allowing any named reference feature instance to serve as a spatial filter.
This permits the straightforward creation of attributed spatial filtering feature classes,
which are easier to manage than named spatial filters.
You first select the reference feature class from the list of reference feature classes. You
can only select features of type area or compound, or image geometry. This selection then
enables selection of an attribute from an alphabetical list of attribute names of the selected
feature class. After selecting the appropriate attribute, you display a list of the features to
use as a spatial filter. The command then creates the filter geometry and performs the
filtering. You can select multiple items, and the merged geometry of the selected reference
features is displayed in the active map window.
To create the final filter geometry, feature geometries that are not areas (for example, linear
or point geometries from a compound feature class) are first discarded. Then if the number
of selected feature instances is more than one, a single geometry is created by merging the
remaining feature instances’ geometries. In case the final geometry (single or merged)
does not contain area geometries, the command displays an error message.
10-33
Working with GeoMedia
3. Select the appropriate reference feature from the Select features from treeview.
4. Select the appropriate Feature name attribute from the drop-down list.
5. Click Show Values.
10-34
Analyzing GeoMedia Data
6. Select the appropriate attribute value(s) from the Features to use as spatial filter list;
then click OK.
Note: The Features to use as spatial filter list supports multiple selection.
The filter geometry is created, the dialog box is dismissed, and filtering is performed.
Merged geometry of the selected features is displayed in the active map window.
10-35
Working with GeoMedia
Click Polygonal Fence on the dockable control; then draw a polygonal fence to define
the filter area.
OR
Click Circular Fence on the dockable control; then draw a circular fence to define the
filter area.
Filter geometry is created from the digitized fence, and filtering is performed.
Note: Warehouse > Export to commands always honor the default spatial filter whether
or not the feature(s) have been previously referenced by the GeoWorkspace.
10-36
Analyzing GeoMedia Data
Entirely Inside—Lets you access only data that falls completely within the boundaries of
your spatial filter geometry.
Coarse Overlap—Lets you access all data inside or overlapping the boundaries of your
filter, but it may also return some additional features. The purpose of this operator is to
allow the data server to quickly and efficiently return data according to its internal spatial
indexing system, without doing individual geometry comparisons against the boundaries of
your spatial filter geometry. This processing varies with server efficiency and data
complexity.
Overlap—Lets you access any feature that falls within or touches the boundaries of your
spatial filter geometry.
10-37
Working with GeoMedia
The Coarse Overlap spatial operator is available for Oracle, Access, MGDM, and SQL
data servers. If you choose this spatial operator with any other data server, it automatically
reverts to the Overlap spatial operator.
Each database has a different indexing system, so the spatial filtering results may vary
drastically. The Access data server employs a Quad-Tree algorithm for its spatial
indexing. When applying a spatial filter with the Coarse Overlap spatial operator to data
in an Access warehouse, the results returned include all features overlapping the spatial
filter boundary, and any features that lie on certain Quad-Tree boundaries. This often
includes strips of features that are at some distance from the spatial filter boundary,
particularly for linear and areal features.
The Oracle data server generally employs an R-Tree algorithm for its spatial indexing.
Oracle uses a two-pass filtering method, and Coarse Overlap is always used as the first
pass filter. The Coarse Overlap filter always provides the best performance in an Oracle
environment.
Spatial Filter Options also lets you choose to filter the geometry by using the minimum
bounding rectangle (MBR) of the defined geometry, the Geometry extent (MBR), which
is faster because filtering is not unnecessarily bogged down by very complex area
definitions, or by using on the default actual defined geometry (Actual geometry), which
is more precise.
This command also gives you the option of fitting (auto fit) the filter with the MBR value
of the active spatial filter, with a margin of 5% in the map window of your choice from all
those in the GeoWorkspace (Automatically fit filter in check box, off by default). And
you can optionally display the currently active spatial filter in the active map window at all
times (Display filter on by default). Finally, you can change the area style used to display
the active filter in the active map window through the Select Style dialog box.
10-38
Analyzing GeoMedia Data
Remove Filter
Remove Filter (No Active Filter) simply removes the existing active named spatial filter
with a single click. The active filter can be a user-named filter or a system-defined filter.
This dialog box displays the currently active spatial filter name in the Active filter field, in
the same manner as the dockable control. This field is always enabled, locked, and grayed
to indicate it is read-only.
Also displayed are the names of all the GeoWorkspace spatial filters, except the active
filter, in the Named filters list. The default spatial filter name is SpatialFilter<n>, where
n is a number determined at runtime to guarantee uniqueness. You can select a filter from
this list to perform filtering with the geometry and spatial operator of the selected item by
clicking Apply or double clicking on the item, and the filter definitions of the selected
10-39
Working with GeoMedia
items are displayed on the active map window. The Filter by geometry extent and
Spatial operator settings on the Spatial Filter Options dialog box are ignored.
You can change the name of a filter by selecting it from the list, clicking Name, and then
typing a new name on the Name dialog box. The Name button, however, is only enabled
if there is an active spatial filter that is not a user-named spatial filter. Thus, only system-
defined filters can be named and stored in the spatial filters collection. Also, you can never
rename a named spatial filter. This adds the active spatial filter definition to the filter list
with the name specified, and with the spatial operator currently defined for the command.
The filter geometry added is either the actual active filter geometry or the MBR of the
active filter geometry, according to the Filter by geometry extent setting from the Spatial
Filter Options dialog box.
You can easily delete spatial filters by simply selecting one or more names from the list of
named filters, and then clicking Delete. Deleting a spatial filter does not affect any
existing legend entries, data windows, or queries.
3. To apply an existing filter, select a name from the Named filters list; then click Apply.
OR
Double click a filter name.
Filtering is performed with the filter geometry and spatial operator of the selected filter.
4. To rename the active filter (not a named spatial filter), click Name.
10-40
Analyzing GeoMedia Data
5. Type the new name in the Name field; then click OK.
6. To delete a filter, select the name(s) from the Named filters list; then click Delete.
10-41
Working with GeoMedia
All the selected feature classes are set as reference features. Any unselected feature
classes that were previously reference features are reset as non-reference features.
Note: If a connection node is checked/unchecked, all the feature classes available in the
connection are checked/unchecked.
10-42
Analyzing GeoMedia Data
7. Select Alabama from as the feature to use as a spatial filter; then click OK to perform the
filtering.
10-43
Working with GeoMedia
If a category contains design files for multiple feature types, then the MGE or MGSM
server will have to search design files that have no elements relevant to the query. So, if
you have multiple graphics-only features in a single category, a query will take longer than
if the features were separated into different categories. Furthermore, the MGDM server
uses additional memory when it must search for graphics-only features.
One way to improve the performance of queries on graphics-only features is to limit the
size of the categories. The best way, of course, is to clean up your MGE and MGSM data.
Note: The active queue may be closed by various actions. These include placing a spatial
filter in the GeoWorkspace, closing the connection containing the queue information, and
changing the attribute filter query if you are looking at a query through Queued Edit. If
this occurs, you need to re-open the queue to continue your workflow.
qualifying anomaly is created, a new item appears in the queue. Dynamic queues are
stored in the GeoWorkspace.
In static queues, if you make changes in the queue, the original data does not update. A
static queue is a snapshot of the original data; each item of the queue is maintained
independently. For example, the number of items in a validation static queue does not
decrease as the anomalies are corrected in the original data. Instead, the static queue
remains a record or snapshot of the problems found. Static queues are stored in the
warehouse.
Note: The dynamic and static queue concepts do not apply to the standard review items.
10-45
Working with GeoMedia
In the following example, the queue is designated as a dynamic queue by the yellow icon
to the left of the queue name. A static queue is designated by a white icon.
You can use this control to select standard review items or a queue from the drop-down list
of feature classes, queries, categories, and queues available for review.
Immediately after you make a selection, by default the first item of the sequence is
displayed in the active Queued Edit Map Window and the active Queued Edit Data
Window (if displayed). However, if the selected queue has previously been active during
the session, the previously active item is remembered.
After displaying the first item you can perform the following management tasks:
• Navigate through the subsequent items • Set options for viewing the items
• Sort the items • Track the status of queue items
• Delete queue items by status • Delete queues
• Create subqueues • Show queue statistics
• Access additional options and commands to manipulate the standard review items and
queues
10-46
Analyzing GeoMedia Data
When the Queued Edit Data Window is present during a navigation (that is, a sequential
review of the selected items), this window is scrolled in such a way that the current item
(record) is shown as the first record in the visible data view grid, and the row selector
image points to this row.
Note: If you exit the GeoWorkspace while a queue is active, when you reopen the
GeoWorkspace, the queue is inactive until you reselect it.
The control provides circular queue navigation by default, where in navigating before
(beyond) the first (last) record moves to the last (first) record of the queue. When you
close a queue, the dockable control is cleared, and the review items are removed from the
Queued Edit Map Window legend. However, the Queued Edit Map Window and
Queued Edit Data Window remain open.
Note: The Status Review/Update is disabled for queues generated by the GeoMedia
Fusion Advanced Geometric Validation > Validate Geometry command.)
10-47
Working with GeoMedia
The item graphics are displayed to the Queued Edit Map Window by placing each item
geometry in the Queued Edit Map Window legend. On initial creation, there is one
legend entry per geometry field identified, but you can add other feature classes or queries
to this legend. You can also change the order of item legend entries and style, and the
modified order and style is maintained upon a move next, move previous, move first, or
move last action in the sequence.
To customize the map, you can set options for defining an item locator and for viewing the
map window display on the Queuing Options dialog box, which is accessed by clicking
the Options button on the control.
The Zoom In/Out and Fit current queue item buttons on the dockable control let you
control the map window view. They make use of the values on the View tab in the Zoom
factor field and the Fit and zoom out field, respectively. The appropriate view action is
based on the MBR of the current queued item as determined by the select set.
10-48
Analyzing GeoMedia Data
Optionally, you can let other map windows with the window properties of “center at
current scale” or “zoom and fit” to be honored by Queued Edit during navigation through
the review items. This works in the same way as when reviewing a query with the window
properties of center or zoom and fit enabled.
Note: The features or the geometry that make up the queued item are not required to be in
the legend of the other map windows for this to work as it does for a query.
The following example illustrates the view before selecting the Honor setting from Map
Window Properties during queue navigation check box.
The following example illustrates the view after selecting the check box during navigation,
with the Fit and zoom out map window property set to 500%.
The active row in this window indicates the item that is displayed in the Queued Edit
Map Window. If you change the active row in the data window, the map window view
moves to the location of that item, and the Queued Edit control shows the item number that
corresponds to the active row. You can sort the active items by attribute in ascending or
descending order through Additional Commands > Sort ascending/descending.
If you have a read-write warehouse connection, you can review and edit the features and
values in the Queued Edit Data Window. Any changes you make in the data window are
reflected in the Queued Edit Map Window and other map windows. In static queues, you
cannot delete rows from the data window. In dynamic queues, you may be able to delete
rows, depending on what command created the queue.
the sequence of review items or make standard review items or a queue active. If the
button is raised and the data window exists, the window is deleted.
Note: If the current queue item is deleted or removed from the queue, the next item
becomes current.
Add item to select set—Adds the graphic elements of the review items to a select set as
you navigate through the items. This option is for standard review items and for queues.
Clear Queuing Legend when queue closes—Clears all Queued Edit Map Window
legend entries when you close a queue. This option is for standard review items and for
queues.
Show number of items in a queue—Displays the number of located queue items next to
the corresponding name on the Queued Edit control. For dynamic queues from closed
connections, the number displays as (0). This option is for queues only.
10-51
Working with GeoMedia
Note: When this option is set, it may take longer for the queue name lists to display
because a count of each queue is being made. Therefore, when queues contain many items,
setting this option is not recommended.
Note: Delete Queue, Create subqueue, and Show statistics are enabled when a
GeoWorkspace is open, whether a queue is selected or not.
10-52
Analyzing GeoMedia Data
Create subqueue—Creates a subqueue for any queue through the Create Subqueues
dialog box. When you create a subqueue, it becomes the active queue. A subqueue is a
user-defined subset of a queue, that is, a view into a specific queue. You can create
subqueues for queues but not for subqueues. The items in the subqueue remain in the
parent queue. If you delete the parent queue, the subqueues are also deleted. Subqueues
are the same type of queue as parent queues. That is, if the parent queue is dynamic, the
subqueue is dynamic; if the parent queue is static, the subqueue is static. As with parent
queues, dynamic subqueues are designated on the Queued Edit control by a yellow icon,
static subqueues by a white icon.
To create a subqueue, you first select the parent queue and then name the subqueue. You
can create a subqueue based on one of two criteria: attribute filter (the default) or spatial
filter. If an attribute filter, you select the Attribute filter option and then click Define,
which displays the GeoMedia standard Attribute Filter dialog box for you to define an
attribute query filter. If a spatial filter, you select the Spatial filter option and then select a
filter from the corresponding drop-down list of spatial filters defined for the
GeoWorkspace. This command is for queues only.
Show statistics—Displays information about a queue and its items on the Show Statistics
dialog box. This information includes the name of the queue, the name of the process that
created the queue, and the number of items in the queue. If the Status field is defined for
the queue, the information includes the number of items with each defined status. If
subqueues have been created, the information includes the number of subqueues, the names
of the subqueues, and the number of items in the subqueues. You can also generate a
queue report that displays in your default text editor. This command is for queues only.
10-53
Working with GeoMedia
Delete queue items by status—Deletes all the items in the active queue that have a
particular status through the Delete Queue Items by Status dialog box. This command is
for queues only.
If you want to use this control to change a series of statuses, select the Automatically
advance when status changes option on the General tab of the Queuing Options dialog
box before beginning this procedure.
Sort ascending/descending—Sort the active review items or queue and the Queued Edit
Data Window in ascending or descending order by attribute. This command is for
standard review items and for queues.
10-54
Analyzing GeoMedia Data
10-55
Working with GeoMedia
To create a predefined search, click New to display the New Search dialog box on which
you define properties for the new search. A predefined, or named, search consists of
parameterized SQL filter string for which parameter values are supplied when you run the
Search command.
You first select the search input from the Search for features in treeview list. This list
contains the feature classes, queries, categories, and reference features from the current
GeoWorkspace. You can then define a search parameterized filter string, such as
CITY_NAME='[Name of city]', by typing the filter string directly into the Filter field or
through the Filter button. Clicking Filter displays the standard Filter dialog box, which
lets you select the appropriate column names and values for your filter.
With the filter text string, the command searches the specified feature class or query for
features that have attribute values that match this string.
You can create a filter string containing placeholders for values to be typed in the Search
command dockable control. For example, if the filter string is CITY_NAME='[Name of
city]', the Search command has a one-row, two-column grid on its control with the
Name of city prompt in the first column, for the value to be typed in the second column. If
the filter string requires value substitutions indicated by the brackets with a prompt such as
CITYNAME like '[Name of city]', the command makes the value substitutions in the
10-56
Analyzing GeoMedia Data
filter string before it performs the query. This is the usual case. If no substitutions are
required, the command uses the search filter string as it is.
Note: When creating a filter string for text attributes, the search definition uses single or
double quotes (depending on the database type of the warehouse) around the character.
For example: Attribute = '[prompt]'
However, when creating a filter string for numeric attributes, the numeric attribute should
not be enclosed in quotes. For example: Attribute = [prompt]
Finally, you define the search name and an optional search description; then click OK.
Once created, the searches are located in the Searches folder, which is integrated with the
library system for sharing predefined searches at the enterprise level or between users.
You can also view and edit existing searches by selecting a search on the Searches dialog
box and clicking Properties to display the Search Properties dialog box.
This dialog box displays the current properties of the selected search and lets you change
the input (feature class, query, category member, or reference feature), filter string, search
name, and search description.
10-57
Working with GeoMedia
Finally, selecting one or more searches on the Searches dialog box and clicking Delete
deletes the selected search(es).
Performing Searches
The Search command lets you perform a search to locate a point of interest in the regular
map window and display the results in the Search Data Window. For example, you can
easily navigate to Parcels by Parcel ID number through a search. You can type a text
string to search the specified feature class or query for features that have attribute values
that match this string. Once the items are located through the search, you can edit or
perform any other task appropriate for your particular workflow. This command is a
tracker command, that is, it can remain active at all times if appropriate.
You can start Search if the active window is a map window and if there is at least one
active connection. If the command is active and the active window becomes a data
window, the command remains active, and you can perform a search. The command uses
the original search map window as the search window. If you delete the original search
map window, change the active window to one that is not a map window, and select the
command, an error message informs you that you need an active map window. If the
layout window becomes the active window, this command is not displayed.
The Search command lets you perform two types of searches:
• Ad hoc searches, created with the search string entered directly in the Search dockable
control applied to all applicable attributes. All attributes in the feature class are
searched for the specified value.
• Predefined searches, previously created through the Searches command with your
control over the SQL used for the search, identification of the attribute(s) to be
searched, and provision of caption(s) for each search operand.
You can perform both types of searches on either a warehouse-resident feature class or a
GeoWorkspace-resident query on the Search dockable control, which is displayed when
you select View > Search. Any search results are immediately displayed, and you can also
set options for viewing the result items. The active map window is fit to, or centered on,
the first result and all results are available for navigation and are also displayed in the
Search Data Window.
10-58
Analyzing GeoMedia Data
To create an ad hoc search, you select a feature or query (from the features, queries,
categories, and reference features drop-down list) to search, type an appropriate text value,
and then click Search to perform the search and to display the results, as in the following
example. The Search command constructs an attribute query, executes it, and feeds the
results into the Queued Edit control.
10-59
Working with GeoMedia
If the attribute value entered is numeric, the constructed query searches all Text and Memo
fields for the entered value and compares all numeric fields to see if they are equal to the
entered value. If the attribute value entered is not numeric, the constructed query searches
all Text and Memo fields for the entered value. For the non-numeric comparisons, the
constructed string uses the like operator and assumes that you have entered the appropriate
wildcard characters if necessary.
For many database systems (Oracle, ArcView, and so forth) the percent sign (%) is the
multi-character wildcard character. For Access, the asterisk (*) is the multi-character
wildcard character. If the selected input is a query, the multi-character wildcard character
is the percent sign. Case sensitivity also varies depending on the database system. Access
queries are not case sensitive. Oracle queries are case sensitive. If the selected input is a
query, the new query is case sensitive.
Note: It may be helpful when first using this command to practice using the input query
you construct in the Analysis > Attribute Query command to ensure that it is correct and
returns appropriate results. You can then use it to perform your ad hoc search.
10-60
Analyzing GeoMedia Data
If the search does require input, an attribute (prompt)/value grid is displayed and enabled
along with the Options button. The Search button is enabled when you type a value for
the displayed attribute. To perform such a search, you type the appropriate value and then
click Search to display the results.
The number of rows in the grid is the same as the number of unique parameter values
defined when the search was created with the Searches command. The Search command
populates the left-hand column of the grid with parameter names extracted from the SQL
of the predefined search. The right-hand column is for your data entry. The command
substitutes the values entered for the SQL parameters, executes the query, and feeds the
results into the Queued Edit system. If the search requires more than two substitutions, the
grid has a vertical scroll bar, as in the following example.
10-61
Working with GeoMedia
Window is present during a queue navigation, the data window is scrolled and the row
selector image points to the highlighted current queue item (record).
See “Setting View Options” in the “Working with Queued Edit” section of this chapter for
more information on using this dialog box.
10-62
Analyzing GeoMedia Data
The Join command lets you specify feature classes or queries to join along with the
attributes within those feature classes or queries to join on, and the type of join operation to
perform. To create a join containing the appropriate features from each feature class, you
select the attribute in each feature class that contains the matching value. Attribute pairs
need not have the same name, but they must be the same data type. Only the values in
each attribute need to match.
Note: For values to match, they must be a perfect match. For example, “Kansas” is not a
perfect match for “Kansas<space>”.
You can also select and rename output columns in a join query through the Output
Attributes dialog box, which lists all the attributes. This enables you to see the final
resulting fields and to manipulate the field names and the order of the fields.
This command generates a read-write output query when at least one output attribute is
read-write. Output attributes are read-write when they come from a read-write attribute in
the input feature classes or queries, and when they are participating in an inner join or the
inner portion of a left outer or right outer join.
Defining Joins
You can create the following types of joins:
Inner join Records are added to the join only if the value from
the left field matches the corresponding value in the
right field. Records from either feature class that do
not match are not included in the join.
Left outer All records from the left feature class are included in
join the join, but only matching records from the right
feature class are included. Records from the right
feature class that do not match are not included.
Right outer All records from the right feature class are included in
join the join, but only matching records from the left
feature class are included. Records from the left
feature class that do not match are not included.
Full outer All records from both feature classes are included in
join the join.
In any of the outer joins, fields in records with unmatched values have null values.
Accordingly, join attributes with null values cannot be matched to any record in the other
feature class. If a record in one feature class contains a value that has a match in more than
one record in the other feature class, the query will return multiple copies of the first
record.
10-63
Working with GeoMedia
To display the join in a map window, the software uses the geometry from the left feature
class or query. So, when you create a join from two feature classes or queries that contain
geometries, select the feature class or query whose geometry you want from the left side of
the Join dialog box.
To create a join:
1. Select Analysis > Join.
2. From the Left side of join drop-down list, select the left feature class or query.
3. From the Right side of join drop-down list, select the right feature class or query.
4. From the lists of available attributes, select the attributes on which to create a join.
5. Click the down arrow to add the attribute pair to the Selected attribute pairs list.
Note: To remove an attribute pair, select it from the Selected attribute pairs list and
click the up arrow.
6. If the records have to match in more than one attribute, repeat Steps 2 - 5 to add
additional attribute pairs to the join.
7. Optional: Click Attributes to rename (click Rename) and/or to reorder the attributes
(using the arrow buttons and/or Select/Unselect All buttons to aid the
selecting/unselecting process).
10-64
Analyzing GeoMedia Data
See GeoMedia Help for more information on using this dialog box.
Note: When you hover over an entry in either list, a tooltip is displayed indicating the
name of the field.
Analyzing Geometry
Analyze Geometry calculates geometric statistics for each feature instance of a selected
feature class or query and displays the output as a query, which can be displayed in a map
window and/or data window.
The statistics available are as follows:
2
• Area features—area, perimeter, area/perimeter
• Linear features—length, azimuth, bearing
• Point features—geographic coordinate, projection coordinate, height
2
• Compound features—area, length, perimeter, area/perimeter , length, azimuth, bearing,
geographic coordinate, projection coordinate, height
10-65
Working with GeoMedia
10-66
Analyzing GeoMedia Data
After running Analyze Geometry, you can perform maintenance on the detected
conditions. Any changes you make to the geometries of the features for which the
statistics were calculated update the statistics automatically in any open map window
and/or data window displaying the affected features.
For example, if you wanted to delete small areas found by Analyze Geometry, you would
do as follows:
1. Run Analyze Geometry to find the small areas.
2. Open a data window on the new query.
3. Sort the area column.
4. Select all rows with less than the appropriate area.
5. Delete the selected rows.
The data window and map windows are updated for the deletion.
Analysis Options
You can choose from among the following analysis options for the statistics you need:
• Area—Calculates the area of each feature with an area geometry and stores the value
in a new field called Area. The area is calculated only for those features with an area
geometry; any other geometries are ignored. If the input feature class or query is a
linear geometry, this option is ignored.
• Perimeter—Calculates the perimeter of discontiguous geometries, and holes are
accounted for in the area calculation each feature with an area geometry and stores the
value in a new field called Perimeter. The perimeter is calculated only for those
features with an area geometry; any other geometries are ignored. If the input feature
class or query is a linear geometry, this option is ignored.
• Area/Perimeter2—Calculates the area/perimeter_2 ratio for each instance of the
selected feature class or query with an area geometry. The value is stored in a new
field in the output query set called AreaPerimeterRatio. If the input data contains
compound feature classes, the statistic is calculated only for those features with an area
geometry. The statistic is not calculated for disjoint area geometries. If the feature is a
collection containing area and line or point geometries, the statistic is still calculated
for the area geometry, while the other geometries are ignored. If the input data is a
linear geometry, this option is ignored.
• Length—Calculates the length of discontiguous geometries, and holes are accounted
for in the area calculation each feature with a linear geometry and stores the value in a
new field called Length. The length is calculated only for those features with a linear
geometry; any other geometries are ignored. If the input feature class or query is an
area geometry, this option is ignored. Discontiguous geometries are accounted for in
the length calculation.
10-67
Working with GeoMedia
• Azimuth—Calculates the azimuth for each feature with a linear geometry and stores
the value in a new field called Azimuth. The azimuth is calculated only for compound
and linear features.
• Bearing—Calculates the bearing for each feature with a linear geometry and stores the
value in a new field called Bearing. The bearing is calculated only for compound and
linear features.
• Geographic Coordinate—Outputs the geographic coordinate for each feature with a
point or text geometry and stores the values in two new fields called
GeographicFirstCoord and GeographicSecondCoord. The geographic coordinate is
output only for compound, point, and text features.
• Projection Coordinate—Outputs the projection coordinate for each feature with a
point or text geometry and stores the values in two new fields called
ProjectionFirstCoord and ProjectionSecondCord. The projection coordinate is output
only for compound, point, and text features.
• Height—Calculates the height for each feature with a point geometry and stores the
values in a new field called Height. The height is calculated only for compound, point,
and text features.
The output feature class or query contains a new field for each selected analysis option that
applies to the geometry type of the input feature class or query. The default headings of
the new fields are those previously listed. If a column exists with one of these names, the
new name is the same but with a ## symbol appended to the end of the name, where ##
begins at 01 and is incremented until a unique name is found.
To analyze geometry:
1. Open a read-write warehouse.
2. Select Analysis > Analyze Geometry.
3. Select a feature class or query from the Features to analyze drop-down list.
10-68
Analyzing GeoMedia Data
4. Select the appropriate analysis statistics option(s) from the list in the Analysis options
selection area.
Note: The Analysis options list is populated based on geometry of selected feature
class or query. All available analysis options are off when a feature class or query is
first selected. When the feature class or query is changed, all available analysis
options are again turned off. However, if the geometry type of the new feature class or
query matches that of the old feature class or query, the user-selected options are
retained.
10-69
Working with GeoMedia
If the map window display check box was selected, the map window with the
geometries is displayed. If the data window display check box was selected, the data
window with the geometries is displayed.
10-70
Analyzing GeoMedia Data
You can specify the buffer zone distance (or the name of an attribute containing buffer
zone distances) on a per-feature basis. Many variations of input distance values are
supported, including stacks, rings, and buffer zones in the interior of areas. The buffer
zone distance can be of two kinds, constant or variable.
When using a constant distance, you set the distance value and unit. You must type the
distances as follows:
• Single—A simple number, for example: 10
• Stacked—Numbers separated by semicolons (;), for example: 10;20;30
• Ringed—Numbers separated by colons (:) and semicolons (;), for example:
(start/end) 10:20;30:40
The default value for unit is from the Unit setting on the Units and Formats tab of the
Define Coordinate System File dialog box.
When using a variable distance, you select an attribute that contains distance values that
may vary on a per-feature basis. Only attributes of type text, byte, integer, long, single,
double, and currency are available for selection. These values must be in the ground units
of the coordinates system of the data you are buffer zoning. If this is not the case, you can
construct an expression using the Functional Attributes command, which performs any
required unit conversion and formatting.
See “Working with Functional Attributes” in this chapter.
You have the option of setting the type of end caps to place around the ends of linear or
compound features, either rounded (default) or squared.
You can also set the output of the touching buffer zones as merged or unmerged (default).
Unmerged output contains one output buffer zone placed around or within each feature for
each input feature-distance combination. Overlapping buffer zones are not merged.
Diagram A below shows six unmerged buffer zone features. Merged output contains the
originally resulting output buffer zones merged in such a manner that overlapping sets of
buffer zone features are merged, but discontiguous buffer zones from a single input feature
retain their grouping. Diagram B below shows four buffer zone features, one of which
consists of three previously unmerged buffer zone features.
A B
10-71
Working with GeoMedia
In the case of merged output, the resulting query consists of a single output geometry field.
In the case of unmerged output, there is additionally a text attribute containing the distance
value at which the buffer zone was created.
The following diagrams show example buffer zones around different geometries and how
they vary with both positive and negative distance:
well as read-write data. Calculated output attributes can also be used as input for further
analysis within the same functional query. To use this command, you must have an active
map window or data window and at least one open connection.
After generating the functional attributes, the command stores the query in the
GeoWorkspace and displays the results in the map and/or data window. You can view and
manage queries by using the Analysis > Queries and Legend > Add Query commands.
The workflow for using this command is to first select the feature or query for which you
want to add functional attributes on the Functional Attributes dialog box.
You then use the New button to open the Functional Attribute dialog box to construct the
analysis expression. This second dialog box functions as a calculator that you can use to
provide calculated information for queries. This calculator provides standard operators and
context-sensitive syntax information.
10-73
Working with GeoMedia
10-74
Analyzing GeoMedia Data
Functional Attribute dialog box. You can also cut and paste function syntax into the
Expression field.
This dialog box provides categories, functions belonging to a selected function category,
and columns (attributes) that can be used as input parameters for functions. To help in the
creating and editing, the dialog box also displays the syntax definition for the selected
function and a tooltip that provides a brief description of the functionality of the selected
function. Once you insert text, the expression is validated. If there is a problem when
adding the function, an error message is displayed, and the position of the cursor in the
expression indicates the error location.
Note: You can select the syntax statement, displayed at bottom of the dialog box when
you select a function, and paste it elsewhere.
You can share expressions with others by emailing the GeoWorkspace, creating a
GeoWorkspace template file, creating a GeoMedia WebMap website, and cutting and
pasting expression strings.
Length
You can review and/or edit of the length of the output functional attribute in the Length
field when the output type is Text. The default value is 255, and you can edit this to any
value from 1-255, inclusive.
10-75
Working with GeoMedia
Format
You can review and/or edit the format of the output functional attributes in the Format
field for all data types except Geometry data types. The default format/value depends on
the output data type.
Precision
You can review and/or edit the display precision of the output functional attributes when
the format is Fixed, Standard, or Currency and the output type is Single, Double, or
Currency. The default value depends on the output type. For Single default will be 4, for
Double default will be 6 and for Currency default will be 2.
Operands
Operands are manipulated by the operators in an expression. The operands can be the
following:
Identifiers—References to fields in which values vary for each record.
Constants—Fixed values that are constant for each record.
Functions—Operations that take inputs and return values.
You can build an expression from combinations of these operands joined with operators.
For example, an expression can be a calculation, such as: (price * 1.5) or (price +
sales_tax).
In an expression, you enclose character data values in single quotation marks ('). In the
following expression, the character literal B% is used as the pattern for the LIKE clause:
LastName LIKE ‘B%’.
In the following expression, the date value is enclosed in single quotation marks:
OrderDate = 'Sep 28 2001'.
Operators
Operators are symbols specifying an action performed on one or more operands, that is,
how the operands are manipulated. The operator categories are the following:
• Arithmetic • Logical
• Bitwise • String
• Comparison • Unary
An expression can be built from several smaller expressions combined by operators. In
these complex expressions, the operators are evaluated based on operator precedence.
Operators with higher precedence are performed before operators with lower precedence.
Operators with the same precedence are performed from left to right.
The following are example expressions:
10-76
Analyzing GeoMedia Data
Functions
The Functional Attributes command provides the following types of functions to perform
operations:
• Scalar functions operate on a single value and then return a single value.
1:1 (1 record in, 1 record out) Example: Using the Functional Attributes command
to calculate the X or Y coordinates of a point geometry feature class.
• Aggregation functions operate on a collection of values but return a single,
summarizing value.
Many:1 (Many records in, 1 out) Example: Using the Analytical Merge command
with CREATEPOLYGON to merge points to a polygon.
• Expansion functions operate on a single value (usually a geometry value) and then
return multiple values.
1:Many (1 record in, Many records out) Example: Using the Functional Attributes
command to calculate SEGMENTS of lines.
In general, Aggregation functions are most often used with the Analytical Merge
command and the Aggregation command. The Functional Attributes command normally
uses only Scalar or Expansion functions.
All functions delivered with GeoMedia have unique names. These functions are organized
in the following categories:
• Date and Time • Miscellaneous
• Geometry • Statistical
• Logical • Text
• Math & Trig • View
The categories on the Functional Attributes dialog box simply organize the functions by
subject. If you select All Functions from the Categories list, all available functions are
displayed for selection in the Functions list. If you select Most Commonly Used
Functions, the Functions list contains only those functions that you have most recently
and most frequently used. The default content consists of fourteen pre-selected functions;
as you use this command, the list adjusts to include your own commonly used functions.
Operators and Constants display a list of operators and constants, respectively.
Attributes that can be used as input parameters for the functions are displayed in the
Attributes list.
10-77
Working with GeoMedia
10-78
Analyzing GeoMedia Data
BEFORE AFTER
Format: COMPRESS(Geometry)
Geometry: The geometry that you want to compress. The geometry can be selected from
the available input attributes section of the dialog box.
Remarks: The return value depends on the geometry type.
COMPRESS does not change the following geometry types: PointGeometry,
OrientedPointGeometry, LineGeometry, PolylineGeometry, ArcGeometry,
PolygonGeometry, RectangleGeometry, RasterGeometry, or TextPointGeometry. In all
such cases, the input geometry is returned unchanged.
COMPRESS is applicable only to CompositePolylineGeometry,
CompositePolygonGeometry, BoundaryGeometry, and GeometryCollection. These
geometry storage types may contain nested geometries and/or sequences of linear
geometries. In all such cases, the input geometry is returned in an efficiently stored
geometry. There is no loss in accuracy or visible change. See the following:
If the geometry is not defined (NULL value), then a NULL value is returned.
The act of compression involves three different activities:
1. Nested composites/collections are flattened. This eliminates geometry headers,
eliminates recursive processing, and (for composites) sets the stage for further
optimization in the next step.
2. Consecutive endpoint-matched lines/polylines within composites/collections are
stitched together into a single polyline. This eliminates geometry headers and
eliminates redundant vertices.
In the case of composites, it is expected that consecutive geometries match endpoint-
to-startpoint, in which case such geometries (if line/polyline) are stitched together with
the redundant vertex eliminated. In the event that they do not match endpoint-to-
startpoint, it is considered an invalid geometry. In this case there is no redundant
vertex, and no compression occurs between the two geometries.
In the case of collections, there is no expectation that consecutive linear geometries
match endpoint-to-startpoint, but we know from experience that such circumstances do
occur, and that when they occur, they are often meant to be treated as a single
10-79
Working with GeoMedia
continuous linear geometry. For this reason, the same processing will occur in this
step for collections as occurs for composites, as stated above.
3. Single-member composites/collections are flattened and replaced with the single
member primitive. This eliminates the parent geometry and simplifies future
processing and editing of the geometries.
Return Type: gdbSpatial
CREATEPOLYLINE—Creates a polyline from an ordered series of points. This is an
aggregating (that is, points stored in multiple records output to one linear record) or a
scalar (that is, multiple points stored in 1 record output to 1 linear record) function. If the
points for a single line are stored in multiple records, you should use CREATEPOLYLINE
with the Analytical Merge command and, more rarely, the Aggregation command. If the
points for a single line are stored in a single record (that is, a feature class or query that has
multiple point geometry columns), you can use Analytical Merge, Functional Attributes,
or Aggregation.
Format: CREATEPOLYLINE(Geometry, OrderBy) or CREATEPOLYLINE(Geometry1,
Geometry2, Geometry3, …)
Geometry: The point geometry that represents vertices from which a polyline is created.
OrderBy: The optional expression that is used for sorting the points. If it is missing, the
order is determined by the recordset and pipe that is hosting this function, and in this case,
the order of the vertices is not guaranteed.
Geometry 1, 2, …: The point geometries that represent vertices from which the polyline is
to be created. In the case of this format, the function becomes scalar.
Remarks: The input geometry type must be type of gdbPoint.
If the input field is a collection, each point of the collection will be handled separately in
the order of the items in the collection.
If the geometry is not defined (NULL value), the NULL value is returned.
If any of the input geometries are not defined, the geometry is ignored. If the number of
points that creates the polyline is less then 2, the NULL value is returned.
Return Type: gdbLinear
MERGE—Returns the merged geometry. Commonly used with the Analytical Merge
command because this is an aggregating type function.
Format: MERGE(Geometry)
Geometry: The geometry for which you want to create merged geometry.
Return Type: gdbSpatial
PERIMETER—Returns the distance around the perimeter of the specified geometry. The
following format is similar to the AREA function (see also the previous AREA function).
10-80
Analyzing GeoMedia Data
Constants
A constant, also known as a literal or a scalar value, represents a specific data value that
does not change during the calculation of an expression. The format of a constant depends
on the data type of the value it represents. A full list of the available constants can be
found under the Constants category.
10-81
Working with GeoMedia
2. Select a feature class or query as input from the Add functional attributes for drop-
down list.
3. Click New to open the Functional Attribute dialog box to define at least one functional
attribute.
4. Type an appropriate value in the Functional attribute name field.
Note: The Output type field is read-only, and a Length field is enabled only for the
Text output type. When you create a valid expression, the Output type field is
automatically assigned.
5. Use the Expression field to create the expression to be calculated for the new
functional attribute. Expressions can be created by typing and/or pasting values, by
using the operator buttons, and by selecting values from the Categories,
Functions/Constants, and Attributes lists.
6. When you have completed entering the expression, click Add to create the functional
attribute.
Note: Once a functional attribute has been created, it is added to the list of available
attributes and can used as part of other functional expressions.
7. Optional: Use the Expression field and Add button to create more functional
attributes.
8. Click Close to return to the Functional Attributes dialog box.
9. Accept the default query name, or type an appropriate name in the Query name field.
10. Optional: Type a query description in the Description field.
10-82
Analyzing GeoMedia Data
11. Choose whether or not to display the resultant functional attribute query in a data
window or map window. You can change in the Map window name field, if
appropriate.
12. Optional: Click Style, and change the map window default style on the Select Style
dialog box.
13. Click OK.
10-83
Working with GeoMedia
10-86
Analyzing GeoMedia Data
2. Select the feature class or query to merge from the Merge features in drop-down list.
3. Select the appropriate Merge criteria option.
4. If you select By attribute or By attribute and touching, select the appropriate
Attributes check box(es).
10-87
Working with GeoMedia
9. Verify that the Display merge in data window check box is checked, and change in
the Data window name field, if appropriate, the data window in which to display the
merge.
OR
To not display the nongraphic attributes of the merge in a data window, uncheck the
Display query in data window check box.
10. Click OK to generate the merged features.
In the preceding example, the railroad pattern is uneven because of the segmented network;
the pattern origin is redefined every time a new segment is encountered. This is easily
overcome using the Analytical Merge command, as in the following example.
In the preceding example, the pattern spacing is consistent, as opposed to the first example,
thereby producing the appropriate symbology, as specified on the Select Style dialog box.
This is because the Analytical Merge command has merged the linear network, thus
eliminating the problems associated with segmented displays. This workflow is also very
useful for multiple-line displays used to show cased road (parallel line) symbology,
especially at intersections.
Aggregating Data
The Aggregation command lets you copy attributes from features, including graphic text
feature classes and queries, in one feature class (the detail feature class) to related features
in another feature class (the summary feature class) in the form of a dynamic query. This
query is based on the spatial relation between two features and/or related table columns
(similar to a join) between two features. The detail feature class attributes are aggregated
into the summary feature class. Both summary and detail feature classes can be point,
linear, area, compound, and nongraphic, but not graphics text or image. The output
10-88
Analyzing GeoMedia Data
aggregation is a query, which is stored in the GeoWorkspace and which you can display in
the map and/or data window. All summary attributes will be included in the resultant
query, while only the calculated attributes from the detail feature class are included.
An example of using aggregation would be to combine calculated information from a detail
TAX_ASSESSMENT feature class with a summary PARCEL feature class. In another
example, you could have a TAZ (Transportation Analysis Zone) feature class and an
ACCIDENTS feature class, and then you could sum the total number of accidents
occurring in each TAZ and copy it to the TAZ features. Or, given SOILS and
VEGETATION feature classes, you could copy the total number of each type of tree
falling in each soil type and, at the same time, calculate the average age and size of trees in
each soil type.
Other examples for using this command would be providing answers to the following:
• What is the total length of each class of road for each transit zone?
• What is the average income for customers in three-mile market areas for several
proposed business locations?
• What is the total assessed value of parcels affected by a proposed road-widening
project?
• How many houses are located within 300 feet of each road segment?
Aggregation Types
There are three possible types of aggregation based on the merge criteria: attribute based,
spatially based, or both. You specify the criteria through the tabs on the Aggregation
dialog box. On these tabs, you also specify the resolution operator and the definition of
output functional attributes to be computed from the summary features and the detail
features.
Attribute Aggregation
This type of aggregation uses matching attribute values to determine how the information
in the detail table is aggregated into the summary table. For example, you could aggregate
two tables, one with parcel geometry (PARCEL) and one with nongraphic information
(PARCEL_INFO) that is related to the parcel features that have one common (identical)
PARCEL_ID column. Using attribute aggregation would allow you to combine specific
calculated information from the detail table (PARCEL_INFO) to the summary table
(PARCEL), where appropriate, based on the comparison of the common attribute. To this
join, you could use functional attribution to add calculated information between the two
sources.
From the Attribute Aggregation tab, you can select one or more summary and detail
attribute pairs from a list of all displayable attributes, to be used for determining if features
should be aggregated based on the equivalence of attribute values. Values of all attributes
must match, that is, there is a logical and between the comparisons of the various attribute
10-89
Working with GeoMedia
values. When you have selected a summary feature class or query, you must select at least
one attribute.
The selection button that lets you select an attribute pair is enabled only if the
conversion between the data types of the selected attributes is possible. This conversion
possibility is described in following table:
gdbCurrenc
gdbBoolean
gdbInteger
gdbDouble
gdbSingle
gdbLong
gdbDate
gdbText
gdbByte
y
gdbBoolean Y N N N N N N N N
gdbByte N Y Y Y Y Y N N N
gdbInteger N Y Y Y Y Y N N N
gdbLong N Y Y Y Y Y N N N
gdbSingle N Y Y Y Y Y N N N
gdbDouble N Y Y Y Y Y N N N
gdbCurrency N N N N N N Y N N
gdbDate N N N N N N N Y N
gdbText N N N N N N N N Y
Y = Selection button enabled. N = Selection button disabled.
Spatial Aggregation
When both summary and detail feature classes do not have a common (identical) database
column and they are spatial feature classes, you can still perform aggregation through
spatial criteria. For example, you could use spatial aggregation to find a site for a new
restaurant based on traffic volume, population income, and distance from a particular
intersection.
For spatial aggregation, you need to check the Aggregate where summary features check
box and to select an appropriate spatial operator on the Spatial Aggregation tab because
this type of aggregation is based on spatial proximity. If you select the are within
distance of operator, you also need to define the distance and distance unit.
10-90
Analyzing GeoMedia Data
Attribute/Spatial Aggregation
You can also perform a combination attribute and spatial aggregation when there is at least
one common (identical) database column between the summary and detail features and
when the geometries touch. You perform this aggregation by using input from both the
Attribute Aggregation and Spatial Aggregation tabs.
Output
From the Output tab, you can select the output definition, which consists of an optional
resolution operator and at least one functional attribute.
Resolution operators indicate how to resolve the ambiguous cases in which a detail feature
can be aggregated to more than one summary feature. If both selected summary and detail
feature classes or queries are spatial, and the spatial aggregation check box is checked on
the Spatial Aggregation tab, the available operators are All, None, First, Largest,
Largest Overlap, Nearest, Are Nearest To, and Accumulate Nearest. If the spatial
aggregation check box is unchecked, or if at least one of the selected feature classes or
queries is nongraphic, the available operators are All, None, and First.
10-91
Working with GeoMedia
On the Output tab, you also have the option to create functional attributes and to review
and/or edit their properties through the Functional Attribute dialog box or to delete a
functional attribute. The functional attribute adds the calculated information to this join.
You can use Aggregation to operate on both input and output attributes. This allows you
to perform analytical operations on previously defined functional attributes with the same
operation. The summary features appear in the Attributes field of this dialog box as
Input.<attribute name> and the detail features appear as Detail.<attribute name>.
See the “Working with Functional Attributes” section of this chapter for more information
on functional attributes.
Aggregation Examples
The following are examples of using Aggregation with the USA and Madison County
sample data sets that were delivered with this product. The example problems listed here
are hypothetical, and there may be other valid workflow solutions to solve the problem.
Problem 1: Need to transfer the state abbreviation from the state to the counties that are
contained by the state.
Solution:
• Summary Feature: Counties
• Detail Feature: States
• Aggregation defined as Spatial
• Aggregate where summary features are contained by detail features
• Output Resolution Operator: All
• Output Expression: FIRST(Detail.STAABBRV)
Problem 2: Need the number of cities each state contains as an attribute of the state.
Solution:
• Summary Feature: States
• Detail Feature: Cities
• Aggregation defined as Spatial
• Aggregate where summary features touch detail features
• Output Resolution Operator: All
• Output Expression: COUNT(*)
Problem 3: Need to calculate the number of people in each state who do not live in a city.
Solution:
• Summary Feature: States
• Detail Feature: Cities
10-92
Analyzing GeoMedia Data
Problem 4: Need to calculate the total number of miles of interstate in each county.
Solution:
• Must perform analysis on spatial intersection (Analysis > Spatial Intersection) of
Counties with Interstates, that is, Interstates overlap Counties.
• Summary Feature: Counties
• Detail Feature: Spatial Intersection of Interstates and Counties
• Aggregation defined as Spatial
• Aggregate where summary features overlap detail features
• Output Resolution Operator: All
• Output Expression: SUM(LENGTH(Detail.IntersectionGeometry,TrueMeas,Mile))
Note: The value of miles will be expressed using double precision, but the results
could have been rounded using the expression. The following rounds the values to two
significant digits:
ROUND(SUM(LENGTH(Detail.IntersectionGeometry, TrueMeas, Mile)),2)
10-93
Working with GeoMedia
To define aggregation:
1. Select Analysis > Aggregation.
10-94
Analyzing GeoMedia Data
2. Select a summary feature class or query from the Aggregate to summary features in
drop-down list.
3. Select a detail feature class or query from the From detail features in drop-down list.
4. Optional: On the Spatial Aggregation tab for spatial aggregation, check the
Aggregate where summary features check box; then select the appropriate spatial
operator from the drop-down list.
5. Optional: On the Attribute Aggregation tab, select the attribute pair(s) from the
Summary attributes and Detail attributes lists; then click the down arrow to add the
attribute pair(s) to the Selected attribute pairs list.
6. Optional: On the Output tab, select an operator from the Resolution operator drop-
down list.
7. On the Output tab, click New and define at least one output functional attribute on the
Functional Attribute dialog box.
8. Optional: Change the default query name and/or type a description in the Output
aggregation as query field.
See the GeoMedia Help for information on this dialog box.
9. Verify that the Display aggregation in map window check box is checked, and
change in the Map window name field, if appropriate, the map window in which to
display the aggregation.
OR
To not display the aggregation in a map window, uncheck the Display query in map
window check box.
10. Optional: Click Style, and change the default style on the Style Definition dialog box.
10-95
Working with GeoMedia
11. Verify that the Display aggregation in data window check box is checked, and
change in the Data window name field, if appropriate, the data window in which to
display the aggregation.
OR
To not display the nongraphic attributes of the aggregation in a data window, uncheck
the Display aggregation in data window check box.
12. Click OK to generate the aggregation.
10-96
Analyzing GeoMedia Data
10-97
Working with GeoMedia
2. Select the feature class from the Generate base geometry from drop-down list.
3. Check the appropriate Output types check box(es).
4. Accept or override the default query name (Base Geometry of <featurename>) in the
Query name field, and type an optional Description.
5. To display the base geometry in a map window, verify that the Display in map
window check box is checked.
6. Accept the default, select, or type a Map window name, and optionally the Style.
7. To display the base geometry in a data window, verify that the Display in data
window check box is checked.
8. Accept the default, select, or type a Data window name.
9. Click OK to generate and to display the base geometry in the specified map and/or
data window.
10-98
Analyzing GeoMedia Data
In the preceding example, adjacent area boundaries have the boundary line dashed twice
where the coincidence is occurring. The end result is that the coincident boundary lines
rarely appear as defined by their style definition. This can happen within a feature class, or
across feature classes.
This problem can be rectified using the Generate Base Geometry command, as in the
following example.
.
In the preceding example, it is obvious that the coincident area boundaries are only being
dashed once, as opposed to the first example. This is because the Generate Base
Geometry command produces a query composed of compound geometries based on
topological edges; there are no linear duplicates in the output query. Instead of placing
duplicate geometries, a single geometry is placed and attributed with a feature count that
identifies the number of base features encountered.
The following example illustrates the result of running the Generate Base Geometry
command on the States feature class in the sample data set.
In the preceding example, because there are no duplicate geometries, any dashed or
patterned line styles applied will produce the appropriate symbology, as specified on the
Style Properties dialog box. However, you may want to separate the linear instances
based on their feature count, as seen in the following example.
10-99
Working with GeoMedia
In the preceding example, an Attribute Query was performed on the Base Geometry of
States query (produced by the Generate Base Geometry command). All interior lines
were coincident boundaries, thus their feature count was greater than one. None of the
exterior lines were coincident, thus their feature count was equal to one. Once the
geometry has been separated, it can be turned on or off as necessary to achieve the
appropriate result. This can be useful if you only want to portray a segment of the area
boundary. An example application of this would be to turn off state boundaries along coast
lines. The Generate Base Geometry command only supports a single feature class or
query as input. When trying to separate coincident boundaries across feature classes, you
can run the Generate Base Geometry command on the two feature classes, and then you
can use the Spatial Difference command to subtract one boundary from another.
Selecting Attributes
The Attribute Selection command lets you output a subset of input attribute fields from a
feature class or query. In addition, you can change the names of the fields and reorder the
fields. Thus, you can tailor your processing so that the results do not contain unnecessary
attribute data. This command will be enabled if at least one open connection exists in the
GeoWorkspace.
To select attributes:
1. Select Analysis > Attribute Selection.
10-100
Analyzing GeoMedia Data
2. Select the feature class or query whose schema needs to be altered from the Select
attributes from drop-down list.
3. Select the appropriate Attributes check boxes.
Note: You can use the Select/Unselect All buttons to aid the selecting/unselecting
process. Also, when you hover over an entry in the list, a tooltip is displayed
indicating the original name of the field.
10-101
Working with GeoMedia
Note: Double clicking on an entry in the Attributes list also opens this dialog box.
7. Optional: Change the default query name, and/or type a description in the Output
attribute selection as query fields.
8. Verify that the Display in map window check box is checked, and change in the Map
window name field, if appropriate, the map window in which to display the merge.
OR
To not display the merge in a map window, uncheck the Display in map window
check box.
9. Optional: Click Style, and change the default style on the Select Style dialog box.
10. Verify that the Display in data window check box is checked, and change in the Data
window name field, if appropriate, the data window in which to display the merge.
OR
To not display the nongraphic attributes of the merge in a data window, uncheck the
Display in data window check box.
11. Click OK to generate the attribute selection query.
10-102
Analyzing GeoMedia Data
The functionality of this command parallels the union capability provided by SQL and
most relational database management systems. A union provides the ability to record-wise
append multiple tables/views (relations) in query results to create an output that is the
logical union of the input. It can be thought of as appending together the records of many
source inputs. In this sense, it is the record-wise equivalent to the column-wise
concatenation provided by the Join command capability.
10-103
Working with GeoMedia
Note: The Union command performs a relational union of the chosen feature classes and
queries. It does not perform a geometric union of features.
You would use the Union command, for example, in the following scenario. You have
feature classes of 100 different counties from 100 different database schemas, and you
would like to merge (record-wise) all 100 different counties records, and output the results
into one feature class. To do this, you would perform a union to create an output query and
then use the Output To Feature Classes command to output the results into a database
warehouse.
The Union command requires that the corresponding attribute columns from the selected
feature classes/queries should be of the same data type. This command raises the
following error when there is a mismatch in the common attributes for the selected feature
classes: “Unable to retrieve output query from union operation. The field’s size does not
match for field FIELD1.”
You need to resolve the disparities in the attribute data-types as raised by the Union
command.
See “Working with Joins” in this chapter.
Specifically, with this command you can perform the following:
• Select multiple feature classes, categories, and reference features from multiple
connections and queries.
• Select the output schema mode.
• Reorder records.
• Select, rename, and reorder output attributes.
You can select multiple feature classes, categories, and reference features across different
connections and queries for output, but you must select at least two feature classes/queries
to use this command.
The Advanced button on the Union dialog box lets you select the output schema mode.
You can do this only after the selected features (any corresponding attribute mismatches
should be resolved) have been determined to be correct for performing a union operation.
The following three output schema modes are available:
• Schema of the first selected feature class/query—The output attributes are
determined by the first of the selected feature classes/queries.
10-104
Analyzing GeoMedia Data
This command raises an error when there are conflicts arising due to geometry field
mismatch.
10-105
Working with GeoMedia
In determining a match in geometry fields, the coordinate system definition of the fields is
disregarded – in other words, fields are allowed to form a union despite a difference in
coordinate system.
2. Select the appropriate node(s) and/or feature check boxes in the Union features in list.
Note: If you want to output all feature, categories, and reference features classes from
a particular connection or query node, check the parent node. Similarly, if you
uncheck the parent node, all the subordinate nodes are unchecked. Also, each
feature/query node has a bitmap associated with it indicating the geometry type.
10-106
Analyzing GeoMedia Data
Note: Double clicking on an entry in the Attributes list also opens the Rename
Attributes dialog box.
6. Optional: Click Advanced, which is enabled when you check at least two feature or
query nodes in the Union features in list.
10-107
Working with GeoMedia
7. Select the appropriate Output schema mode, reorder the feature classes/queries as
needed by using the arrow buttons, and then click OK.
8. Optional: Click Attributes, which is visible only in query edit workflows. Follow the
workflow on the Attributes of <feature name> dialog box in Step 3.
9. Optional: Change the default query name, and/or type a description in the Output
union as query fields.
10. Verify that the Display in map window check box is checked, and change in the Map
window name field, if appropriate, the map window in which to display the merge.
OR
To not display the merge in a map window, uncheck the Display in map window
check box.
11. Optional: Click Style, and change the default style on the Select Style dialog box.
12. Verify that the Display in data window check box is checked, and change in the Data
window name field, if appropriate, the data window in which to display the merge.
OR
To not display the nongraphic attributes of the merge in a data window, uncheck the
Display in data window check box.
13. Click OK to generate the attribute selection query.
Properties dialog box, which you complete with a workflow similar to that used with the
Advanced dialog box and the Attributes of <feature name> dialog box.
10-109
Working with GeoMedia
10-110
Linear Referencing
This chapter outlines the basic concepts behind the linear referencing capabilities contained
in the LRS Precision Location and Dynamic Segmentation commands. This chapter
also describes the major components of a Linear Referencing System (LRS) and provides
table descriptions. Lastly, it discusses the LRS Precision Location and Dynamic
Segmentation commands
The intent of these commands is to extend the accessibility of basic linear referencing
capabilities within customers’ organizations. The available GeoMedia Transportation
Manager and GeoMedia Transportation Analyst products provide more full-featured linear
referencing capabilities as well as robust routing capabilities.
11-1
Working with GeoMedia
LRS Terminology
In order to understand the functioning of the Linear Referencing System, you should
become familiar with its terminology, as follows:
LRS (Linear Reference System)—The total set of data and procedures for determining
specific points along a roadway.
LRS Datum—The basic, linear geometry of an LRS with its key identifiers and measures.
Event—Any feature, characteristic, or occurrence along a road (for example, accident,
bridge, road condition).
LRM (Linear Reference Method)—The technique used to specify where an event occurred
along a road (an accident occurs at kilometer marker 4, stop sign at the intersection of
Main Street and Elm).
Traversal/Route—Set of segments in a certain order and direction.
Milepoint/Kilometer Point/Log Mile—Distance measurement from the beginning of a
route.
Segment—Continuous section of roadway (that is, intersection to intersection).
Marker—Start and endpoint of segments, often Intersections. Events are frequently
measured as an offset of a marker.
11-2
Linear Referencing
The preceding diagram shows a portion of road on the left and its geospatial representation
on the right. The road has kilometer posts that indicate cumulative linear measures along
the road. It also has a road name, Highway 6 in this example. A section of fencing along
the road is also shown in both the left and right views. Based on the kilometer posts, it can
be determined in the field that this stretch of fence runs along Highway 6 from kilometer
measure 2.0 to 2.6.
On the geospatial side we have three linear features, known as LRS Linear Features, that
will all have a road name and begin and end measure attribution. These LRS Linear
Features are the backbone of the LRS and are used in automating the mapping of linearly
referenced data, such as this stretch of fencing, onto a map window.
Of course, this mapping of linearly referenced data does not have to be automated.
Without the Dynamic Segmentation command, you can estimate where kilometer
measures 2.0 and 2.6 are along the road, and then you can digitize a linear feature between
these two points and along the road. This is not too hard for a few features, but what if you
have a tabular report for hundreds or thousands of linearly referenced items that you want
to map? With the Dynamic Segmentation command, all of these items can be mapped
with a single command.
The methodology used to do this bulk mapping of linearly referenced tabular data is called
Dynamic Segmentation (or linear geocoding). This methodology interpolates the location
of linearly referenced data along the LRS Linear Features by making use of the road (or
rail, ferry line, and so on) name and the measurement attributes stored on those features.
11-3
Working with GeoMedia
11-4
Linear Referencing
the start and end points of the linear event record on the route defined by the LRS
Key fields.
o Marker Offset Option—For point event data, this consists of a Marker name field
and a numeric Offset distance field. The point event data is located by first locating
the marker and then by adding the offset distance to that location. For linear event
data, there are two Marker fields and two Offset fields defining the start and end of
the linear event record.
o Coordinate Option—For point event data, this consists of two fields that, depending
on the referenced Coordinate System File, may be either projected coordinates (for
example, Northing & Easting) or geographic coordinates (Latitude & Longitude).
For linear event data, there are four fields defining the coordinates for both the start
and the end of the linear event record.
o Duration Option—This is a slight variation on the Measurement Option and only
applies to linear event data. It consists of a StartMeasure field and a Duration (or
Length) field that together define the relative location of the record along its route.
• Other Attributes (optional)—These are optional, but they are also the whole reason for
doing linear referencing. For bridge events, these will store bridge data; for accident
events, they will store accident data; and for pavement events, they will store pavement
data.
Other optional components of the LRS are the External Markers. External Markers mark
points along the network just like the Internal Markers discussed earlier, but these are not
bound to just the beginning and end of LRS Linear Features. External Markers can occur
anywhere along the LRS network and are functionally equivalent to point-event data using
the Measure option. They are useful for modeling milestones and monuments that are
commonly used to measure locations from. They can be used, along with Internal
Markers, to locate event data using the Marker Offset option.
Each External Marker table is (usually) a non-graphic table that has the following fields:
• ID—This is a long integer value that uniquely identifies each record within the table.
• LRSKeys1-4—This is one to four fields that together define the route that this record
lies along.
• Measure—This is a numeric field that indicates the relative location of the External
Marker on the route defined by the LRS Key fields.
• MarkerName—This field stores a name for this Marker.
11-5
Working with GeoMedia
11-6
Linear Referencing
3. From the LRS features drop-down list, select the appropriate linear network feature
class, reference feature, category, or query to be used for performing LRS Key-in or
Readout.
4. Select the appropriate model from the LRS model drop-down list.
For more information on the different LRS Models supported, see the “LRS Data
Structures” appendix.
Note: If the GeoMedia Transportation product is available, the LRS Model drop-down
list and the LRS properties are automatically filled out when a Display LRM query is
selected from the LRS features drop-down list. These restored properties are not
directly editable. They are defined using the GeoMedia Transportation LRS
Metadata Definition command.
11-7
Working with GeoMedia
6. In the LRS key fields, select the Primary, Secondary, Tertiary, and Quaternary
keys of the LRS feature class for as many keys as you use.
7. In the LRS unit field, select the unit for the measures of this LRS feature class.
8. In the LRS definition fields, if you selected a Measure model type, select the names of
the Start measure and End measure from the drop-down lists.
If you selected a Duration model type, select the names of the Start measure and
Duration (length) from the drop-down lists.
If you selected an Internal Marker model type, select the names of the Begin marker
and End marker (End marker is optional) from the drop-down lists.
9. Optional: In the Geometry reversed field, select the Boolean (true or false) field
name that defines whether to use the digitizing direction of each linear feature as its
direction (Geometry Reversed is False) or to assume that the direction of the linear
feature is the opposite of its digitizing direction (Geometry Reversed is True). This
field is optional and, if not used, it is assumed that the digitizing direction of each
linear feature is its direction of increasing measures.
10. Click OK after setting the appropriate values or Cancel to discard your changes.
If, in Step 3, you picked an LRS model that uses external measure markers, continue with
the following step. If not, skip to Step 17.
11. In the Marker features section of the LRS Precision Location dialog box, click
Properties.
11-8
Linear Referencing
12. In the Marker key fields, select the Primary, Secondary, Tertiary, and Quaternary
keys of the Marker feature class for as many keys as you use.
13. In the Name drop-down list, select the marker name for the Marker feature class.
14. In the Measure drop-down list, select the measure for the Marker feature class.
15. In the Marker unit drop-down list,, select the unit of measure for the Marker feature
class.
16. Click OK after setting the appropriate values or Cancel to discard your changes.
You are returned to the LRS Precision Location dialog box.
17. If you are using one of the LRS Models that makes use of Markers (LRS Measure
With Internal Measure Markers, LRS Measure With External Measure Markers,
LRS Duration With Internal Measure Markers, or LRS Duration With External
Measure Markers), select one of the two Marker measure options for Readout
options: Positive or negative offset from nearest marker or Positive offset only.
18. Select the size of the LRS Keys Field and the Measures and Markers Field from the
drop-down lists.
19. Select the Point style settings as follows:
• Check Display point on mouse move to display a point on a mouse move.
• Check Display point on mouse click to display a point on a mouse click.
• Check Display point on key-in to display a point on key-in.
The corresponding Style buttons display a default point style, which you can change
by clicking the appropriate Style button.
20. Check the Display Readout dialog for multiple LRS features check box if you want
to display the Readout dialog box on mouse click when there are multiple LRS
features within the tolerance zone at the specified point on the map.
21. Check the Display errors check box to display any errors on mouse click that may be
found while trying to specify the point on the map window.
11-9
Working with GeoMedia
The dialog box is dismissed, and the LRS Precision Location dockable control is
displayed.
23. You can display the LRS Precision Location dialog box again by clicking the dialog
box button . This dialog box lets you change the LRS model, LRS feature, LRS
Properties, the Marker measure options, LRS Keys field size, Measure and Markers
field size, point style settings, and/or Readout options on mouse click.
24. Select the down arrow button to the right end of the LRS Precision Location control,
and check the readout options you want.
The Update LRS position on mouse move option dynamically updates the LRS
readout as you move the cursor across the map window. The Update LRS position on
click option updates the LRS readout when you click the mouse in the map window.
You can select any combination of these options.
25. With the Update LRS position on mouse move option or the Update LRS position
on click option, a point is displayed (or not) based on the symbology chosen in Step
19. LRS keys are displayed in the first field separated by commas. The measure is
displayed in the second field. If the LRS Model selected was one of the Marker
models, the measure is followed by a comma, the marker name, a colon, and the offset
distance.
26. When there are multiple LRS features within the tolerance zone at the specified point
on the map, the LRS Readout dialog box is displayed based on the selection made in
11-10
Linear Referencing
Step 20. You can click Previous and Next to scroll through the various readout
possibilities found within the tolerance zone.
27. You can also use the LRS Precision Location control to supply data points to other
GeoMedia commands. First enter whatever GeoMedia command you want (for
example, Insert Feature). Next select the LRS Keyin button at the far right of the
LRS Precision Location control.
28. Type the Input LRS Key Values and Input Location Values into the LRS Keyin
dialog box. Click Apply when you are ready to process your typed values. The point
defined by your LRS reference is supplied to the GeoMedia command just as if you
had clicked in the map window. Repeat to create additional points. Click Close to exit
the LRS Keyin dialog box.
29. To exit LRS Precision Location and to dismiss the control, select the down arrow
button to the right end of the LRS Precision Location control; then select Exit LRS
Precision Location.
11-11
Working with GeoMedia
Event features contain sufficient LRS information such that they can be dynamically
segmented to produce geometry based on an LRS feature class. Typically, events do not
contain geometry, so they cannot be displayed in a map window unless dynamic
segmentation is performed. Events can be in a variety of formats, as described in the
following discussion.
The validation and correction of anomalies in the LRS should be performed before the
Dynamic Segmentation command is used. This ensures that the proper analysis results
are returned.
Note: Automated tools for LRS validation are available in the GeoMedia Transportation
Manager product.
The following capabilities are provided with the Dynamic Segmentation command:
• Use any linear feature for dynamic segmentation that exposes a measure from any data
connection that supports graphic features.
• Use a query of a linear feature for dynamic segmentation.
• Support for the LRS Measure, LRS Measure with Internal Markers, LRS Measure with
External Measure Markers, LRS Duration, LRS Duration with Internal Markers, and
LRS External Measure Markers models.
• Create dynamically segmented events that are laterally offset from the source linear
features. The lateral offset can be a distance defined by an entered constant, a variable
distance based on a database attribute, or a combination of both.
• Define up to four key fields for the LRS feature.
• Select an event table from any connection for dynamic segmentation.
• Use a query of an event table for dynamic segmentation.
• Dynamically segment linear and point event data.
11-12
Linear Referencing
• Create dynamically segmented events that are laterally offset from the source linear
features. The lateral offset can be a distance defined by an entered constant, a variable
distance based on a database attribute, or a combination of both.
• Create dynamically segmented point events that are rotated. The rotation can be an
angle defined by an entered constant, a variable rotation based on a database attribute,
or a combination of both.
• Choose which of the event data attributes are passed through to the dynamically
segmented events, and to reorder and/or to rename these attributes.
• Choose to take the height (Z coordinates, 2D or 3D) into consideration when
performing linear referencing,
The results are output as a query to a map window and/or a data window.
11-13
Working with GeoMedia
3. Select the appropriate linear network feature class, reference feature, category, or
query to be used for dynamic segmentation from the LRS features drop-down list.
4. Select the appropriate model from the LRS Model drop-down list.
For more on the different LRS Models supported, see the “LRS Data Structures”
appendix.
Note: If the GeoMedia Transportation product is available, the LRS Model drop-down
list and the LRS properties are automatically filled out when a Display LRM query is
selected. These properties are not directly editable. They are defined using the
GeoMedia Transportation LRS Metadata Definition command.
11-14
Linear Referencing
6. In the LRS key fields drop-down lists, select the Primary, Secondary, Tertiary, and
Quaternary keys of the LRS feature class for as many keys as you use.
7. In the LRS unit drop-down list, select the unit for the measures of this LRS feature
class.
8. In the LRS definition fields drop-down lists, select the names of the Start measure
and End measure if you selected a Measure model type.
If you selected a Duration model type, select the names of the Start measure and
Duration (length).
If you selected an Internal Marker model type, select the names of the Begin marker
and optional End marker.
9. In the Geometry reversed drop-down list, select the Boolean (true or false) name that
defines whether to use the digitizing direction of each linear feature as its direction
(Geometry Reversed is False) or to assume that the direction of the linear feature is the
opposite of its digitizing direction (Geometry Reversed is True). This field is optional
and, if not used, it is assumed that the digitizing direction of each linear feature is its
direction of increasing measures.
10. Click OK after setting the appropriate values or Cancel to discard your changes.
If, in Step 3, you picked an LRS model that uses external measure markers, continue with
the following step. If not, skip to Step 18.
11. In the Marker features section of the dialog box, click Properties.
11-15
Working with GeoMedia
12. In the Marker key fields drop-down lists, select the Primary, Secondary, Tertiary,
and Quaternary keys of the Marker feature class for as many keys as you use.
13. In the Name drop-down list, select the marker name for the Marker feature class.
14. In the Measure drop-down list, select the measure for the Marker feature class.
15. In the Unit drop-down list, select the unit of measure for the Marker feature class.
16. Click OK after setting the appropriate values or Cancel to discard your changes.
You are returned to the Dynamic Segmentation dialog box.
17. Select the appropriate Event feature option, LRM based or Datum based.
18. Select the connection and event feature class reference feature, category, or query to be
dynamically segmented from the Event feature drop-down list.
19. Optional: Click Filter to filter event features by specifying a filter string on the Filter
dialog box to select a subset of event features.
20. Click Event feature > Properties.
11-16
Linear Referencing
Note: Only those attributes selected in the Attributes dialog box are populated in the
Key fields and Measure fields. If you display the Properties dialog box before the
Attributes dialog box, all the attributes are populated.
11-17
Working with GeoMedia
28. Select the Coordinate system type, and set or modify the coordinate system.
See the “GeoWorkspace Coordinate System Dialog Box” topic in GeoMedia Help for
more information.
If you want to use the coordinate system from the current GeoWorkspace, you can do
this by first saving it to a .csf file by selecting View > GeoWorkspace Coordinate
System from the GeoMedia menu bar. This displays the GeoWorkspace Coordinate
System dialog box on which you click Save As and then assign it a filename and
location.
29. Click OK after setting the appropriate values or Cancel to discard your changes.
You are returned to the Event Properties dialog box.
30. If your Event reference type is Coordinate, type a numeric value for the coordinate
tolerance in the Coordinate tolerance field (the unit for this value is the one you set for
the Distance on the Units and Formats tab of the GeoWorkspace Coordinate System
dialog box).
31. Click OK after setting the appropriate values or Cancel to discard your changes.
You are returned to the Dynamic Segmentation dialog box.
32. Click Event feature > Attributes.
11-18
Linear Referencing
33. Select those attributes that you want reflected in the output query, using Select All and
Unselect All to speed this process.
34. Optional: Use the up, down, move first, and move last arrow buttons to specify the
position of an attribute in the output, and/or click Rename to change the name of an
attribute in the list (Attributes specified for the Key fields and Measure fields cannot
be renamed.).
35. Click OK after setting the appropriate values.
You are returned to the Dynamic Segmentation dialog box.
36. Click Advanced Display Settings.
37. Check the Occurrence > Compute occurrence value; then type the Measurement
tolerance, and select a proper unit.
Use this option if you want to have the software calculate a field having an integer value
that increases for each overlapping event record. This can be used in conjunct with the
Offset capability in the next step to visually offset overlapping event data.
11-19
Working with GeoMedia
38. Check the Offset > Constant check box to display the result with a constant offset; then
type a value, and select a proper unit.
AND/OR
Check the Attribute check box to display the results with an offset from an attribute
field; then type an appropriate scale, and select a proper unit.
39. If the event is a point type, the Point Rotation section is enabled.
− Check the Align to LRS check box if you want the displayed result to be aligned
to the LRS feature.
− Check the Angle check box if you want to display the result in a fixed angle; then
type an appropriate value, and select a corresponding unit.
− Check the Attribute check box if you want to display the result in an angle from
an attribute field; then select an attribute.
40. In the Output results as query field on the Dynamic Segmentation dialog box, accept
the default, or type another query name in the Query name field, and, optionally, type a
description in the Description field.
41. To see the results in a map window, make sure that the check box to the left of the
Display results in map window field is checked and that the appropriate Map window
name is selected.
42. Optional: Click Style to define the display settings for the results in the map window.
43. To see the results in a data window, make sure that the check box to the left of the
Display results in data window field is checked and that the appropriate Data window
name is selected.
44. When you have made the appropriate settings, click OK.
45. When the results are returned, you can tile the windows vertically.
The workspace would then resemble the following:
11-20
Linear Referencing
46. After reviewing the result, you can change the advanced display settings by editing the
query. Do this by first selecting Analysis > Queries from the GeoMedia menu bar.
47. Select the query generated by the Dynamic Segmentation command, and then click
Properties.
48. Edit the Query name, the Description, and the Advanced Display Settings; then
click OK.
The results of the query are changed according to your new input.
11-21
Working with GeoMedia
11-22
Working with Labels
There are two different types of annotation in GeoMedia, text and labels. Text may be the
result of data displayed from a warehouse, or text may be created and interactively placed
with the Insert Text command. Labels may be the result of the batch labeling command
Insert Label, which lets you create and insert labels as dynamic label queries or static text
feature classes. The difference between the labeling tools and the Insert Text tool is that
the labeling tools automatically place text using feature attribute values. Insert Text
requires you to type in the text to be placed.
GeoMedia also provides two other label-related commands. The Resolve Text Conflicts
command lets you detect and resolve text overprints that occur in feature classes or queries.
The Insert Leader Line command lets you place leader lines/leader terminators for label
queries in the second part of a two-step workflow. In the first step, you use the Insert
Label command to create labels as a query and select the Enable leader lines option to set
up the leader line feature class and leader terminator query and to establish the underlying
relationships between these feature classes/queries. In the second step, you use Insert
Leader Line. Upon placement, the orientation of the leader terminator and the label
alignment setting are calculated automatically. Additionally, this command lets you move
labels and place multiple labels per feature if the Enable leader lines is selected.
See “Inserting Text Features into a Feature Class” in the “Working with Features”
chapter.
See “Resolving Text Conflicts” and “Inserting Leader Lines” later in this chapter.
Inserting Labels
With the Insert Label command, you can create labels as a query or as a feature class,
depending on how you want the labels to behave and what you want to do with them in the
map window. In both cases, the attributes of the original feature (the additional columns)
are copied to the label feature. However, in a query label the attributes are dynamically
linked so that a change made in the original feature attributes is reflected in the linked label
feature as well. In a feature class label, the attributes are static and not linked so that a
change in the original feature attributes is not reflected in the feature class label. Each
label creation method has its advantages.
Labels as Query—You can create labels as a query in the GeoWorkspace if you want each
label linked to the feature with which it is associated. As a query, the labels will be
updated each time you edit the labeled features or open the GeoWorkspace. When, for
example, a feature is deleted from the feature class, its label is deleted as well. Similarly,
when a new feature is inserted into the feature class, the new feature is appropriately
labeled. As a query, a label outputs as graphics text the values of the attributes you select
12-1
Working with GeoMedia
from a feature class or query, along with any constant text that you specify. For example, a
label query could return as text the names of each stop along a railroad route.
The content of a label output as a query is composed of text that you type and one or more
attribute values derived from attribute values stored in the warehouse. When an attribute
value changes, the text in the label associated with the feature whose attribute value has
changed will also change.
If you plan to place leader lines/leader terminators for the labels, you must create labels as
a query with the Enable leader lines option selected. If you do not, and subsequently
want to place leader lines/leader terminators for the labels, you will not be able to. In this
case, you would need to delete the labels and then insert them again as a query with the
Enable leader lines selected.
Labels as Feature Class—Labels created as a feature class do not have an active link to
attribute values or geometry. You can edit the text in the labels, and you can insert the
labels as features into a feature class in a read/write warehouse. In addition, like any other
feature you can move, rotate, and delete labels that are output as a feature class.
When you create labels as a feature class, you will not be able to place leader lines/leader
terminators for the labels. You can only place leader lines/leader terminators for labels
created as a query with the leader line option selected.
Whether you output labels as a query or as a feature class, you can define their content,
style, and layout for display in the map window. Among other things, you can display a
frame around the text in a label, give it a solid or transparent background, and define it so
its Paper (size is true at nominal map scale) (display scale dependent). By default, the
text style is defined such that its View (size is true at any display scale) (display-scale
independent).
See “Inserting Text Features into a Feature Class” in the “Working with Features”
chapter.
See “Working with Styles” and “Defining Map Window Display Properties” in the
“Working with Map Windows” chapter.
Label Placement
This command lets you set the label placement orientation, and alignment, offset, and
whether to place single or duplicate labels.
The available label placement orientation modes are as follows:
Place at angle—Places the label at the angle specified in the degrees field. This mode is
the default orientation mode, at 0 degrees. The valid range is –360 to 360 degrees. The
angle unit and precision settings are based on the default settings defined on the Units and
Formats tab of the GeoWorkspace Coordinate System dialog box.
Orient to geometry—Places the label rotated in the direction of the geometry being
labeled.
12-2
Working with Labels
The command displays the label with the rotation angle obtained from the geometry being
labeled, using the style taken from the legend entry. If there is more than one legend entry,
the style of the topmost entry is used.
The following rules for label placement apply:
• Point data—Orientation is based on the point rotation angle.
• Linear data—Orientation is based on the angle of the line from begin point to end
point.
• Area data—Orientation is based on the angle of the longest edge of the area boundary.
Labels are placed right side up and read as follows:
• 0, 180, 360 degrees—Text reads horizontal, left to right.
• 90, 270 degrees—Text reads vertical, bottom to top.
• > 0 degrees, < 90 degrees—Text reads southwest to northeast.
• > 90 degrees, < 180 degrees—Text reads northwest to southeast.
• > 180 degrees, < 270 degrees—Text reads southwest to northeast.
• > 270 degrees, < 0, < 360 degrees—Text reads northwest to southeast.
Map window rotation at the time of placement is honored. If the orientation of the
geometry is 30 degrees and the map window is rotated by 40 degrees, the labels is placed
at 70 degrees from the horizontal.
The available label alignments are as follows:
• Top left • Top center • Top right
• Center left • Center center • Center right
• Bottom left • Bottom center • Bottom right
You can specify the horizontal and vertical offsets to define the distance each label is
placed from its origin. For vertical offsets, positive values offset upward while negative
values offset downward. Similarly, for horizontal offsets, positive values offset to the right
while negative values offset to the left. The units are measured in ground units.
Finally, you can specify that duplicate labels should not be placed. This temporarily
merges contiguous multiple feature parts in a linear geometry collection to find the center
point in order to place a single label.
To create a label:
1. Select Insert > Label.
12-3
Working with GeoMedia
2. From the Label features in drop-down list, select a feature class from the connections,
queries, reference features, or categories for which you want to place labels.
3. To place an attribute variable in the Layout box, select it from the Attributes list.
Note: You can place as many attribute variables as you want. Values for each
attribute are extracted from the warehouse when the labels are created.
4. Place the insertion point in the Layout box where you want constant text to appear on
the label relative to the field, and type the text. For example:
The text Snow = is typed before the ANNULSNOW field, and ” is added after the
field.
In the map window, each feature with an ANNULSNOW value will display the constant
text Snow = xx”, with the variable xx displaying the value for the ANNULSNOW
attribute.
5. Select the appropriate label Orientation option, Orient to geometry or Place angle.
If you select the latter, type the appropriate label rotation angle in the deg field.
12-4
Working with Labels
6. Select the appropriate label alignment from the Alignment drop-down list.
7. Optional: To define the distance each label is placed from its origin, specify the
horizontal and vertical offsets.
8. Optional: To specify that duplicate labels should not be placed, check the Place single
label along contiguous linear features check box.
9. To output labels to a query, select the Query option. Continue with Step 10.
OR
To output labels to a feature class, select the Feature class option. Go to Step 12.
10. Accept or override the default query name in the Query name field; then type an
optional description in the Description field.
11. Optional: To enable leader lines, check the Enable leader lines check box.
12. Select the read/write connection to output the leader line feature class to from the
Connection drop-down list and select the leader line feature class name from the
Feature class drop-down list, or type in a new feature class name; then type an
optional description in the Description field.
13. Specify the map window in which to display the new labels by selecting a map
window name from the Map window name drop-down list.
14. Optional: Click Style to change the default text style.
15. Click OK to generate and to display the labels.
12-5
Working with GeoMedia
A leader line is composed of a minimum of two vertices, a start point and an end point.
The start point coincides with the coordinates used to define the placement of the leader
terminator. It is the first point you digitize and is the point nearest the original label
feature. The end point coincides with the coordinates of the last vertex digitized, and this
point is used to define the placement of the new position of the label at the end of the
leader line.
The following illustrates the workflow for placing leader lines:
1. Select the label to start the leader 2. Place the first vertex to place the
line. leader terminator, and the dynamic
label appears.
3. Place the end of leader line at the 4. Double click to remove the original
new location of label. label and to set the new label where
specified.
12-6
Working with Labels
Insert Leader Line performs the following tasks in placing a leader line:
1. Ensuring that the leader line feature class and leader terminator query associated with
the label selected are displayed in the legend of the active map window. It is assumed
that the label is already displayed because it must be selected.
• The leader terminator query is displayed in the active map window. The position in
the legend is right below the label selected.
• The leader line feature class is displayed in the active map window. The position
in the legend is right below its associated leader terminator query.
2. Digitizing the leader line geometry.
• The leader line can have multiple interior vertices.
• The start coordinates of the leader line are not fixed at the position of the
originating label; they can be moved by using Edit > Geometry on the leader line.
• The start point does not automatically move if the feature moves, except through
coincidence.
3. Calculating the orientation of the leader terminator point geometry at the leader line
start point.
• Leader terminators are placed as oriented point geometries. The orientation is
automatically calculated based on the angle of the leader line, from the second
vertex to the start point. This accommodates the use of arrowhead terminators to
ensure that the arrowheads align with the digitized leader lines. You should create
arrowheads with the tip of the arrow at zero degrees and the origin at the center of
the base of the arrowhead. A leader terminator symbol file (terminator.fsm) is
delivered with the software.
• Leader terminators are automatically displayed once the leader line geometry has
been digitized; otherwise, they do not exist.
4. Moving the original label from the originating start point to the newly digitized end
point.
• The new position of the label is determined by the leader line end point, that is, to
move the label once it has been placed, you must edit the leader line.
• The alignment of the newly positioned label is determined on a per-instance basis
to minimize the overlap between the label and the leader line. This is determined
by the angle calculated between the next-to-last vertex before the end point and the
end point as follows:
Degrees Alignment Degrees Alignment
>337.5 to 22.5 Center left >157.5 to 202.5 Center right
>22.5 to 67.5 Bottom left >202.5 to 247.5 Top right
>67.5 to 112.5 Bottom center >247.5 to 292.5 Top center
>112.5 to 145.5 Bottom right >292.5 to 337.5 Top left
12-7
Working with GeoMedia
• The originating label maintains its position and alignment until a leader line
geometry has been digitized.
• The rotation of the newly positioned label is automatically set to zero degrees
regardless of the current rotation angle of the original label (This varies based on
the orientation method used during the original placement.).
Note: Pressing BACKSPACE removes the previously placed vertex, including the
first point placed. Pressing ESCAPE before completing the leader line digitizing
opens a dialog box to stating Do you want to discard the current feature?. Click
Yes to return to the start point (Step 3). Click No to returns the previous digitizing
state.
12-8
Working with Labels
Moving Labels
The Insert Leader Line command also lets you move labels you have already placed with
the Insert Label command. The procedure is similar to that for placing a leader line
except that before starting the command you turn off the leader lines and leader terminators
in the legend. You then proceed as if you were placing leader lines and move the selected
label to an appropriate new location in the map window.
12-9
Working with GeoMedia
identifying the text geometries that need to be moved or deleted from the input feature
class.
Legend entry definitions for the output text queries are as follows:
• Non-conflicting text output query—Uses all of the style parameters defined using the
Font button. The View (size is true at any display scale) check box is unchecked on
the Display Properties dialog box.
• Conflicting text output query—Uses all of the style parameters defined using the Font
button, except color, which will be red. The View (size is true at any display scale)
check box is unchecked on the Display Properties dialog box.
Note: The exception to the previous two statements occurs if style override has been
used. If it has, the text will be displayed in the override style in both queries.
12-10
Working with Labels
You could then use leader lines to move the conflicting queries.
Workflow Options
There are two different workflow options, depending on the input. The output capabilities
of this command are two queries, but the input dictates the level of interactive editing and
dynamic behavior of the modified input text:
1. Input is a query or read-only feature class—The command identifies non-
conflicting text and conflicting text. The input query items cannot be moved or
deleted, but the text string updates dynamically when changes are made to the
originating feature’s label attributes in the database. For example, if the input is a
query, changing the State_Name attribute from al to AL in the original feature would
cause the query to change, which in turn would cause the output conflict queries to
change. If the input is a read-only feature class, you cannot edit the feature class, so
the output conflicts query will not change. You will likely use this command to filter
the overprints, displaying only the output non-conflicting query in the map window
instead of the input query or read-only feature class.
2. Input is a read-write feature class—The command identifies non-conflicting text and
conflicting text. The input feature class items can be moved or deleted, but the text
string will not update dynamically when changes are made to the originating feature’s
label attributes in the database. For example, in the case where the
State_Name_Labels text feature class was based on the States feature class, and the
Resolve Text Conflicts command was run on the State_Name_Labels feature class,
changing the attribute al to AL in States will have no affect on State_Name_Labels and
thus no affect on the conflicts query. But a change to the State_Name_Labels feature
class (using Edit Text) would affect the output conflicts query.
You will likely use this command to identify the overprints (through the conflicting
text query), to move or delete them from the input feature class, and to display the
modified input feature class in the map window. Because the input labels are static,
you will have to rerun this command whenever changes are made to the originating
label attributes in the database.
12-11
Working with GeoMedia
Note: The Resolve Text Conflicts command determines conflicts based on the
processing scale and font size settings. To accurately display the result, set the
Nominal Map Scale (Display Properties) equal to the Processing Scale, and make
sure the View (size is true at any display scale) check box is unchecked on the
Display Properties dialog box for both output queries.
2. Select the feature class from the connections, queries, reference features, or categories
from the Resolve text conflicts in drop-down list.
3. Select the appropriate Scaling method option.
Note: If you select User-defined, type a value in the Processing scale field to change
the default value display or Nominal map scale (from the previous scale setting
selection).
Note: This option is only enabled when there are numeric attributes available for the
feature class/query selected.
OR
12-12
Working with Labels
12-13
Working with GeoMedia
12-14
Geocoding
The software provides three commands to perform data geocoding of your data: Geocode
Addresses and Find Address for addresses and intersections, and Geocode Coordinates
for a feature class or query based on coordinate values.
the input addresses or intersections. You can then display the results in a map window
and/or data window.
Address Geocoding also provides two administrative utilities that configure the data:
Publish Address Geocoding Index and Define Parsing Rules. The Publish Address
Geocoding Index utility, delivered with this product, provides the ability to publish GDO
data (feature classes) to an AGI for subsequent geocoding. The Define Parsing Rules
utility, available from Intergraph Support, helps you create a well-formed set of modified
parsing rules files conforming to the requirements for address parsing.
Key Features
Address Geocoding Index
The cornerstone of the geocoding subsystem is that geocoding operations are performed
against an index file. This new file format, Address Geocoding Index (or AGI file), is a
portable, single file. It is optimized for fast searching and matching of records.
Additionally, it can optionally include spatial-index type of information to provide high
performance reverse geocoding operations.
Note: Reverse geocoding is not supported by the desktop GeoMedia Find Address and
Geocode Addresses commands. Reverse geocoding is supported through geocoding web
services.
Address Geocoding provides tools to let you create AGI files from street centerline and
rooftop (point) datasets accessible from GeoMedia by means of the GDO data servers.
13-2
Geocoding
The software requires that all attributes used with geocoding (that is, for matching
purposes) are present in the feature class used to build the AGI file.
Geocoding Engine
A geocoding engine is a software component designed to work with a particular data
format. Address Geocoding delivers the GeoMedia geocoding engine based on the AGI
file format. This new geocoding system provides a means whereby a third-party
geocoding engine may be plugged in.
Geocoding Dataset
A geocoding dataset is the data used by a geocoding engine. A number of datasets may be
configured to cover a large area and provide scalability. The architecture of the system
allows bulk geocoding operations to be performed across multiple geocoding datasets and
geocoding engines. The standard geocoding dataset format provided with Address
Geocoding is the AGI file.
Geocoding Directory
As the architecture of the geocoding subsystem allows for multiple datasets to be used at
one time, a simple means to refer to these is needed. A geocoding directory is an XML file
that contains information to allow geocoding engines to connect to their datasets. Each
dataset has a name, and this name is used in conjunction with a geocoding directory to use
the appropriate geocoding engine with the appropriate dataset.
Address Standardization
To allow your input to be matched with source data, both need to be standardized so more
accurate matching can be performed. An example of address standardization operations
would be to convert elements of an address to UPPER CASE, and to convert street type
to/from abbreviations (for example, Smith Street > SMITH ST).
Address Parsing
Address parsing is a technique whereby complex address text can be split into the discrete
fields that comprise the address. This process uses an advanced technique known as
Hidden Markov Modeling (HMM) to intelligently decompose, or to parse, an address into
the correct fields. These fields are commonly referred to throughout the geocoding system
as address elements.
Address Transformation
An address transformation is a slight expansion to the concept of parsing in which a
mapping between different address formats is expressed or defined.
13-3
Working with GeoMedia
Getting Started
To start the two geocoding commands, select View > Find Address, and Analysis >
Geocode Addresses from the GeoMedia menu bar.
To start the Publish Address Geocoding Index utility, select GeoMedia > Utilities >
Publish Address Geocoding Index from the Start menu. See the information provided
by Intergraph Support for starting the Define Parsing Rules utility.
13-4
Geocoding
Find Address command—A View command that geocodes an address entered through
dialog boxes, producing a dynamic point on the map display and panning to the location of
that point.
GDO warehouse—The source GeoMedia-accessible dataset that contains the features the
geocoding index is derived from.
Geocode Addresses command—An Analysis command that geocodes all of the features
in an input (normally nongraphic) feature class or query containing address information,
producing a query on output with point geometries.
Geocoding—The process of taking an address and generating a location for it.
Geocoding dataset—A dataset used as reference to perform geocoding or reverse
geocoding. The GeoMedia-delivered implementation of a geocoding dataset is the Address
Geocoding Index (AGI) file. The term geocoding dataset is used as a generic term, as this
design allows for third-party geocoding engines (and their data) to be used.
Geocoding directory—An XML document that defines the reference dataset location and
other characteristics for various geocoding engines. It consists of one or more defined
geocoding datasets, each of which has a unique identifier for the applicable runtime engine
and an associated connection string intended to link the object to its reference data source
data.
Geocoding engine interface—A COM (dispatch) interface definition that provides a
generic interface by which any number of independent (Intergraph-developed or third-
party) geocoding implementations may be written, using alternate data structures and/or
underlying software/services, and which can be plugged into the GeoMedia geocoding
system. Address Geocoding delivers an implementation of this interface specific to AGI
files.
Geocoding model—An XML document describing a geocoding model. A geocoding
model (GCM) definition describes user-recognizable address components (or fields) and
their correlation to the various elements of an address, that is, a comprehensive description
of address elements that make up a particular address structure. The relationship between
the attributes of the source data used to create the index (AGI) file, and the internal address
definition of the dataset is also defined in the GCM file. Additionally, various
AddressTransformations are defined in the GCM.
Index building—Processing the source data and building an Address Geocoding Index
file. Part of processing of the index data also involves address transformation and
standardization. The index is build with the Publish Address Geocoding Index utility.
Location—A point on the earth, which may be expressed in world coordinates (textual or
numeric) or as a point geometry.
Matching—Comparing standardized address elements in a common structure (one may
have been transformed) and selecting one or more successful or candidate matches.
13-5
Working with GeoMedia
Functional Overview
There are three basic operations involved in Address Geocoding:
1. Index Building—Processing the source data and building an Address Geocoding
Index file. Part of processing the index data also involves address transformation and
standardization.
2. Address Transformation (includes address parsing)—Decomposing the address into
the matching attributes used to build the index file.
3. Address Matching—Taking a fully parsed input attribute and finding the best match
in the index.
13-6
Geocoding
Finding an Address
The Find Address command lets you find the location of an input address and display it as
a point in the map window. This command performs address matching of an address that
has a defined transformation between the source (user input) and target (geocoding engine
expectant) address formats.
Specifying the input for this command is a two-step process in which you first define
parameters on the Find Address Options dialog box. You then provide additional address
details and perform the actual find through the Find Address dialog box. The Find
Address dialog box is displayed only if the geocoding directory has first been defined. If
you try to start this command and no geocoding directory is known to the command (or a
previously specified one does not exist), the Find Address Options dialog box is
displayed first to let you define the geocoding directory. (Clicking Options on the Find
Address dialog box also displays the Find Address Options dialog box.).
The Find Address Options dialog box lets you specify the following parameters used in
the geocoding process:
• Geocoding directory—Selected geocoding directory file (XML) that has information
for one or more geocoding datasets, by default in the GeoMedia Warehouses folder.
• Geocoding dataset—Dataset name to geocode against, containing all the dataset
names from the specified geocoding directory file.
If there is more than one dataset, the additional item <By address element> is added
to the top of the drop-down list. You then have the option (Address element name) of
specifying an address element whose corresponding value is used for determining the
geocoding dataset (that is, the specified address element defines the geocoding dataset
name to be used to find the address location). For example, you might use a regional
name, such as the city name, when geocoding adjacent city street networks.
• Address element name—Address element to be used to specify the name of the
geocoding dataset to be used (if a geocoding directory contains a number of named
geocoding datasets). This drop-down list is enabled only if the Geocoding dataset has
been set to <By address element>.
13-7
Working with GeoMedia
• Find—After all the parameters have been defined, clicking this button starts the Find
Address geocoding operation. If an address match is returned, the map window is
13-8
Geocoding
centered at the current scale on the point geometry that is the location of the returned
address match. The match status details are populated in the Match details field.
• Options—Displays the Find Address Options dialog box, which lets you specify the
geocoding directory and other parameters used in the address geocoding process.
• Match details—Displays the following match status details returned from a geocoding
operation: Match Score, Match Status, Standardized Address, and Matched
Address.
In displaying the results, the command locates the point geometry at the center of your map
window that best matches the source address. The Find Address Options dialog box lets
you define the output minimum match score, offset distance and unit, and the style of the
point geometry using the GeoMedia Select Style and Style Properties dialog boxes.
13-9
Working with GeoMedia
This is the data that was used to generate the geocoding dataset used in this workflow.
Zoom in to a neighborhood area of the street data display.
Note: You do not need to connect to this warehouse for the purpose of geocoding;
doing so helps you visualize the data and verify relative position in the current
coordinate system for the GeoWorkspace.
The first time you run this command, the Find Address Options dialog box should be
displayed. If not, click Options on the Find Address dialog box to display it.
5. For the Geocoding directory field, click Browse; then select:
C:\Warehouses\GMAGTrainingCenterlineStreetData.xml.
6. From the Geocoding dataset drop-down list, select TN, which is referenced in the
directory selected in the previous step.
7. From the Input address format drop-down list, select Street Address : City : State :
ZIP.
Note: This is one of the input address formats supported by the dataset being used; you
may choose a different format to use to enter the address information.
8. You can type appropriate values in the Minimum match score and the Offset distance
fields, and then select the offset unit from the drop-down list. For this workflow, you
accept the default values.
9. Optional: Click Style to define the point display settings for the results in the map
window.
10. Click OK to confirm the options selected and to display the Find Address dialog box.
13-10
Geocoding
The column of Address element names match the input address format selected in Step
7.
11. In the Address element/Value grid, type the following values:
Street Address: 1818 Lake Ave
City: Knoxville
State: TN
ZIP: 37916
12. Click Find.
The address is located and displayed in the map window with a point symbol. Also, the
geocoded location of the address is centered in the map window at the current display
scale.
13. Note the matched values in the Match details field.
Note: To show this information, you may need to resize the dialog box or to scroll the
match details vertically.
13-11
Working with GeoMedia
14. Note the Match Score of 100 and the Match Status message Matched : OK, indicating
the quality of the match of the input address with the geocoding dataset. If the match is
less than the Minimum Match Score, the status message includes information about
which fields contributed to the mismatch.
15. Change the City name in the Value column to Maryville; then note the result when
you click Find.
No address will be located, and the message Unmatched:City name mismatched is
displayed.
16. Change the name back to Knoxville, pan to a different area, and then click Find again
to check out the centering.
17. To use a different input address format, first click Options; then change the Input
address format on the Find Address Options dialog box to Post address.
18. Next, type 1818 Lake Ave, Knoxville, TN 37916 as the Value for Post address
on the Find Address dialog box.
19. Click Find.
Notice the match information and the geocoded location. It should be the same as
before.
Also, notice how you used the same input address in two different forms. This feature
gives you a great deal of flexibility in how you can enter an address to find.
the geocoding dataset (that is, one field of the input feature class/query defines the
geocoding dataset name to be used to switch between geocoding engines or instances
of a geocoding engine).
The read-only Address element column is populated with the address elements from
the specified input address format. The read-write Attribute name column has a drop-
down list that is populated with all the attributes from the input feature class/query that
are of type Text, Memo, Byte, Integer, or Long. If the suggested field names are
present in the input feature class/query, the command populates the second column
with those names. However, you can change the default values.
Note: Suggested field names are defined in the geocoding model (GCM) file before
the dataset is published.
All the required address elements are displayed in bold and red font to indicate that the
address fields must be specified for all such address elements. If <By address
element> is chosen as the geocoding dataset, the address element specified in the
Address element name drop-down list also is displayed in bold and red font on the
grid. The controls on the right-hand side are enabled only on a tab out from this
control on the condition that you provide all the required fields.
13-13
Working with GeoMedia
• Output Attributes—All the available fields in the input feature class/query, along
with the fields generated by the Geocode Addresses command (like GeometryField,
MatchScoreField, MatchStatusField, StandardizedAddressField, and
MatchedAddressField). Clicking Attributes displays this dialog box so that you can
select, rename, and re-order the output attributes as necessary.
• Advanced Properties—Minimum match score plus the Offset distance and
corresponding unit. Clicking Advanced displays this dialog box so that you can
change these values as necessary.
The minimum match score value (in the range 0-100) determines if an address is
successfully geocoded. Records that have a match score less than this value have a
null geometry value generated and so do not appear in the map window. The default
value is 100. All input record match statistics can be viewed by displaying the
geocode addresses query in a data window.
The default offset value is two meters for centerline geocoding. Offset is not used for
intersection or rooftop geocoding. The units drop-down list contains all available
linear units and is initially set to the default linear unit as specified by the
GeoWorkspace Coordinate System command.
The Geocode Addresses command outputs the results as a new query set of the geocoded
points. You can display these resultant points in a map window and/or the nongraphic
attributes of the geocoded points in a data window. For map window optimum display
results, you can define the output minimum match score, offset distance and unit, and the
style of the point geometry using the GeoMedia Select Style and Style Properties dialog
boxes.
Note: You do not need to connect to this warehouse for the purpose of geocoding;
doing so here helps you visualize the data.
13-14
Geocoding
6. From the Geocode addresses in drop-down list, select the table BulkAddressList,
which contains 61 rows, each having an address to be geocoded.
7. For the Geocoding directory file field, click Browse; then select:
C:\Warehouses\GMAGTrainingCenterlineStreetData.xml.
7. From the Geocoding dataset drop-down list, select TN.
8. From the Input address format drop-down list, select Street Address : City : State :
ZIP.
Note: This is one of the input address formats supported by the dataset being used; it
matches the selected table containing the addresses to be geocoded.
9. For Address attributes, ensure that the Address element names match the correct
field (Attribute name) names from the input data.
Note: The correct names are used automatically when the geocode configuration files
contain enough information, such as in this exercise.
10. Optional: Click Attributes to change query properties, that is, some or all of the
attributes of the query results.
13-15
Working with GeoMedia
11. Optional: Click Advanced to set the advanced properties: a Minimum match score
and an Offset distance and corresponding unit. For this workflow, accept the default
values.
12. Optional: Change the Query name and/or Description on the Geocode Addresses
dialog box.
13. To see the results in a map window, check the Display geocode points in map window
check box; then select the appropriate Map window name.
14. Optional: Click Style to define the display settings for the results in the map window.
15. To see the results in a data window, check the Display geocoded points in data
window check box; then select the appropriate Data window name.
16. When you have defined the appropriate settings, click OK to see the results.
13-16
Geocoding
The added columns in the data window show the match Score, match Status,
StandardizedAddress, and MatchedAddress.
17. Review the results, paying particular close attention to the data view. Examine the
match score and the match status, and then compare the input attributes to the
StandarizedAddress and MatchedAddress attributes for some of the records.
18. Select the GeoMedia command Analysis > Queries.
19. On the Queries dialog box, select the geocode addresses query; then click Properties.
20. On the Query Properties dialog box, click Advanced.
21. On the Advanced Properties dialog box, change the minimum match score from 100 to
50.
22. Click OK on this dialog box, and on the Query Properties dialog box, and then click
Close on the Queries dialog box.
Note that by reducing the match score, the number of matched addresses has increased.
Note: The results are a query in GeoMedia, and thus this query can be edited in the
usual manner. It can also be placed in part of a series of queries, as well as being
persisted with the GeoWorkspace.
13-17
Working with GeoMedia
<GeocodingDataset>
<Name>NC</Name>
<Description>North Carolina Centerline TIGER/Line data</Description>
<ForwardEngineProgID>GeoMedia.AGIGeocodingEngine</ForwardEngineProgID>
<ConnectString>c:\warehouses\GMAGTrainingCenterlineStreetData.agi</ConnectString>
<AddressTransformations source="AGIEmbedded"/>
</GeocodingDataset>
<GeocodingDataset>
<Name>TN</Name>
<Description>Tennessee Centerline TIGER/Line data</Description>
<ForwardEngineProgID>GeoMedia.AGIGeocodingEngine</ForwardEngineProgID>
<ConnectString>c:\warehouses\GMAGTrainingCenterlineStreetData.agi</ConnectString>
<AddressTransformations source="AGIEmbedded"/>
</GeocodingDataset>
</GeocodingDirectory>
In this geocoding directory, you can see there are two datasets referenced, and they can be
referred to by the dataset names TN and NC. These names were chosen because they
match the way that datasets might be subdivided – in this case, by the state abbreviations.
1. Open a new GeoWorkspace, and then connect to
GMAGTrainingCenterlineStreetData.mdb and GMAGExerciseAddresses.mdb in
C:\Warehouses.
2. To put the data into perspective, ensure that the feature classes TNStreets and
NCStreets are displayed in the map window.
3. Display the MultiStateAddresses table from GMAGExerciseAddresses.mdb
connection in the data window; then inspect the table and note that there is a State
column.
In the sample addresses, there are records in the State of NC (North Carolina) and
others in the State of TN (Tennessee). Also note the address fields available in the
input addresses: Address, Zip, City, and State.
4. Close the data window, and then make a map window the active view.
5. Select Analysis > Geocode Addresses.
6. From the Geocode addresses in drop-down list, select the MultiStateAddresses table
as the input to the query.
7. For the Geocoding directory file, select
C:\Warehouses\GMAGTrainingCenterlineStreetData.xml.
Note: The content of this XML file is the example given at the beginning of this
workflow.
13-18
Geocoding
8. From the Input address format drop-down list, select the format that matches the test
addresses: Address : City : State: ZIP:.
9. From the Geocoding dataset drop-down list, select <By address element>; then
select State from the Address element name drop-down list.
10. In the Address attributes grid, note that the address elements have a field mapped
automatically for the attribute. This was defined through the Geocoding Model file
used to build the Address Geocoding Index file (AGI).
11. Tab out of the grid control to enable the remainder of the Geocode Addresses data.
12. Verify that the check boxes to display the output to the map window and to the data
window are checked and that the map window display style is appropriate.
13. Click OK to see the results.
14. Inspect the results, and note that there extra attributes added by the Geocode
Addresses query.
Note: Before clicking OK, you could have clicked Attributes and then have selected
the contents of the output query, and also have renamed any of the attributes.
13-19
Working with GeoMedia
example, speech recognition. The system uses an adaptation of HMM technique for
normalization of human-written addresses.
The system is initialized by an XML initialization file that contains address parsing rules.
The Define Parsing Rules utility, available from Intergraph Support, is an interactive
program for composing, editing, and testing these address parsing rules. There are several
predefined sets of rules delivered with the utility, and you can create additional ones.
See “Geocoding Models and Parsing Rules” in the “Additional Geocoding Information”
appendix for the description of the parsing rules delivered with this software.
Overview
The address parsing rules are described by a parsing rules file, which includes:
• Definition of HMM states, that is tokens.
• Standardization rules for every HMM state/token.
• Pre-parsed samples that define typical order of the tokens.
• Mapping from tokens to output entities and elements. Output elements of the parsing
rules are used to represent address elements in the address definition.
Every token describes some atomic attribute of the input data. In the U.S. Street addresses,
for example, good candidates for the tokens are:
• Street prefix (‘E’ in ‘E Main Street’)
• Street name (‘Second’ in ‘N Second Ave’)
• Street type (‘Road’ in ‘Forrest Road’)
• Street suffix (‘NW’ in ‘MLK Blvd NW’)
During parsing, all characters or words in the input string are assigned to tokens. For this,
the characters or words that can be contained within every token should be defined. In the
present implementation of the parsing rules, the definition can be done in five different
ways, each corresponding to a different token type:
1. ‘Dictionary’ token type—This element type is defined by enumeration of all values it
can contain.
2. ‘Pattern’ token type—The values of this element are defined by a single regular
expression. A good example of the ‘pattern’ token is the base U.S. ZIP, which always
contains exactly five digits and can be described by the “\d{5}” regular expression.
3. ‘External Rules’ token type—The values of this token are defined by some other
parsing rules. It is a convenient way to embed an existing set of parsing rules into the
current parsing rules.
13-20
Geocoding
4. ‘Reference’ token type—This token is exactly the same as some other token. It is
possible, for example, to define the ‘Street suffix’ token from the U.S. Street example
as a reference to the ‘Street prefix’ token.
5. ‘Characters’ token type—This is the most generic notion. It should be used if none of
the previous token types can fully describe the values that can be assigned to the token.
This token definition takes values that are similar to the given samples. This type is
the most suitable for the ‘Street name’ element.
Optionally, the system can perform standardization. The standardization is performed as
defined in the parsing rules. Every token’s value is replaced with its standard form. Then,
these values are taken to form the standardized output entity(entities). The standard form
is defined separately for every token, as follows:
1. ‘Dictionary’ token type—All dictionary items are combined in groups, with every
group consisting of some standard form value and its aliases. During standardization,
all aliases are replaced with the standard form of the group.
2. ‘External Rules’ token type—The standardization is performed by the embedded
parsing rules.
3. ‘Reference’ token type—The standardization is defined in the referenced token
definition.
4. ‘Pattern’ and ‘Characters’ token types—Tokens of this type contain standardization
rules. Every rule contains the following: what to replace (a substring or regular
expression), a replacement (a substring or regular expression), and several flags that
affect the standardization process.
Besides the tokens themselves, their characteristic sequences should be defined. This is
done by providing training samples. Every training sample is a manually parsed string
along with the sequence of tokens that form this string. For the U.S. Streets address
parsing rules with the elements discussed above, such training sequences can be the
following:
Address Sample Token Sequence
1st Ave E Street name Street type Street suffix
E Main Street Street prefix Street name Street type
Broadway Street name - -
Military Way Street name Street type -
Every training sequence has a weight that shows how often such a sequence appears in the
real addresses. The more the weight, the more common this sequence is in real life. As the
HMM technique is a probabilistic one, the quality of parsing can significantly benefit from
the proper weights. The Define Parsing Rules utility itself provides a way to estimate the
weights of the sequences by parsing the large number of addresses and providing statistics
for different sequences.
13-21
Working with GeoMedia
The parsing rules can contain many tokens. In the previous U.S. Streets example it is
worthwhile to:
• Introduce tokens to parse local highway addresses (for example, ‘Interstate 60’).
• Introduce a special token to take values of the ‘numeric’ street names, for example,
‘89th street’ or ‘Fifth Blvd’.
Introducing such tokens results in better parsing, as it is possible to:
• More precisely define the values of each token.
• Define better standardization rules. For example, ‘12 street’ should be standardized to
‘12TH ST’, but ’12 oaks blvd’ should be standardized to ‘12 OAKS BLVD’.
The sample parsing rules file for U.S. street names delivered with the utility, for example,
contains 30 tokens. Outputting all tokens values is usually overkill, so the parsing rules
file also defines the output rules.
The system returns the parsed string as output entities; each of them consists of several
output elements. Each output entity has one or more associated tokens, called required
tokens. If at least one of these tokens participates in the result of parsing a string (that is, a
sequence of tokens along with associated values), the entity is output by the system.
Otherwise, the entity is skipped. Every entity consists of several output elements, and the
value of each of these elements is formed from the values of one or more tokens. Each
token can participate in different output entities or its value can be ignored in output. The
token can participate only once in every entity.
Input
A set of tokens, training samples, and the definition of output entities.
Output
A parsing rules file.
General Workflow
To create parsing rules the following steps must be performed:
1. Define tokens. The parsing rules must have at least one token.
2. Add necessary training samples. At least one training sample is required.
3. Define output entities that the parsing system should produce for the user.
4. Optional: Perform testing of the parsing rules using appropriate data sources, and then
analyze the results.
13-22
Geocoding
Geocoding Coordinates
Geocode Coordinates creates point geometries for a feature class or query based on
projected or geographic coordinate values stored in the attributes of the input tables of that
input feature class or query. For example, you can use a data table containing latitude and
longitude values to place points. This command outputs the results as a new query that is
dynamic. Thus, you can display the resultant geocoded points in a map window and/or the
attributes of the geocoded points in a data window, and if the source warehouse changes,
the resultant points also change. For example, if new storm tracks or tract data is added to
a text file with storm data, then the points update to reflect the current storms and storm
positions. In addition, you can set the style for the map window for optimum display
results.
13-23
Working with GeoMedia
Note: If the resultant coordinate values are suspect or problematic, you can review the
resulting Geocode query in a data window to inspect a newly created column called
GeoCode_Status. If for some reason a point could not be placed, this field records the
problem. You can then sort on the column or run attribute queries to locate the
problem coordinate records.
To geocode coordinates:
1. Select Analysis > Geocode Coordinates.
See the GeoMedia Help for complete information on the parameters of this dialog box.
2. In the Geocode attributes in field, select the feature class or query containing
attributes to be geocoded.
3. Optional: Click Coordinate System to review and/or to change the default
coordinate-system definition, to browse for and save coordinate system files, and to set
and modify the units and formats on the Coordinate System Properties dialog box.
4. In the Coordinate attributes area, select the attribute to be used for the first coordinate
from the drop-down list.
Note: The names of the first and second coordinate fields vary dynamically with the
selected coordinate system, units, and format.
5. Select the attribute to be used for the second coordinate from the drop-down list.
13-24
Geocoding
6. Optional: Select the attribute to be used for the height value from the drop-down list.
7. Optional: Change the default value in the Query name field.
8. Optional: Type a query description in the Description field.
9. Verify that the Display points in map window check box is selected, and change in the
Map window name field, if appropriate, the default active map window in which to
display the geocoded points.
OR
To not display the geocoded points in a map window, select the Display points in map
window check box to remove the checkmark.
10. Optional: Click Style, and change the default style on the Select Style dialog box.
11. Verify that the Display points in data window box is checked, and change in the Data
window name field, if appropriate, the default new data window in which to display the
nongraphic attributes of the geocoded points.
OR
To not display the nongraphic attributes of the geocoded points in a data window, click
the Display points in data window box to remove the checkmark.
12. Click OK to generate and to display the points in the specified map window and/or data
window.
13-25
Working with GeoMedia
13-26
Working with Layout Windows
14-1
Working with GeoMedia
Layout Tab
The Layout tab lets you set controls for the layout window graphics commands relating to
the layout grid and length readout. This tab is displayed on top when the Options dialog
box is opened in the layout window.
The Units selection area lets you set up the units for defining Distance and Style values in
the layout sheet. The Style setting is used for defining line widths for the drawing
commands (Line, Circle, and so forth), and for north arrow and scale bar style properties.
The Distance setting supports up to seven-decimal precision and is used for precision key-
in control in the drawing commands (Line, Circle, and so forth), the Measure Distance
command, the Legend Properties command, and the grid subinterval spacing. The
precision readout sets the number of significant figures to display the accuracy of the unit
readout value. The precision setting does not alter the numbers that you type into the
fields, only the display of the numbers in the field. Values ending in five are rounded up.
For example, if the precision readout is 0.123 and you draw a line that is 2.1056 inches
long, the line value length is rounded. The length value appears as 2.106 inches long. If
you are using millimeters as your drawing sheet units, you can have the values display in
the fields as 3.5 mm or 3.50 mm.
Note: When you set options on the Layout tab for the units in a document, the settings do
not affect the dimensional values or sheet size for the document.
The Grid and Nudge selection area lets you set options for using the Grid Display and
Grid Snap capabilities as follows:
• Grid display—Displays a grid for precision element placement. The grid lines
themselves are not considered part of the document and do not print.
14-2
Working with Layout Windows
• Grid snap—Aligns elements with the grid, which is an invisible set of lines in the
document that helps you align elements. When you select this option, elements always
align with the grid lines or the nearest intersection of the grid lines.
• Subinterval spacing—Sets the spacing of the grid lines.
• Subintervals per interval—Determines the number of index grid lines. The read-only
unit is set by the layout window Page Setup command. The size of each grid cell is
determined by the Subinterval spacing. The Subintervals per interval 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 inches, then the minor grid
lines display as dashed gray lines at 0.25 inch intervals, and the major grid lines
display as solid gray lines at 1.0 inch intervals, per the following formula:
major grid line interval = grid spacing X grid index
Page Setup
The page setup parameters for layout sheets created using the Insert Sheet command are
based on the current settings of the active sheet when the command is started. The page
setup parameters of the active sheet are copied to the new sheet. If the page setup
parameters have been defined as the default, the page setup parameters are based on the
saved default settings. The page setup parameters for imported files or templates are based
on the parameters defined for the imported sheet.
When you open the layout window for the first time in a new GeoWorkspace, the page
setup parameters are obtained from the delivered GeoMedia template file normal.glt. You
can bring this file into the layout window with Import Layout and then modify it to reflect
your default layout parameters.
See “Defining the Layout Window Page Setup” in the “Printing in GeoMedia” chapter for
more information.
Plotting
Upon completion of your map design, you can submit the plot to a plotter or an offline file,
such as PDF, through the standard Windows printing interface. The layout window and all
of its associated layout sheets are automatically saved in the GeoWorkspace when you save
the GeoWorkspace. If you do not want to save the plot session, you can manually delete
the plot upon completion.
See “Printing Layout Sheets from the Layout Window” in the “Printing in GeoMedia”
chapter for more information.
14-3
Working with GeoMedia
14-4
Working with Layout Windows
Place the cursor over the layout sheet tab, right click, and then select Insert from the
right mouse menu.
Note: The page setup for the first sheet in the layout window is based on parameters
defined for the layout sheet in normal.glt. However, this is not automatically so for
subsequent sheets. The page setup parameters for each new sheet are based on the active
sheet when this command is started. Thus, if the first sheet is a C Size Sheet and is the
active sheet when the command is started, then the new sheet inserted will also be a C Size
Sheet. But if you then create a D Size Sheet, and it is active when you start the command,
then the new sheet inserter will be a D Size Sheet, not the initial default C Size Sheet.
is made to reproduce the originating map window of each map SmartFrame found in the
.gls file. If the originating map window is not found, the software looks for a named
legend whose name is the same as the originating map window, and uses that named
legend to create an originating map window.
See the next section, “Exporting Layout Sheets and Templates”, for information on this
command.
Note: Problems may arise when trying to import pre-GeoMedia 5.2 .gls files, or if named
legends no longer exist. In such cases, error messages are displayed to provide the needed
information.
Layout templates and drawing files are also external files that you can import into the
layout window. The location of the templates is defined as \Templates on the File
Locations tab of the Options dialog box (Tools > Options). The default location is
<drive:>\Program Files\GeoMedia\Templates\Layouts.
14-6
Working with Layout Windows
Note: Some SmartSketch components are not supported within the GeoMedia
environment. The .igt and .igr files containing components such as Connectors and
Smartlabel controls should not be used when importing into GeoMedia.
GeoMedia layout templates created with GeoMedia 4.0 (or above) using the Export
Layout command contain only layout graphics. Imagineer or SmartSketch files or
templates created using GeoMedia 2.0 or GeoMedia 3.0 plotting workflows may contain a
combination of map graphics and layout graphics. When importing these Imagineer or
SmartSketch file types, only the layout graphics are imported. Map graphics are ignored,
but the layout frames used to contain the map graphics are imported to provide a point of
reference in the layout design. Because the GeoMedia 2.0 and 3.0 style of layout frames is
not associated as a group, they will need to be redrawn using the Insert Layout Frames
command.
Hint: To ensure proper scaling of the design file elements into the layout sheet, it is
advisable to place a rectangle in the design file that produces a particular sheet size when
plotted at a given scale. For example, a Bsize sheet (11 inches x 17 inches) portraying
1:50,000 scale graphics can accommodate an area on the ground of 550,000 inches x
850,000 inches. Therefore, a rectangle of this size should be placed in the design file
before the import, where the desired graphics are contained within the rectangle. If there
are any graphics in the design file that extend beyond the rectangle, they should be deleted.
14-7
Working with GeoMedia
3. Select GeoMedia Layout Sheets (*.gls) from the Files of type drop-down list; then
select the appropriate .gls layout sheet file.
OR
Select GeoMedia Layout Templates (*.glt) from the Files of type drop-down list;
then select the appropriate .glt template file.
OR
Select SmartSketch Template Files (*.igt) from the Files of type drop-down list; then
select the appropriate .igt template file.
OR
Select SmartSketch Files (*.igr) from the Files of type drop-down list; then select the
appropriate .igr drawing file.
OR
Select MicroStation Layout Templates (*.dgn) from the Files of type drop-down
list; then select the appropriate .dgn template file.
Note: Before selecting a MicroStation layout template (.dgn) for import, you must
first determine the necessary sheet size for the file and set it on the active layout sheet
(either existing or newly inserted) accordingly.
4. Click Open.
14-8
Working with Layout Windows
The sheet(s) located in the selected file is appended (copied) into the current
GeoWorkspace as a new layout sheet and is made active. When multiple sheets are
imported, the last sheet added is made active.
Note: If the sheet you are importing has the same name as an existing sheet, you have
the option to overwrite the existing sheet or to import the sheet with a different name.
14-9
Working with GeoMedia
Update Map Graphics. This workflow provides a useful mechanism for maintaining
dynamic plot files outside of the GeoWorkspace.
To support importing .gls files, both interactively and in batch plotting, the Export Layout
command assigns custom attributes to the GeoMedia layout sheet file that define particular
characteristics of the sheet being exported. You can access these attributes by selecting a
GeoMedia layout sheet in Windows Explorer, clicking the right mouse button, and then
selecting the properties of the file. On the Custom tab, the attributes are listed as follows:
• Name of the originating GeoWorkspace (drive:\folder\name)—When shared
network drives are referenced, the attribute value reflects the Universal Naming
Convention (UNC). This is required primarily for batch plotting workflows, but it is
also necessary for interactive workflows to verify that the selected .gls file is being
imported into the GeoWorkspace from which it was originally exported.
o Attribute:
o Name: GeoWorkspace
o Type: Text
o Value: C:\GeoWorkspaces\USSampleData.gws (for example)
• SheetName of the exported file
o Attribute:
o Name: SheetName
o Type: Text
o Value: Illinois (for example)
When importing .gls files, all effort is made to reproduce the originating map window of
each map layout frame found in the .gls file. The Batch Plotting utility (GeoMedia
Professional) workflows require a named legend for the composition, so a named legend
should exist in the GeoWorkspace for any exported .gls files, enabling the import to
reproduce the originating map window with the appropriate content.
Interactive .gls file export workflows may not contain map frames that were populated
using a named legend (whose name matches the map window name), making it difficult to
reproduce the originating map window of the map SmartFrame during the import. For
each map SmartFrame in the imported .gls file, the command checks to see if there is a
map window in the GeoWorkspace that matches the name of the map window defined in
the map layout frame moniker. If the map window exists, no further map window actions
are required. If the map window does not exist, import attempts to create a new map
window based on the map frame moniker, as previously noted.
With GeoMedia layout templates, Export Layout only exports layout graphics (titles,
borders, logos, and so forth) and layout frames placed with Insert Layout Frames; it does
not export map graphics (map, legend, north arrow, and scale bar) contained in the layout
frames. This command only exports one sheet at a time, and it includes a background sheet
if one is referenced by the layout being exported.
14-10
Working with Layout Windows
Export Layout also exports the layout sheet to several raster file formats (.bmp, .jpg, and
.tif). These files are typically fully composed layouts that can be stored as external disk
files, providing a useful mechanism for maintaining static plot files outside of the
GeoWorkspace. These are standard industry file formats that can be opened and
manipulated in third-party applications, such as word processing or desktop publishing.
File resolutions supported include 72, 100, 200, 300, and 600 dpi.
Note: Before exporting a sheet, you can use Update Map Graphics to update the
graphics with any changes in the map window, including the addition or removal of legend
entries as well as any style modifications.
3. For .gls and .glt files, select the appropriate folder and file type, and type the name of
the file to export in the File name field; then click Save to write the active layout sheet
to the specified name and to exit the command.
OR
For .bmp, tiff, and .jpg, . files, select the appropriate folder and file type, and type the
name of the file to export in the File name field; then click Save.
4. For .bmp and tiff files, select the appropriate File resolution on the <file type> Export
Options dialog box; then click OK to write the active layout sheet to the specified
name and to exit the command.
14-11
Working with GeoMedia
For .jpg files, select the appropriate File resolution and JPEG Quality Factor on the
JPEG Export Options dialog box; then click OK to write the active layout sheet to
the specified name and to exit the command.
14-12
Working with Layout Windows
14-13
Working with GeoMedia
working sheet, the software automatically adjusts the size and the margin of the working
sheet to match the size and the margin of the background sheet.
14-14
Working with Layout Windows
4. Optional: Double click on a row to open the Layout Window Page Setup dialog box,
and then change the page setup on the Layout Window Page Setup dialog box.
Manipulating Layers
The Layers command (Layout > Layer) displays the Layer toolbar, which lets you view
and set the active layer, display or hide layers on the active layout sheet, and change the
layer of an element.
The Layer field displays the active layer on the layout sheet. You can change the active
layer by selecting an existing layer from a list of all the layers on the active sheet or by
typing a new layer name to create a new layer. You can create as many layers on a layout
sheet as you need, but you cannot give the same name to two layers on the same layout
sheet. The layer definitions and display status can be defined independently for the
working sheet and its attached background sheet.
Change Layer lets you change the layer for all of the elements you select. Although you
can assign an element to only one layer, you can change the layer to which an element is
assigned. The dialog box of this command displays the current (source) layer for all the
selected elements, and you can then select the (target) layer to which you want to change
them from a list of all the layers for the active sheet.
Layer Status lets you set the display criteria for the layers in the current layout sheet,
displaying or hiding layers in a list of all available layers on the active layout sheet
through the Layer Display dialog box. This dialog box also lets you set the display of
layer groups.
To create a layer:
1. Select Layout > Layer.
2. Type the name of the new layer in the Layer field; then press TAB.
Note: You can also create a layer using the Layer Groups command.
14-15
Working with GeoMedia
4. Select the target layer from the Change all to list; then click OK.
Note: The layer name displayed in black text shows that the layer is displayed on the
layout sheet. The layer names displayed in gray are hidden or turned off, and the layer
name displayed in red preceded by an asterisk is the active layer.
3. Optional: Check the Active layer only check box to hide all layers except the active
layer.
4. Optional: Check the Occupied only check box to display only names of layers
containing elements in the Layers list. Empty layers do not appear on the list.
5. Select a layer name in the Layers list to display or hide the layer on the layout sheet.
14-16
Working with Layout Windows
Note: Double clicking on a layer name makes it the active layer (red). A single click
on a layer toggles the display status from on (black) to off (gray), or vice versa.
14-17
Working with GeoMedia
Note: You can also create a layer using the Layer Groups command. On the Layer
Groups dialog box, type the name of a new layer in the Layers field and press ENTER.
The name of the new layer is displayed at the bottom of the Layers table.
Note: In the Grouped column, if the check box beside the layer name already has a
check, the layer is a member of the current layer group. You cannot give the same
name to two layers on the same layout sheet.
14-18
Working with Layout Windows
Note: When moving an area element and its corresponding fill to a different layer, the
Top Down and Bottom Up buttons on the ribbon bar function as follows: If the Top
Down button is depressed, only the rectangle is selected, and thus has its layer changed.
However, if the Bottom Up button is depressed, both the rectangle and its fill are selected,
and thus both have their layers changed.
To delete a layer:
1. Select Layout > Layer Groups.
2. In the Layers table of the Layer Groups dialog box, select the layer you want to
delete; then press DELETE.
To display or hide the Layer Groups list and layers on the layout sheet:
1. Select Layout > Layer.
2. Click Layer Status on the Layer toolbar.
3. Click Groups.
14-19
Working with GeoMedia
14-20
Designing Map Layouts for Printing
in the Layout Window
Designing Map Layouts Overview
After defining the page setup, you can begin placing graphics in the layout sheet. You can
place two kinds of graphics, layout graphics and map graphics. Layout graphics are
graphics such as borders, titles, company logos, and so forth. Map graphics consist of an
extracted subset of the map window (a map) and supporting marginalia (legend, north
arrow, and scale bar).
See “Page Setup” in the “Working with Layout Windows” chapter.
The order of placement is up to you; there are no requirements to place map graphics
before layout graphics, or vice versa. All marginalia placed in the layout are associated
with the originating map. This means that the legend automatically reflects the graphic
symbology used to define the map in the layout sheet. The north arrow automatically
reflects the projection parameters and view rotation of the map in the layout sheet, and the
scale bar automatically reflects the plot scale in the layout sheet. Placing marginalia is
possible only if a map exists in the layout sheet. In addition, you can place multiple maps
in a layout sheet when appropriate. To place layout graphics, you use the drawing
commands available in the layout window.
In terms of map graphics placement, there are two basic workflows: placing map graphics
using layout frames, and placing map graphics without using layout frames. Each
workflow is accomplished using different commands. Once the map graphics have been
placed, there are several tools and commands available for modifying the size and position
of the map graphics items and for placing a cartographic grid or reference grid on the map.
15-1
Working with GeoMedia
Requirements for data display and presentation for analysis are generally quite different
from those for output. In analysis, the display scale is constantly changing as you zoom in
and out. Feature symbology settings are generally defined so they produce legible results
at multiple display scales. In some cases, the data may be viewed in its raw geometric
form as non-symbolized point, line, and area data. In output, the data presentation is
typically defined to support a particular plot scale. The symbology settings are defined so
they produce the optimal results when they are applied at a fixed scale. The data are
usually fully symbolized for cartographic display.
Support for these two scenarios can be seen in several areas of the interface, beginning
with the Display Properties dialog box, which provides the ability to specify how the
feature is displayed. The View (size is true at any display scale) setting specifies that the
symbology remains fixed, regardless of the display scale – a suitable option for analysis.
When this setting is turned off, it specifies that the symbology is rendered at a specific
scale. As you zoom in and out, the symbology of the feature increases or decreases relative
to the change in the display scale – a suitable option for output.
See “Working with Styles” in the “Working with Map Windows” chapter and the “Style
Definition Dialog Box” topic in GeoMedia Help for more information.
The feature symbology settings on the Display Properties dialog box may contain a
mixture of display settings. The View (size is true at any display scale) setting may be
turned on for some features, and turned off for others. This scenario may provide a
suitable working environment for analysis as display scales constantly change when you
zoom in and out. However, this approach may produce undesirable results because the
symbology may not be appropriate for the output plot scale, as seen in the following
figures. It may be beneficial to create a map window that is devoted entirely to plotting,
15-2
Designing Map Layouts for Printing in the Layout Window
where unique legend settings can be applied independently of the settings used for
analysis.
Paper (size is true at nominal map scale)
When defining the symbology settings for output, the size of point, text, and patterned area
fill features and the weight for the line and area boundary features should all be defined
with the output plot scale in mind. Scale ranges are enforced as the data are transferred
from the map window to the layout window, so it may be advisable to disable any scale
range settings and only display the features that you want on the plotted map. This
minimizes any surprises in the final output. Once this is done, achieving a WYSIWYG
(What You See Is What You Get ) display can easily be accomplished using the Display
Properties command.
For WYSIWYG displays, you set the Display scale and Nominal map scale to the
intended plot scale. When these two settings are the same, there is consistency between the
symbology rendering, regardless of what the individual settings are on the Display
Properties dialog box for the View (size is true at any display scale) option.
Note: In general, the nominal map scale should not exceed the plot scale because, if it
does, it affects the accuracy and reliability of the data plotted.
Once this is done, you would select the Paper (size is true at nominal map scale) option
on the Display Properties dialog box. This ensures that all feature symbology definitions
are rendered at the specified nominal map scale (which should, in this example, be the
same as your plot scale). You then click Apply and close the Display Properties dialog
box. If you are not satisfied with the display characteristics of a particular feature class,
you can go back to the Select Style dialog box to modify the symbology settings.
Once you are satisfied with the results, you can use the Pan command to move about the
map window to preview what the map will look like. When you are satisfied, you can then
zoom out to the scale necessary for you to define the Geographic Extent used by the
Insert Map and Insert Graphics into Layout Frames commands.
15-3
Working with GeoMedia
Note: The rendering of map graphics takes into account the View (size is true at any
display scale) setting on the Display Properties dialog box for each legend entry. When
the View (size is true at any display scale) setting is unchecked, the graphics are rendered
at the nominal map scale, increasing or decreasing in size as the display scale or plot scale
fluctuates away from the nominal map scale. As the data are transferred from the map
window to the layout window, the size of the text, the symbols, and the line widths are set
at the nominal map scale and are then scaled accordingly based on the variation between
the nominal map scale and the plot scale. When the View (size is true at any display
scale) setting is checked, the graphics are rendered at the display scale, remaining
consistent as the display scale changes. As the data are transferred from the map window
to the layout window, the size of the text, the symbols, and the line widths are set at the
plot scale. In this manner, regardless of the discrepancy between the display scale and the
plot scale, the size will remain constant.
Applying a dashed line style or pattern line style to a linear feature can often produce
undesirable results if the linear network is segmented. Similarly, applying a dashed line
style or patterned line style to area boundaries can often produce undesirable results when
the area boundaries are coincident. Fortunately, there are tools available in the map
window to help you manipulate the geometry so it is suitable for applying dashed or
patterned styles.
See “Merging Feature Classes and Queries” and “Generating Base Geometry” in the
“Analyzing GeoMedia Data” chapter for more information.
15-4
Designing Map Layouts for Printing in the Layout Window
15-5
Working with GeoMedia
• Scale Bar—To display the scale bar in the map window, you select View > Scale Bar.
On the shortcut menu (right mouse click) of the scale bar, you then select Properties
and make the appropriate changes. Use Define intervals on the Intervals and Units
tab to define a fixed size scale bar. When this option is not selected, the size of the
scale bar will be 20% of the width of the map window.
See “Displaying the Scale Bar“ in the “Working with Map Windows” chapter.
15-6
Designing Map Layouts for Printing in the Layout Window
9. Select View > Zoom > to Actual Size to preview the map layout.
10. Select File > Print to plot the layout sheet.
OR
Using the Sheets > Export Layout command, export the layout sheet to one of the
available export formats.
15-7
Working with GeoMedia
Using the Sheets > Export Layout command, export the layout sheet to one of the
available export formats.
Map Specifications
Map specifications for the Insert Map and Insert Graphics into Layout Frames
commands are defined in terms of a map window, a geographic extent, a plot scale, and a
static/dynamic mode setting.
Map Window
The map window definition identifies the content of the map to be portrayed in the layout
window by using the legend settings of the map window to define feature symbology and
to display priority. The default map window is the last one used with either of these two
commands, or it is the first map window in the alphabetical drop-down list if it is the first
time either command is used or if the last used map window no longer exits.
Geographic Extent
The geographic extent defines the geographic footprint, or coverage, of the map to be
portrayed in the layout window. In many cases, the geographic extent you want is a subset
15-8
Designing Map Layouts for Printing in the Layout Window
of the map window, which can be defined in a variety of ways. You can select the method
for defining the geographic extent for the map from the following methods, and you can
provide any additional necessary parameters:
• Existing Shape—Uses an existing, user-defined area geometry type or compound
geometry type (containing an area definition) in the map window to identify the
geographic extent. When a compound feature is selected that contains multiple
polygons, the largest polygon is used to define the existing shape. The area between
the outside of the area feature and the layout frame limits is cropped.
• Geographic Frame—Requires a user-defined entry of the upper-left and lower-right
corners of the quadrangle, defined using geographic coordinates (for example, d:m:s)
to identify the geographic extent. This option is valid for projected or geographic
coordinate systems defined in the GeoWorkspace coordinate system settings. The area
between the outside of the quadrangle and the layout frame limits is cropped.
• Map Window (the default method)—Uses the area currently displayed in the selected
map window to identify the geographic extent.
The map window display area is defined by the window extent when the map window
is in the Restored state. This is because only one window can be maximized at a time,
and when the active window is maximized, all other non-minimized windows revert to
their Restored state. This behavior may give the perception that this selection is
producing the wrong result.
To illustrate this behavior, open a single map window (with data) and the layout
window. Make the map window active, and maximize the window. Fit the map data
to the window by selecting View > Fit All. Next, select Window > Tile Horizontally.
The map window and layout window are now both currently being displayed in their
Restored states. However, the displayed data extent in the Restored map window is
half of the displayed data extent of the maximized map window. If the windows are in
their maximized state, and the layout window is active, the map window will appear
Restored in the background. If the map window active, it will appear maximized, and
the layout window will be Restored in the background. Only one window can be
maximized at a time, so to get around this behavior, minimize all windows except the
map window you want, and select Window > Tile Horizontally. The map window
will be made as large as possible within the application, displaying the Restored state.
• Paper Size—Requires a user-specified paper size. The units for the Height and Width
values are based on the Distance unit defined on the Layout tab of the Options dialog
box. The unit type (inches, centimeters, and so forth.) is displayed to the right of the
fields. By default, the height and width are equivalent to the sheet size. The
geographic extent varies based on the plot scale selected.
• Polygon—Requires a user-defined digitizing of a polygon to define the geographic
extent. The area between the outside of the polygon and the layout frame limits is
cropped.
15-9
Working with GeoMedia
Plot Scale
The plot scale of the map defines the relationship between ground units and the paper units
used when portraying the geographic extent on the paper. You can select the method for
defining the plot scale using one of the following methods:
When you start either command, the default plot scale is equal to the display scale defined
in the map window on the Display Properties dialog box.
• User-defined —This option is available with the Insert Graphics into Layout
Frames and Insert Map commands. The size of the resulting map is predetermined
based on the combination of the geographic coverage selected and the plot scale
defined. This is true for all geographic extent methods using the Insert Map
command and for most geographic extent methods using the Insert Graphics into
Layout Frames command. The one exception is the Map Window geographic extent
method in the Insert Graphics into Layout Frames command. When this geographic
extent method is used, the size of the resulting map will be based on the original layout
frame, where the map will be placed in the layout frame at the specified scale, and then
cropped to fit the original frame.
See “Defining Map Window Display Properties” in the “Working with Map Windows”
chapter for more information.
Note: If the size of the map placed exceeds the size of the paper (defined on the
Layout Window Page Setup dialog box), you must do one of two things. You can
either increase the size of the paper on the Layout Window Page Setup dialog box, or
you can crop the map placed so that it fits the paper.
• Fit to frame—This option is only available with the Insert Graphics into Layout
Frames command. The plot scale is automatically calculated to perform a best-fit of
the geographic extent into the existing layout frame. This option ensures that the map
fits within the limits of the current layout design.
15-10
Designing Map Layouts for Printing in the Layout Window
Note: Plotting performance and quality may be affected by the Static or Dynamic mode
selection. When map graphics are placed in the layout window using Static mode, they are
rendered at the screen resolution, which is usually less than the plotting device resolution.
In general, Static mode graphics plot faster than Dynamic mode graphics, but Static mode
graphics produce a reduced overall quality (when compared to Dynamic mode graphics).
The degree of improved performance or quality degradation using Static over Dynamic
mode is based on the density of the data being plotted relative to the resolution of the
plotter device selected. This is especially evident when plotting high-resolution raster
images in the layout window.
Marginalia Specifications
Marginalia items placed in the layout sheet are always associated with a map. The
marginalia specifications for the Insert Graphics into Layout Frames, Insert Legend,
Insert North Arrow, and Insert Scale Bar commands are defined in terms of a legend,
north arrow, and scale bar. The display parameters used for rendering the marginalia in the
layout sheet are based on the command used to place them and their respective properties
defined in the map window.
Legend
When placed using the Insert Legend command, the legend is placed in the layout sheet
using a fixed size based on a combination of the number of columns, the size of the legend
15-11
Working with GeoMedia
keys, and the size of the feature text. When placed into an existing layout frame using the
Insert Graphics into Layout Frames command, the single column legend is scaled to fit
in the vertical direction. In the event that scaling in the vertical direction causes the
horizontal direction dimension to exceed twice (2X) the size of the original layout frame,
the scaling will be based on the horizontal direction.
Placement of the legend into a legend layout frame will use the lower-left corner of the
layout frame as the point of origin. Legends can be edited, moved, and scaled after
placement. Legends associated with dynamic maps are also dynamic, meaning that as
symbology modifications are made to the map, the legend is automatically updated to
reflect any changes in the map. Legends can be modified to change the number of
columns, the key styles, and so forth, and they still maintain their dynamic association with
the map. However, if the legend is converted to graphics using the Convert to Graphics
command on the right mouse menu, the dynamic link is lost and all components are
converted to standard layout graphics, the same as if they were placed using the drawing
commands.
North Arrow
When placed using the Insert North Arrow command, the north arrow is placed in the
layout sheet using the size parameters defined in the North Arrow Properties dialog box
of the originating map window. When placed into an existing layout frame using the
Insert Graphics into Layout Frames command, the north arrow is scaled to fit the
smaller of the two “X” or “Y” layout frame directions.
Placement of the north arrow into north arrow layout frames will be such that the center of
the north arrow will be coincident with the center of the original layout frame, adjusting
the layout frame to match the newly calculated size of the north arrow. North arrows can
be edited, moved, and scaled after placement, but they cannot be rotated.
Scale Bar
When placed using the Insert Scale Bar command, the scale bar is placed in the layout
sheet using the parameters defined in the Scale Bar Properties dialog box of the
originating map window. When placed into an existing layout frame using the Insert
Graphics into Layout Frames command, the size of the scale bar varies based on the
settings defined in the Scale Bar Properties dialog box of the originating map window.
If the properties are defined as automatic (the Define intervals check box is unchecked on
the Intervals and Units tab), the scale bar will be scaled so it fits within the extent of the
layout frame’s “X” direction, (plus/minus one interval – to allow for round off). If the
properties are defined as fixed (the Define intervals check box is checked), the scale bar
will be sized according to the pre-defined interval setting.
Placement of the scale bar into scale bar layout frames will be such that the center of the
scale bar will be coincident with the center of the original layout frame, adjusting the
layout frame to match the newly calculated size of the scale bar. Scale bars can be edited,
moved, and scaled after placement, but they cannot be rotated.
15-12
Designing Map Layouts for Printing in the Layout Window
There are assorted tools and commands available that can be used to adjust the graphic
display of the marginalia items after they have been placed in the layout sheet.
See the “Modifying Map Graphics in Layout Sheets” section in this chapter for
information.
For various placement and editing commands, additional fields are displayed on the right
side of an expanded Drawing toolbox. For example, when you select the Circle
command, a Radius field is added.
Note: If the layout window Drawing toolbox and Ribbon toolbar are deleted, and the
session is exited and saved, and then GeoMedia is reopened, the toolbox and toolbar are
displayed again in the new session.
15-15
Working with GeoMedia
The Ribbon toolbar contains the options for the layout window Select Tool when you first
open the layout window because it is the default active command. This toolbar appears by
default in the upper-left corner below the menu bar. When a command is active that does
not use this toolbar, it is collapsed as in the figure to the right above. When a command is
active that does use the toolbar, it contains the options for that command, for example the
Text command, as seen in the following figure.
See the GeoMedia Help for information on the Select Tool.
15-16
Designing Map Layouts for Printing in the Layout Window
The Geometry tabs are different for each element type. When you select this command,
all the fields on this dialog box are initially populated with the properties of the currently
selected element.
For example, the following Line Properties dialog box is displayed for line elements:
15-17
Working with GeoMedia
See the corresponding topics in GeoMedia Help for information on the various Properties
dialog boxes.
The general properties typically include layer, line color, line width, and line style. For
linear elements, they also include begin and end terminators as well as caps and joins. For
area elements, they also include fill properties, that is, if it has solid fill and fill color. For
symbols, they only include layer and symbol file. You can edit all the properties except
the symbol file, which is read-only. All of the properties of a group are general in nature;
no geometry properties are shown for a group.
The geometry properties vary according to the different elements and can include
coordinates, height, width, and rotation angle. For ease of editing, the command supports
both move and edit modes. In move mode, you can only change the position of the
element, not its shape. In edit mode, you can change both the shape and the position of the
element. You can use either mode, or you can switch between them.
The following table lists the elements and their geometry properties:
Element Geometry Properties
Arcs Center, start, and end coordinates; radius; start and sweep angle
Curves All the nodes
Ellipses Center point, primary and secondary axes, and rotation angle
Lines Start and end coordinates, length, and angle
Polygons All the vertices
Polylines All the vertices
Rectangles Four coordinates representing the four corners, height, width, and angle
15-18
Designing Map Layouts for Printing in the Layout Window
Placing Text
Clicking the Text button on the Drawing toolbox lets you place text elements by either of
two methods, single point placement or rectangle placement. In the single point placement
method, you click on the layout window, and a text box is placed with an initial size of a
single character. As you type, the text box expands horizontally to accommodate the
characters typed. Once the text box has been placed, the size of the box cannot be
modified except by changing the font size. In the rectangle placement method, you use a
15-19
Working with GeoMedia
mouse down, mouse drag, mouse up sequence to define the dimensions of the text box.
Then as you type, the text box never expands horizontally, but may expand vertically to fit
the text. With this placement method, you can later modify the size of the box.
You can move text by selecting anywhere in the text box or on the outline of the text box,
provided you are not selecting a solid-filled handle. You can also change the size of the
text box containing the text, provided you select and drag a solid-filled handle. While
placing or editing the text, you can change the characteristics of the text (font, size, color,
bold, italic, underline, and justification) by using the Ribbon toolbar that is automatically
displayed.
Note: For all new text inserted, the layout window defaults to igTextSizeTypeTile. All
old text that was placed at another standard is interpreted using this standard.
15-20
Designing Map Layouts for Printing in the Layout Window
The General tab lets you change information for layer and textbox style, such as border,
fill, and shadow. The Geometry tab lets you change the position and size of the text box,
such as lower-left coordinates, width, height, and angle.
Clicking the Apply Linear Style button applies the linear style to the objects in the select
set. This button also provides a preview for the linear style. The preview is updated when
a change is made to the linear color, width, type, terminator, end cap, or join settings, or
when a map window style is selected.
You can define simple line styles or select a map window style from the named styles of
the GeoWorkspace through the active style menu, which displays when you click the
corresponding arrow button. This menu contains two options: Use Simple Style and
Select Map Window Line Style. The first option enables all the controls on the toolbox
and sets the active style to a Simple line style defined by those controls, that is, you can
edit simple styles at the component (color, width, and so on) level using the toolbox. The
second option displays the Select Style dialog box, which is restricted to linear styles in
this context. When choosing a named style, the remainder of the toolbox buttons are
disabled, so you cannot edit the style as with the first option. Also in this case, the style
definition is converted to a layout window style definition. Some aspects of a complex
15-21
Working with GeoMedia
style definition may be lost during this process, and special handling is required for point
style types used in pattern line styles. These conversion issues are discussed in the
following section.
Note: You can also define simple line styles or select a map window style from the named
styles of the GeoWorkspace through the Line Properties dialog box options. When
choosing a named style, the remainder of the controls in the Style definition frame are
disabled. Also in this case, the style definition is converted to a layout window style
definition.
See “Changing Graphic Element Properties” earlier in this chapter.
Styles Conversion
The map window styles system and the layout window style system differ enough that the
conversion from one to another is not complete. The following tables describe what
converts, what partially converts, and what does not convert. Entries that do not convert
have a note to describe what is done under that condition.
Point styles are a special case. Because the layout window can only use .sym files for
symbol styles, all non-sym symbols need to use a substitute .sym. The
SymbolRendererName and Source property are used to parse the cell/symbol/filename.
Then the software looks for a .sym matching the name of the symbol in the folder in which
the source resides. If a suitable .sym is not found, the symbols folder is searched. If a
matching .sym still is not found, a default symbol is used and an error message is
displayed. For predefined symbols, a matching .sym is delivered. Font styles are
simulated by creating a .sym containing a field.
Style Properties – Simple Line Style
Functional Capability Convert? Notes
Color Yes —
Translucency Yes —
Width Yes Converted internally to mm.
Line type Yes —
Dash-gap sequence Yes —
Dash-gap sequence No Always uses igPhaseNormal.
proportional to width
Start cap Partially Square, round, triangle, and no cap are supported.
The four Anchor types are converted as no cap
with a corresponding terminator and scale based on
line width.
End cap Partially The four Anchor types are converted with a
corresponding terminator and scale based on line
width. The actual cap is set to the same value as
the start cap.
15-22
Designing Map Layouts for Printing in the Layout Window
15-23
Working with GeoMedia
15-24
Designing Map Layouts for Printing in the Layout Window
15-25
Working with GeoMedia
addition, clicking the terminator button applies the active terminator set style to the objects
in a select set.
This dialog box lets you select the end cap and mid-line join styles from its two drop-down
lists. The Start and end cap list contains for items: Round (the default), Square, Flat,
and Triangle. The Mid-line join list contains three options: Round (the default), Miter,
and Bevel). The cap and join settings should match for closed shapes, or the vertex where
the begin and end points meet will look odd.
15-26
Designing Map Layouts for Printing in the Layout Window
Zoom to Actual Size—Displays the active layout sheet at a 1:1 paper scale.
Hide Layout Window—Hides the layout window and shows the previously active
window, either the map window or the data window.
TIP: If you right click with the cursor on this toolbar, a menu of the layout toolbars is
available for selection and display.
Creating Symbols
Symbols used in the layout window are stored as symbol files, which are documents with
an .sym extension. You can insert these symbols into layout sheets for various map
15-27
Working with GeoMedia
compositions. Create Symbol lets you create a layout window symbol by saving selected
graphics as a symbol file. You can create a symbol by first selecting any geometry and
then by clicking the Create Symbol command button on the Drawing pull-down menu.
You next define the origin by clicking the point that you want in the select set and then
save the select set as a symbol.
Note: You cannot create a symbol containing a map graphic because the dynamic nature
of a map graphic makes it unsuitable for use as a symbol. You cannot insert a layout
window symbol file (.sym) into a GeoMedia symbol file (.fsm) file. This is a currently an
unsupported workflow.
Note: You can add a layout window symbol file (.sym) to the GeoMedia symbol file
(.fsm) with the Define Symbol File utility.
To create a symbol:
1. Select a set of elements on the layout sheet.
2. From the Drawing toolbox, select Draw > Create Symbol.
3. Click a point on the layout sheet to define the origin of the symbol.
4. On the Save As dialog box, select the directory, and then type an appropriate name.
TIP: When creating a symbol using different elements, press CTRL while choosing
elements with the Select Tool.
15-28
Designing Map Layouts for Printing in the Layout Window
3. Click Browse.
15-29
Working with GeoMedia
Placing a Symbol
The Symbol command lets you place the active symbol interactively with a mouse click.
The active symbol can be one you have defined with the Set Active Symbol command or
the default symbol, Point.sym. The origin of the symbol being placed is attached to the
cursor when you move the cursor, and the symbol is placed at the cursor location upon
clicking. You can place multiple symbols until you exit the command.
TIP: You can also drag and drop symbols (.sym) into the layout sheet from Windows
Explorer.
To place a symbol:
1. Open a layout window and make it active.
2. Select an active symbol using the Symbol command from the Drawing, Placing, or
Symbol toolbar.
OR
Use the default symbol, Point.sym.
3. Select the Symbol command from the Drawing, Placing, or Symbol toolbar.
The symbol is displayed in dynamics and attached to the cursor as the cursor moves.
4. Click to place the symbol.
15-30
Designing Map Layouts for Printing in the Layout Window
The symbol is placed, and another symbol is displayed in dynamics and attached to the
cursor.
5. Click to place the symbol again, and continue doing so as appropriate.
OR
Press ESC or select Exit from the right mouse menu to exit.
15-31
Working with GeoMedia
layout window. This command affects the entire active sheet; the center of the sheet view
is maintained, but the graphic contents are scaled. This command assumes that you have
defined the logical dimensions for the layout sheet in the Page Setup command and that
the appropriate extent of the data is displaying properly in the layout sheet. If graphics are
falling outside the sheet limits, you should increase the size of the layout sheet.
Zoom to Actual Size gives a 1:1 representation. However, this may not necessarily be
completely accurate in the final output. Printers usually give the resolution in dots-per-
inch (DPI), so it is easy to convert pixels to real inches. In contrast, video displays give the
resolution only in pixels. Video displays are a certain number of pixels wide but are
without any information about the real display-area dimensions. It is impossible for a
program to determine the real output dimensions because there is no way for it to
determine the real dimensions of the viewable area on a video display. When output is
destined for a printer, an application can determine dots per real inch; however, for a video
display, these numbers define a logical inch, which is almost never equal to a real inch.
Toggling Windows
The Hide Layout Window command is enabled when the layout window is active and
hides the layout window and shows the previously active window, either the map window
or the data window. You can also switch between windows through commands on the
Windows pull-down menu.
The corresponding Show Layout Window command is enabled when either a map or data
window is active. It creates the layout window (if necessary), displays it, and makes it the
active window.
Setting SmartSnap
As you move the pointer in the layout sheet, the software automatically updates values in
the ribbon bar, giving you constant feedback on the size and position of the element you
are drawing. As you draw, the software also shows next to the pointer a temporary,
dynamic display of the element you are drawing––this feedback is called a relationship
indicator. When the software recognizes a relationship, it displays a relationship indicator
at the pointer. As you move the pointer, the software updates the indicator to show new
relationships. If a relationship indicator appears by the pointer when you click to draw the
element, the software applies that relationship to the element. The software can recognize
one or two relationships at a time. When the software recognizes two relationships, it
displays both relationship indicators at the cursor, as seen in the example on the right.
15-32
Designing Map Layouts for Printing in the Layout Window
The Tools > SmartSnap Settings command lets you define which relationships are
recognized by the software as you draw. On the SmartSnaps tab you can set these
relationships and clear those you do not want so that the software does not place
relationship handles. A relationship handle, or glyph, is a graphic used to represent a
geometric relationship between elements, showing that the designated relationship is being
maintained. You set these relationships by selecting the appropriate check boxes on the tab
The Cursor tab lets you define the sizes of the Locate zone around the pointer in pixels.
The locate zone is a circular area at the center of the crosshair cursor or at the end of the
arrow cursor that specifies how close the cursor must be to an element you want to
recognize or select. When using the placement and editing commands and the cursor is
within this distance of a graphic element in the layout window, the element is snapped to if
the appropriate snap has been turned on. The software recognizes relationships based on
elements within the locate zone so that you do not have to move the cursor to an exact
position. For example, if part of an element is within the locate zone, the software
recognizes a Point On relationship. The size of the locate zone is indicated by a circle
around the center of the pointer crosshair.
15-33
Working with GeoMedia
• When you link an object to a document, the document stores information about where
the object is located—the object is not stored in the document. When you embed an
object in a document, a copy of the object is stored in the document.
• When you make changes to a linked object, all documents that have links to that object
update. When you make changes to an embedded object, only the copy of the object
that is stored in the document updates.
Inserting raster files as objects into the layout window with this command involves various
complexities. The following discussion addresses raster images as objects, but it applies to
other types of objects as well.
When inserting OLE/COM raster objects, the appearance of the object is dependent on the
serving application. If you encounter display errors, convert your image to a .bmp file
using Microsoft Paint, and then insert the .bmp as an object.
3. In the Object Type list, select the type that describes the software in which you want
to create the object, and then click OK.
15-34
Designing Map Layouts for Printing in the Layout Window
Note: The contents of the list depend on which applications installed on your
computer support linking and embedding.
Note: If you are working in the source software, you can embed an existing object
with the Paste Special command on the Edit menu. In addition, you can embed an
object by dragging and dropping a document from Windows Explorer into a layout
sheet in the layout window.
There are assorted tools and commands available that can be used to adjust the graphic
display of an object after it has been placed in the layout sheet.
See the “Changing Object Properties” section in this chapter for more information.
15-35
Working with GeoMedia
Use a mouse down, mouse drag, mouse up sequence to define a rectangle. Next, select the
appropriate text characteristics from the text Ribbon toolbar, and then type the map title
text in the rectangle.
Tip: To see the name of an option on the ribbon bar, pause the pointer over an option and
read the ToolTip.
Select the text, and use the Move/Copy and/or Nudge commands to center the position of
the text.
Tip: With Move/Copy, you can copy selected graphic elements by selecting the element(s),
pressing CTRL, and then placing the copied element.
To make the map title stand out, place a frame around the text. Select the Rectangle
command from the Placement menu on the Drawing toolbox. Use a mouse down, mouse
drag, mouse up sequence to define the frame.
15-36
Designing Map Layouts for Printing in the Layout Window
Now, select the previously placed frame, and then from the right mouse menu select
Properties. On the Rectangle Properties dialog box, adjust the frame properties by
changing the line width and color.
Inserting a Logo
Next, insert the city logo into the layout sheet. A logo is an non-map graphic that is
inserted as an object. Select Insert > Object from the layout window menu bar.
Ensure that the Create from File option is selected, and click Browse to find the logo file;
then click OK. When a box the size of the object appears beside the pointer, position the
logo, and then click on the layout sheet to place the logo.
To accurately align the logo with the north arrow above it, first create a select set
containing both items. Then select Draw > Align > Center from the Drawing toolbox.
15-37
Working with GeoMedia
Inserting a Symbol
Next, insert several layout window symbols (.sym files) to indicate a new recreation area in
the map. Before inserting a non-default symbol, you must first set an active symbol with
the Set Active Symbol command.
Select Draw > Set Active Symbol from the Drawing toolbox.
Next, select the symbol file, and then click Open. On the Set Active Symbol dialog box,
type a value greater than 0 in the Scale factor field, and then click OK.
To place the symbol that was set, select the Symbol command from the Placement menu
on the Drawing toolbox.
With the symbol displayed in dynamics attached to the cursor, position the symbol, and
then click to place the symbol. Another symbol is displayed in dynamics attached to the
cursor, but only one symbol is to be placed, so press ESC to exit the command. Then set
and place the other symbols in the same way.
15-38
Designing Map Layouts for Printing in the Layout Window
Select and type the appropriate grid parameters, and then click OK to insert the grid.
15-39
Working with GeoMedia
Removing Lines
In the final steps in this example, first remove various grid lines to make way for redlining
to highlight the new recreation area.
Select the Trim to Intersection command from the Editing menu on the Drawing
toolbox.
Use a mouse down, mouse drag, mouse up sequence to define the grid sections to be
cleared with a red line, as seen in the following figure on the left. Then, release the left
mouse button, and all the grid lines intersected by the redline are trimmed, as seen in the
following figure on the right.
15-40
Designing Map Layouts for Printing in the Layout Window
Inserting Redlines
Now to add a redline indicator and identifying text, first select the Line command from the
Placement menu on the Drawing toolbox. Note the precision placement control that has
been added to the right side of the Drawing toolbox.
Next, change the line color by selecting the Line Color arrow button and then by selecting
red from the Select Color dialog box.
Then, increase the line width by selecting the Line Width arrow button and a value from its
displayed width list. The default line pattern is Solid, so it does not have to be changed to
draw the redline indicator.
Next, select an appropriate end terminator style by selecting the Line Terminator arrow
button to open the Terminator Styles dialog box and then by selecting a style from the
End Style list.
15-41
Working with GeoMedia
Note that as you make the changes in the line style, the line on the Apply Linear Style
button changes accordingly.
Now, draw a line from outside the map layout frame to the recreation area border, and then
identify it with text by using the text placement procedure previously used to complete this
example workflow.
TIP: Instead of clicking several points to draw a line, you can drag the pointer to draw a
line.
sheet. You use the Insert Layout Frames command with the Insert Graphics into
Layout Frames command by using the former to define the placement location for the
map graphics with layout frames and then by using the latter to populate the layout frames
with the actual map graphics. After inserting the new group of layout frames, the group is
left in the select set, which lets you directly proceed to insert a map (and marginalia) into
the empty frames.
When designing a map layout, it is important to consider the relationship between the map
graphic being placed into the layout frames using the Insert Graphics into Layout
Frames command and the corresponding layout frames drawn using the Insert Layout
Frames command. The size and shape of the map graphic items may not always fit the
drawn layout frames exactly, potentially requiring minor adjustments to the map graphics
after they have been placed into the layout sheet. For the map being placed in the map
layout frame, the Plot Scale is the main consideration. With the Fit to frame plot scale
option, the map will automatically be sized to fit the frame, performing a best fit of the
geographic extent of the map into the drawn layout frame. The layout frame should never
be enlarged as it is populated, but it will likely be reduced in size in either the X or Y
direction. With the User defined plot scale option, the layout frame will be enlarged or
reduced in size to correspond with the keyed in plot scale. For marginalia items being
placed into layout frames, the marginalia item is sized based on a best fit into the existing
marginalia layout frame. The size of the placed marginalia item is likely to be moderately
adjusted during the Insert Graphics into Layout Frames process, and therefore
placement of marginalia layout frames should approximate the desired location of the
marginalia item. Marginalia items can be scaled after placement, but they cannot be
rotated.
To insert layout frames:
1. Select Insert > Layout Frames.
15-43
Working with GeoMedia
Note: When the dialog box is displayed, you can exit the command by pressing ESC.
When you are in the process of drawing layout frames after the dialog box has been
dismissed, you can exit the command by pressing the right mouse button twice. Also,
at the prompt for the second point of a layout frame, you can undo the selected first
point and move back to the prompt for the first point by pressing the right mouse
button.
3. Click OK.
You are prompted to place the first point to indicate the extent of the map.
OR
Click Cancel to exit the command.
4. Move the cursor to the location where you want to place the map layout frame (a
dynamic rectangle appears anchored at the placed point); place the second point
diagonal to the first to place a layout frame for the map; then click the left mouse
button.
If you selected marginalia in Step 2, you are prompted to place points to indicate the
extent of each marginalia item selected.
5. Repeat the procedure of Step 4 until you have placed all the marginalia layout frames.
15-44
Designing Map Layouts for Printing in the Layout Window
The newly inserted layout frame group is left in the select set.
15-45
Working with GeoMedia
A change in the center point or rotation of Only north arrow’s angle is updated. The
the map. The command update north size, position, symbol file etc. will not be
arrow frames only if the north arrow changed.
azimuth was defined by the map center. If
it was user-defined, it is not processed.
When there is a change in the map scale. Only the scale of the scale bar is updated.
Fill colors, font, caption, units, and so forth
are not changed. The center point of the
scale bar frame is maintained.
Note: Map graphics layout frames inserted into the layout window with the Insert Layout
Frames command are composed of layout frames for a map and its associated marginalia.
Before these layout frames are populated, they are stored in the layout window as a group
element type, even if the map graphics consist of only a map with no marginalia. After
using the Insert Graphics into Layout Frames command to populate the layout frames,
the group element type is removed. When selecting a group element, you will notice that
the full set of handles is not available. When trying to edit or to manipulate any of the
individual items (empty layout frames) in the group, you must first use PickQuick to select
an item to process. This enables you to select the item to edit, upon which all of the
handles appear and can then be used to adjust or to crop the map layout frame. To delete a
scale bar, north arrow, or legend layout frame within a group, it is best to select the layout
frame using PickQuick. Ungrouping the frames lets you select individual layout frames
for deletion; however, ungrouping the frames breaks the group intelligence for the
remaining frames. In the layout window, the PickQuick dialog box displays elements
based on Z order, that is, objects on top are displayed before objects below regardless of
the top-down/bottom-up modifier.
See “To select a hidden or overlapped feature” in the “Working with Features” chapter
for information on using PickQuick.
15-46
Designing Map Layouts for Printing in the Layout Window
4. Select the appropriate map window from the Map window drop-down list.
5. Select the appropriate Geographic extent method, and select and/or type any
corresponding required parameters.
6. Select the appropriate Plot scale method; then type the corresponding plot scale value.
7. Select the Static or Dynamic mode.
8. Click OK.
OR
Click Cancel to exit the command.
Note: You should not place a map frame that exceeds the layout sheet size. If it
exceeds the layout sheet size, you should reduce the plot scale and/or geographic
extent or increase the paper size through Layout Window Page Setup.
15-47
Working with GeoMedia
9. If the geographic extent method selected is Map Window, Spatial Filter, Geographic
Frame, or Projected Frame, there is no need for interaction in the map window.
OR
If the geographic extent method selected is not one of these four, continue with this
step as follows, according to the selected method:
– For the Rectangle method, identify the first point of the rectangle in the map
window, move the cursor and attached rubber-banding rectangle to the opposing
diagonal corner, and then place a second point to define the extent of the rectangle.
– For the Polygon method, identify the first point of the polygon in the map window,
move the cursor and attached rubber-banding polygon to another location, and then
select a second point. Continue selecting points until the polygon has been defined;
then double click to end.
– For the Existing Shape method, select a shape in the map window to identify the
extent that you want, and then identify the appropriate snap point.
Note: When the dialog box is displayed, you can exit the command by pressing ESC.
When you are in the process of defining the geographic extent in the map window after
the dialog box has been dismissed, you can return the dialog box by pressing the right
mouse button twice. At the prompt for the second point of a layout frame, you can
also undo the selected first point and move back to the prompt for the first point by
pressing the right mouse button.
The map and any selected marginalia items are automatically placed into their
appropriate layout frames. The newly inserted map is left in the select set.
There are assorted tools and commands available that can be used to adjust the graphic
display of the map and marginalia after they have been placed in the layout sheet.
See the “Modifying Maps” section in this chapter for information.
15-48
Designing Map Layouts for Printing in the Layout Window
select set, enabling you to move on to additional insert operations, such as the placement of
marginalia or grids
There are assorted tools and commands available that can be used to adjust the graphic
display of the map after the map has been placed in the layout sheet.
See the “Modifying Maps” section in this chapter for information.
3. Select the appropriate map window from the Map window drop-down list.
4. Select the appropriate Geographic extent method, and select and/or type any
corresponding required parameters.
5. Type the appropriate plot scale value in the User-defined field.
6. Select the Static or Dynamic mode.
7. Click OK.
OR
Click Close to exit the command.
Note: You should not place a map frame that exceeds the layout sheet size. If it
exceeds the layout sheet size, you should reduce the plot scale and/or geographic
extent or increase the paper size through Layout Window Page Setup.
8. If the geographic extent method selected is Map Window, Spatial Filter, Geographic
Frame, or Projected Frame, go to Step 9 because there is no need for interaction in
the map window with these methods.
15-49
Working with GeoMedia
OR
If the geographic extent method selected is not one of these four, continue with the
steps as follows, according to the selected method:
– For the Rectangle method, identify the first point of the rectangle in the map
window, move the cursor and attached rubber-banding rectangle to the opposing
diagonal corner, and then place a second point to define the extent of the rectangle.
– For the Polygon method, identify the first point of the polygon in the map window,
move the cursor and attached rubber-banding polygon to another location, and then
select a second point. Continue selecting points until you have defined the
polygon; then double click to end.
– For the Paper Size method, move the cursor and attached fixed rectangle in the
map window to the desired location; then place a point to identify the origin of the
extent.
– For the Existing Shape method, select a shape in the map window to identify the
extent that you want; then identify the appropriate snap point.
You are prompted to place the origin of the map in the layout window.
Note: When the dialog box is displayed, you can exit the command by pressing ESC.
When you are in the process of defining the geographic extent in the map window after
the dialog box has been dismissed, you can return to the dialog box by pressing the
right mouse button. When digitizing a rectangle or polygon in the map window, you
can undo the previously placed point by pressing the right mouse button.
9. Move the cursor and attached rectangle to the location where you want to place the
map; then click the left mouse button.
15-50
Designing Map Layouts for Printing in the Layout Window
The rectangle defines the maximum extent of the map frame before clipping occurs.
After the map has been placed, it is populated with the graphics of the map, and
clipping is performed if necessary. The map is left in the select set.
15-51
Working with GeoMedia
The legend treeview on the Insert Legend dialog box lists all the displayed features from
the legend in the map window, except raster. Features not displayed in the treeview can be
accessed on the Add Legend Entries dialog box. The treeview displays the number of
columns, in which each column entry is displayed, the order of the features within that
column, and a thumbnail of the legend key.
By default, the treeview is expanded, displaying one column with the entries in the order
they appear in the map window legend. The hidden attribute is set according to the
properties of the map window legend (show legend entry, collapse legend entry, and
display by scale). By default, if an entry is hidden in the originating map window, it is not
displayed on the treeview. If an entry is displayed in the treeview and its corresponding
feature has its display turned off in the legend of the originating map window legend, the
entry remains in the treeview. The treeview does not support multi-select.
The top node in the treeview contains the legend title. The next level in the treeview
denotes columns with the text Column X (Y entries), where X is the column number, and
Y is the number of entries in that column. The third level represents the legend entries and
contains the key of the legend entries followed by the text of the feature name. In the case
of range headings, the key is blank.
15-52
Designing Map Layouts for Printing in the Layout Window
See the corresponding GeoMedia Help topic for complete information on this dialog box.
You can customize the layout legend treeview items through their respective right mouse
menus as follows:
Item Command Lets You
Legend Properties Customize the legend properties on the Legend
Properties dialog box.
Rename Legend Type a new legend title.
Title
Add Column Add an empty column below the legend title.
Distribute Entries Distribute all displayed legend entries evenly across
Evenly available columns.
Column Remove Column Remove a column, transferring its contents to the
previous column. (Press DELETE as a shortcut.)
Add Entries Add legend entries on the Add Legend Entries
dialog box.
Sort Entries Perform an ascending alphabetic sort of all legend
Alphabetically entries in the selected column.
Sort Entries by Perform a geometric sort in the following order: text,
Geometry point, line, compound, area.
Entries Properties Customize the entry properties on the corresponding
Legend Entry Properties dialog box.
Rename Entry Type a new feature name.
15-53
Working with GeoMedia
See the corresponding GeoMedia Help topics for complete information on these dialog
boxes.
In addition to the various dialog boxes and right mouse menus, you can customize the
legend treeview by drag-and-drop. Nodes in the treeview that are available to drag-and-
drop include legend columns and legend entries. You can move or copy them within a
column or across columns, but you cannot move or copy the legend title node. You can
also drag-and-drop nodes onto another node. The selected node is then moved below the
destination node it was dropped upon. If you press CTRL when dragging the node, a copy
of the selected node is dropped below the destination node.
If you drop a column node onto the legend title node, the selected node and all its entries
are dropped below the legend title node, becoming the first column in the treeview. If you
drop a column node onto another column node, the selected node and all its entries are
dropped below the destination column. If you drop a column node onto an entry node, the
selected node and all its entries are dropped below the column where the destination entry
node resides. As column nodes are shifted within the treeview, the software automatically
renumbers the columns to reflect their new positions within the treeview.
There are assorted tools and commands available that can be used to adjust the graphic
display of the legend after it has been placed in the layout sheet.
See the “Modifying Legends” section in this chapter for more information.
15-54
Designing Map Layouts for Printing in the Layout Window
The following example shows the columns depicting the name position. The column on
the left has the names to the right of the key; the column on the right has the names to the
left of the key.
The following example shows the row spacing depicted between two rows, where the row
height is based on the larger of either the legend graphic key or the entry name.
15-55
Working with GeoMedia
The example on the left shows the row spacing based on the Maintain uniform row
height check box on the Legend Properties dialog box. The legend on the left does not
have this check box checked, resulting in variable spacing between the names because the
heights of the individual rows vary. The legend on the right has the check box checked,
resulting in even spacing between the names. The graphic on the right shows the available
shapes for area and linear features.
To insert a legend:
1. Select the map frame in the layout window.
2. Select Insert > Legend.
15-56
Designing Map Layouts for Printing in the Layout Window
Note: You can resize this dialog box, and you can use the Up/Down arrows to move
entries.
3. To review and customize the overall legend properties, select the legend title node, and
then click Properties.
4. Set the legend properties appropriately on the Legend Properties dialog box.
Note: You can also use right mouse menus and the Legend Entry Properties dialog
boxes to customize individual legend entries.
Note: The names and the order in which the features are listed on the Available
Legend Entries dialog box are based on the original map window. Check the Sort
alphabetically check box to sort the entries. Thematic headings are sorted such that
the thematic heading is considered in the sort, and its corresponding entries remain
grouped and indented just below the heading within the sorted list. Thematic entries
are not sorted within the group and always maintain their original order.
If a column node was selected, upon returning to the treeview, any entries selected are
added below the column node, becoming the first entry(s) within the column.
15-57
Working with GeoMedia
If an entry node was selected, upon returning to the treeview, any entries selected are
added below the currently selected entry.
7. To save the defined legend as the default, click Save as Default.
8. Click OK on the Insert Legend dialog box.
The dialog is dismissed, and a rectangle that represents the size of the legend is placed
in dynamics.
9. Click on the layout sheet to define the location for the legend.
The lower-left corner of the legend is placed where you clicked.
15-58
Designing Map Layouts for Printing in the Layout Window
Note: In the layout window, the unit for the Size is defined by the Style field on the
Layout tab (Tools > Options).
There are assorted tools and commands available that can be used to adjust the graphic
display of the north arrow after it has been placed in the layout sheet.
See the “Modifying North Arrows” section in this chapter for more information.
Note: To see graphics of all the north arrows and compass roses, open the
NorthArrows.pdf file, which is in the \GeoMedia\Program folder.
15-59
Working with GeoMedia
15-60
Designing Map Layouts for Printing in the Layout Window
Note: For scale bars in the layout window, the unit for the Size on the Style tab and Tick
length on the Labels tab is defined by the Style field on the Layout tab (Tools >
Options).
15-61
Working with GeoMedia
As you make changes in the scale bar, they are displayed in the Preview area on the Insert
Scale Bar dialog box.
There are assorted tools and commands available that can be used to adjust the graphic
display of the scale bar after it has been placed in the layout sheet.
See the “Modifying Scale Bars” section in this chapter for more information.
15-62
Designing Map Layouts for Printing in the Layout Window
renamed. In the update, the existing map and legend are replaced with new graphics based
on the settings currently defined in the originating map window. However, old-style
legends (before GeoMedia 5.2) are not updated in any way; you must delete and reinsert
them. Furthermore, the north arrow and the scale bar are not updated; you must use their
respective Properties commands to update them. To use Update Map Graphics, you
select a populated map layout frame (or old-style group of frames, that is, map and
marginalia) and then run the command.
Any changes to the content of the originating map window (adding feature classes or
queries, changing styles of legend entries, and so forth) are automatically updated in the
layout window map unless one of the following conditions exists:
• The Insert Map or Insert Graphics into Layout Frames command was used to insert
map graphics into a layout frame in the layout window using the Static mode, not the
Dynamic mode.
• The Map Properties command was used to change a populated map frame from
Dynamic to Static.
When the update is performed, the size of the layout frame always remains the same. If
you have scaled, cropped, or expanded the map layout frame before the update using the
Scale command (from the Editing toolbar or menu) or the file handles of the map object,
the update honors the current layout frame settings. If you have rotated the map window
after the initial placement and before the update, the update ignores the map window
rotation, only refreshing the contents of the map frame. The update result never alters the
current map layout frame settings (size, rotation, and so forth). The placement of the
updated map is such that the center of the map being updated within the layout frame is
coincident with the center of the layout frame that was originally placed for all extraction
methods.
In terms of the map definition specified in the Insert Map or Insert Graphics into
Layout Frames commands, the following conditions are applied during the update:
• The originating map window selection is maintained.
• The size, rotation, and origin of the current map frame are maintained regardless of the
extraction method used during the original map placement.
• The originating plot scale (User-defined or Fit to Frame) setting is maintained.
• After the map graphics are updated, any associated layout window marginalia are
synchronized with the map graphics using the same rules that are followed when
dynamic maps are updated automatically.
− The map window that was used for the original placement of the static map exists.
2. Select the static map frame.
3. Select Layout > Update Map Graphics to update the map graphics in the selected
map frame and to exit the command.
15-64
Designing Map Layouts for Printing in the Layout Window
3. Select the Static mode from the Geometry and Content tab; then click OK.
The map becomes static and cannot be made dynamic again, and the contents of the
Mode frame are disabled. The ability to have the height, width, and scale operate
independently is also disabled.
15-65
Working with GeoMedia
15-66
Designing Map Layouts for Printing in the Layout Window
OR
1. Select the appropriate map frame group.
2. Select Properties from the right mouse menu.
3. Uncheck the Modify width, height, and map scale independently check box.
4. Type the appropriate map scale.
5. Click OK.
The map is scaled accordingly, and a new scale bar is generated to reflect the new
map scale.
3. Check the Modify width, height, and map scale independently check box.
4. Type the appropriate height or width.
5. Click OK.
The map is resized accordingly, maintaining the lower-left origin and map scale.
15-68
Designing Map Layouts for Printing in the Layout Window
15-69
Working with GeoMedia
As previously discussed there are eight different ways (geographic extent) of selecting map
information for display in the layout window through the Insert Map and Insert Graphics
into Layout Frames commands. Five of these methods (Polygon, Existing Shape, Spatial
Filter, Geographic Frame, and Projected Frame) have distinct boundaries, so a relationship
exists between the height, width, and map scale. The ratio of height to width always
remains the same, so that a change to one automatically changes the other. The
relationship between size (height and width) and map scale is inverse, increasing the width
decreases the scale. Changing the height or width automatically changes the scale, and
changing the scale changes the height and width.
See the “Inserting Maps into Layout Sheets” section earlier in this chapter.
The three remaining map selection methods (Map Window, Paper Size, and Rectangle) can
be sized and scaled like the others (default behavior). But, because the boundary is not
fixed, the height, width, and scale can modified independently of each other. For these
cases, you use the Modify width, height, and map scale independently check box.
For the Map Window, Paper Size, and Rectangle selection methods, the default behavior
preserves any crops that you make, while the independent behavior causes the map to be
resampled and the crops to be reset to 20%. In all cases, the position of the lower-left
corner of the map frame on the layout sheet can be moved precisely by typing the X and Y
coordinates in paper units. The Mode frame lets you change the status of the map from
dynamic to static; however, once a map becomes static, it cannot be made dynamic again,
and the contents of this frame are disabled. Changing the mode to static also disables the
ability to have the height, width, and scale operate independently.
The General tab lets you change the layer on which the map is displayed and controls the
display of the boundary around the map, including color, width, and style.
15-70
Designing Map Layouts for Printing in the Layout Window
The Rotation tab lets you rotate the map. The method used for the map placement using
the Insert Map command or the Insert Graphics into Layout Frames command
determines the results of the map rotation. Maps are placed with either a Boundary or
Rectangular frame type. For those methods that produce a frame that is a Boundary type
(Existing Shape, Polygon, Spatial Filter, Geographic Frame, and Projected Frame), the map
rotation includes the map frame and its contents. For the remaining methods, that is, those
that produce a frame that is a Rectangular type (Map Window, Rectangle, and Paper Size),
the map frame remains fixed, staying orthogonal to the layout sheet, and contents of the
map frame are rotated.
In the examples above, the map was placed using the Existing Shape method, a Boundary
frame type. The map on the left depicts the original placement, a rotation of 0 degrees.
The map on the right depicts the results of a 15-degree rotation. The Boundary map frame
and all of its contents have been rotated 15 degrees.
15-71
Working with GeoMedia
In the examples above, the map was placed using the Map Window method, a Rectangular
frame type. The map on the left depicts the original placement, a rotation of 0 degrees.
The map on the right depicts the results of a 15-degree rotation. The Rectangular map
frame has remained fixed, while its contents have been rotated 15 degrees.
You can type a rotation angle or select a directional button to display a calculated angle so
that north on the map is rotated to the top, bottom, left, or right of the sheet. These
directional buttons provide a quick and easy method for orienting North based on paper
space independent of the workspace’s geographic or projected space, which generally leads
to improved layout and design.
• Map frames must be in dynamic mode; you cannot rotate static maps.
• Rotation angles are in degrees.
• Rotation point is the center of the map frame.
Rotation is measured counter clockwise from the x-axis.
Upon clicking OK, the map is positioned at the correct coordinates on the sheet, the map
size and scale are set appropriately, the boundary is displayed in the correct color, width,
and style (if the boundary is to be displayed), the map is rotated, and the map and boundary
are placed on the correct layer.
Modifying Legends
The Layout Legend Properties command lets you view and modify information about a
legend in the layout window, including the position, number of columns, title, font, key
styles, layer, and boundary style of the legend frame. You start this command by selecting
the legend frame and then selecting Properties from the right mouse menu. You can
review and modify these legend properties through the two tabs on the dialog box of this
command.
The Legend tab lets you control what is displayed on the legend and how it is presented,
such as the title, number of columns, fonts, key styles, and so forth. This tab functions the
same as the Insert Legend dialog box. You can change these properties through the
Legend Properties dialog box; the Legend Entry Properties dialog boxes; the right
mouse menus of the legend title, columns, and entries in the treeview; and the drag-and-
drop functionality as previously described in the “customizing the legend” discussion.
See the “Inserting Layout Legends” section earlier in this chapter for complete
information on using the Legend tab.
15-72
Designing Map Layouts for Printing in the Layout Window
The General tab lets you change the layer on which the legend is displayed and controls
the display of the boundary around the legend, including color, width, and style. This tab
also lets you position the lower-left corner of the layout frame geometry in the layout
window by typing the X and Y coordinates in paper units.
Upon clicking OK, the updated legend is positioned at the specified origin, the legend size
is calculated appropriately based upon the parameters entered, the boundary is displayed
with the correct color, width, and style (if the boundary is to be displayed), and the legend
and boundary are placed on the correct layer.
15-73
Working with GeoMedia
Graphics command. This command lets you convert the layout legend into a set of raster
legend keys and simple text strings, which you can edit as needed. These graphics are
generated at the same location and layer as the layout legend, and the existing layout
legend is removed. You perform this conversion by selecting the legend layout frame and
then Convert to Graphics from the right mouse menu. Once the legend has been
converted, it is no longer dynamic and associated with the originating map.
15-74
Designing Map Layouts for Printing in the Layout Window
Note: The unit for the Size is defined by the Style field on the Layout tab (Tools >
Options).
The General tab lets you change the layer on which the north arrow is displayed, define a
boundary to display around the north arrow, and set the lower-left origin position of the
north arrow in paper units. If an empty north arrow layout fame is selected as input, the
General tab is activated by default, and the Style tab is disabled.
15-75
Working with GeoMedia
Note: The X and Y units are defined by the Distance field on the Layout tab (Tools >
Options).
As you make changes in the symbol and north azimuth, they are displayed in the Preview
area on the Insert North Arrow dialog box. This display is always at a fixed size; it does
not reflect changes made in the Size field of the Style tab of the North Arrow Properties
dialog box.
Note: The unit for the Width is defined by the Style field on the Layout tab (Tools >
Options). The unit for the X and Y values is defined by the Distance field on the Layout
tab.
15-76
Designing Map Layouts for Printing in the Layout Window
Note: The units for the Size on the Style tab and the Tick length on the Labels tab are
defined by the Style field on the Layout tab (Tools > Options).
As you make changes in the scale bar, they are displayed in the Preview area on the Insert
Scale Bar dialog box.
15-77
Working with GeoMedia
See GeoMedia Help for complete information on using this dialog box.
15-78
Designing Map Layouts for Printing in the Layout Window
After placing the map, you use the tabs on the Insert Cartographic Grid dialog box to
define the grid components. The sequence of defining the grid components through the
tabs depends upon your specific workflow. This command allows you to experiment with
the grid definition and to get a visual result before proceeding. When you have finished
defining the grid, you can use the Preview button, which places a temporary grid and
keeps the dialog box displayed.
Preview lets you can check the results and adjust the grid definition and perform additional
previews before clicking OK to accept the final grid or Cancel to remove it. Both OK and
Cancel dismiss the dialog box. Consequently, you can refine your grid definition until you
have exactly what you need before you insert and save the grid.
Note: The grid placed by this command is static; it is not updated automatically in the
layout window when view rotations or coordinates transformation occur in the map
window. In such cases, the grid must be regenerated.
Defining a Neatline
The neatline is the set of lines drawn that typically correspond with the extent of the map
graphics. The neatline placed by the Insert Cartographic Grid command will always be
an orthogonal rectangle regardless of the extraction method used by the Insert Map or
Insert Graphics Into Layout Frames commands, with the exception of the Geographic
Frame extraction method. When the map has been placed using a Geographic Frame, the
15-79
Working with GeoMedia
neatline is drawn to approximate the clipped shape defined by the Geographic coordinates.
By default, all other non-orthogonal map extractions (Polygon, Existing Shape, and so
forth) will produce an orthogonal neatline based on the maximum horizontal and vertical
extents of the clipped map graphics. Optionally, you can type the neatline extents on the
dialog box, or you can interactively specify a neatline extent by selecting the Define
Extent option, upon which you are prompted to identify the limits of the appropriate
neatline on the layout sheet. In defining a neatline on the Neatline tab, you set the
parameters for the type and the extents, and the options for the neatline placement and
corner label placement.
Neatline Parameters
The neatline parameters consist of the neatline coordinate system, type, and the upper-left
corner and lower-right corner, which allow you to specify the neatline extents. You can
define these extents in Geographic or Projection coordinate space, with the default value
matching the current GeoWorkspace coordinate system setting. The neatline extents can
be smaller or larger than the current map graphic extent.
You can also define the neatline extents in a coordinate space other than the current
GeoWorkspace coordinate system setting (without modifying the GeoWorkspace
coordinate space) through the Neatline Coordinate System dialog box. If the current
GeoWorkspace coordinate system is Projection – Rectangular Grid, the Geographic option
is disabled, and you cannot access the Neatline Coordinate System dialog box.
See the “Working with Coordinate Systems” chapter.
15-80
Designing Map Layouts for Printing in the Layout Window
You set the upper-left and lower-right corner values according to the selected coordinate
space. For Geographic, these are Longitude and Latitude; for Projection these are X
(Easting/Westing) and Y (Northing/Southing). The Coordinate Format settings and the
Unit and Precision settings for each is based on the settings defined on the Units and
Formats tab on the Neatline Coordinate System dialog box. The default coordinate
readouts are based on the current extents of the map graphic selected in the coordinate
space you defined.
Neatline Placement
You can place (or not place) a neatline by selecting or deselecting the check box. The
default is to place a neatline. With this option selected, you can define the neatline style
(color, weight, and type). The default style settings match the active settings for these
items in the layout window.
When placing neatlines on rotated map graphics, the neatline is only rotated on maps
placed with the Geographic Frame or the Projected Frame placement method. For all other
placement methods (Map Window, Polygon, Existing Shape, and so forth), the neatline
matches the MBR (minimum bounding rectangle) of the selected map graphics, which is
parallel to the sheet edges.
15-81
Working with GeoMedia
Parallel / Perpendicular (the default)—Parallel to the neatline on the top and bottom
edges and perpendicular to the neatline on the left and right edges. All labels read
horizontally.
Parallel—Parallel to the neatline on all edges. Labels on the left read bottom to top, labels
on the right read top to bottom, and labels on the top and bottom read left to right.
Perpendicular—Perpendicular to the neatline on all edges. Labels on the left and right
read left to right, and labels on the top and bottom read from bottom to top.
You can define the font through the standard Microsoft Font dialog box to set the font,
font style, font size, format, and script.
You can also define advanced label formatting options through the Advanced Neatline
Label Options dialog box. The style, format, and placement options on this dialog box
vary for Geographic labels and for Projection labels. The following example is for
Geographic labels:
See GeoMedia Help for information on using this dialog box.
Defining Grids
The grid (grid lines) is a set of horizontal and vertical lines that are placed over the map
within the neatline extents, never extending past the neatline. They are typically used for
locating specific points or quadrants on a map. In defining a grid on the Grid tab, you set
the parameters for the type and the intervals, and the options for the grid placement and
edge label placement.
15-82
Designing Map Layouts for Printing in the Layout Window
Grid Parameters
The grid parameters consist of the grid coordinate system, grid type, grid intervals, and
skip intervals. You can define these parameters in Geographic or Projection coordinate
space, with the default value matching the current GeoWorkspace coordinate system
setting. There is a limit of 250 total grid lines, both horizontal and vertical, that can be
placed with the Insert Cartographic Grid command.
You can also define the grid parameters in a coordinate space other than the current
GeoWorkspace coordinate system setting (without modifying the GeoWorkspace
coordinate space) through the Grid Coordinate System dialog box. If the current
GeoWorkspace coordinate system is Projection – Rectangular Grid, the Geographic option
is disabled and you cannot access the Grid Coordinate System dialog box.
See the “Working with Coordinate Systems” chapter.
You define the grid and skip intervals in the unit specified on the Units and Formats tab
of the Grid Coordinate System dialog box for the particular grid coordinate space used to
generate the grid.
Grid intervals define the interval at which grid lines are placed. The intervals always
begin at 0,0. For Projection settings, this is the origin of the projected coordinate system.
For Geographic settings, this is the Greenwich Meridian and the Equator. The intervals
correspond to Longitude and Latitude for Geographic and X (Easting/Westing) and Y
(Northing/Southing) for Projection. The Coordinate Format settings and the Unit and
Precision settings for each is based on the settings defined on the Units and Formats tab
on the Grid Coordinate System dialog box.
15-83
Working with GeoMedia
Note: The default interval for gridlines for both Projection and Geographic coordinate
systems is set to reasonable values – producing roughly 10 gridlines at an appropriate
round interval.
Skip intervals define the interval at which grid lines will not be placed. The intervals
always begin at 0,0. For Projection settings, this is the origin of the projected coordinate
system. For Geographic settings, this is the Greenwich Meridian and the Equator. The
default value for Projection is 0, and the default value for Geographic is 00:00:00 d:m:s.
When 0 is defined for the skip interval, no grid line skipping occurs.
You can also define intervals in paper units for the Projection grid type. When you choose
this option, the grid and skip interval units and precision settings used on the dialog box
are obtained from the current settings defined for the Distance unit on the Layout tab of
the Options dialog box. During placement, the paper interval will be converted
automatically to the appropriate ground interval based on the current map scale.
Grid Placement
You can place (or not place) a grid by selecting or deselecting the check box. With this
option selected, you can define the grid style (color, weight, and type). The default is
dependent on the active setting for the neatline type defined on the Neatline tab. When the
neatline type is Projection, the default is to place a grid. When the neatline type is
Geographic, the default is to not place a grid. The default style setting matches the active
settings for these items in the layout window. Grid lines are rotated appropriately on
rotated map graphics.
15-84
Designing Map Layouts for Printing in the Layout Window
Parallel—Parallel to the neatline on all edges. Labels on the left read bottom to top, labels
on the right read top to bottom, and labels on the top and bottom read left to right.
Perpendicular—Perpendicular to the neatline on all edges. Labels on the left and right
read left to right, and labels on the top and bottom read from bottom to top.
You can define the font through the standard Microsoft Font dialog to set the font, font
style, font size, format, and script.
You can define advanced label formatting options through the Advanced Grid Label
Options dialog box. The style, format, and placement options on this dialog box vary for
Geographic labels and for Projection labels.
See GeoMedia Help for information on using this dialog box.
15-85
Working with GeoMedia
You can also define the tick and cross parameters in a coordinate space other than the
current GeoWorkspace coordinate system setting (without modifying the GeoWorkspace
coordinate space) through the Tick and Cross Coordinate System dialog box. If the
current GeoWorkspace coordinate system is Projection – Rectangular Grid, the Geographic
option is disabled and you cannot access the Tick and Cross Coordinate System dialog
box.
See the “Working with Coordinate Systems” chapter.
You define the tick and cross intervals and the skip intervals in the unit specified on the
Units and Formats tab of the Ticks and Crosses Coordinate System dialog box for the
particular ticks and crosses coordinate space used to generate the ticks and crosses.
Crosses are placed at all interval intersections within the neatline definition. Ticks are
placed at the interval intersections on the neatline.
Tick and cross intervals define the interval that ticks and crosses are placed. The intervals
always begin at 0,0. For Projection settings, this is the origin of the projected coordinate
system. For Geographic settings, this is the Greenwich Meridian and the Equator. The
intervals correspond to Longitude and Latitude for Geographic and X (Easting/Westing)
and Y (Northing/Southing) for Projection.
The Coordinate Format settings and the Unit and Precision settings for each is based on
the settings defined on the Units and Formats tab of the Ticks and Crosses Coordinate
System dialog box.
Note: The default interval for ticks and crosses for both Projection and Geographic
coordinate systems are set to reasonable values – producing roughly 10 gridlines at an
appropriate round interval.
Skip intervals define the interval at which ticks and crosses will not be placed. The
intervals always begin at 0,0. For Projection settings, this is the origin of the projected
coordinate system. For Geographic settings, this is the Greenwich Meridian and the
Equator. The default value for Projection is 0, and the default value for Geographic is
00:00:00 d:m:s. When 0 is defined for the skip interval, no tick and cross skipping occurs.
You can also define intervals in paper units for the Projection ticks and crosses type.
When you choose this option, the tick and cross interval and the skip interval units and
precision settings used on the dialog box are obtained from the current settings defined for
the Distance unit on the Layout tab of the Options dialog box. During placement, the
paper interval will be converted automatically to the appropriate ground interval based on
the current map scale.
Tick Placement
You can place (or not place) ticks by selecting or deselecting the check box. With this
option selected, you can define the tick style, length, and position. The default is
15-86
Designing Map Layouts for Printing in the Layout Window
dependent on the active setting for the neatline type defined on the Neatline tab. When the
neatline type is Projection, the default is to not place ticks. When the neatline type is
Geographic, the default is to place ticks.
For the style, you can define the line color, weight, and type; the default setting matches
the active settings for these items in the layout window. For the length, the unit and
precision is based on the current settings defined for the Distance unit on the Layout tab
on the Options dialog box. For the position, you can set the tick placement to be either
inside the neatline (the default) or outside the neatline.
Cross Placement
You can place (or not place) crosses by selecting or deselecting the check box. With this
option selected, you can define the cross style and length. The default is dependent on the
active setting for the neatline type defined on the Neatline tab. When the neatline type is
Projection, the default is to not place crosses. When the neatline type is Geographic, the
default is to place crosses.
For the style, you can define the line color, weight, and type; the default setting matches
the active settings for these items in the layout window. For the length, the unit and
precision is based on the current units and precision settings defined for the Length
readout on the Layout tab on the Options dialog box.
15-87
Working with GeoMedia
You can define advanced label formatting options through the Advanced Ticks and
Crosses Label Options dialog box. The style, format, and placement options on this
dialog box vary for Geographic labels and for Projection labels.
See GeoMedia Help for information on using this dialog box.
Defining a Border
The border is an orthogonal rectangle drawn around the exterior of the cartographic grid.
You can place (or not place) a border by selecting or deselecting the check box; the default
is to not place a border. In defining a border on the Border tab, you set distance
parameters to specify the distance from the neatline and to specify the border style.
The distance parameters from the neatline are top, bottom, left, and right margins. The
default values for these, calculated based on the largest label size and the tick length if the
ticks are placed outside the neatline, should ensure that the border does not overprint the
corner or edge labels (neatline, grid, ticks and crosses). The default units and precision are
based on the current settings defined for the Distance unit on the Layout tab on the
Options dialog box. For the style, you can define the line color, weight, and type; the
default style values match the active settings for these items in the layout window.
15-88
Designing Map Layouts for Printing in the Layout Window
To define a neatline:
1. Select the Neatline tab.
2. Optional: Click Neatline Coordinate System to define the neatline extents in a
coordinate space other than the current GeoWorkspace coordinate system setting.
3. Select the neatline type as Geographic or Projection to define the extents of the
neatline.
4. Optional: Type changes in the Upper left corner and Lower right corner fields.
5. Optional: Click Define Extent to interactively define the neatline extent in the layout
sheet.
6. Optional: Check the Place neatline check box; then specify the neatline Style
settings.
7. Optional: Check the Place corner labels check box; then select the Orientation from
the drop-down list.
8. Optional: Click Font to change the font values.
9. Optional: Click Advanced to set the advanced label formatting options.
To define a grid:
1. Select the Grid tab.
2. Optional: Click Grid Coordinate System to define the grid extents in a coordinate
space other than the current GeoWorkspace coordinate system setting.
3. Select the grid type as Geographic or Projection for defining the grid intervals.
4. Optional: Type changes in the Grid intervals fields.
5. Optional: Type changes in the Skip intervals fields.
6. Optional: Check the Define intervals in paper units check box; then specify the
Grid intervals and Skip intervals in paper units.
7. Optional: Check the Place grid check box; then specify the grid Style settings.
8. Optional: Check the Place edge labels check box; then specify the Orientation from
the drop-down list.
9. Optional: Click Font to change the font values.
10. Optional: Click Advanced to set the advanced label formatting options.
15-89
Working with GeoMedia
15-90
Designing Map Layouts for Printing in the Layout Window
Note: When saving a cartographic grid definition file, you are prompted to save the grid
definition file (.csf) file if you have changed any of the coordinate systems. This action is
required to ensure a valid grid definition file. If you cancel out of the Save Cartographic
Grid Definition dialog box, it invalidates the grid definition file. This means that when
you attempt to reuse the grid definition file, there will be no reference to the changed
coordinate system. This is only required if you have changed one of the coordinate
systems for the grid generation.
15-91
Working with GeoMedia
15-92
Designing Map Layouts for Printing in the Layout Window
15-93
Working with GeoMedia
15-94
Designing Map Layouts for Printing in the Layout Window
This command lets you adjust the prefixes in two ways. You can ignore them when
sorting, which, for example, places Rue de Orleans with the Os rather than the Rs. You
also can specify a list of strings to be ignored or removed from the index, which, for
example, places Rue de Orleans as Orleans. Note that choosing to ignore or remove
prefixes when sorting can affect the number of items in the index.
You can place an index by one point (using font and spacing information) or by two points
(overriding font and spacing to fit the two points, forming a rectangle), or you can output
the index to a text file, which may override some parameters.
15-95
Working with GeoMedia
15-96
Designing Map Layouts for Printing in the Layout Window
You can select the data window portion you want to display by a single cell, a contiguous
rectangle of cells, one or more rows (not necessarily contiguous), or one or more columns
(not necessarily contiguous).
You can customize the appearance of the data window insert by adjusting the title, column
headers and widths, and cells. You have the option to display the title of the data window
and the column headers. You can also change the title and its font and the font of the
headers and cells through the standard Font dialog box.
Additionally, you determine the column width by one of the following methods:
• Based on data window (default)—Each column width is based on that column’s width
in the data window.
• Based on longest text—Each column width is based on the longest string in that
column.
• User-defined—All columns have the same user-defined width.
Note: With the first and third options, column width might be too short, in which case the
string is truncated.
15-97
Working with GeoMedia
The width units are based on the distance units set on the Layout tab of the Tools >
Options dialog box.
You can further customize the data window display by using the Properties command to:
• Reorder columns • Hide/Show columns
• Change column widths • Change data values
• Re-sort data
.
6. Select the appropriate Data window from the drop-down list.
7. Check the Title check box to display a title; then optionally change the title text and
font.
8. Check the Column headings check box to display headings; then optionally change
the heading font.
9. Optional: Click Cells > Font to change the cell font.
10. Select appropriate Column widths option.
If you select User-defined, type a positive value for the column width in the key-in
field.
11. Press OK; then click to place the data window grid.
15-98
Designing Map Layouts for Printing in the Layout Window
Note: A right mouse click lets you return (backup) to the dialog box without placing
the data window grid.
15-99
Working with GeoMedia
15-100
Printing in GeoMedia
Printing Overview
Printing in GeoMedia can be performed in any of its three windows: map window, data
window, or layout window. Due to the difference in the types of data within each window
and the difference in their respective environments, each window has a unique set of
paper-related parameters that must be defined before printing. The map window and data
window contain data on a sort of virtual canvas. The data of the map window are
geographic, typically stored in ground units without any reference to a paper layout.
Similarly, the data of the data window are tabular, without any reference to a paper layout.
In contrast, the sheets in the layout window are specifically referenced to a paper layout.
Although each window has its own subtleties due to its data type and environment, before
printing, the paper layout parameters must be defined through the Page Setup of each
window.
16-1
Working with GeoMedia
16-2
Printing in GeoMedia
Printer—This tab contains a drop-down list of all of the available printing devices resident
on the machine, including local and network printers. Once a printer has been selected,
information regarding its status, the type of device, and where it is located is displayed.
Each printer in the list has a set of default parameters that can be modified for the printing
session by clicking Properties. The available Paper Sizes listed in the Size drop-down list
on the Size and Scale tab are determined by the paper sizes supported by the printer
selected on this tab.
2. On the Printer tab of the Map Window Page Setup dialog box, select the printer or
plotter for your output.
3. On the Units tab, select the desired paper units, ground units, and scale precision.
4. On the Margins tab, optionally set the margins, and turn on or off the center and
overlap options.
5. On the Size and Scale tab, select the desired paper size, define the orientation, and
define the print scale for your output.
6. Click OK.
16-3
Working with GeoMedia
preferred method for the scale bar properties is to use a fixed interval definition. This
approach produces predictable results, generating a scale bar at a fixed size. Automatic
sizing creates a scale bar that is twenty percent of the width of the plot, which may be too
large for some plots.
See the “Working with Layout Windows” and “Designing Map Layouts for Printing in the
Layout Window” chapters.
Printing to a File
Printing to a file is similar to printing a hard copy, except it generates a printer file instead
of routing the document directly to a printer. This provides a method for generating soft-
copy files that can be stored on disk and printed or plotted as necessary without having to
be in the application to resubmit the plots. The document is by default saved with printer
formatting to a file with the .prn (printer driver) extension. The format of this reserved
name file is device dependent, and it is derived from the printer driver of the printer
selected in the Printer > Name field on the Print dialog box.
To print to a file:
1. Select File > Print.
16-4
Printing in GeoMedia
2. On the Print Map Window dialog box, select a printer; then select the Print to file
check box.
3. Click OK to open the Print to File dialog box.
4. Navigate to the appropriate folder; then in the File name field, type the name of the
file you want to save.
5. Click Save.
16-5
Working with GeoMedia
can reduce or enlarge the size of the output by selecting a percentage above or below
100%; this represents a scale in which the point size of the cell text in the data window
is enlarged or reduced for the printed output. For example, if the point size of the cell
text in the data window is ten, a print scale of 50% reduces the size of the printed
output by 50%. Thus, the point size of the cell text on the output would be five.
Conversely, a point scale of 200% doubles the size of the output so that the point size
of the text on the output is 20.
• Print Range—Reports the Width and Height of the tabular extent of the print in
paper units, as specified on the Units tab.
• Output—Reports assorted information pertaining to the paper output: Width, Height,
Pages wide, and Pages tall. The width and height are reported in the units specified
on the Units tab.
Margins—This tab contains the settings for the position of the plot relative to the paper
upon which it is printed. Options include specifying a fixed distance between the edge of
the paper and the data on the Left, Right, Top, and Bottom. Margin settings will impact
the overall size of the print, especially when the print requires multiple pages, as displayed
in Pages wide and Pages tall in the Output section on the Size and Scale tab.
Units—This tab contains the settings for defining the Paper Units that are expressed
throughout the Data Window Page Setup dialog box. The Paper Unit selected is used
when displaying the Width and Height of the selected Paper Size, the Print Range, and
the Width and Height of the Output on the Size and Scale tab. It is also used for
defining margins on the Margins tab.
Printer—This tab contains a drop-down list of all of the available printing devices resident
on the machine, including local and network printers. Once a printer has been selected,
information regarding its status, the type of device, and where it is located is displayed.
Each printer in the list has a set of default parameters that can be modified for the printing
session by clicking Properties. The available Paper Sizes listed in the Size drop-down list
on the Size and Scale tab are determined by the paper sizes supported by the printer
selected on this tab.
16-6
Printing in GeoMedia
2. On the Printer tab of the Data Window Page Setup dialog box, select the printer or
plotter for your output.
3. On the Units tab, select the paper units.
4. On the Margins tab, set the margins.
5. On the Size and Scale tab, set the paper size, orientation, and print scale for your
output.
6. Click OK.
16-8
Printing in GeoMedia
Width and Height values. When Custom is selected, the Orientation options are
disabled. Instead, the Orientation is determined by the Width and Height values.
When the Width value is greater than the Height value, the Orientation will be
Landscape. Conversely, when the Width value is less than the Height value, the
Orientation will be Portrait.
− Width—This is a read-only field for all Size definitions except Custom. When
Custom is selected, this field is enabled.
− Height—This is a read-only field for all Size definitions except Custom. When
Custom is selected, this field is enabled.
− Units—This is a read-only field for all Size definitions except Custom. When
Custom is selected, this field is enabled. Options include centimeters, millimeters,
and inches.
• Orientation—Options include Portrait and Landscape.
• Save as Default—Enables you to configure the default settings used when adding or
inserting a new layout sheet. This ensures that all new layouts are created using the
same parameters. If this option has not been selected, the default Page Setup of newly
inserted sheets will be based on the Page Setup parameters of the active sheet when
the Insert Sheet command was selected. If you need to insert multiple sheets that have
a page setup description different from the current active sheet, changing the page
setup description and then selecting Save as Default causes the layout window to use
the currently saved parameters when inserting the new sheets. The Save as Default
parameters are used for the current working session, and they are persisted if you save
the GeoWorkspace. Saving the GeoWorkspace saves the new parameters as the
default page setup description.
16-9
Working with GeoMedia
Note: You can also access this command by double clicking on the row of a listed
layout sheet on the Layout Windows Properties dialog box. The Layout Window
Page Setup dialog box is automatically populated with the parameters of the selected
sheet.
Note: If this check box is unchecked, the sheet will not be displayed when you select
OK.
choosing the finished paper size, where the selected sheets will be grouped together on a
single plot. The parameters available in the Properties dialog box are determined by the
printer driver used when creating the printer. Once you have chosen the appropriate
options and parameters, you can print the layout sheet to a printer, a plotter, or a file.
The Settings options let you edit scale and origin information, including margins and print
magnification. The Print magnification pertains to all graphics on the layout sheets
included in the print and is defined in terms of percentage. The default is 100% for full-
size, 1:1 plots. You can make reductions and enlargements by changing the print
magnification. A value of 50% produces a half-size drawing, and a value of 200%
produces a double-size drawing. The Origin offset lets you specify additional margins and
displays a preview of how the layout sheet fits on the paper form selected.
You can print a subset of a layout sheet by selecting the Print area option on the Print
Layout Window dialog box. If you select this option, you are prompted to identify a
rectangular area on the active layout sheet, and then the Print Area dialog box opens for
the input of relevant parameters.
You can combine multiple sheets into a single plot by selecting the Print multiple sheets
per page on check box on the Print Layout Window dialog box, and then defining the
finished paper size. This option is only enabled if more than one sheet is selected for
printing, that is, if you select all-sheets mode, specify more than one sheet (for example, 1-
4,5,10), or set the number of copies to more than one.
Note: When printing multiple sheets, the graphic preview on the Settings dialog box
provides a preview of each of the sheets that it can fit on the defined paper size. If only
one sheet is visible in the preview, it means that the size of the finished paper defined can
only accommodate a single layout sheet. To get around this, either increase the finished
paper size on the Print Layout Window dialog box, or change the plot scale by reducing
the print magnification on the Settings dialog box until multiple sheets appear in the
preview.
The Print Quality slider lets you choose any of five settings ranging from Draft to Best,
allowing you to control the trade-off between print quality and print performance
(speed/scalability).
16-11
Working with GeoMedia
The function of the Print Quality slider depends on the content of the layout sheet being
plotted. If the sheet contains no images, no translucent or transparent features, and no
bitmap-patterned areas, the Print Quality slider has no function whatever.
However, if images are present in the layout sheet, but there is no translucency or
transparency of feature data (raster or vector), and there is no contrast or brightness
adjustments active on the displayed images, and there are no bitmap patterned areas, the
slider causes the raster image to be decimated according to the following rules:
• The Best setting processes the images at full resolution (every pixel up to the limit of
the dpi of the device is sent to the printer).
• The Draft setting effectively reduces the resolution of the printer by a factor of 5 (but
only for the images!).
See GeoMedia Help for complete information on this dialog box and dialog boxes
accessed from it.
3. Select the appropriate Printer from the Name drop-down list.
4. Optional: Click Properties to review and/or change the printer-specific properties.
5. Identify the Print Range that you want to print.
Note: Selecting the Print area option disables the Print multiple sheets per page on
check box and the Settings button.
Note: This option is only available if more than one sheet has been selected for
printing.
16-13
Working with GeoMedia
Note: Center is disabled if you check the Print multiple sheets per page on check
box.
OR
Type the appropriate X value to set a shift in the X direction from the origin and/or the
Y value to set a shift in the Y direction from the origin.
13. Click OK.
The Settings dialog box is dismissed, and the Print Layout Window dialog box
reappears.
14. After you have set all the parameters on the Print Layout Window dialog box, click
OK.
If you are printing to a printer or plotter, the selected layout sheet or sheets are
printed, and the command is exited.
OR
If you selected Print area as the Print Range in Step 5, a set of crosshairs is
displayed, and you are prompted to identify the area to print.
15. Identify the print area with a rectangle.
16-14
Printing in GeoMedia
Plotting
Upon completion of your map design, you can submit the plot to a plotter or an offline file,
such as PDF, through the standard Windows printing interface. The layout window and all
of its associated layout sheets are automatically saved in the GeoWorkspace when you save
the GeoWorkspace. If you do not want to save the plot session, you can manually delete
the plot upon completion.
16-15
Working with GeoMedia
See the “Printing Layout Sheets from the Layout Window” and the “Outputting PDF from
GeoMedia” sections in this chapter for more information.
GeoMedia Professional also provides batch plotting through the Batch Plotting utility.
There are two types of batch plotting files, compose and select. Compose batch plotting
files store the information necessary for the composition of new layout sheets, such as the
GeoWorkspace, the layout template and the named legend. Select batch plotting files store
the information necessary to simply plot multiple layout sheets from multiple
GeoWorkspaces in a batch process. This utility supports a graphical user interface (Start >
All Programs > GeoMedia Professional > Utilities > Batch Plotting) and a command
line interface.
See the Batch Plotting utility’s online Help for complete information.
16-16
Printing in GeoMedia
when setting up the new printer. You can then reprint your job from GeoMedia, selecting
the new printer definition.
This type of problem that exists today between Windows printing and PostScript printer
drivers is not uncommon in the computer business. Such problems are typically resolved
over time by fixes and new releases of software, or by the evolution of language
specifications. If not, you should not give up on using PostScript for printing from
GeoMedia. You should try again periodically to see if some upgrade on your system may
have solved the problem.
16-17
Working with GeoMedia
You may set other individual properties for the Acrobat Distiller, as well as reviewing the
details of the default properties, by using the Settings menu on this same dialog box. See
the documentation delivered with the purchased product for detailed instructions for
installing and configuring Adobe Acrobat.
16-18
Working with Libraries
A library is a repository of sharable GeoWorkspace objects designed especially for the
enterprise user. With the library commands, you can easily and directly share the contents
of your GeoWorkspace. You can create new libraries, connect to and manage libraries,
and organize libraries.
The library commands give you the ability to save the following object types:
• Catalog Connections • Searches
• Warehouse Connections • Categories
• Legends • Spatial Filters
• Queries • Styles
• Queues
Once you have saved these objects, any user can connect to the library and copy the
appropriate objects into the active GeoWorkspace.
For example, a large enterprise might have specific corporate standards for symbolizing
each type of feature. Road features might be black with a dashed white centerline and
rivers might be blue. The GIS administrator for such an enterprise might create a
corporate style library that all GIS users would use to get copies of all of the official styles
to be used in their GeoWorkspaces.
But what if the official style for Road features changes? The GIS administrator can easily
replace the Road style in the library, and users can then simply connect to the updated
library and refresh the objects whose definitions have changed.
Note that most of the sharable objects reference other objects. For example, a legend
contains Legend Entries, each of which refers to one or more Style Definitions and
Queries. The Queries can refer to other Queries and/or Feature Classes. Feature Classes in
turn refer to Connections. And, of course, Style Folders contain Style Definitions, and
Query Folders contain Queries.
When you save one of these objects to a library, the system automatically saves all of the
objects in the reference tree. Then when the object is copied to a GeoWorkspace, all of the
required objects underneath it are also copied. This ensures that the copied object will be
fully functional in the active GeoWorkspace.
The library commands are the following:
• New Library • Library Connections
• New Library Connection • Library Organizer
These commands are discussed in the following sections of this chapter.
17-1
Working with GeoMedia
Note: The principal use of the library coordinate system is to transform spatial filters into
the GeoWorkspace coordinate system. The GCoordSystem table that may be present in the
.mdb of the library is not used to store the coordinate system of the library.
When the library is created, a connection is automatically opened for the new library. The
name of the library connection is set as the library name itself. If a library connection
exists with the same name, an incrementing digit is added to the end of the name.
17-2
Working with Libraries
17-3
Working with GeoMedia
Concerning compatibility of the library data store with the library software, the command
informs you of the need to upgrade the schema while connecting in read-write mode and in
the case of failure to connect due to forward incompatibility, as follows:
• When connecting in read-write mode, if the version of the library is lower than the
schema version supported by the software, a message asks whether you want to
upgrade the schema or not. If the schema of the library is not upgraded, the library is
opened in read-only mode.
• If the schema version of the library is higher than the version supported by the
software, a message tells you that that the library cannot be opened.
You can make the following types of connections:
• Access • Access Read-Only
• Oracle Object Model Read-Write • Oracle Object Model Read-Only
• SQL Server Read-Write • SQL Server Read-Only
For Access, you select the location of the Microsoft Access database file (.mdb) to which
you want to establish a connection. For Oracle and SQL Server, you select the mode of
authentication, username, password, and host string.
For Oracle, MSSQL and DB2, which allow table and column level permissions, library
connections are made with whatever database permissions are available to the user making
the connection. When using the read-write servers, if the permissions are not available for
read-write access, the connection will revert to a read-only state. If a connection to the
same database already exists, a message is displayed telling you to use the existing
connection. In this case, the connection is not made. When making a library
connection to a read-only Access library using the read-write server the connection
will fail. To make a connection to a read-only Access library the read-only server
must be used instead.
You can also create a new connection to a library by the same procedure through the New
button of the Library Connections command dialog box described later in this chapter.
See “Managing Library Connections” in this chapter.
Note: Access-based warehouses, catalogs, and libraries all use *.mdb files. You should
maintain these in separate folders in order to make the individual database type more easily
found. In addition, the software has separate folder locations for the Access versions of
these files, and you should add the word catalog, library, or warehouse to filenames in
order to distinguish them from each other. Oracle and SQL Server can also contain
libraries and catalogs, and the associated schemas should be named to distinguish them
from standard spatial schemas.
17-4
Working with Libraries
OR
Select Oracle Object Model Read-Only/Read-Write as the Connection type; then:
• Change the Connection name or keep the default,
• Type an optional Connection description,
• Select the Server and mode of authentication, and then
• Type the User name, Password, and Host string.
17-5
Working with GeoMedia
OR
Select SQL Server Read-Only/Read-Write as the Connection type; then:
• Change the Connection name or keep the default,
• Type an optional Connection description,
• Select the Server and mode of authentication,
• Type the User name and Password, and then
• Select the Database.
Note: Both SQL Server and Oracle require that the GeoMedia’s standard metadata
structure be present before establishing a library connection. For SQL Server, this
metadata resides in the database. In Oracle, it is contained in the GDOSYS metadata
schema. The specific tables required by the library commands are created automatically if
the tables do not already exist.
17-6
Working with Libraries
17-7
Working with GeoMedia
Note: By default, library connections are kept in a closed state. They are opened
automatically when used by the Library Organizer command.
2. Select the row selector of the row(s) whose open/close status you want to change.
Note: Use Shift/Ctrl to select multiple rows; click the top left-corner grid button, to
the left of the Name row, in order to select all rows.
17-8
Working with Libraries
2. On the Library Connections dialog box, select the row of the connection whose
properties you want to view or edit; then click Properties.
Organizing Libraries
The Library Organizer command lets you copy the following objects between the active
GeoWorkspace and a library attached to it:
• Catalog Connections • Searches
• Categories • Spatial Filters
• Legends • Styles
• Queries • Warehouse Connections
• Queues
Support for queues is limited to dynamic queues, which are displayed in the dialog box
treeviews on the Library Organizer dialog box. Static queues are thus not displayed in
these treeviews. Support for queues also includes support for subqueues. Subqueue
objects are not individually selectable but always move in and out of libraries with their
parent queues; thus, child subqueues are not displayed in the treeviews.
All the objects that can be copied are displayed on the Library Organizer dialog box in
two treeviews. The Library contents treeview on the left shows the objects that reside in
the library. The GeoWorkspace contents treeview on the right shows objects that reside
in the active GeoWorkspace. The icon next to each object indicates the type of the object.
You can thus easily browse and directly manipulate any of these objects and then copy the
selected objects from the active GeoWorkspace to a read-write library or from a library to
the active GeoWorkspace. You can select an individual or multiple objects for copy from
both treeviews. After selecting the objects you want to copy, you use the left or right
arrow buttons to perform the copy operation. Clicking the right arrow copies the checked
17-9
Working with GeoMedia
library objects to the GeoWorkspace. Clicking the left arrow copies the checked
GeoWorkspace objects to the library.
After copying, a glyph (like the Explorer glyph for a shortcut) is added to the icons to
indicate that the same object resides in both the GeoWorkspace and the library, that is, the
object in the GeoWorkspace is a copy and a reference of one in the library.
These glyphs are added in pairs - one in each treeview - to indicate the associated objects.
This visual cue enables you to easily refresh the state of common objects.
The Select Reference button lets you check such common objects to easily refresh all
common objects. When you click this button, the Overwrite option is automatically
selected, and you perform a basic refresh that automatically selects all of the referenced
items in both the library and GeoWorkspace treeviews. You can perform a copy operation
to the active GeoWorkspace as a way of refreshing the state of referenced items in the
active GeoWorkspace. An administrator can also perform a copy operation to the library
to refresh the library contents. Furthermore, after a successful copy, rename, or delete
operation, the command refreshes the GeoWorkspace and the library appropriately.
You can also choose the behavior when an object with the same name as an object to be
copied already exists. By default, copy works with the Overwrite option, which
overwrites the existing object instances (except for connections), if any, in the target space.
The Copy with new name option lets you append the existing instances in the target object
space. If an object with the same name exists in the target object space, an incrementing
digit is added to the end of the name so as not to conflict with the existing object. Finally,
the read-only Description field displays the description of the currently highlighted object
if it has a description.
Concerning compatibility of the library data store with the library software, the command
informs you of the need to upgrade the schema while connecting in read-write mode and in
the case of failure to connect due to forward incompatibility, as follows:
• When connecting in read-write mode, if the version of the library is lower than the
schema version supported by the software, a message asks whether you want to
upgrade the schema or not. If the schema of the library is not upgraded, the library is
opened in read-only mode.
• If the schema version of the library is higher than the version supported by the
software, a message tells you that that the library cannot be opened.
In copying to the library, it is possible that updating (that is, overwriting) an existing object
instance in the library has an implication of version conflicts. While overwriting an object
instance in the library, the command does the following:
• If the object instance in the library is not updatable, then:
o In the case of single object copy, the command displays an error message.
17-10
Working with Libraries
o In the case of bulk mode, the command continues to copy the objects that are
updatable, and displays an error message after completing the copy process.
• If a lower version of the object instance (or its references) in the library is being
updated, the command displays an error message as needed and proceeds based on
your response.
In copying from the library, if the object instance being copied is not loadable, then:
• In the case of single object copy, the command displays an error message.
• In the case of bulk mode, the command continues to copy the objects that are loadable,
and displays an error message after completing the copy process.
Because a library can contain objects that are not version-compatible with the version of
object type currently registered on the target system, this command displays overlay icons
on the primary icons in both the Library contents and the GeoWorkspace contents
treeviews based on the version compatibility status of the library objects, as follows:
• If the compatibility status is read-only or read-write, no overlay symbol is displayed.
• If the compatibility status is read-write backward, the updatable overlay symbol ( ) is
displayed.
• If the compatibility status is incompatible, the incompatible overlay symbol ( ) is
displayed.
To organize libraries:
1. Select Tools > Library Organizer.
17-11
Working with GeoMedia
13. Type a new name not existing in the hosting collection of the library; then click OK.
17-12
Working with Libraries
Note: The name should not contain the character ‘|’(OR), and length of the name
should not exceed 255 characters.
Note: Internally, the libraries make use of the | character. This character is considered
reserved, do not use it in any GeoMedia object that you want to store in the library.
17-13
Working with GeoMedia
17-14
Exporting Data to Other Systems
GeoMedia provides commands for exporting data to other GIS. You can export the
following:
• Feature data into shapefile (.shp) format.
• Feature data into MapInfo Interchange Format (.mif /.mid)
• Feature geometry and attribute linkage into MicroStation design file (.dgn) format.
• Feature geometry and attribute data into AutoCAD .dwg or binary .dxf format or
ASCII .dxf format.
• Feature geometry and attribute data into GML format.
Exporting to Shapefile
Use the Export to Shapefile command to export feature data (geometry and attributes) ,
including categories and reference features, from any read-write or read-only warehouse
connection into shapefile format. You can select any mixture of feature classes, queries,
categories, and reference features, across any number of connections. This command
outputs dBase IV version 2.0 and ArcView version 3.0 compatible files.
Export to Shapefile supports null geometry and arcs (converted to polylines). For
compound feature class, the command exports only the geometries of the geometry type
you select: point, line, area (the default), or all. If you specify that the compound features
are to be exported to all three shape file types, three shape files are created in the output
folder, one each for point, line, and area geometry types. The names of the output files are
suffixed by the geometry type names. Arcs and composite polylines are converted to
stroked polylines, and composite polygons are converted to polygons. This command also
lets you export the rotation angle when you are exporting a feature class with oriented
point geometry. Text feature classes cannot be exported because the shapefile format does
not support them.
You can create a new shapefile or append to an existing one. When appending to an
existing shapefile, the feature-class definition of the features being exported and the
shapefile to which you are exporting data must be identical because a shapefile can contain
only a single feature class. By default, this command appends to any existing shapefile(s)
present in the output subfolder. If any error is found during appending, it is reported in the
log file.
When exporting a feature class with Oriented Point geometries, the orientation information
is preserved by adding a numeric field to the output shapefile definition. This extra field is
not added only when DWORD value AVExportPreserveRotation under the registry key
18-1
Working with GeoMedia
18-2
Exporting Data to Other Systems
• <FeatureclassName>/<QueryName>.shx
• <FeatureclassName>/<QueryName>.dbf
Note: The ExportToShapefileService object outputs main (.shp) files and index (.shx) files
in conformance with the “ESRI Shapefile Technical Description - an ESRI White Paper –
July 1998”, and dBASE table (.dbf) files in conformance to dBase IV Version 2.0 and
ArcView Version 3.0 compatible file formats. Furthermore, in shapefiles, attribute data is
stored in a DBF file. Truncation of attribute names to 10 characters is not a limitation of
the export service; it is enforced by the dBase IV Version 2.0 DBF file format.
The default output folder to which the exported shapefiles are to be written is taken from
the GeoMedia \Warehouses folder specified on the File locations tab (Tools > Options);
however, you can specify another output folder. The feature classes of that connection or
queries are exported to the specified output folder. The command does not allow exporting
from multiple connections in a single export operation.
For each export operation, this command generates a log file (Export.log) in the output
folder. If this file already exists, the log information is appended.
18-3
Working with GeoMedia
Note: Holding the cursor over an entry displays a tooltip describing the geometry
type.
The default path of the file to contain the exported data is taken from the \Warehouses
folder and displayed in the Export folder field.
4. Optional: Change the default path of the warehouse folder in the Export folder field.
5. Select the appropriate Output geometry type for the highlighted features option.
Note: These options are enabled only when a treeview entry is highlighted. For
feature classes/queries of the compound geometry type, all the options in the frame are
enabled (with Area as the default), and for other feature classes/queries, only the
corresponding geometry type is enabled.
If the Append to existing shapefile(s) check box is not checked, and if the shapefile for
at least one feature class already exists in the export folder, a confirmation message is
displayed stating that at least one output shapefile will be overwritten, asking if you
want to continue. If you do, the existing shape files is overwritten; otherwise, the
export process does not take place.
If the Append to existing shapefile(s) check box is checked, and if the shapefile for at
least one feature class already exists in the export folder, a confirmation message is
displayed stating that at least one output shapefile will be appended, and asking if you
want to continue. If you do, the existing shape files is appended (only when the feature
class definition of the input feature class record set must match that of the existing
output shapefile); otherwise, the export process does not take place.
If the Export picklist values as descriptions check box is checked, the command
removes the coded picklist value fields and replaces them with the corresponding
description fields.
After completing the export process without any warnings or errors, the Export
complete message is displayed.
9. Continue the export process until complete; then click Close to dismiss the Export to
Shapefile dialog box.
18-5
Working with GeoMedia
must enter the correct coordinate system information in the .mif file before importing it
into MapInfo.
Export to MapInfo Interchange Format in such a case creates a GeoMedia .csf file
containing the coordinate system information of the exported data with the same root
name as the output .mif file, which you can use as a reference when creating the
coordinate system entry in the .mif file. See MapInfo documentation for information
on the .mif format and how to populate the coordinate system information.
• MapInfo does not support point-collection geometries (a single feature consisting of
multiple-point geometry), so each point is exported as an individual feature. The
attributes of the entire collection will be replicated for each exported point of the
collection.
• The MapInfo file format does not support gdbmemo field types. Export to MapInfo
Interchange Format exports these fields as normal character type, and they are
truncated to 255 characters.
• Hypertext is treated as normal character type and is truncated to 255 characters.
• Export To MapInfo Interchange Format generates MIF and MID files that
are compatible with MapInfo Professional 4.0.
The following table defines the MapInfo geometry generated from each of the GeoMedia
geometry types:
GeoMedia Geometry MapInfo Description
Type Geometry
Point Point Point
Line Line Line
Arc Arc Arc
Polyline Polyline Polyline
Polygon Polygon Polygon
Composite Polyline Multipolyline A collection of linear features
(polylines only). Arcs in composite
polylines are stroked during
export.
Composite Polygon Polygon Arcs in GeoMedia are stroked
before export.
Boundary Geometry Region/Multipolyg Region object contains collection
on of polygons with or without
corresponding holes.
Text Geometry Text Geometry Graphic Text
18-6
Exporting Data to Other Systems
3. Select the feature class or query to be exported using the Features to export drop-
down list. You can export only one feature class at a time.
4. In the Export to field, select or type a filename to contain the exported data.
5. Select the appropriate Export geometry data in coordinates option.
6. Click Apply to begin exporting.
Note: Different feature classes and queries can be exported by selecting the feature
class or query and clicking Apply in a single session.
If the filename already exists, you will be prompted to replace. If a new filename was
entered, a new MapInfo file is created.
The following message appears after export: Selected feature class exported.
7. If you select the GeoWorkspace coordinate system option and the GeoWorkspace
coordinate system base storage type is not Geographic or the horizontal storage unit is
not in terms of 1 decimal degree (using geodetic datum “WGS84” with no shifts), enter
18-7
Working with GeoMedia
the coordinate system information in the .mif file. For example, if the coordinates are
in meters, the coordinate system is projected, and the projection algorithm is 'State
Plane Coordinate System 1983 (102 – Alabama West)' using the datum North
American 1983, then the coordinate system information should be set to "CoordSys
Earth Projection 8, 74, "m", -87.5, 30.0, 0.9999333333, 600000, 0".
8. Click Close to dismiss the dialog box.
Note: After using this command, you must use the Import command in MapInfo in
order to use the output created from Export to MapInfo Interchange Format.
representations of values are stored in the target design file as design file positional units.
The default seed file folder is pointed to the ..Templates\ExportToDGN folder.
See “Notes on Seed Files” later in this section for information on seed files, including
those delivered with the product.
For exporting text and symbol features, the font has to be chosen from the MicroStation
font resource files (.rsc). For exporting points as cells, with the MicroStation V7 export
format only, the MicroStation cell library filename has to be chosen.
To optionally set attribute-linkage information to be exported, you must select the
MicroStation V7 export format and specify the seed file, output file, and feature class to
export. The exporting of attribute-linkage data can be useful in many ways. For example,
a design file can be exported to be used with a database in MicroStation or with an
application built on top of MicroStation. Applications can read the linkages on the design
file elements and associate a record in the database with the element in the design file.
The Export to Design File dialog box is has two tabs. On the General tab, you first set
global settings, that is, input data common to all the feature classes to be exported, from the
Select features to export treeview. This selection can be of any mixture of feature
classes, queries, categories, and reference features, across any number of connections. You
also select the graphic properties for individual queries and feature classes, and linkage
properties (if applicable).
Next, you add the selected feature class/query to the Features to export grid with the
assigned graphic properties. This grid reflects the current state of feature class-to-
properties associations. You can select multiple feature classes/queries to add, in which
case all the items are loaded into the grid. If you have already defined the graphic
properties for the feature classes/queries, the selected items have those properties when
added to the grid. Otherwise, the feature classes/queries are loaded with the default
settings.
18-9
Working with GeoMedia
Integer fields for the feature or query can be used to define values for color, weight, style,
and fill color of the output graphics. These are the Graphic properties fields with a pull-
down list beside them. You can either type a value or select an integer column.
The export grid is read only; it cannot be edited. However, you do have the option to
remove a selected feature class/query row from the grid. To change the properties for any
feature class/query, you must select it in the feature classes/queries control and change the
properties, which then are automatically updated in the grid. Changing the connection or
selecting queries clears any items entered into the grid. Returning to the original
connection does not restore the original contents of the grid because you can only export
from a single connection at a time. The graphic properties for previously defined feature
classes are retained so that you do not have to redefine them if they are added to the grid
again.
You have the option to save the contents of the grid to a settings file (a user-specified XML
file). This file can contain properties for feature classes from multiple connections. You
can also append to an existing file when saving. However, when loading this settings file,
its contents only apply to the feature classes in the currently selected connection. Only the
feature classes whose name and geometry type match with those in the settings file will be
added to the grid. However, referenced attribute names need not match. If a referenced
attribute is not present, or has a NULL value, the appropriate default value will be applied
during processing. The missing attribute name will be displayed and saved unless you edit
the value. Substitution of the default value is an execution-time behavior. Thus, for
example, if you have selected Access Connection 1 and had previously saved settings for
roads and rivers from Access Connection 1, and then appended Alleys and parcels from
Access Connection 2. When this settings file is loaded, the properties for roads and rivers
are added to the grid as Access Connection 1 is selected. To see the settings for Alleys and
18-10
Exporting Data to Other Systems
parcel, Access Connection 2 has to be selected. In this way you can generate a single
settings file containing definitions for all feature classes and queries originating in multiple
connections, and they all are available, regardless of which connection is selected; but only
the pertinent ones for the selected connection are shown.
When you load the contents of a settings file, they are applied to the feature classes in the
selected connection/queries. If those feature classes/queries are selected to export, the
graphic properties from these settings are applied to the selected feature classes/queries
while exporting. For example, if you load a settings file containing settings for roads,
rivers, and states, these feature classes are added to the grid, and when any of those feature
classes are selected in the feature classes/queries list or the grid, the graphics properties
reflect the loaded settings. If you select a different connection containing roads, rivers,
and states, the graphics properties still reflect the loaded settings as the association is based
on feature class or query name.
18-11
Working with GeoMedia
OR
For Output all feature classes to a single design file, browse for the appropriate
filename for the Filename field. (The default is Export.dgn.)
6. Check the Append to existing design files check box to append all existing files;
when unchecked, the existing files are overwritten.
7. In the Graphic seed file name field, type or select the name of the seed file to be used
in the creation of the output design files. (This field requires the complete path to the
seed file that you want to use as the starting point of the output design file.)
8. For text or symbols only, in the Resource file name field, type or select the resource
filename (.rsc).
9. Optional: To export points as cells, for MicroStation V7 format only, type or select
the filename in the Cell library name field.
10. Select the Criteria tab; then select the appropriate items from the Select features to
export treeview.
The Graphic properties controls are enabled based on the geometry type of the
selected feature class/query. Selecting multiple feature classes/queries disables the
edit controls. If the selected feature class is already added to the grid, the
corresponding item in the grid is highlighted.
11. Select the appropriate Graphic properties.
18-12
Exporting Data to Other Systems
12. Optional: Click Attributes; then check the Add linkage check box.
input data are transformed to the seed file coordinate system. An accompanying .csf
file is generated in the same folder as the output file that represents the coordinate
system used during the transformation.
The message Export complete is displayed once all the selected feature classes are
exported. The dialog is not dismissed, and all the output files are closed.
Note: Pressing ESC aborts the export processing and results in exporting up to the
current record and closing the output file.
Note: You can select multiple items and add them to the grid together. In this case,
they all get the default properties, if you have not edited any of those properties.
18-14
Exporting Data to Other Systems
symbology settings file. The settings are loaded into memory and are available when
appropriate.
6. Select a feature class/query.
If the feature class/query name was among the settings previously loaded, the graphics
properties are updated to reflect these settings.
7. Click Add.
The feature class/query, if not already added to the grid, is now added to the grid with
the defined properties.
Note: The load operation merely seeds the values for the dialog box, so you can
change the graphic properties (not on the grid) if appropriate. Such changes are
remembered until the dialog box is dismissed. To save them permanently, click Save
As so that the grid settings are saved.
Note: At this point you can edit the contents of the grid by selecting the feature class
in the list box (or the grid) and modifying the properties. The modification is
automatically reflected in the grid. You do not have to click Add again to update the
grid. he grid reflects the current setting of the particular feature class.
18-15
Working with GeoMedia
• For MicroStation V7 export, if a coordinate system (type-56 element) has not been
defined for the seed file used, the output design file will be created in the same
coordinate system as the current GeoWorkspace. In this case, GeoWorkspace double-
precision geometry coordinates will be copied (after rounding off) to the integer UORs
of the resultant design file graphic elements. Therefore, it is important to set the
GeoWorkspace Storage Space resolution (select View > GeoWorkspace Coordinate
System, on the Storage Space tab under Advanced Parameters) so that no great loss
of precision in the data will occur. For example, if a seed file with no type-56 element
is used, and if the GeoWorkspace horizontal resolution is set to one meter, then the
resultant design file graphic elements could have no finer precision than one meter. If
this is unacceptable, you could select a horizontal resolution of one centimeter.
In transforming the data from a GeoWorkspace to a design file, the command performs
the following workflow in the absence of a type-56 element in the seed file:
− Uses the type-9 element (design file header) of the seed file, which is always
present irrespective of whether the type-56 element is present or not.
− Gets Master Units (mu), Sub Units (su), and Positional Units (pu) from the type-9
element, and sets up storage parameters accordingly.
− Sets the projection algorithm to undefined, which the legacy code calls rectangular
grid.
− Sets the horizontal/vertical resolution based on the master unit (mu) of the seed
file.
Using this information, the command makes the required transformation equation to
transform GeoWorkspace coordinates to the corresponding seed file. Because the
projection is undefined or rectangular grid, no transformation actually takes place, but
the conversion of coordinate values to their corresponding UOR equivalents occurs.
This is actually a scaling activity resulting in less precise data, sometimes, because of
the rounding off activity to make UORs.
• If you select a 3-D seed file, then the output will be 3-D. If you select a 2-D seed file,
then the output will be 2-D.
• Eight seed files are delivered with the product in the <drive>\Program
Files\GeoMedia\Templates\ExportToDGN folder. The MicroStation V7 seed files
each contain a type-56 element that defines the coordinate system information
(projection, geodetic datum, and so forth) for that seed file.
− seedgeo.dgn is defined as a 2-D geographic coordinate system with a WGS84
geodetic datum (which matches the default GeoWorkspace coordinate system).
− seedgeo_v8.dgn is defined as a 2-D geographic coordinate system with a WGS84
geodetic datum (which matches the default GeoWorkspace coordinate system) for
MicroStation V8.
− seedzgeo.dgn is a 3-D version of the seedgeo.dgn file.
− seedzgeo_v8.dgn is a 3-D version of the seedgeo_v8.dgn file for MicroStation V8.
18-16
Exporting Data to Other Systems
Element Types
The following table defines the IGDS element types generated from each of the GeoMedia
geometry types:
GeoMedia IGDS Element Type Number
Geometry Type
Point Symbol / Degenerate line / Shared cell instance 17 / 3 / 35
(only for MicroStation v7 format)
Text Text 17
Line Line 3
Linear Linestring or complex linestring 4 or 12, 4, 4, …
Area Shape or complex shape 6 or 14, 4, 4, …
Compound One or more of the previously defined types based 3, 4, 6, 12, 14
on the content of the collection. The elements are and/or 17
assigned the same graphic group number in order
to maintain their group identification.
Exporting to AutoCAD
Use the Export to AutoCAD command to export spatial data from any read-write or read-
only warehouse connection into AutoCAD Release Version 14 .dwg, or binary .dxf, or into
ASCII .dxf format. This command writes the selected feature class to a new output file in
the folder you specify, overwrites the data in an existing file, or appends the data to an
existing .dwg or .dxf file.
This command lets you set the layer name by either typing or selecting it from the existing
drawing file in append mode, or you can specify an attribute field from the input feature
class by selecting By attribute from the Layer name drop-down list. Selecting this option
enables the Attribute name drop-down list for you to select an existing attribute. Each
new layer name created during a feature class export is also available as an existing layer
name for subsequent exports in a session.
Additionally, you set the layer visibility parameters, that is, whether the layer is on or off,
frozen or thawed, and locked or unlocked. If the layer is on, objects on that layer are
visible. When a layer is off, objects on that layer are invisible and do regenerate. If the
layer is frozen, objects on that layer are invisible and do not regenerate during zoom and
pan operations, thus improving object selection performance and reducing regeneration
18-17
Working with GeoMedia
time for complex drawings, whether the objects in the layer are editable or not. If a layer is
locked, all of the objects on that layer are not editable or locatable, but they are visible.
You can also set the AutoCAD graphic and text properties. Graphic properties include line
type file name; line type name; and line width, thickness, and color. Text properties
include text style name, font name, color, and height.
Export to AutoCAD lets you export in the following two ways:
• Export attributes—Exports attribute information in the input feature class as extended
data to the corresponding entity in the output .dxf or .dwg file, or as block attributes
and all the geometries (of any type) as BLOCKs in the output .dxf or .dwg file. The
default is to not export the attribute information for each graphic object.
In addition, you can export attribute information as database linkages. This option
exports only the linkage information to the output drawing file, not the actual attribute
data. Selecting this option enables the Linkage Details button to display the Linkage
Details dialog box, which lets you set the values used to write the linkage information
to the drawing file.
See the corresponding topic in GeoMedia Help Topics for information on this dialog
box.
• Export 3D coordinates—Exports 3-D or 2-D features; the default is 2-D (unchecked).
If you are exporting a point feature class/query or a compound feature class/query as block
references, you have the option to specify the following:
• Block AutoCAD drawing filename (.dwg or .dxf).
• Block name from all the block names available in the specified block drawing file and
the output file (in append mode), along with a special block name DWGFilename that
indicates the entire block drawing file is to be exported as a single block definition. If
the block drawing file already contains a block with the name DWGFilename, the
block name listed refers to the block within the file, and not the entire drawing file.
18-18
Exporting Data to Other Systems
• Block scale factor, which can be any positive value. This scaling value, with the
orientation of the point geometry, is applied on the specified block while exporting the
point features. The default value is 1.0.
In the export process, the input features are transformed to the GeoWorkspace coordinate
system. Also, an accompanying .csf file is generated in the same folder as the output file
that represents the coordinate system used during the transformation. The name of the
generated .csf file is the same as the name of the output file, but with a .csf extension.
3. Select the appropriate feature class/query from the Features to export drop-down list.
Note: The dialog box items enabled or disabled vary depending on whether you select
for export a linear or an area feature class or query or select a compound or text feature
class or query.
18-19
Working with GeoMedia
4. In the Output file name field, if an output filename other than the default (selected
feature class name with default .dxf extension in the warehouse location) is required,
select or type the name of a file to contain the exported data.
5. Select the appropriate Output file type option.
6. Select the appropriate Output file mode option.
Note: The Output file mode options are enabled only if the output file name is an
existing file.
7. Optional: Check the Export attributes check box; then select the appropriate
attribute option.
If you select As database linkages, click Linkage Details; then set the appropriate
values on the corresponding dialog box.
8. Optional: Check the Export options / 3D coordinates check box.
9. In the Layer name drop-down list, if a layer name other than the default (selected
feature class name) is required, select or type the name of a layer to contain the
exported data.
If you select By attribute from the Layer name drop-down list, select the appropriate
existing attribute from the Attribute name drop-down list.
10. Set the appropriate layer visibility check box(es): Layer on, Layer frozen, and/or
Layer locked.
11. If a line type other than the default CONTINUOUS is required, select or type an
AutoCAD line type filename (.lin) in the Line type file name field.
12. Select the Line type name from the drop-down list.
13. Type the appropriate values in the Line width, Color, and Thickness fields.
14. If you are exporting text features, if a text style other than the default STANDARD is
required, select or type an AutoCAD text style name in the Text style name field.
15. Type the corresponding text font name (.shx) in the Text font name field.
16. Type the appropriate values in the Text color and Text height fields.
17. Optional for point or compound feature/query: Check the Export point as block
reference check box; then type or select the appropriate Block drawing file name.
18. Select or type the Block name; then type the Block scale.
19. Optional: Check the Export 3D coordinates check box.
20. Click Apply to export the data.
18-20
Exporting Data to Other Systems
The features are exported and transformed to the GeoWorkspace coordinate system.
An accompanying .csf file is generated in the same folder as the output file that
represents the coordinate system used during the transformation.
21. Continue the export process until complete; then click Close to dismiss the Export to
AutoCAD dialog box.
Exporting to GML
Use the Export to GML command to export feature class geometry and its attribute data
to GML (Geography Markup Language) format. The selected feature classes (including
queries, categories, and reference features) are written to a GML Version 2.1.2, 3.0, 3.1.1
GML data file (.gml), and the corresponding XML Schema definition is written to the
GML Version 3.2 base schema GML schema (.xsd) file. This command exports all
supported feature and geometry types with no data loss including but not limited to arcs,
compound geometry, composite geometry, and graphics text. You should use this
command as a tool for migrating data from any data store accessible by GeoMedia to a
GML data file and a GML schema file.
To use this command you select any mixture of feature classes, queries, categories, and
reference features, across any number of connections. You also specify an appropriate
target coordinate system file for the export process. The command transforms the input
data to this coordinate system as the data is exported. In addition, you can swap, that is,
reverse, the order of the coordinate values reversed during the export process.
The coordinate system in GML data is identified using an EPSG code, and the
Georeference service (GRS) provides a valid EPSG code for a coordinate system. This
command transforms and exports the data in the GeoWorkspace coordinate system or in a
user-defined coordinate system, depending on the two Target Coordinate System options
on the command dialog box.
• Use GeoWorkspace coordinate system—This option exports the data in the
GeoWorkspace coordinate system. The default state of the this option to use the
GeoWorkspace coordinate system as the target coordinate system depends on GRS and
the GeoWorkspace coordinate system. This option is enabled and selected if GRS
returns a valid ESPG code for the GeoWorkspace coordinate system, and the input data
is then transformed to this coordinate system as the data is exported. If GRS does not
return a valid ESPG code, this option is disabled, and you must use the second option.
• Use the coordinate system file—This option transforms the input data from the
GeoWorkspace coordinate system to the target coordinate system specified in the
coordinate system file field. The coordinate system file must be an EPSG-named
coordinate system file, that is, EPSGxxxxx.csf, where xxxxx can be any positive integer,
and must be present in the \EPSG folder under the location where the host
product is installed. GRS provides a valid EPSG code for this file, and the input data
is then transformed to this coordinate system as the data is exported. This option is
18-21
Working with GeoMedia
always enabled and is by default selected if GRS does not return a valid SPG code for
the GeoWorkspace coordinate system.
This command outputs one GML data file and one GML schema file per export operation.
The default names are GMLData.gml and GMLData.xsd, respectively. The default
location for both is the GeoMedia \Warehouses folder. You can, however, change these
names and locations as needed.
The GML data file and the GML schema file contain all the selected feature classes with
names as follows:
• Feature Class: <feature class name> • Categorized Item: <item name>
• Query: <query name> • Reference Feature: <feature class name>
You also set the following other parameters before exporting.
• The appropriate GML version that is exported, by default, GML version 3.1.1.
• The namespace and the prefix for the output GML data/schema file in the format:
xmlns:<prefix>=’<uri>.
See the next section for more information on prefixes.
• The location and name of the GML base schema file.
• Whether or not the bounding box is output for every record in the output GML file.
• Whether or not the sequence of fields output in the GML data/schema file is the same
as that of the input feature class/query.
• Whether or not the 3-D coordinates are exported in the GML data file.
• Whether or not to swap the order of the coordinate values during the export process.
Using Prefixes
When a recordset is exported in GML with default settings, the default namespace (or
target namespace) for an application schema is taken as
"xmlns:gmgml='http://www.intergraph.com/geomedia/gml'" and so the schema and data
are encoded using the "gmgml", which refers to the target namespace.
The following is an example excerpt taken from the output GML file exported using the
default settings:
<?xml version="1.0" encoding="UTF-8"?>
<gmgml:FeatureCollection xmlns="http://www.intergraph.com/geomedia/gml"
xmlns:gml="http://www.opengis.net/gml"
xmlns:gmgml="http://www.intergraph.com/geomedia/gml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation='http://www.intergraph.com/geomedia/gml d:\warehouses\GMLData.xsd'>
<gml:boundedBy>
<gml:Envelope srsName="EPSG:4269">
<gml:lowerCorner>34.665793 -86.776129</gml:lowerCorner>
18-22
Exporting Data to Other Systems
<gml:upperCorner>34.777847 -86.564569</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>
<gml:featureMember>
<gmgml:Exit gml:id="Exit.1">
<gmgml:FROM_NAME>STATE HWY 255</gmgml:FROM_NAME>
<gmgml:EXIT></gmgml:EXIT>
<gmgml:TO_NAME>STATE HWY 255</gmgml:TO_NAME>
<gmgml:ID>1</gmgml:ID>
<gmgml:Geometry>
<gml:Point srsName="EPSG:4269">
<gml:pos>34.777847 -86.672915</gml:pos>
</gml:Point>
</gmgml:Geometry>
</gmgml:Exit>
</gml:featureMember>
</gmgml:FeatureCollection>
If you want to specify the default namespace (or target namespace) for an application
schema that overrides the default behavior, you use the Output namespace and prefix
field.
In the following example, the value for Output namespace and prefix is defined as
xmlns:test='http://www.test.com'
The following is the excerpt taken from output GML file created using the previous
settings. In this case, the default namespace (or target namespace) for the schema is taken
as "xmlns:test='http://www.test.com'", and the data and schema are encoded using "test",
which refers to the target namespace.
<?xml version="1.0" encoding="UTF-8"?>
<test:FeatureCollection xmlns='http://www.test.com' xmlns:gml='http://www.opengis.net/gml'
xmlns:test='http://www.test.com' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation='http://www.test.com d:\warehouses\GMLData.xsd'>
<gml:boundedBy>
18-23
Working with GeoMedia
<gml:Envelope srsName="EPSG:4269">
<gml:lowerCorner>34.665793 -86.776129</gml:lowerCorner>
<gml:upperCorner>34.777847 -86.564569</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>
<gml:featureMember>
<test:Exit gml:id="Exit.1">
<test:FROM_NAME>STATE HWY 255</test:FROM_NAME>
<test:EXIT></test:EXIT>
<test:TO_NAME>STATE HWY 255</test:TO_NAME>
<test:ID>1</test:ID>
<test:Geometry>
<gml:Point srsName="EPSG:4269">
<gml:pos>34.777847 -86.672915</gml:pos>
</gml:Point>
</test:Geometry>
</test:Exit>
</gml:featureMember>
</test:FeatureCollection>
18-24
Exporting Data to Other Systems
Note: The Target EPSG code: <EPSG Code> read-only field contains the EPSG
code of the target coordinate system. If no EPSG code can be derived from the
selected coordinate system, Undefined is displayed in the field.
5. Type or select through Browse the location and name of an appropriate coordinate
system file.
6. In the GML data file field, select or type the appropriate path/location to which the
exported GML data file is written.
7. In the GML schema file field, select or type the appropriate path/location to which the
exported GML schema file is written.
8. Select the GML version to be output from the GML version drop-down list, if
appropriate.
9. Type the output namespace and prefix in the Output namespace and prefix field, if
appropriate.
10. In the GML base schema location field, select or type the appropriate location of the
GML base schema file, if appropriate.
11. Check the Bounding box per record and/or Preserve input field sequence and/or
Export 3D coordinates checkboxes, if appropriate.
12. Depending upon the target coordinate system file selected, the Swap coordinate order
check box is checked or unchecked. Check/Uncheck the check box as appropriate.
Note: In the case of a Geographic coordinate system in the default unchecked state,
the coordinates are written as Latitude-Longitude, that is, Y-X. If checked, the
coordinates are written as Longitude-Latitude, that is, X-Y. In the case of a Projection
coordinate system in the default unchecked state, the coordinates are written as X-Y.
If checked, the coordinates are written as Y-X.
18-25
Working with GeoMedia
18-26
How to Reach Intergraph
A-1
Working with GeoMedia
A-2
Coordinate System Information
Projection Algorithms
Albers Equal Area New Brunswick Stereographic (ATS77)
Azimuthal Equidistant New Brunswick Stereographic (NAD83)
Bipolar Oblique Conic Conformal New Zealand Map Grid
Bonne North Polar Stereographic
British National Grid Oblique Mercator
Cassini-Soldner Orthographic
Cylindrical Equirectangular Polyconic
Eckert IV Rectified Skew Orthomorphic
Equidistant Conic (Simple Conic) Robinson
Gauss Conformal (South Africa) Simple Cylindrical (Plate Carree)
Gauss-Kruger (3-degree) Sinusoidal
Gauss-Kruger (6-degree) South Polar Stereographic
Gnomonic State Plane Coordinate System 1927
Indonesian Polyhedric State Plane Coordinate System 1983
Japan Plane Rectangular (Tokyo) Stereographic
Krovak Switzerland LV03
Laborde Switzerland LV95
Lambert Azimuthal Equal-Area Three-Step Stereographic
Lambert Conformal Conic Transverse Mercator
Local Space Rectangular Undefined (Rectangular Grid)
Mercator Universal Polar Stereographic
Miller Cylindrical Universal Transverse Mercator
Modified Polyconic (IMW Series) Van der Grinten
Mollweide
B-1
Working with GeoMedia
NADCON North American Datum 1983 to High Accuracy Reference Network (NGS Version
2.10)
NGA Earth Gravity Model (EGM96)
Second Degree Conformal Polynomial
Second Degree (General) Polynomial
User-Supplied
USGG (NGS gravimetric geoid)
VERTCON (NGS Version 2.10)
Functional Categories of Datum Transformation Models
Some datum transformation models transform between horizontal geodetic datums in the horizontal plane
while ignoring (copying) height coordinates. These transformations will be used with coordinates having
orthometric height type and will not be used with coordinates having geometric height type (since they do
not correctly transform ellipsoid-based height). These models include:
2nd Degree (General) Polynomial
2nd Degree Conformal Polynomial
Canadian National Transformation (2.0)
Complex Polynomial
NADCON NAD27 to NAD83 (NGS Version 2.10)
NADCON NAD83 to HARN (NGS Version 2.10)
Some datum transformation models transform between horizontal geodetic datums and may be used with
either orthometric or geometric height coordinates. They copy height coordinates when given orthometric
height coordinates and correctly transform geometric height coordinates. These models include:
Bursa-Wolf
Molodensky (standard)
Multiple Regression
Some datum transformation models transform between vertical datums, which may or may not involve
changing the height type of the coordinates. These models copy the horizontal coordinates. They include:
VERTCON (NGS Version 2.10)
NGA Earth Gravity Model (EGM96)
GEOID (NGS hybrid geoid)
USGG (NGS gravimetric geoid)
The User-Supplied datum transformation model may be configured in any of the above ways.
Notes for the Canadian National Transformation 2.0 Datum Transformation Model
The Canadian National Transformation is a datum transformation model for the conversion of geographic
points from the NAD27 horizontal datum to the NAD83 horizontal datum, or vice versa, to match points
obtained from the Canadian National Transformation PC program INTGRID version 2.0. This model was
obtained from the Geodetic Survey Division, Geomatics Canada, and has been implemented in GeoMedia.
To use the Canadian National Transformation, you must obtain the grid file ntv2_0.gsb and place it in the
…\cfg\canada folder. You can obtain this grid file from:
B-2
Coordinate System Information
The Canadian National Transformation (version 2.0) has been adopted by the Intergovernmental Committee
on Surveying and Mapping (ICSM) as the official high-accuracy transformation between the old Australian
horizontal datums (AGD66 or AGD84, depending upon location) and the new official horizontal datum
(GDA94). Grid files are published on the World Wide Web. The use of the Canadian National
Transformation model for Australia has been included in the default entries in the autodt.ini configuration
file. However, users will need to obtain the desired grid file from the Australian authorities, place it in the
…\cssruntm\cfg\canada folder, and edit the …\cssruntm\cfg\canada\area.ini file to reference the grid file by
name.
The Canadian National Transformation (version 2.0) has also been adopted by the Intergovernmental
Committee on Surveying and Mapping (ICSM) and Land Information New Zealand (LINZ) as the official
high-accuracy transformation between the old (New Zealand) Geodetic Datum 1949 and the new official
datum, New Zealand Geodetic Datum 2000. Grid files are published by LINZ and are available on the
World Wide Web. The use of the Canadian National Transformation model for New Zealand has been
included in the default entries in the autodt.ini configuration file. However, users will need to obtain the
desired grid file from Land Information New Zealand, place it in the …\cssruntm\cfg\canada folder, and edit
the …\cssruntm\cfg\canada\area.ini file to reference the grid file by name.
When the Canadian National Transformation model interpolates a given point, it checks a configurable text
file, …\cssruntm\cfg\canada\area.ini, for the name of the grid file to use. Only the first valid grid file found
will be used during point conversions. The file extension .gsb should be left off the entry in the area.ini file.
Notes for the NADCON NAD27 to NAD83 and NADCON NAD83 to HARN (NGS
Version 2.10) Models
NADCON is a datum transformation model for the conversion of point coordinates from the North American
Datum of 1927 (NAD27) to the North American Datum of 1983 (NAD83), and vice versa, and from the
NAD83 datum to the state High Accuracy Reference Network (HARN), and vice versa.
The NADCON model (NGS version 2.10) is public-domain software from the National Geodetic Survey.
This program transforms latitude and longitude coordinates between NAD27 and NAD83, and vice versa,
and between the North American Datum of 1983 (NAD83) and the High Accuracy Reference Network
(HARN), and vice versa. This model can also transform data originally expressed in old island datums, such
as exist in Alaska and Hawaii, into data referenced to NAD83. Data for the following areas is provided in
GeoMedia.
B-3
Working with GeoMedia
IMPORTANT: St. George Is. and St. Paul Is. are part of the Pribilof Islands. Two separate datums, one for
each island, that were available before NAD83 are significantly different from NAD27. Be sure that the
input data are consistent with the identified transformation data sets. The transformation of misidentified
data can result in very large errors on the order of hundreds of meters.
B-4
Coordinate System Information
Indiana inhpgn
Iowa iahpgn
Kentucky kyhpgn
Louisiana lahpgn
Maine mehpgn
Maryland - Delaware mdhpgn
Michigan (except Isle Royale) mihpgn
Minnesota mnhpgn
Mississippi mshpgn
Missouri mohpgn
Nebraska nbhpgn
Nevada nvhpgn
New England (CT, MA, NH, RI, VT) nehpgn
New Jersey njhpgn
New Mexico nmhpgn
New York nyhpgn
North Carolina nchpgn
North Dakota ndhpgn
Ohio ohhpgn
Oklahoma okhpgn
Pennsylvania pahpgn
Puerto Rico and Virgin Islands pvhpgn
South Carolina schpgn
South Dakota sdhpgn
Tennessee tnhpgn
Texas east of –100 deg. longitude ethpgn
Texas west of –100 deg. longitude wthpgn
Utah uthpgn
Virginia vahpgn
Washington - Oregon wohpgn
West Virginia wvhpgn
Wisconsin wihpgn
Wyoming wyhpgn
The area.ini file for NAD83 to HARN datum transformations is …\cssruntm\cfg\harn\area.ini. The default
file list is alphabetical. Because many regions overlap, you may need to rearrange the list to ensure that the
desired region is being used for your area. Note that the HARN files for American Samoa and Guam are an
exception to the general application of the NAD83 to HARN datum transformation, in that these grid files
transform directly from the old island datum (American Samoa 1962 or Guam 1963) to the NAD83 HARN
datum (the original NAD83 datum was never applied to American Samoa or Guam).
The accuracy of the transformations should be viewed with some caution. At the 67-percent confidence
level, this method introduces approximately 0.15 meter uncertainty within the conterminous United States,
0.50 meter uncertainty within Alaska, 0.20 meter uncertainty within Hawaii, and 0.05 meter uncertainty
within Puerto Rico and the Virgin Islands. In areas of sparse geodetic data coverage, NADCON may yield
B-5
Working with GeoMedia
less accurate results, but seldom in excess of 1.0 meter. Transformations between NAD83 and
States/Regions with High Accuracy Reference Networks (HARNs) introduce approximately 0.05 meter
uncertainty.
Transformations between old datums (NAD27, Old Hawaiian, Puerto Rico, and so forth) and HARN could
combine uncertainties (for example, NAD27 to HARN equals 0.15m + 0.05m = 0.2m). In near offshore
regions, results will be less accurate, but seldom in excess of 5.0 meters. Farther offshore NAD27 was
undefined. Therefore, the NADCON computed transformations are extrapolations and no accuracy can be
stated.
NADCON cannot improve the accuracy of data. Stations that are originally third-order will not become
first-order stations. NADCON is merely a tool for transforming coordinate values between datums.
This program is based exclusively upon data within the official National Geodetic Reference System
(NGRS). Data originating from stations not part of this official reference may not be compatible. Be sure
that the data to be transformed is actually referenced to the NGRS.
Disclaimer published by the National Geodetic Survey in the public domain software package:
The attendant software and any associated data were developed for use by the National Ocean Service under
controlled conditions of software maintenance, input quality, processing configurations, and output data utilization.
Any use of this software by other than the National Ocean Service would be under conditions not necessarily subject
to such control. Therefore, the National Ocean Service makes no warranties, expressed or implied, concerning the
accuracy, completeness, reliability, or suitability for any particular purpose of the information and data contained in
or generated by this software or furnished in connection therewith. Furthermore, the National Ocean Service assumes
no liability associated with the use of such software, information, and data, and assumes no responsibility to maintain
them in any manner or means. Any exceptions to these conditions of release must be formally established through
negotiated agreements with the National Ocean Service.
Since this software and associated information and data were developed and compiled with U.S. Government funding,
no proprietary rights may be attached to them, nor may they be sold to the U.S. Government as part of any
procurement of ADP products or services.
B-6
Coordinate System Information
Disclaimer of Liability
With respect to documents and products available from this server, neither the United States Government nor the National
Imagery and Mapping Agency nor any of their employees, makes any warranty, express or implied, including the
warranties of merchantability and fitness for a particular purpose, or assumes any legal liability or responsibility for the
accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its
use would not infringe privately owned rights.
Disclaimer
This program and supporting information is furnished by the government of the United States of America, and is accepted
and used by the recipient with the understanding that the United States government makes no warranties, express or
implied, concerning the accuracy, completeness, reliability, or suitability of this program, of its constituent parts, or of
any supporting data. The government of the United States of America shall be under no liability whatsoever resulting
from any use of this program. This program should not be relied upon as the sole basis for solving a problem whose
incorrect solution could result in injury to person or property. This program [intg] is property of the government of the
United States of America. Therefore, the recipient further agrees not to assert proprietary rights therein and not to
represent this program to anyone as being other than a government program.
By inclusion of the intg algorithms in GeoMedia software, Intergraph asserts no proprietary rights on the
algorithms used by our NGS GEOID and NGS USGG implementations, which are based upon the intg
algorithms, and furthermore, acknowledges intg as a government program.
B-7
Working with GeoMedia
By inclusion of the vertcon algorithms in GeoMedia, software Intergraph asserts no proprietary rights on the
algorithms used by our NGS VERTCON implementation, which are based upon the vertcon algorithms, and
furthermore, acknowledges vertcon as a government program.
B-8
Coordinate System Information
B-9
Working with GeoMedia
United States Standard Voirol 1960 (Obsolete EPSG WGS 72 Transit Broadcast
User-defined (non-standard) Definition) Ephemeris (WGS 72BE)
Viti Levu 1916 Wake Island Astro 1952 WGS84
Voirol 1874 (NGA Definition) Wake-Eniwetok 1960 Yacare
Voirol 1875 (EPSG Definition) WGS60 Yoff
Voirol 1960 (NGA Definition) WGS66 Zanderij
WGS72
B-11
Working with GeoMedia
Vertical Datums
You can reference and transform data between different vertical datums including ellipsoid-geoid
conversion. Vertical datums may reference the geoid (orthometric height), the ellipsoid (geometric
height), or be undefined. Geoid undulation is handled as a vertical datum transformation.
Vertical datum information is carried with the definition of a coordinate system, through the user
interface (for more information see the GMDefCoordSystem control sections), the programmer
interface (for more information see the GeogSpace and CoordSystem sections), and the storage
system (for more information see the GeogSpace and GDO specification section).
Note: The sections referred to are in the GeoMedia Object Reference Help.
The following vertical datums are supported. The height type is orthometric for all cases, except
where noted.
Australian Height Datum 1971 Tsingtao
Canadian Vertical Reference 1928 United European Leveling Network 1955
Earth Gravitational Model (EGM96) United European Leveling Network 1973
Ellipsoid (geometric)1 United European Leveling Network 73-81
International Great Lakes 1955 United European Leveling Network 95-98
International Great Lakes 1985 United States Gravimetric Geoid 2003
National Geodetic Vertical Datum 1929 Unspecified2
North American Vertical Datum 1988 User-defined (non-standard)
Ordnance Newlyn Third Geodetic Leveling
1
Causes the height storage type of the containing CoordSystem to be geometric, referencing the ellipsoid of the horizontal geodetic
datum.
2
Causes the height storage type to be unspecified.
Ellipsoids
Ellipsoid Earth Radius Earth-Flattening
Denominator
Airy 1830 6377563.396 m. 299.3249646
Australian National Spheroid 6378160 m. 298.25
Average Terrestrial System 1977 6378135 m. 298.257
Bessel 1841 6377397.155 m. 299.1528128
Bessel 1841 (Namibia) 6377483.865 m. 299.1528128
Clarke 1858 (EPSG Definition) 6378293.639246834 m 294.2606763692611
Clarke 1866 6378206.4 m. 294.9786982139058
B-12
Coordinate System Information
B-13
Working with GeoMedia
Angular Units
Alias UOM 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 degrees:minutes See individual units.
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)
Area Units
Alias UOM 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)
B-15
Working with GeoMedia
B-16
Coordinate System Information
B-17
Working with GeoMedia
B-18
Coordinate System Information
B-19
Working with GeoMedia
UTM Zones
Zone Meridian Longitude Range Zone Meridian Longitude Range
1 177W 180W-174W 32 9E 6E-12E
2 171W 174W-168W 33 15E 12E-18E
3 165W 168W-162W 34 21E 18E-24E
4 159W 162W-156W 35 27E 24E-30E
5 153W 156W-150W 36 33E 30E-36E
6 147W 150W-144W 37 39E 36E-42E
7 141W 144W-138W 38 45E 42E-48E
8 135W 138W-132W 39 51E 48E-54E
9 129W 132W-126W 40 57E 54E-60E
10 123W 126W-120W 41 63E 60E-66E
11 117W 120W-114W 42 69E 66E-72E
12 111W 114W-108W 43 75E 72E-78E
13 105W 108W-102W 44 81E 78E-84E
14 99W 102W-96W 45 87E 84E-90E
15 93W 96W-90W 46 93E 90E-96E
16 87W 90W-84W 47 99E 96E-102E
17 81W 84W-78W 48 105E 102E-108E
18 75W 78W-72W 49 111E 108E-114E
19 69W 72W-66W 50 117E 114E-120E
20 63W 66W-60W 51 123E 120E-126E
21 57W 60W-54W 52 129E 126E-132E
22 51W 54W-48W 53 135E 132E-138E
23 45W 48W-42W 54 141E 138E-144E
24 39W 42W-36W 55 147E 144E-150E
25 33W 36W-30W 56 153E 150E-156E
26 27W 30W-24W 57 159E 156E-162E
27 21W 24W-18W 58 165E 162E-168E
28 15W 18W-12W 59 171E 168E-174E
29 9W 12W-6W 60 177E 174E-180E
30 3W 6W-0 All values are expressed in full degrees east
31 3E 0-6E (E) or west (W) of Greenwich (0), Central
Meridians, and Longitude Ranges.
B-20
Coordinate System Information
GeoTIFF Capabilities
Output to GeoTIFF - Projection Systems
The GeoMedia Professional Output to GeoTIFF functionality supports a limited number of
predefined projection coordinate systems. These predefined projection systems are combinations
of projection algorithms with predefined parameters (typically they are zones within zoned
projections such as UTM) and preset datums. Additionally, the GeoTIFF specification assumes
that these predefined systems are defined with specific model (storage) units and are centered at
(0,0) (they have no storage origin offset defined in the GeoMedia coordinate system). When the
horizontal storage unit for the Output to GeoTIFF coordinate system differs from the specified
GeoTIFF model storage unit in the table below, the GeoTIFF GeoKey for the specified unit will be
used, and an appropriate scaling for the units difference will be applied to the model-to-pixel
transformation matrix that is written concurrently with the coordinate system GeoKeys.
The projected type coordinate systems supported for the GeoMedia Professional Output to
GeoTIFF functionality are as follows:
Note: The UTM entries are sorted alphabetically by geodetic datum name.
B-21
Working with GeoMedia
State Plane Coordinate System 1983 (all NAD 83 – HARN Upgrade 1 meter
zones except Alaska, North and South
Carolina, and Pennsylvania)
Switzerland LV03 CH1903 1 meter
Switzerland LV95 CH1903+ 1 meter
Universal Polar Stereographic, both Northern WGS 84 1 meter
and Southern Hemisphere cases
UTM zones 37-38, Northern Hemisphere Adindan 1 meter
UTM zones 38-39, Northern Hemisphere AFG (Afgooye) 1 meter
UTM zones 37-39, Northern Hemisphere Ain el Abd 1970 1 meter
UTM zones 22-24, Southern Hemisphere Aratu 1 meter
UTM zones 34-36, Southern Hemisphere Arc 1950 (EPSG Definition) 1 meter
UTM zones 35-37, both Northern and Arc 1960 1 meter
Southern Hemisphere
UTM zones 48-58, Southern Hemisphere Australian Geodetic 1966 1 meter
(Australian Map Grid)
UTM zones 48-58, Southern Hemisphere Australian Geodetic 1984 1 meter
(Australian Map Grid)
UTM zones 19-20, Northern Hemisphere Average Terrestrial System 1977 1 meter
UTM zones 48-50, Southern Hemisphere Batavia 1 meter
UTM zones 17-18, Northern Hemisphere Bogota Observatory 1 meter
UTM zones 32-33, Southern Hemisphere Camacupa 1 meter
UTM zones 34-36, Southern Hemisphere Cape (EPSG Definition) 1 meter
UTM zone 32, Northern Hemisphere Carthage (EPSG Definition) 1 meter
UTM zones 23-24, Southern Hemisphere Corrego Alegre 1 meter
UTM zone 29, Northern Hemisphere Datum 73 1 meter
UTM zone 32, Northern Hemisphere Douala 1 meter
UTM zones 28-38, Northern Hemisphere EUREF89 (ETRS89) 1 meter
UTM zones 28-38, Northern Hemisphere European 1950 1 meter
UTM zones 39-40, Northern Hemisphere Fahud 1 meter
UTM zone 33, Northern Hemisphere Garoua 1 meter
UTM zones 48-58, Southern Hemisphere Geocentric Datum of Australia 1 meter
(Map Grid of Australia 1994) (GDA94)
UTM zone 50, Southern Hemisphere Gunung Segara 1 meter
UTM zones 47-48, Northern Hemisphere Indian 1954 1 meter
UTM zones 48-49, Northern Hemisphere Indian 1960 1 meter
UTM zones 47-48, Northern Hemisphere Indian 1975 1 meter
UTM zones 46-54, Southern Hemisphere Indonesian 1974 1 meter
B-22
Coordinate System Information
Geographic Systems
The GeoMedia Professional Output to GeoTIFF functionality also supports writing geographic
coordinate systems on certain available datums. The GeoTIFF specification assumes that these
predefined systems are defined with specific model (storage) units and are centered at (0,0) (they
have no storage origin offset defined in the GeoMedia coordinate system). When the horizontal
storage unit for the Output to GeoTIFF coordinate system differs from the specified GeoTIFF
model storage unit in the table below, the GeoTIFF GeoKey for the specified unit will be used, and
an appropriate scaling for the units difference will be applied to the model-to-pixel transformation
matrix that is written concurrently with the coordinate system GeoKeys.
The geographic type coordinate systems supported for the GeoMedia Professional Output to
GeoTIFF functionality are as follows:
B-24
Coordinate System Information
B-25
Working with GeoMedia
B-26
Coordinate System Information
B-27
Working with GeoMedia
B-28
Coordinate System Information
B-29
Working with GeoMedia
• Equidistant Conic
• Gnomonic
• Laborde
• Lambert Azimuthal Equal Area
• Lambert Conformal Conic
• Mercator
• Miller Cylindrical
• Oblique Stereographic (GeoTIFF code limited to oblique aspect, not polar)
• Orthographic
• Polar Stereographic
• Polyconic
• Robinson
• Sinusoidal
• Stereographic
• Transverse Mercator
• Undefined (Rectangular Grid)
• Van der Grinten
B-30
Raster Information
C-1
Working with GeoMedia
C-2
Raster Information
Compression Techniques
Format Description
CCITTG4 Consultative Committee on International Telephone and Telegraph
Group 4 format is standard for transmission and storage of bilevel
facsimile images.
JPEG Joint Photographic Experts Group format uses a block-by-block
conversion to frequency space and stores a discrete cosine series
representation of the frequency space.
LZW Lempel-Ziv & Welch algorithm compresses binary, grayscale, or
color data. This method was not used for a time because of patent
and licensing issues.
PB Packbits algorithm compresses binary, grayscale, or color data.
Packbits and Intergraph Type 29 are good for general-purpose
raster data, continuous-tone imagery, and RLE data. For certain
types of images, such as map images, significantly better disk
compression is achieved with a different RLE format, such as
Intergraph Type 9.
RLE Run-Length Encoded. A run length is a unit that describes a series
of contiguous pixels in a raster line that all have the same value.
Run lengths are used to achieve data compression in binary
scanned data and color run-length data. Long sequences of 0s, 1s,
or identical color indexes are identified and recorded using less
data than would otherwise be required to list the individual values
of the series of pixels.
Wavelet An algorithm for grayscale and color data. Used by MrSID, ECW,
and JPEG2000 format images.
ZIP Similar to LZW, it was developed as a legal replacement for LZW.
C-3
Working with GeoMedia
Tiling
Format Description
Tiling When raster data becomes large, it may be necessary to subdivide
it into smaller sections that can be loaded into memory and
manipulated individually. These sections are called tiles. A tiled
raster file consists of the standard raster-file header, immediately
followed by additional data specifying the tile information. Tiling
does not make the raster file smaller, so it is not a compression
technique. Rather, it breaks a raster file into manageable parts that
the system can use more easily. Tiling a file often speeds up
interactive display and editing operations. But tiling a run-length-
encoded file can make the file much larger on the disk because any
given run-length may be no longer than the relatively small tile
dimension. Therefore, many short run-length entries may be
required in place of a previous single, long entry.
Data Types
Data Type Description
Binary Consists of pixels that are either on or off to represent the
foreground and background data. Uncompressed binary data
requires one bit to store each pixel.
Grayscale or Contains coded intensity values usually ranging from 0 to 255.
continuous tone Generally uses one byte (8 bits) of data to represent each pixel.
8-Bit Color Uses a color table in the file header to identify the color of each
pixel. As with grayscale data, each uncompressed pixel is
represented by one byte of data. This byte of data points to a
color-table entry containing a 24-bit color definition. There may
be up to 256 slots in a color table, although all of the slots may not
necessarily be used.
24-Bit Color Requires three bytes of data to represent the color of each pixel.
Each byte represents the intensity of a color: one byte for red, one
byte for green, and one byte for blue. The different intensities of
all three colors combine to create all other possible colors. For
example, a lemon-yellow pixel might be stored with an intensity
value of 255 red, 219 green, and 109 blue.
C-4
Raster Information
Note: Most ECW files do not require a World file. Use the Other with external
coordinate system file mode of georeferencing, and provide a .csf that defines the
coordinate system of the ECW files. This is the preferred method for georeferenced
placement of ECW. Also, be sure to use ISRU's "Display Header" to determine file
format; file extensions are often incorrect or misleading.
C-5
Working with GeoMedia
C-6
Layout Window Graphics
Commands
The Layout Window Graphics commands, or drawing commands, are enabled when you
select Window > Show Layout Window to display the layout window. You access these
commands from the various layout window toolbars and menus.
This appendix simply lists these commands following their menu groupings. For ease of
use, complete documentation for these commands consists of a context-sensitive online
Help topic for each command, which you can access by pressing the F1 key. This
appendix also lists the commands used for placing and manipulating map graphics in a
layout window; these commands are described in the “Designing Map Layouts for Printing
in the Layout Window” chapter.
See the “Working with Layout Windows”, “Designing Map Layouts for Printing in the
Layout Window”, and “Printing in GeoMedia” chapters for information on layout
windows.
D-1
Working with GeoMedia
D-3
Working with GeoMedia
D-4
Conversion Tables
The following tables contain the multiplication factors for converting from the
International System of Units (metric) to the United States Customary System and from the
United States Customary System to the International System of Units (metric). These
tables are useful with various GeoMedia functions, such as the Measure Distance and
Scale Bar Properties commands and the Units and Formats tab of the Define
Coordinate System File dialog box.
To Convert from To
Multiply by
International System of Units United States Customary System
Meters Feet 3.280840
Meters Yards 1.093613
Centimeters Inches 0.3937008
Centimeters Feet 0.03280840
Kilometers Miles (U.S. statute) 0.6213711
Kilometers Miles (international nautical) 0.5399568
Square meters Square feet 10.76391
Square meters Square yards 1.195990
Square centimeters Square inches 0.1550003
Square centimeters Square feet 0.00107639
Square kilometers Square miles (U.S. statute) 0.3861021
Hectares Acres 2.471054
Hectares Square miles 0.00386102
E-1
Working with GeoMedia
To Convert from To
Multiply by
United States Customary System International System of Units
Feet Meters 0.3048
Yards Meters 0.9144
Inches Centimeters 2.54
Feet Centimeters 30.48
Miles (U.S. statute) Kilometers 1.609344
Miles (international nautical) Kilometers 1.852
Square feet Square meters 0.09290304
Square yards Square meters 0.83612736
Square inches Square centimeters 6.4516
Square feet Square centimeters 929.0304
Square miles (U.S. statute) Square kilometers 2.589988
Acres Hectares 0.4046856
Square miles Hectares 258.9988
E-2
Catalogs: Installing, Setting Up,
and Upgrading Oracle and MS-SQL
Servers
This appendix provides information on installing, setting up, and upgrading Oracle and
MS-SQL Server for use with Catalogs. The dialog boxes and graphics in this appendix
reflect the use of Oracle 9i and MS-SQL Server 2000; the user interface may differ if you
are using different versions of Oracle or MS-SQL Server.
See the “Working with Catalogs” chapter for related information about creating new
catalog connections and managing catalog connections.
Note: The following shows a typical installation and configuration of an Oracle catalog.
Your steps may vary depending on your organization's Oracle protocol. It is strongly
recommended that this function be performed by a qualified Oracle database administrator.
Quick Steps
Server:
1. Run the ora.sql script to create an Oracle database. This script is in the Oracle
folder of your GeoMedia distribution media.
Client:
2. Set up a service name.
3. Create an ODBC DSN.
4. Create a new Catalog connection.
F-1
Working with GeoMedia
F-2
Installing, Setting Up, and Upgrading Oracle and MS-SQL Servers for Catalogs
• Enter the Service Name (Alias) used to connect to the database. This is the Net
Service Name that will connect to the Oracle Instance. This must exist before the
script is run.
Note: The password of the new Catalog database is the same as the user name.
4. After the script has run, a log file will be generated. The log file is named
SMMSOracle.logand is placed in your Temp folder as defined by the TEMP User
environment variable. This directory is typically found at <System Drive
Letter>:\Documents and Settings\<User Name>\Local Settings\Temp on Windows
XP systems. Review this file for errors.
Note: With GeoMedia Catalog and Oracle, you may only log in to the database as the
database owner. Read-only and read-write users are not supported.
F-3
Working with GeoMedia
9. Enter the Host name of the computer where the Oracle Catalog database is stored. If
the Port Number is different from the default, enter the correct Port Number as well.
10. Click Next.
11. It is recommended that you run the user connection test before completing the Oracle
service configuration process.
12. Accept the Net Service name, or enter a new one.
13. Click Next.
14. Click Next.
15. When you are finished, click Next; then click Finish.
3. Click Add.
4. Select Oracle ODBC Driver.
F-4
Installing, Setting Up, and Upgrading Oracle and MS-SQL Servers for Catalogs
5. Enter a Data Source Name name, a TNS Service Name, and a User ID. Select the
remaining settings, following your organization's Oracle protocol. If the Oracle 9i
client is configured on the system, select the Workaround tab at the bottom of the
ODBC Oracle Driver Configuration dialog box, and be certain to check the Set
Metadata Id Default to SQL_True check box. Click OK when you are finished.
2. On the General tab, select the appropriate Catalog connection from the drop-down
list.
3. Click Select All, or select all records that are to be saved/backed up for the update
process.
4. Select the GCE Export format option.
5. Type the appropriate location where the export files are to be saved in the Export
folder field, or use Browse to select it.
6. Click Apply.
The status of the export for the selected records is displayed in the status bar, the
selected catalog records are exported, and the files are stored in the destination folder.
7. Use ODBC Data Source Administrator to remove the DSN you created by using the
older version ODBC driver for Oracle or MS-SQL Server.
8. Uninstall the current version of your server database.
9. Install the new version of your server database.
10. Use either the Intergraph Oracle or the MS-SQL Server Catalog database scripts to
create the required metadata database tables and related database configuration.
11. Create a new DSN using a compatible version of the Oracle or MS-SQL Server ODBC
driver.
F-6
Installing, Setting Up, and Upgrading Oracle and MS-SQL Servers for Catalogs
13. Type the location from where the import files are to be read, or use Browse to select
the location.
14. Click Select All, or select the appropriate file(s) from the Available files list.
Note: A tooltip is attached to the filenames so that long filenames can be read easily.
F-7
Working with GeoMedia
Important: These instructions follow the basic steps associated with an MS-SQL Server
Catalog installation, but they are not meant to provide an introduction to or a discussion of
the MS-SQL Server. Your installation may vary according to your organization's MS-SQL
Server configuration. It is strongly recommended that an experienced MS-SQL Server
administrator perform the installation.
Quick Steps
The following are the basic steps for installing an MS-SQL Server Catalog database:
1. Create a SQL database.
2. Run the MS-SQL Server Scripts as Administrator. These scripts are in the
MSSQL2000 folder or the MSSQL7.0 folder of your GeoMedia distribution media.
3. Create user accounts.
4. Set user permissions.
5. Create an ODBC connection for clients.
6. Create a new Catalog connection.
F-8
Installing, Setting Up, and Upgrading Oracle and MS-SQL Servers for Catalogs
Note: It is advised that a qualified SQL database administrator create user accounts
following your organization’s SQL protocol.
The following steps provide a basic approach to creating user accounts. A qualified SQL
administrator may be able to identify a more efficient way of account creation that best
suits your organization’s needs.
The following are basic steps to creating MS-SQL user accounts. You may create read-
only and read-write users.
F-10
Installing, Setting Up, and Upgrading Oracle and MS-SQL Servers for Catalogs
F-11
Working with GeoMedia
Reminder: These steps are intended to outline a typical configuration. Your MS-SQL
protocol may differ.
F-12
Installing, Setting Up, and Upgrading Oracle and MS-SQL Servers for Catalogs
12. Click Change the default database to, and select the MS-SQL Catalog database from
the drop-down list.
13. Click Next.
The fourth wizard screen opens.
14. Choose Let SQL Server ODBC driver choose the translation method if not already
selected).
15. Leave the default selections on the next wizard screen as they are, and click Finish.
The ODBC Microsoft SQL Server Setup dialog box will then display. You can use
this dialog box to verify the ODBC DSN by testing the connection.
16. Click Test Data Source to test the data source configuration settings.
17. Upon successful results, click OK.
F-13
Working with GeoMedia
F-14
LRS Data Structures
This appendix describes the Linear Referencing System (LRS) data structures that are directly
supported.
Overview
Data for Transportation Asset systems (using dynamic segmentation) generally falls into two
categories: LRS data and Event data. LRS data describes the naming, measurement system, and
geometry of the linear network. Event data describes attributes of the linear network, such as
pavement conditions, roadway inventory data (for example, guardrails and signage), and accident
occurrences. This software provides great flexibility in the structuring of both of these data types,
as shown below:
LRS Data Structure Options Event Data Structure Options
• Measure • Measure
• Measure with Internal Markers • Marker Offset
• Measure with External Measure Markers • Coordinate
• Duration • Duration
• Duration with Internal Markers
• Duration with External Measure Markers
Note: There are additional data structures associated with Multilevel LRS. These options are
available if you also have GeoMedia Transportation installed. The details of these additional data
structures are described in the “LRS Data Structures” appendix of the Working with GeoMedia
Transportation document.
G-1
Working with GeoMedia
Option 1 – Measure
The segments in this option are defined by a set of up to four LRS keys to name the route, a start
and an end measure value, and geometry.
BeginMeasure
EndMeasure
Direction of Segment
PrimaryKey US The LRS key fields identify the "route" that this segment of the LRS
belongs to. This identification can be done with anywhere from 1 to 4
fields within the LRS feature class. These fields are the same fields the
event features will use to identify the "route".
In the sample shown PrimaryKey identifies the roadway system,
SecondaryKey contains the route number, TertiaryKey identifies whether
the segment is part of a spur, and QuatenaryKey identifies whether this
segment is part of an alternative route. All together the route name is
"US6SA".
SecondaryKey 6 This is the 2nd key field that can be used to identify the "route" that this
segment of the LRS belongs to. Its use is optional.
TertiaryKey S This is the 3rd key field that can be used to identify the "route" that this
segment of the LRS belongs to. Its use is optional.
QuatenaryKey A This is the 4th key field that can be used to identify the "route" that this
segment of the LRS belongs to. Its use is optional.
BeginMeasure 12.3 This is the measurement value for the beginning position of this feature.
EndMeasure 18.2 This is the measurement value for the ending position of this feature.
Geometry blob This field contains the linear geometry that describes the linear segment
geometrically.
Geometry True This Boolean (True/False) field declares whether the software should treat
Reversed this linear feature as is (False) or as if its digitizing direction were reversed
and its beginning were its end and vice-versa (True).
RegionID ORA This text field contains an identifier as to which region a particular
segment resides in. It is used to subdivide an LRS into more manageable
subsets. Its use is optional. The “ORA” in the sample shown is an ID code
for “Orange County”.
G-2
LRS Data Structures
BeginMeasure EndMarker
BeginMarker EndMeasure
Direction of Segment
G-3
Working with GeoMedia
G-4
LRS Data Structures
BeginMeasure Marker
Marker EndMeasure
Direction of Segment
G-5
Working with GeoMedia
G-6
LRS Data Structures
Option 4 – Duration
The segments in this option are defined by a set of up to four LRS keys to name the route, a start
measure value, a duration (length) value, and geometry.
BeginMeasure
Duration
Direction of Segment
G-7
Working with GeoMedia
BeginMeasure EndMarker
BeginMarker Duration
Direction of Segment
G-8
LRS Data Structures
G-9
Working with GeoMedia
BeginMeasure Marker
Marker
Duration
Direction of Segment
G-10
LRS Data Structures
G-11
Working with GeoMedia
Option 1 – Measure
The events in this option are defined by a set of up to four LRS keys to name the route, a start
measurement, and for linear events only, an end measure value.
G-12
LRS Data Structures
G-13
Working with GeoMedia
Option 3 – Coordinates
The events in this option are defined by a set of up to four LRS keys to name the route, a begin X/Y
or Longitude/Latitude coordinate, and for linear events only, an end X/Y or Longitude/Latitude
coordinate.
X,Y
G-14
LRS Data Structures
Option 4 – Duration
The events in this option are defined by a set of up to four LRS keys to name the route, a begin
measure, and a duration (length) value. The Duration option applies to linear events only.
G-15
Working with GeoMedia
G-16
Supported SVG Element Types
Background
GeoMedia 6.1 offers a means of supporting symbols definitions from numerous formats
through implementation of a common symbol-serving interface. This appendix describes
the implementation of such an interface for the support of symbols that are created in an
SVG structure, which is XML based. This open format provides the user with the ability
to create new symbols and to convert existing symbols. These symbols can be used in
GeoMedia within styles to render points, lines, and areas.
Discussion
An SVG document is created according to the standard W3C SVG specifications, which
allow support for certain attributes and elements to make parametric behavior easier.
The following are the major sections of an SVG document relevant to symbol usage:
• XML version and encoding – A standard XML header. This header is not required.
Whether the header is provided or not, UTF-8 encoding is always assumed.
• Reference namespaces – Identify namespaces in use within the document. If
GeoMedia-structured symbol parameters are to be used, the gmsvgsym namespace
must be referenced.
For more information, see the “Metadata Element” section of this appendix.
• SVG – This root element for the document holds the sections for metadata (metadata),
graphics definitions (symbol), and drawing objects (use).
• Metadata – May include the GeoMedia SVG Symbol Metadata extension.
For more information, see the “Metadata Element” section of this appendix.
• Symbol – Contains symbols definitions. This section is used to segregate symbol
definitions from actual drawing requests.
• Use – Specifies actual use of a symbol definition at a particular coordinate location for
visualization within an SVG viewer. This element is not required by GeoMedia’s SVG
interpreter, but it is required by SVG viewers.
The symbol section contains the actual symbol definitions. Symbols may be composed of
various SVG geometry elements.
H-1
Working with GeoMedia
The following elements are supported by the GeoMedia SVG Symbol Server:
• svg • metadata • polygon • ellipse
• symbol • line • rect • path
• use • polyline • circle • text
• g
The nature of these elements, the attributes of these elements, and the components of those
attributes are discussed in the following discussion. Elements in the SVG file other than
these are ignored.
All distance and coordinate values, including those of fonts, are given in the unit of pixels,
which are defined as being 1/96th of an inch. Because the XML is structured as UTF-8,
the GeoMedia symbol interpreter will also handle Unicode symbols.
Supported Types
Refer to the W3C SVG specifications for further details on each element.
General Elements
As a general rule, if elements contain other elements, the contained elements (components)
inherit information defined on the container element (composite). One of the more
common uses of this inheritance is with styles. A characteristic of a style can be inherited
from the symbol, group, use, and like elements. As with any inheritance, inherited values
from the composite can be overwritten by values set on the component.
SVG Element
The <svg> element is the root for the SVG-structured contents to follow. The attributes of
the SVG element that will be supported are as follows:
Attribute Value Description
xmlns "http://www.w3.org/2000/svg" Defines the default
namespace of the XML
document.
xmlns:xlink "http://www.w3.org/1999/xlink" Defines the xlink namespace
and sets it to the xlink prefix.
It is only required if someone
uses the namespace.
H-2
Supported SVG Element Types
Symbol Element
The <symbol> element is used to logically collect elements together to form a symbol. It
is much like a <g> element, with the exception that a symbol does not render. To use a
symbol element within an SVG viewer, it should be referenced by a use element. The
symbol defines its size using the viewBox attribute. Multiple symbols can exist within an
SVG document to provide a symbol library.
Attribute Value Description
viewBox X origin, y origin, width, This defines the bounding box of the
and height. view port and is in the default units. The
user cannot specify units for any of the
four properties. The viewBox attribute is
required.
id String The identifier for the element. Although
not required by SVG, the GeoMedia
symbol interpreter requires it to exist.
style Font, stroke, and fill The attribute is not required. See the
characteristics supported. “Style Attribute” section for details.
Scaling or non-scaling of the gmscalepen:0 will mean that pen size
pen based on size, can be will be constant when the size of the
specified using the symbol changes. gmscalepen:1 will
“gmscalepen” flag. Valid mean that pen size will be scaled based
values are 0 and 1. Default on the size of the symbol.
value is 1.
H-3
Working with GeoMedia
Use Element
The <use> element is used to define which symbols to actually use in an SVG display.
The user specifies a URI in an xlink:href attribute and specifies the x and y location where
the item’s (0,0) point should be moved to. This component is not used by the GeoMedia
symbol interpreter, and if included as a part of the symbol definition, it will be ignored.
The following is an example of a use element:
<symbol id="RoadShield" viewBox="0 0 500 500" style="font-
size:50;font-family:Arial">
…
</symbol>
<use xlink:href="#RoadShield"/>
G Element
The <g> element gathers all of its child elements as a group and has an id attribute to give
that group a unique name.
H-4
Supported SVG Element Types
Metadata Element
Metadata included in the SVG content is specified within the <metadata> element and
allows symbol creators to define their own metadata for the symbol file. GeoMedia has
introduced the following new namespace to address parametric behavior:
xmlns:gmsvgsym=”http://www.intergraph.com/GeoMedia/svgsym”
The XML schema for this namespace defines a root element symbolParameters, which
may contain zero or more individual symbol parameters for influencing the symbol
content.
For the symbol to be parametric:
• Metadata should be defined as per the schema specified in the
SVGSymbolMetadataXMLSchema.doc document.
• Metadata should be placed before symbol definition(s) and optionally can go inside it.
Each successive metadata definition overrides the previous one based on the scope.
• Parametric criteria defined in metadata should match. That is, the “replaceID” attribute
value of the active (latest definition of) metadata should match with the “ID” attribute
value of the “text” element in a symbol. If it matches, the symbol is treated as a
parametric symbol; otherwise, it is not.
For more information on the SVG Symbol Metadata XML Schema for GeoMedia, see the
“SVG Symbol Metadata XML Schema” section of this appendix.
Geometry Elements
Line Element
The following section defines the attributes of a line element. These are the only attributes
supported, and all other attributes will be ignored.
Attribute Value Description
x1 X start point The x value for the start point of the line. No
units can be given with the value.
y1 Y start point The y value for the start point of the line. No
units can be given with the value.
H-5
Working with GeoMedia
x2 X end point The x value for the end point of the line. No
units can be given with the value.
y2 Y end point The y value for the end point of the line. No
units can be given with the value.
id String The identifier for the element. Not required.
style Stroke characteristics The attribute is not required. See the “Style
supported. Attribute” section for details.
transform Varies The attribute is not required. See the “Transform
Attribute” section for details.
The following is an example of a line element:
<line id="Line1" x1=”100" y1=”50” x2=”320” y2=”240”
style="stroke-width:1; stroke-linecap:round;
stroke:#e1e100; fill:none;"/>
H-6
Supported SVG Element Types
Rect Element
The following section defines the attributes of a rect element. These are the only attributes
supported, and all other attributes will be ignored.
Attribute Value Description
x x-upper-left The horizontal coordinate of the upper-left
point of the rectangle. No units can be given
with the value. Note that if x is not given, it
defaults to the viewBox x value.
y y-upper-left The vertical coordinate of the upper-left
point of the rectangle. No units can be given
with the value. Note that if y is not given, it
defaults to the viewBox y value.
width Width The width of the rectangle, which must be a
positive value. No units can be given with the
value.
height Height The height of the rectangle, which must be a
positive value. No units can be given with the
value.
id String The identifier for the element. Not required.
style Stroke and fill The attribute is not required. See the “Style
characteristics supported. Attribute” section for details.
transform Varies The attribute is not required. See the
“Transform Attribute” section for details.
The following is an example of a rect element:
<rect id="Rectangle1" x=”20” y=”20” width=”100”
height=”50” style="stroke-width:2; stroke:#e1e100;
fill:#ff00ff;"/>
Circle Element
The following section defines the attributes of a circle element. These are the only
attributes supported, and all other attributes will be ignored.
H-7
Working with GeoMedia
Ellipse Element
The following section defines the attributes of an ellipse element. These are the only
attributes supported, and all other attributes will be ignored.
Attribute Value Description
cx X center The horizontal coordinate of the center of the
circle. No units can be given with the value.
cy Y center The vertical coordinate of the center of the
circle. No units can be given with the value.
rx X Radius The radius of the ellipse along the x-axis,
and the radius value must be positive. No
units can be given with the value.
ry Y Radius The radius of the ellipse along the y-axis,
and the radius value must be positive. No
units can be given with the value.
id String The identifier for the element. Not required.
style Stroke and fill The attribute is not required. See the “Style
characteristics supported. Attribute” section for details.
transform Varies The attribute is not required. See the
“Transform Attribute” section for details.
H-8
Supported SVG Element Types
Path Element
The following section defines the attributes of a path element. These are the only attributes
supported, and all other attributes will be ignored.
Attribute Value Description
d The set of flags and coordinates that describe
the path being drawn. No units can be given
with the value. See the “D Attribute”
section for details
id String The identifier for the element. Not required.
style Stroke and fill The attribute is not required. See the “Style
characteristics supported. Attribute” section for details.
transform Varies The attribute is not required. See the
“Transform Attribute” section for details.
D Attribute
The d attribute is used in the context of the path element. The following describes the
format of the d attribute. If the characteristic is uppercase, the position values are absolute,
but if the characteristic is lowercase, the position values are relative to the current point.
d Characteristics Value Description
H-9
Working with GeoMedia
Text Element
The following section defines the attributes of a text element. These are the only attributes
supported, and all other attributes will be ignored.
Attribute Value Description
x x-upper-left The horizontal coordinate of the upper-left point of
the text. No units can be given with the value.
y y-upper-left The vertical coordinate of the upper-left point of the
text. No units can be given with the value.
text- “start”, “middle”, or The text-anchor attribute controls the horizontal
anchor “end” location of the anchor point. This is a left, center, or
right alignment for the text at the x and y origin.
id String The identifier for the element. Not required.
style Font, stroke, and fill The attribute is not required. See the “Style
characteristics Attribute” section for details.
supported.
H-10
Supported SVG Element Types
Common Attributes
Style Attribute
SVG specifies the presentational aspects of graphic elements using inline styles. We set
the value of the style attribute to a series of visual properties, and their values as described
in the following sections. The format of a style attribute is
“stylecharacteristic1:value;stylecharacteristic2:value2;…”. An example would be:
style=”stroke:#e1e100;stroke-width:1;stroke-opacity:0.5;”. For more information refer to
the W3C specification.
Stroke Characteristics: Lines are considered to be strokes of a pen drawn to a canvas.
The size, color, and style of the pen stroke are considered to be part of the line’s
presentation.
Stroke Value Description
Characteristics
stroke Color of line Specifies the color for a linear element. The color
value supported is RGB-encoded using two
hexadecimal digits per primary-color component, in
the order Red, Green, Blue, prefixed with a hash (#)
sign. For example, full red is encoded as “#ff0000”
(with no quotation marks). Note that this is the only
format supported. The exception is the word
“none,” which implies an opacity value of 0.
stroke-width Stroke width Specifies the width of the rendered line. No units
can be specified for this object.
stroke-dasharray Dash gap Specifies a series of numbers that tell the length of
sequence of dashes and gaps with which a line is to be drawn.
line Format is dash length, space, gap length, space, etc.
No units can be given with the values, and the
values are in quotes.
H-11
Working with GeoMedia
Fill Characteristics: Specifies the way in which the interior of a shape is to be filled.
Fill Value Description
Characteristics
fill Fill color Specifies the fill color for closed symbols like
boundaries and complex strings. The color value
supported is RGB-encoded using two hexadecimal
digits per primary-color component, in the order
Red, Green, Blue, prefixed with a hash (#) sign. For
example, full red is encoded as “#ff0000” (with no
quotation marks). Note that this is the only format
supported. The exception is the word “none,” which
implies an opacity value of 0.
fill-rule ”nonzero” The 'fill-rule' property indicates the algorithm that is
or “even- to be used to determine what parts of the canvas are
odd” included inside the shape. For a simple, non-
intersecting path, it is intuitively clear what region
lies "inside"; however, for a more complex path,
such as a path that intersects itself or where one
subpath encloses another, the interpretation of
"inside" is not so obvious.
The 'fill-rule' property provides two options for how
the inside of a shape is determined, nonzero and
evenodd.
nonzero:
This rule determines the "insideness" of a point on
the canvas by drawing a ray from that point to
infinity in any direction and then examining the
places where a segment of the shape crosses the ray.
Starting with a count of zero, add one each time a
path segment crosses the ray from left to right, and
subtract one each time a path segment crosses the ray
H-12
Supported SVG Element Types
H-13
Working with GeoMedia
Transform Attribute
The value of the transform attribute is a <transform-list>, which is defined as a list of
transform definitions which are applied in the order provided. The individual transform
definitions are separated by white space and/or a comma. The available types of transform
definitions include the following:
Transform Value Description
Characteristics
matrix matrix(a,b,c, Specifies a transformation in the form of a
d,e,f) transformation matrix of six values. Matrix
(a,b,c,d,e,f) is equivalent to applying the
transformation matrix [a b c d e f].
translate translate(<tx Specifies a translation by tx and ty. If <ty> is not
> [<ty>]) provided, it is assumed to be 0.
scale scale(<sx> Specifies a scale operation by sx and sy. If <sy> is
[<sy>]) not provided, it is assumed to be equal to <sx>.
rotate rotate(<rotat Specifies a rotation by <rotate-angle> degrees about
e-angle> a given point. If optional parameters <cx> and <cy>
[<cx> are not supplied, the rotate is about the origin of the
<cy>]) current user coordinate system. The operation
corresponds to the matrix [cos(a) sin(a) -sin(a)
cos(a) 0 0]. If optional parameters <cx> and <cy>
are supplied, the rotate is about the point (<cx>,
<cy>). The operation represents the equivalent of the
following specification: translate(<cx>, <cy>)
rotate(<rotate-angle>) translate(-<cx>, -<cy>).
skewX “skewX(ske Specifies a skew transformation along the x-axis.
w-angle)”
skewY “skewY(ske Specifies a skew transformation along the y-axis.
w-angle)”
All numeric values are real numbers.
If a list of transforms is provided, the net effect is as if each transform had been specified
separately in the order provided. For example,
<g transform="translate(-10,-20) scale(2) rotate(45)
translate(5,10)">
<!-- graphics elements go here -->
</g>
H-14
Supported SVG Element Types
H-15
Working with GeoMedia
xs http://www.w3.org/2001/XMLSchema
Header Information
The XML schema includes the following header information:
• XML version and encoding
• Target and reference namespaces
• Version information
H-16
Supported SVG Element Types
XML
=version 1.0
=encoding UTF-8
xs:schema
= targetNamespace http://www.intergraph.com/GeoMedia/svgsym
= elementFormDefault qualified
= attributeFormDefault unqualified
= xmlns:gmtbar http://www.intergraph.com/GeoMedia/svgsym
= xmlns:xs http://www.w3.org/2001/XMLSchema
xs:simpleType
= name VersionType
xs:restriction
= base xs:string
xs:enumeration
= value 1.0
For additional information, see the Scalable Vector Graphics (SVG) 1.1 specification at
http://www.w3.org/TR/SVG11/.
The following sections describe elements that do not conform to standard XML name
casing, but instead follow SVG name casing standards (the first letter is lowercase rather
than uppercase).
The following diagram is a graphical presentation of the main schema elements:
Element Descriptions
The following material captures the details of each element of the XML schema:
Schema gmsvgsym.xsd
element symbolParameters
Description: The symbolParameters element is a grouping element and specifies
the version of the GeoMedia SVG parametric metadata.
Parameters
Content: complex
Attributes:
Name: version
Type: gmsvgsym:VersionType
Use: optonal
Default: 1.0
element symbolParameters/textContent
H-17
Working with GeoMedia
Name: styleProp
Type: xs:string
Use: required
element Toolbar/Button/ProgID
Description: The ProgID of the command.
Type: xs:string
stimpeType VersionType
Type: restriction of xs:string
Used By: attribute symbolParameters/@version
Facets: enumeration 1.0
H-18
Supported SVG Element Types
XML Source
The following is the XML source code for this schema definition:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
targetNamespace="http://www.intergraph.com/GeoMedia/svgsym"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:gmsvgsym="http://www.intergraph.com/GeoMedia/svgsym">
<xs:simpleType name="VersionType">
<xs:restriction base="xs:string">
<xs:enumeration value="1.0"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="symbolParameters">
<xs:annotation>
<xs:documentation>A set of parameters used to control the
contents of SVG symbols via style properties</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="textContent" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A symbol parameter that replaces the
text content of a text element with the value of a style
property</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="replaceID" type="xs:string"
use="required"/>
<xs:attribute name="styleProp" type="xs:string"
use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" type="gmsvgsym:VersionType"
use="optional" default="1.0"/>
</xs:complexType>
</xs:element>
</xs:schema>
H-19
Working with GeoMedia
Example
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/SVG/DTD/svg10.dtd">
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:gmsvgsym="http://www.intergraph.com/GeoMedia/svgsym">
<!--Added the following metadata for text replacement in example
Symbol_1-->
<metadata>
<gmsvgsym:symbolParameters gmsvgsym:version="1.0">
<gmsvgsym:textContent gmsvgsym:styleProp="TextProperty1"
gmsvgsym:replaceID="Text_1"/>
</gmsvgsym:symbolParameters>
</metadata>
<!--Example symbol graphics for symbol called Symbol_1 follows-->
<symbol id="Symbol_1" viewBox="0 0 400 388" style="stroke-
linejoin:round">
<g id="Group_1" style="stroke-width:1; stroke:#000000; fill:none;">
<path id="LineString2d_1" d="M164,199 L141,128 L201,83 L126,83
L103,11 L80,83 L4,83 L66,127 L43,198 L103,155 L164,199 z" />
<path id="LineString2d_2" d="M139,164 L125,123 L161,96 L117,96
L103,54 L90,96 L45,96 L81,122 L68,164 L103,139 L139,164 z" />
<circle id ="Circle2d_1" cx="103" cy="115" r="15"/>
<!--Added the following for Symbol_1 text replacement of the
example DPW String-->
<text id="Text_1" x="103" y="119" style="font-size:10;text-
anchor:middle;font-family:Arial;fill:#0000ff;" >
DPW
</text>
</g>
</symbol>
<!-- The following is optional and defines which symbol should be
used as the preview in Adobe SVG Viewer -->
<use xlink:href="#Symbol_1" x="100" y="100"/>
</svg>
H-20
Supported SVG Element Types
H-21
Working with GeoMedia
H-22
Additional Geocoding Information
This appendix contains information of the following geocoding items:
• Address Geocoding - Administrator Concepts and Workflows
• Geocoding Models and Parsing Rules
• Intersection Geocoding
• Sound Like Algorithm
Functional Overview
The following diagram shows the basic operations involved with address geocoding when
using the AGI geocoding engine:
I-1
Working with GeoMedia
Architectural Overview
To better depict the various processes involved with the architecture in more detail, these
processes are described using separate sections and diagrams.
Address Transformations
The parsing rules file contains rules for transforming a single string into several fields.
Often the address is defined by two or even more strings. The address transformation
contains a set of Address Parsing Rules that provides a way to transform addresses from
one (source) format to another (target) format. Both source and target formats can consist
of multiple strings. The address transformations provide a way to transform addresses
from different source formats to the same target format.
Geocoding Model
The address transformation is an essential part of a geocoding model (GCM). Once a
geocoding model has been built and saved (XML), you can get back to the address parsing
rules, and thus do address parsing.
The GCM file exists initially as an independent XML document before building the
geocoding index. This file is needed only to build the Address Geocoding Index. Once the
I-2
Additional Geocoding Information
index has been built, the original GCM file is no longer required to be kept – allowing the
index to be portable. This is done by embedding all the necessary data from the geocoding
model to perform geocoding into the Address Geocoding Index. This includes the
definitions provided by the referenced files that describe the parsing rules for individual
address elements used in the geocoding model.
Index Building
The following diagram shows the automation objects used in the AGI file creation process.
Data from a GDO warehouse is processed, and an AGI file is created. During the building
of the AGI, all reference data addresses are converted to the base address format according
to the rules described in the index configuration of the geocoding model. The address rules
and transformations for the user addresses to be geocoded are encapsulated in the AGI file
for later use.
I-3
Working with GeoMedia
Address Transformation
Once the AGI file exists, the AddressTransformation object is used to expose the available
transformations that exist and are applicable to the data contained in the file. This object
provides a way to transform postal addresses from one (source) format to the format of the
data stored in the AGI (base address format). It can also perform the reverse
transformation, that is, from the base address format to source formats. The
AddressTransformation object can be initialized by means of the AGI file or from XML
conforming to the AddressTransformations XML Schema.
The AddressTransformations object is a collection of the address transformations
(AddressTransformation objects). All of them have the same target address format, that is,
the object can transform addresses from different formats to the same target format. This
object can be initialized by an AGI filename or an XML document and provides access to
predefined transformations stored in the AGI file/XML document. If the object is
initialized by an AGI file, the target format is the base address format of the AGI. The
object can also be created by the GeocodingModel object. In this case it contains the
predefined address transformations from the geocoding model that can be applied to the
geocoding dataset.
These transformation objects expose the address structure and provide a means of
performing the transformation from the source element(s) to the target element(s).
I-4
Additional Geocoding Information
Address Matching
A private, low-level component known as GMAddressMatcher is used as the core
geocoding technology used in GeoMedia. To allow for additional or third-party geocoding
technologies to be used, a public interface (IGMGeocodingEngine) has been defined and is
known as the Geocoding Engine interface. The geocoding engine provided with the
GeoMedia product family is one such implementation of the interface, and is called the
AGI Geocoding Engine. The AGI Geocoding Engine wraps the functionality provided by
the GMAddressMatcher object.
I-5
Working with GeoMedia
Reverse Geocoding
Reverse geocoding takes a geographic point as input, and determines the most appropriate
(nearest) address for that point. An interface is defined to allow implementations of an
engine to provide reverse geocoding operations.
This public interface (IGMReverseGeocodingEngine) has been defined and is known as
the ReverseGeocodingEngine interface. The geocoding engine provided with the
GeoMedia product family is one such implementation of the interface, and is called the
AGIReverseGeocodingEngine. The AGIReverseGeocodingEngine wraps the functionality
provided by the private, low-level GMReverseGeocoder object.
Note: Reverse geocoding is not supported by the desktop GeoMedia Find Address and
Geocode Addresses commands.
I-6
Additional Geocoding Information
I-7
Working with GeoMedia
I-8
Additional Geocoding Information
Component Interaction
The following diagram depicts the geocoding subsystem as a whole:
I-9
Working with GeoMedia
Design Elements
The overall design of the geocoding system, as represented by the components in the
previous systems diagram, can be broken down into several distinct families:
• Address Geocoding Index components—Generate datasets for geocoding and reverse
geocoding.
• Geocoding Model components—Generate rules for performing geocoding according to
dataset address configuration, input data configuration, and locale-specific addressing
rules.
• Address Transformation components—Describe the schema of incoming or outgoing
addresses, both the elements of the addresses and their storage normalization.
• Geocoding components—Perform geocoding using input address elements already
parsed and transformed into the format required for the dataset.
• Reverse Geocoding components—Perform reverse geocoding using an input
coordinates and address transformation rules.
Within these families are found several different types of components:
• Data components
• Configuration components
• Software components (services, pipes, commands, utilities, and web services)
Data Components
The data components consist of the GDO warehouse and the Address Geocoding Index
(AGI).
GDO Warehouse
The GDO warehouse is the source GeoMedia-accessible dataset that contains the features
the geocoding index is derived from. Typically this would contain the street centerline
data, but it could also contain data suitable for rooftop geocoding.
This data is read and stored to an Address Geocoding Index (AGI) through the Publish
Address Geocoding Index utility.
I-10
Additional Geocoding Information
Configuration Components
The Configuration components consist of the Geocoding Model, Geocoding Dataset,
Geocoding Directory, and the Address Parsing Rules.
Geocoding Model
The Geocoding Model is an XML document describing a geocoding model. A geocoding
model (GCM) definition describes user-recognizable address components (or fields) and
their correlation to the various elements of an address, that is, a comprehensive description
of address elements that make up a particular address structure. This includes suggested
field names that can be used by a graphical user interface to help one match up database
fields to the address component fields. Fields may be represented by either database fields
in a recordset or data entry/readout controls on a user interface.
The Geocoding Model specifies the address format of the geocoding dataset. This includes
the transformation rules required to convert from the fields in the input data to the address
elements used in the matching process.
The Geocoding Model also specifies a collection of named address transformations. These
transformations specify the field mapping between various address definitions suitable for
input and the address definition supported by the Address Geocoding Index (AGI file).
A Geocoding Model definition might, for example, identify a field called Address as
containing address elements such as house number, street name, street type, and directional
suffix, while another field called City contains the single address element of city name.
No utility currently exists to create the Geocoding Model XML files. These must be
produced manually for the time being.
Geocoding Dataset
The Geocoding Dataset is a COM object used for convenience to refer to a ProgID of a
GeocodingEngine, and the connection string used to refer to the data source. This object
covers a geographic area against which geocoding operations can be performed. It also
exposes an AddressDefinition property so that the input requirements for the dataset can be
discovered. The GeocodingDirectoryService is the service object that provides these
objects from information stored in a Geocoding Directory. Also exposed by the
GeocodingDataset object is coordinate system information, bounding box details, and if the
dataset supports reverse geocoding operations.
A GeocodingDataset object is a simple object that has properties to allow for the
instantiation of any implementation of IGMGeocodingEngine interface, and to connect to
the relevant data source as required by that implementation. The implementation of the
interface delivered with GeoMedia is based around the high-performance AGI file. The
I-11
Working with GeoMedia
contents of the Geocoding Directory, in relation to the datasets contained within, are
contained in an XML configuration file. This file conforms to the Geocoding Directory
XML Schema.
This object is not creatable directly. The GeocodingDirectoryService object is responsible
for the creation of the GeocodingDataset object.
Geocoding Directory
The Geocoding Directory is an XML file that defines the dataset location and other
characteristics for various geocoding engines. It is a convenient storage mechanism to
house a number of geocoding datasets and also to store information about the various
address formats supported by each of them. For GeoMedia’s implementation of the
GeocodingEngine, these datasets each consist of a single, portable file known as an AGI
file. This GeocodingDirectoryService object allows client software to easily obtain
information about the geocoding datasets contained in the directory, along with address
format definitions. The GeocodingDirectoryService also specifies a number of address
transformations available to transform input addresses conforming to various definitions
into the required fields for address matching against a particular dataset.
The Geocoding Directory consists of one or more defined geocoding datasets, each of
which has a unique identifier for the applicable engine, and an associated connection string
intended to link the object to its source data. This design is intended to allow a multi-row
processing operation (that is, a pipe) to geocode each record against a different geocoding
engine as necessary, based on an identifying field (database attribute or user interface data
entry control). For example, addresses in Alabama may be geocoded against an Alabama
AGI, while those for Georgia would be geocoded against a Georgia AGI where the
StateName field of the input recordset contained the identifying name for the applicable
dataset.
The Publish Address Geocoding Index utility can create a single-dataset directory, and
also has the capability to alter an existing dataset entry in an existing multi- or single-
dataset Geocoding Directory. A Geocoding Directory may also be created manually and/or
edited using an appropriate text/XML editor.
The Geocoding Directory and the GeocodingDirectoryService provide an advanced
geocoding capability. They are used by GeocodePipe to direct operations to the correct
address geocoding engine implementation and the correct data source through the
GeocodingDataset. In a similar way, the Find Address command uses the
GeocodingDirectoryService to access information in the Geocoding Directory.
I-12
Additional Geocoding Information
The Address Parsing Rules are in an XML document conforming to the Parsing Rules
XML Schema. The parsing rules are created either manually or through the Define
Parsing Rules utility. They are used by the AddressTransformations object to instantiate
AddressTransformation objects used to transform input address types to the correct field
format used in matching operations. The AddressTransformation operations wrap a lower
level private API that uses the Hidden Markov Modelling (HMM) technique for
identifying patterns in unstructured text. This technique has been implemented and used
successfully as a generic address parsing operation in the private API. This API requires
the rules for such transformations to be initially stored in an XML document. An XML
schema describing this file format forms part of the system.
For the Intergraph implementation of the geocoding engine interface
(AGIGeocodingEngine), the AGI files contain information that is extracted by the service
layer to create the correct transformation objects.
GeocodingResults Interface
The GeocodingEngine interface conveys its geocoding results through a GeocodePoints
object. This object provides, for each input address, geocoding results such as the
following:
• Point geometry • Match score • Match status
• Standardized address • Matched address
GeocodingDirectoryService
The GeocodingDirectoryService is an API that provides an advanced helper mechanism to
allow system components to use the Geocoding Directory without having to be concerned
about the internal XML semantics of the XML formatted file. It exposes the
I-13
Working with GeoMedia
GeocodingDataset object and also the AddressTransformation object as a public API, and
in turn its member objects. This component is public.
GeocodePipe
This pipe geocodes addresses from a recordset, using the GeocodingEngine interface to
generate locations from addresses, and adding fields for an output point geometry and
other geocoding status information and match characteristics. It is of the base table/add
fields pipe design family, and supports notification and persistence. This component is
public.
I-14
Additional Geocoding Information
Geocoding Models
US_Cities_gcm.xml
A rooftop geocoding model for geocoding US cities.
Reference Data address format(s):
• Full city name (for example, Madison, AL)
Full city name is parsed with the US_Cities.xml parsing rules.
Geocoding address format(s):
• City name with state name (for example, Madison, AL)
City name with state name is parsed with the US_Cities.xml parsing rules.
• City name + separate state name (for example, Madison + AL)
Values are not parsed/standardized.
Referenced Parsing Rules:
• US_cities.xml
US_Post_gcm.xml
A centerline geocoding model for US post addresses.
Reference Data address format(s):
• Street name + left/right City + left/right State + left/right ZIP (for example, E Main
Street + Madison + AL + 12345)
Can be used with GDT data.
I-15
Working with GeoMedia
I-16
Additional Geocoding Information
Both the city and state names and ZIP cannot be defined separately for left and right
sides of the street centerline.
US_rooftop_gcm.xml
A rooftop geocoding model for US addresses.
Reference Data address format(s):
I-17
Working with GeoMedia
• House number + Street name + Crossing street name + City + ZIP (for example, 12
+ Main Street + Madison + 12345 or Main Street + Coronation Drive Moscow +
98765).
Both Street name and Crossing street name are parsed with the US_street.xml
parsing rules.
All other address elements are used “as is”.
Geocoding address format(s):
• House number + Street name + Crossing street name + City + ZIP
Both Street name and Crossing street name are parsed with the US_street.xml
parsing rules.
All other address elements are used “as is”.
Referenced Parsing Rules:
• US_street.xml
US_StreetsWithZone_gcm.xml
A centerline geocoding model for US street addresses (without city and state names).
Reference Data address format(s):
• Full street address + ZIP (for example, E Main Street + 12345)
Can be used with GDT and TeleAtlas data.
Full street address is parsed with the US_street.xml parsing rules.
It is also possible to define alternative street name.
ZIP is parsed with US_ZIP.xml.
ZIP is defined separately for left and right sides of the street centerline.
• Prefix,Name,Type,Suffix + ZIP (for example, E + Main + ST + 12345)
Can be used with MadisonCountyAL database delivered with GeoMedia.
Prefix,Name,Type,Suffix are concatenated and then parsed with US_street.xml.
ZIP is parsed with US_ZIP.xml.
ZIP is defined separately for left and right sides of the street centerline.
• Prefix + Pretype + Name + Type + Suffix + ZIP (for example, E + Main + ST +
12345)
Can be used with GDT data (though not recommended as their data are structured in a
different way than we expect).
Prefix, Pretype, Name, Type and Suffix are taken "as is" and not standardized.
I-18
Additional Geocoding Information
I-19
Working with GeoMedia
Parsing Rules
US_Cities.xml
This file contains parsing rules for US city name, which can be optionally postfixed with
the US state name. It is used by the US_Post.xml and US_Post_c.xml address parsing
rules.
Sample text recognized by the rules:
• Madison, AL.
• Madison
Output record consists of two fields:
• City name
• State name
US_POBox.xml
This file contains parsing rules for US PO box addresses. It is used by the US_Post.xml
and US_Post_c.xml address parsing rules.
Sample text recognized by the rules:
• P O. BOX 34
Output record contains a single field:
• PO BOX (PO BOX 34)
US_Post.xml
This file contains parsing rules for US post addresses. It recognizes PO Boxes, Rural
Routes, phone numbers, and secondary unit designators.
Sample text recognized by the rules:
• 1000 AVENUE E
• 1000 AVENUE E SHERMAN, TX
• 1000 AVENUE E 76943
• 1000 AVENUE E SHERMAN, TX 76943
• 1400 S COMMERCIAL AVENUE, PO BOX 72, SHERMAN, TX 79501-0072
• RR 1 BOX 82, SHERMAN, TX 76653
• 2530 UNIVERSITY BLVD SHERMAN TX 77005 713.522.2660
I-20
Additional Geocoding Information
US_Post_c.xml
This file contains parsing rules for US post addresses. It supports intersections, recognized
PO Boxes, Rural Routes, phone numbers, and secondary unit designators.
Sample text recognized by the rules:
• 1000 AVENUE E
• 1000 AVENUE E SHERMAN, TX
• 1000 AVENUE E 76943
• 1000 AVENUE E SHERMAN, TX 76943
• 1400 S COMMERCIAL AVENUE, PO BOX 72, SHERMAN, TX 79501-0072
• RR 1 BOX 82, SHERMAN, TX 76653
• 2530 UNIVERSITY BLVD SHERMAN TX 77005 713.522.2660
• WALNUT & 6TH, PO BOX 39, SHERMAN, TX 79001-0039
• CORNER OF WASHINGTON AVENUE AND MEMORIAL PARKWAY
• 9077 FLAGSTONE #2118 MADISON AL 35758
Output record consists of nine fields:
• House number
• Street prefix
• Street pretype
I-21
Working with GeoMedia
• Street name
• Street type
• Street suffix
• City name
• State name
• ZIP
If an intersection is recognized, the output contains two records (one for every crossing
street). The intersection addresses can have the following format:
Street1 & Street2, City State ZIP
City, State, and ZIP can be present in arbitrary order. In this case, the 'House number' field
in both output records is empty and ‘City name’, ‘State name’, and ‘ZIP’ are the same for
both records.
US_RR.xml
This file contains parsing rules for US rural route and highway contract addresses. It is
used by the US_Post.xml and US_Post_c.xml address parsing rules.
Sample text recognized by the rules:
• RURAL ROUTE 54 BOX 34
• STAR ROUTE 3 BOX 1
Output record consists of three fields:
• Box number (34)
• RR identifier (RR)
• RR number (54)
US_street.xml
This file contains parsing rules for US street names. It is referenced from the US_Post.xml
and US_Post_c.xml address parsing rules.
Sample text recognized by the rules:
• WASHINGTON COUNTY RD 354
• US-45
• AVE J N
• 1000TH ST
I-22
Additional Geocoding Information
US_Streets.xml
This file contains parsing rules for US street addresses. It recognized PO Boxes, Rural
Routes, phone numbers, and secondary unit designators. It is identical to US_Post.xml but
does not output the City and State names (if any).
US_Streets_c.xml
This file contains parsing rules for US street addresses. It supports intersections,
recognized PO Boxes, Rural Routes, phone numbers, and secondary unit designators. It is
identical to US_Post_c.xml but does not output the City and State names (if any).
US_ZIP.xml
This file contains parsing rules for US ZIP codes. It is used by the US_Post.xml and
US_Post_c.xml address parsing rules.
Sample text recognized by the rules:
• 12345-6789
• 12345
Output record consists of two fields:
• ZIP or first part of ZIP+4 code
• Second part of ZIP+4 code
I-23
Working with GeoMedia
US_Cities_sp1.csv
A list of US cities that can confuse the parser, for example:
• 'EAST HAMPTON' ('East' can be erroneously reported as street suffix.)
• 'FORT WORTH' ('Fort' can be erroneously reported as street type.)
It is referenced from US_Cities.xml.
US_secondary_units.csv
List of secondary units designators in the US addresses ('FLOOR', 'ROOM', and so forth).
It is referenced from US_Post.xml and US_Post_c.xml.
US_states.csv
List of US state names. It is referenced from US_Cities.xml.
US_street_types.csv
List of street types with aliases ('ST', 'FREEWAY', and so forth). It is referenced from
US_street.xml.
Intersection Geocoding
This section discusses intersection address geocoding in centerline geocoding models.
There are two basic facts about intersection geocoding:
1. Intersection geocoding is only possible in centerline geocoding models.
2. Intersection geocoding is done on the fly by intersecting two sets of matched street
centerlines. There is no way to pass pre-calculated intersection points to the AGI file
along with centerline data. However, one could try to create a separate AGI file with
pre-calculated intersection points based on a rooftop geocoding model (but it is not
what we currently call intersection geocoding).
Internally (at the matching stage, that is, at input to GMAddressMatcher after being
processed by an AddresssTransformation), ordinary addresses are defined by a set of
base address element values. The house number address element should be specified for
proper location of the matched point along a street centerline. In contrast with ordinary
addresses to be geocoded, an intersection address consists of two complete sets of base
address elements for the primary street and the crossing street, respectively. The value of
the house number address element can be specified in both the street and intersecting
street, but it is not used in the location of the matched point.
The geocoding system provides two basic ways to specify intersections at the user level:
I-24
Additional Geocoding Information
1. To define an input address format where there is an input address field with special
address parsing rules, automatically disambiguating it as an ordinary address or an
intersection address.
2. To define an input address format where the crossing street is provided as an
independent input address element.
The following are the examples from the delivered configuration files along with technical
details:
Automatic disambiguation of the intersection addresses from the ordinary addresses
The parsing rules must be designed so that they can recognize intersections in the input
string and report them by returning two output entities to the containing address
transformation. The first output entity contains values for the primary street (first set of
base address element's values), and the second for the crossing street (second set of base
address element's values). The street separators in the intersection addresses are defined in
the parsing rules. An example of such intersection detection is found in the US_Post
geocoding model (US_Post_gcm.xml).
The second address transformation (Post address of intersection) refers to the
AddressParsingRules\US_Post_c.xml parsing rules, which are responsible for intersection
detection. There is a dedicated dictionary token that accepts only street separators. Its
name is 'CAND' and it accepts '&', 'AND', 'AT', and '@'. To adjust the parsing rules for
another language, you have to modify at least the contents of the dictionary (for example,
with Spanish addresses, the 'AND' dictionary entry must be replaced with 'Y'). This can
be done by using the Define Parsing Rules Utility or by direct editing of the XML file with
parsing rules (US_Post_c.xml in case of US addresses) in any text editor.
Intersection addresses do not have to be passed as a single string. For example, the
Intersecting streets, City, State, ZIP source address format can be geocoded this way. If
Intersecting streets is parsed into two output entities, the following two records will form
the intersection:
• Primary street, City, State, ZIP, and
• Crossing street, City, State, ZIP.
That is, if parsing rules produced only one output entity in intersection address, the
returned values are copied to both the street and the crossing street address element sets.
However, none of the delivered geocoding models has an input format supporting
intersections to be disambiguated, but with some explicitly separated input address
elements.
Crossing street is provided as an independent input address element
An example can be seen in the US_StreetsWithZone geocoding model
(US_StreetsWithZone_gcm.xml) in the House number + Street name + Crossing street +
ZIP source address transformation. The address transformation has mappings with a
special intersectionRole attribute, described in the gmagctrn.xsd file:
I-25
Working with GeoMedia
• Mapping that handles the Street name address element has the intersectionRole
attribute set to "first". This means that if the address element is present, its value
defines values only in the primary street (the first set of the base address elements).
Thus, it defines street name in ordinary address or the first street in intersection.
• Mapping that handles the Crossing street address element has the intersectionRole
attribute set to "second". This means that if the address element is present, it defines
the crossing street (that is, values in the second set of the base address elements). The
mappings that have no intersectionRole attribute define values for both the primary
street and the crossing streets. There is no street separator in this case.
To conventionally localize the street delimiters, you can use the external dictionary in the
US_Post_c.xml parsing rules instead of storing street separators in XML. In this case, the
'AND' should be replaced with 'Y' in a one-line CSV file. Having changed this, you can
partially succeed in parsing Spanish intersection addresses because many Spanish street
types were added to the parsing rules. But generally, localization of the parsing rules
should be started with an analysis of the local address structure to determine whether the
parsing rules for US addresses can be adopted to the local language. They can certainly be
adopted for Spanish addresses, but cannot be adopted, for example, for Russian.
Note: Actually, the utility uses letter-to-letter mapping (depicted at the last column)
instead of letter-to-digit mapping of original Soundex (just in order to obtain
alphabetical code, not alpha-numeric).
I-26
Additional Geocoding Information
I-27
Working with GeoMedia
I-28
File Types
GeoMedia products introduce file types that must be registered with Windows. The
following file types are exposed to the user with GeoMedia Professional, and they must
have an associated description, icon, and open action. The items with a single ampersand
(&) are omitted from the GeoMedia Objects delivery. The items with a single asterisk (*)
are omitted from the GeoMedia Viewer delivery. The items with a double asterisk (**) are
omitted from both the GeoMedia Viewer and GeoMedia deliveries.
The open action is normally the executable to be invoked for opening the file, when the file
is opened from Windows, usually by double-click. Some file types are designated as “No
action”, meaning that the file type has been designated as not to be opened directly through
Windows.
1
The .gsd file extension has a registered “icon handler”, so that each file instance will have a
uniquely rendered icon in Windows Explorer showing the style definition, rather than an icon based
upon the .gsd file type.
J-1
Working with GeoMedia
J-2
Index
address transformation, 13-3, 13-4, I-2,
. I-4
.ini files administrator concepts, I-1
autodt.ini, 3-2, 3-14, 3-15, B-3 AGI file, 13-1
coordinate system, 5-7 dataset, 13-3, I-12
defining parsing rules, 13-19
directory, 13-3, I-8, I-13
A
engine, 13-3
Access, 4-2 finding addresses, 13-7
catalogs, 9-9 functional overview, 13-6
data, 4-4 index building, 13-5, I-3
default template, 4-3 index matching, 13-4, 13-6, I-6
normal.mdt, 4-3 intersection, I-25
PickLists, 4-21 model, 13-5, I-2, I-12
server, 4-4 multiple addresses, 13-12
default coordinate system, 4-4 multiple datasets workflow, 13-17
spatial operators, 10-39 overview, 13-1, I-1
warehouses parsing rules, I-2
changing coordinate system for parsing rules workflow, 13-22
template, 4-20 rooftop data, 13-2
creating, 4-3 sound like algorithm, I-27
default coordinate system, 4-4 starting, 13-4
templates for, 4-20 street centerline data, 13-2
accessing warehouses, 4-2 system diagram, I-10
adding terminology, 11-2, 13-4
feature class attributes, 8-9 workflow, 13-14, I-1
features parsing, 13-3
from data window, 8-26 Address Geocoding Index (AGI) file, 13-1, I-
from map window, 8-24 11
geometry to features, 8-37 Address Geocoding Profile (AGP) file, 13-4
hypertext to feature classes, 8-34 aggregating
image entries to legend, 6-43 attribute and spatial, 10-94
legend entries, 6-41 creating, 10-97
thematic, 6-44 data, 10-91
address vs. merging, 10-99
finding, 13-1, 13-7 defining, 10-91
sound like algorithm, I-27 expressions, 10-95
Soundex algorithm, I-27 functional attribute, 10-95
geocoding, 13-1 right mouse menu, 10-96
address parsing, 13-3, I-14 spatial, 10-93
address standardization, 13-3 types, 10-92
IN-1
Working with GeoMedia
IN-11
Working with GeoMedia
IN-26
Additional information on Intergraph Support and Services is available on the Internet. Use a
web browser to connect to Intergraph Online at http://www.intergraph.com/.
For general Intergraph information, call 1-800-791-3357 (U.S. and Canada) or 001-256-730-2000
(international).