This chapter briefly describes the MapViewer Map Builder tool, also referred to as Oracle Map Builder. It does not provide detailed information about the tool's interface; for that you should use see online help available when you use Oracle Map Builder.
Oracle Map Builder is a standalone application that lets you create and manage the mapping metadata (about styles, themes, and base maps) that is stored in the database. For example, use this tool to create a style or to modify the definition of a style. Besides handling the metadata, the tool provides interfaces to preview the metadata (for example, to see how a line style will appear on a map) and also spatial information.
Whenever possible, you should use Oracle Map Builder instead of directly modifying MapViewer metadata views to create, modify, and delete information about styles, themes, and maps. For any modifications made outside Oracle Map Builder, such as with SQL statements, you should refresh the database connection in Oracle Map Builder to get the current items.
This chapter contains the following major sections:
% java –jar mapbuilder.jar [Options]
<cache_size> specifies the size of the in-memory geometry cache. Example: -
<config-file> specifies the location of the file containing Map Builder configuration and preference information. If you do not specify this option, Map Builder looks for a file named oasmapbuilder.xml in your home Java directory. For more information about the configuration and preference file, see Section 1.5.2.
-connect causes Map Builder at startup to register connections for all data sources specified in the
oasmapbuilder.xml preferences file or the file specified with the
-config option, and it automatically connects to the first available data source. This option increases the application startup time. If this option is not defined, startup is faster, but you must then use the File menu or an icon to connect to any data sources that you want to use (see Section 9.2, "Oracle Map Builder User Interface").
-help displays information about the available options.
Oracle Map Builder generally uses the left side for navigation to find and select objects, and the right side to display information about selected objects. Figure 9-1 shows the main window of Oracle Map Builder, with the metadata navigation tree on the left and a detail pane for a selected area style on the right.
The menus at the top contain standard entries, plus entries for features specific to Oracle Map Builder.
Icons under the menus perform the following actions:
Add new connection creates a new database connection for Oracle Map Builder to use.
Load/Add/Remove connection loads or adds database connection for Oracle Map Builder to use, or removes a database connection from the available connections that Oracle Map Builder can use.
Create new metadata creates a new base map, theme, or style.
Open opens a base map, theme, or style.
Save saves any changes to the currently selected object.
Save All saves any changes to all open objects.
The left side of the Oracle Map Builder window has the Metadata navigator, including a database connection selector, icons for performing actions, and a hierarchical tree display for the MapViewer metadata objects (categorized by object type) accessible to the currently selected database connection. To select an object, expand the appropriate tree node or nodes, then double-click the object.
The right side of the Oracle Map Builder window has tabs and panes for detail views of objects that you select or open
To switch among objects, click the desired tabs; to close a tab, click the X in the tab. If you make changes to an object and click the X, you are asked if you want to save the changes.
The Messages area is used for feedback information as appropriate (for example, results of an action, or error or warning messages).
Detailed help is available within the Oracle Map Builder interface. See the online help for more information about Oracle Map Builder, including information about specific panes and dialog boxes.