Professional Documents
Culture Documents
Information in this document is subject to change without notice and does not represent a commitment on the part of the vendor or its representatives. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying without the written permission of MapInfo Corporation, One Global View, Troy, New York 121808399.
19921998
MapInfo Help 19921998 MapInfo Corporation. All rights reserved. MapInfo, MapInfo Professional, MapBasic and the MapInfo Logo are registered trademarks of MapInfo Corporation. Contact MapInfo Corporation on the Internet at: http://www.mapinfo.com
Sales Info Hotline: (800) 3278627 Federal Sales: (800) 6192333 Technical Support Hotline: (518) 2857283 Technical Support Fax: (518) 2856080
Tollfree telephone support is available in the U.S. and Canada. Contact your MapInfo sales representative for details. For international customers, please use the Technical Support Fax number.
WARNING: This software uses patented LZW technology for .GIF image compression and/or decompression. (Unisys United States patent No. 4,558,302 and corresponding patents in Canada, France, Germany, Italy, Japan and the United Kingdom). GIF images compressed or decompressed for transmission via the Internet or via any other online communica tion capability may not be sold or licensed for revenue, or used by an Internet Service Provider or in paid advertisements unless the user first enters into a written license agreement with Unisys. For information concerning licensing, please con tact: Unisys Corporation Welch Licensing Department C1SW19 Township Line & Union Meeting Roads P .O. Box 500 Blue Bell PA 19424 Fax: 2159863090 The MapInfo Professional font sets were provided by Galapagos Design Group of Littleton, MA. libtiff 19881995 Sam Leffler, copyright 19911995 Silicon Graphics, Inc. libgeotiff 1995 Niles D. Ritter Portions of the software are derived from the Standard C Library, copyright 1992, by P .J. Plauger, published by PrenticeHall, and are used with permission. HIL Media Cybernetics, Inc. 1993. Halo Imaging Library is a trademark of Media Cybernetics, Inc.
Crystal Reports is a proprietary trademark of Seagate Software Information Management Group (Canada) INc. Vancouver, BC or its affiliates and is licensed to MapInfo by Seagate" Seagate Crystal Reports Copyright 1997 (manual and software) Seagate Software, Inc. All Rights Reserved. Seagate Software, Seagate, and the Seagate logo are registered trademarks of Seagate Technology, Inc., or one of its subsidiaries. Seagate Crystal Reports, Seagate Crystal Info, the Seagate Crystal reports logo, and Smart Navigation are trademarks or registered trademarks of Seagate Software, Inc. This documentation was written by Marie Costa, with the help of Dan Fitzgerald, Tony Maritato and Gayle Patenaude. Colleen Cox, Editor. Dianne Ritter produced the pdf. Ed McElroy authored the online help. MapInfo welcomes your comments and suggestions. August 1998
About MapInfo Command Help Menu ......................................... Add District Command Redistrict Menu ....................................... Add Node Button Drawing Toolbar .............................................. Adjust Image Styles Command Table > Raster Menu ................ Align Objects Command Layout Menu ........................................ Autotrace ..................................................................................... Append Rows To Table Command Table Menu ......................... Arc Button Drawing Toolbar ........................................................ Arrange Icons Command Window Menu ..................................... Assign Selected Objects Button Main Toolbar ............................ Assign Selected Objects Command Redistrict Menu .................. Boundary Select Button Main Toolbar ......................................... Bring To Front Command Layout Menu ...................................... Buffer Command Objects Menu .................................................. Calculate Statistics Command Query Menu ................................ Cascade Windows Command Window Menu ............................. Change ODBC Table Symbol Button ODBC Toolbar.................. Change ODBC Table Symbol Command Table > ....................... Change View Button Main Toolbar .............................................. Change View Command Map Menu............................................
13 14 15 16 19 21 22 23 26 27 27 28 30 31 34 36 37 37 39 39
Change Zoom Command Layout Menu ...................................... Clear Command Edit Menu ......................................................... Clear Cosmetic Layer Command Map Menu .............................. Clear Map Objects Only Command Edit Menu ............................ Clear Target Command Objects Menu ........................................ Clip Region Off Command Map > Clip Region Off ...................... Clone View .................................................................................. Close All Command File Menu .................................................... Close Table Command File Menu ............................................... Combine Command Objects Menu ............................................. Combine Objects Using Column Command Table Menu ............ Convert to Polylines Command Objects Menu ............................ Convert To Regions Command Objects Menu ............................ Copy Command Edit Menu ......................................................... Create Drop Shadows Command Layout Menu .......................... Create Legend Map Menu ........................................................... Create Points Command Table Menu ......................................... Create Thematic Map Command ................................................ Crystal Reports ............................................................................ Custom Colors Command Options Menu ....................................
41 42 43 44 45 46 48 49 50 53 61 63 65 66 68 70 80 82 111 112
Cut Command Edit Menu ............................................................ Delete Table Command Table > Maintenance ............................ Delete Target District Command Redistrict Menu ....................... Digitizer Setup Command Map Menu .......................................... Digitizer Setup ............................................................................. Digitizer Mode ............................................................................. Common Digitizing Problems and Solutions ............................... Drag Button ................................................................................. Drawing Toolbar .......................................................................... Ellipse Button Drawing Toolbar ................................................... Erase Command Objects Menu .................................................. Erase Outside Command Objects Menu ..................................... Exit Command File Menu ............................................................ Export Command Table Menu .................................................... Expression Dialog ....................................................................... Find Command Query Menu ....................................................... Find Selection Command Query Menu ....................................... Frame Button Drawing Toolbar ................................................... Functions ..................................................................................... Geocode Command Table Menu ................................................
113 115 116 117 117 121 125 128 129 131 133 134 136 137 143 149 153 154 158 161
Get Info Command Edit Menu ..................................................... Grabber Button Main Toolbar ...................................................... Graph Type Command Graph Menu ........................................... Hide MapBasic Window Button Tools Toolbar ............................ Hide MapBasic Window Command Options Menu ...................... Hide Statistics Window Button Main Toolbar ............................... Hide Statistics Window Command Options Menu ....................... Hide StatusBar Command Options Menu ................................... Hide Theme Legend Window Command Options Menu ............. Import Command Table Menu ..................................................... Info Button Main Toolbar ............................................................. Infotips ......................................................................................... Interleaved Line Styles ................................................................ Join Update Column Dialog ......................................................... Label Axis Command Graph Menu ............................................. Label Button Main Toolbar .......................................................... Layer Control Button Main Toolbar ............................................. Layer Control Command Map Menu ........................................... Legend Button Main Toolbar ....................................................... Line Button Drawing Toolbar .......................................................
167 168 169 175 175 176 176 177 178 179 189 191 192 193 197 199 203 203 222 223
Line Style Button Drawing Toolbar .............................................. Line Style Command Options Menu ............................................ Line Width ................................................................................... Main Toolbar ............................................................................... Make Table Mappable Command Table > Maintenance ............. MapInfo Forum on the Microsoft Network ................................... MapInfo Help Topics ................................................................... MapInfo on the World Wide Web ................................................ Marquee Select Button Main Toolbar .......................................... Modify Image Registration Command Table > Raster Menu ...... Modify Thematic Map .................................................................. New Browser Window Command Window Menu ........................ New Graph Window Command Window Menu ........................... New Layout Window Window Menu ............................................ New Map Window Command Window Menu .............................. New Redistrict Window Command Window Menu ...................... New Row Command Edit Menu .................................................. New Table Command File Menu ................................................. ODBC Toolbar ............................................................................. Open ODBC Table Button ODBC Toolbar ..................................
225 225 227 229 232 235 236 237 238 239 240 244 248 250 253 256 262 263 268 269
Open ODBC Table Command File Menu .................................... Open Table Command File Menu ............................................... Open Workspace Command File Menu ...................................... Options Command Browse Menu ................................................ Options Command Layout Menu ................................................. Options Command Map Menu .................................................... Options Command Redistrict Menu............................................. Overlay Nodes Command Objects Menu .................................... Pack Table Command Table > Maintenance .............................. Page Setup .................................................................................. Paste Command Edit Menu ........................................................ Pick Fields Command Browse Menu........................................... Polygon Button Drawing Toolbar ................................................. Polyline Button Drawing Toolbar ................................................. Preferences Command Options Menu ........................................ Previous View Command Map and Layout Menus ...................... Print Command File Menu ........................................................... Print Setup Command File Menu ................................................ Projection Button ......................................................................... Quick Start ...................................................................................
269 283 291 293 294 297 299 301 303 305 308 309 313 316 319 327 328 337 338 340
Radius Select Button Main Toolbar ............................................. Rectangle Button Drawing Toolbar ............................................. Redraw Window Command Window Menu ................................. Refresh ODBC Table Button ODBC Toolbar ............................... Refresh ODBC Table Command Table > Maintenance .............. Region Style Button Drawing Toolbar ......................................... Region Style Command Options Menu ....................................... Register Raster Image ................................................................ Rename Table Command Table > Maintenance ......................... Reshape Button Drawing Toolbar ............................................... Reshape Command Edit Menu ................................................... Revert Table Command File Menu.............................................. Rounded Rectangle Button Drawing Toolbar .............................. Ruler Button Main Toolbar .......................................................... Run MapBasic Program Button Tools Toolbar ............................ Run MapBasic Program Command File Menu ............................ Save Copy As Command File Menu ........................................... Saving a Copy of Access and MapInfo Tables ............................ Saving an Access Table as a MapInfo Table .............................. Saving an Access Table as Another Access Table .....................
341 342 344 345 345 346 346 349 356 358 358 362 363 365 366 366 369 371 373 373
Save Cosmetic Objects ............................................................... Save Query File Menu ................................................................. Save Table Command File Menu ................................................ Save Template in the Select and SQL Select Dialogs ................ Save Thematic Settings .............................................................. Save Window As Command File Menu ....................................... Save Workspace Command File Menu ....................................... Select All Command Query Menu ............................................... Select Button ............................................................................... Select Command Query Menu .................................................... Select Control Point From Map Command Table > Raster ......... Send Mail .................................................................................... Send to Back Command Layout Menu ........................................ Series Command Graph Menu .................................................... Set Clip Region Command Map > Set Clip Region ..................... Set Target Command Objects > Set Target ................................ Set Target District From Map Button Main Toolbar ..................... Set Target District From Map Command Redistrict Menu ........... Shortcut Menus ........................................................................... Show Theme Legend Window Command Options Menu ............
374 375 376 382 384 385 388 390 391 394 396 397 398 399 402 404 405 405 406 408
Show MapBasic Window Button Tools Toolbar........................... Show MapBasic Window Command Options Menu .................... Show Statistics Window Button Main Toolbar ............................. Show Statistics Window Command Options Menu ..................... Show StatusBar Command Options Menu .................................. Smooth Command Objects Menu ............................................... Snap to Node Options > Preferences >Map Window .................. Split Objects Menu ...................................................................... SQL Select Command ................................................................. Standard Toolbar ......................................................................... Startup.wor .................................................................................. StatusBar ..................................................................................... Status Bar Popups ...................................................................... Symbol Button Drawing Toolbar .................................................. Symbol Style Button Drawing Toolbar ......................................... Symbol Style Command Options Menu ....................................... Table Structure Command Table > Maintenance ........................ Text Button Drawing Toolbar ....................................................... Text Style Button Drawing Toolbar .............................................. Text Style Command Options Menu............................................
409 409 411 411 412 413 414 416 419 432 434 436 437 438 440 440 444 448 452 452
Tile Windows Command Windows Menu .................................... Toolbars Command Options Menu.............................................. Tool Manager .............................................................................. Tools Menu .................................................................................. Tools Toolbar .............................................................................. ToolTips ....................................................................................... Universal Translator .................................................................... Undo Command Edit Menu ......................................................... Unlink ODBC Table Button ODBC Toolbar ................................. Unlink ODBC Table Command Table > Maintenance ................. Unselect All Command Query Menu ........................................... Unsmooth Command Objects Menu ........................................... Update Column Command Table Menu ...................................... Value Axis Command Graph Menu ............................................. View Actual Size Command Layout Menu .................................. View Entire Layer Command Map Menu ..................................... View Entire Layout Command Layout Menu ............................... Zoom-in Button Main Toolbar ...................................................... Zoom-out Button Main Toolbar ....................................................
454 455 458 463 464 465 466 471 472 472 473 474 475 480 482 483 484 485 486
display a dialog indicating which version of MapInfo you are using, licensing information and Technical Support information.
Menu Path
"
Choose OK.
MapInfo Reference
13
Menu Path
"
See:
Assign Selected Objects Command New Redistrict Window Command Set Target District From Map Command User's Guide: Chapter 14
14
MapInfo Reference
access the Add Node tool. Use the Add Node tool to add a node to regions, polylines, and lines.
a Map window is active and Reshape mode is on or a Layout window is active and Reshape mode is on.
Menu Path
"
Adding a Node
Nodes can be added only to lines, polylines and regions. The maximum number of nodes for regions and polylines is 1,048,572 nodes for a single polygon region or polyline. The limit drops by seven nodes for every two additional polygons. If an object with more than 32K nodes is saved and the table is read in a version of MapInfo prior to version 4.5, the object(s) will not be visible. Objects in the table that do not exceed the 32K limit will be visible. To add a node: 1. 2. 3. Choose Drawing Toolbar > Add Node button. Move the cursor to the point on the segment where you want to add a node. Click to add the node.
See:
Overlay Nodes Command Reshape Button/Command Select Button User's Guide: Chapter 13
MapInfo Reference
15
adjust the contrast or brightness of a raster image, or display a color raster image in grayscale mode.
Menu Path
"
16
MapInfo Reference
Adjust Image Styles Command Table > Raster Menu Adjust Image Styles Dialog
Adjustments
Contrast Brightness Transparent Adjust the contrast in the image. The default contrast setting is 50%. Adjust the brightness in the image. The default brightness setting is 50%. When checked, a color from the image is made transparent. A rectangular box of this color is displayed. On the dialog, the transparent color is displayed as white. Very slight differences in the image may result in smaller transparent images than anticipated. If the transparent box is checked, press the Select Color button to choose a transparent color.
Select Color
MapInfo Reference
17
Cancel Help
See:
Modify Image Registration Command Register Raster Image User's Guide: Chapter 15
18
MapInfo Reference
align objects with each other in a layout or with the horizontal and vertical frame of the Layout window.
a Layout window is the active window and one or more objects are selected in the layout.
Menu Path
"
Aligning Objects
To align one or more objects in the Layout window: 1. Choose one object. Press <SHIFT> to select several objects. or Choose Query > Select All to select all objects in the layout. 2. Choose Layout > Align Objects. The Align Objects dialog displays.
MapInfo Reference
19
with respect to
Vertical Vertical settings govern the toptobottom positions of objects. selected objects Choose alignment from the dropdown list: Don't change, Align top edges of, Align center of, Align bottom edges of, or Distribute. Distribute places an even amount of space between objects. Choose from the list of relationships for specifying alignment. Choose to align objects with respect to each other or the entire layout. The objects selected are aligned according to the specified settings. Alignment settings are saved from one use to the next within a session.
with respect to
OK
Cancel Help
See:
New Layout Window Command User's Guide: Chapter 17
20
MapInfo Reference
Autotrace
Autotrace
Use Autotrace to:
D
Menu Path
D
Using Autotrace
To use Autotrace: 1. 2. 3. Activate Snap mode by pressing the "S" key. Click on a node of the polyline/polygon you want to autotrace. Move the mouse to another node of the same object. To trace the shortest distance between the mouse and the node hold down the Shift key and click. To trace the longest distance between the mouse and the node hold down the Ctrl key and click. Pressing the Shift or Control keys highlights the autotrace path. Click to automatically trace the segments between the nodes and add them to the polyline/polygon you are drawing. To autotrace more than one polygon, click on a node common to both polygons. The autotraced border(s) are placed in the editable layer. To see the autotraced object, select it and drag it away from the existing object. You may also find it helpful to autotrace a border and place it in the Cosmetic Layer. To do so, make the Cosmetic Layer editable before you begin the autotrace process. Autotrace the polygon(s) or polyline(s) and save the Cosmetic Objects to a new layer.
See:
Reshape Snap to Node Polygon Button User's Guide Chapter 13
MapInfo Reference
21
attach the records from one table to another table. The tables you are appending should have the same set of columns, in the same order.
Menu Path
"
Choose Table > Append Rows to Table. The Append Rows to Table dialog displays.
Append Rows to Table Dialog Append table to table OK Cancel Help Specify the table containing the records you want appended. Specify the table to which the records will be appended. The status of the append displays. Cancel the append. Display appropriate Help topic.
See:
New Row Command Table Structure Command User's Guide: Chapter 18
22
MapInfo Reference
access the Arc tool. Use the Arc tool to draw an arc the shape of one quarter of an ellipse.
Menu Path
D
Drawing an Arc
Use the Arc tool to draw an arc in an editable map or layout. The arc will be the shape of one quarter of an ellipse. The endpoints are at 0, 90, 180, or 270 degrees on the ellipse. Once you have drawn an arc, you can reshape it. To draw an arc: 1. 2. Choose Drawing Toolbar > Arc button. Move the cursor to the location where you want to begin drawing the arc. To draw an arc that is a quarter of a circle, press <SHIFT> while drawing. 3. 4. 5. Press and hold the mouse button. Move the cursor. The arc appears on the screen and changes size and proportion as you move the cursor. Release the mouse button. If the arc does not curve in the correct direction, redraw it in the same place, but move the mouse in the opposite direction.
MapInfo Reference
23
Center X,Y Radius X Radius Y Start Angle End Angle Style OK Cancel Help
The center of the arc's ellipse specified in X and Y coordinates. The horizontal distance from the center of the arc's ellipse to the rightmost (or leftmost) point. The vertical distance from the center of the arc's ellipse to the topmost (or bottommost) point. The angle of the arc's starting point on its ellipse. The angle of the arc's end point on its ellipse. Display the Line Style dialog. See Line Style Button/Command. Apply the designated attributes. The arc is reshaped to fit the specified starting and ending angles. Cancel dialog options. Display appropriate Help topic.
Repositioning an Arc
To reposition an arc manually: 1. 2. 3. 4. 5. Make the arc's map layer editable. Position the Select tool at one of the two endpoints. Press and hold the mouse button. The cursor displays as a fourway arrow. Drag the arc to a new position. Release the mouse button. The arc moves to the new position.
24
MapInfo Reference
Resizing an Arc
To resize an arc manually: 1. 2. Make the arc's map layer editable. Choose the arc by clicking on either end with the Select tool. Four edit handles (small squares) appear around the arc, indicating that it is now selected for editing. 3. Choose any of the four edit handles and drag it in the appropriate direction. When you drag an edit handle, a dotted box appears around the arc. Drag the edit handle until you have resized the arc appropriately. 4. Release the mouse button. The arc resizes according to the size of the box. When the mouse button is released, the arc resizes so that it extends to the lower right corner of its bounding rectangle. To resize an arc using coordinates: 1. Double click the arc. The Arc Object dialog displays. See the preceding: Arc Object Dialog. 2. Type the new beginning and ending coordinates.
Reshaping an Arc
To reshape an arc manually: 1. 2. Select the arc by clicking on either end with the Select tool. Four edit handles (small squares) appear around the arc, indicating that it is now selected for editing. Choose Edit > Reshape. A small box (node) appears at both the start and endpoints of the arc. 3. 4. Position the cursor over one of the nodes. Click the node and drag it to a new location. The selected node becomes hollow. This node moves along the arc's ellipse and the angle between the two end nodes changes, reshaping the arc. 5. Continue dragging until the arc has the appropriate shape.
See:
User's Guide: Chapter 13
MapInfo Reference
25
order the icons of the minimized windows so they are more accessible.
Browser window Map window Graph window Redistrict window MapBasic window Layout window
Menu Path
"
26
MapInfo Reference
Assign Selected Objects Button Main Toolbar Assign Selected Objects Command Redistrict Menu
Use the Assign Selected Objects button and command to:
D
a redistricting session is active and the Districts Browser is the active window.
Menu Path
"
"
Redistrict > Assign Selected Objects. When you choose Assign Selected Objects, the target district's name is stored in the row of each of the selected objects. If you assign objects to a district named NorthEast, MapInfo stores NorthEast in the row of each selected object. Changes to the table are not permanent until you save the table.
See:
Add District Command New Redistrict Window Command Set Target District From Map Command User's Guide: Chapter 14
MapInfo Reference
27
access the Boundary Select tool. Use the Boundary Select tool to search for and choose objects within a given region.
Menu Path
"
the layer containing the objects for which you are searching and the layer containing the region within which you want to search. These can be the same layer.
Click on the region you want to search. All the objects (points, lines, polylines, text, arcs, ellipses, rectangles and rounded rectangles) within that region are selected. MapInfo searches for objects in the topmost selectable layer in which it find objects (including the cosmetic layer). For example, if you want to see all the crimes committed in a particular patrol district, both the patrol districts layer and the crime locations layer must be selectable. To select all the crimes committed in Central Park, click on the Central Park region with the Boundary Select tool.
28
MapInfo Reference
See:
Marquee Select Button Radius Select Button Select Button User's Guide: Chapter 8
MapInfo Reference
29
Menu Path
"
The Select tool cycles through overlapping objects starting with the topmost one.
See:
New Layout Window Command Send to Back Command User's Guide: Chapter 17
30
MapInfo Reference
create a buffer polygon around one or more selected object(s). A region object is created and added to the editable layer.
a Map window is active and the map has an editable layer and one or more objects are selected in any layer in the map.
Menu Path
"
Creating a Buffer
Use the Buffer Objects dialog to specify the radius of the buffer. There are two methods of determining the buffer radius: value and computed. Use computed to buffer each object by a different amount. For example, if you have a point layer of cities, you can buffer each object proportional to its population. You may create each buffer separately, or combine all buffered objects into a single object. Before buffering you should: make the layer containing the object(s) for which you want to create a buffer selectable and nmake the layer in which the buffer objects will be created editable. To create a buffer: 1. 2. Select the object or objects around which you want to create a buffer. Choose Objects > Buffer. The Buffer Objects dialog displays.
MapInfo Reference
31
Radius
Radius Specify the buffer radius, the distance between the object (or objects) and the border of the buffer polygon. Enter a number for the buffer radius in coordination with the appropriate units. Specify a column or display the Expression dialog. The buffer radius can be determined from a table value or by specifying an expression in the Expression dialog. See Expression Dialog. See Functions. Specify the units. The following units are available: US Survey Foot yards, rods, chains, miles, nautical miles, millimeters, centimeters, meters, kilometers. The default unit is the distance unit for the map. Specify the segments per circle to determine the resolution of the curves in the Buffer polygon; enter a number between 2 and 100. The default value is 12 segments per circle. More segments produce a smoother curve; fewer segments make a more jagged curve. The higher the smoothness (more segments), the longer it takes to create a buffer.
Units
Smoothness
32
MapInfo Reference
Help Cancel OK
See:
Functions New Row Command User's Guide: Chapter 16
MapInfo Reference
33
perform statistical calculations on a column in a table or query/selection. These statistics can then be used in other applications.
at least one table is open and there is at least one numeric column in that table.
Menu Path
"
Choose Query > Calculate Statistics. The Calculate Column Statistics dialog displays. Use this dialog to specify the table and column used for the calculation.
Table
Display all available open tables. Choose the table that contains the column that you want to use to calculate statistics. Display the numeric columns in the specified table. Choose a column for calculating statistics; the column must be numeric. The Column Statistics dialog displays listing statistics for the specified column. These statistics can now be used in other applications. See the following: Specifying Thematic Ranges By Standard Deviation. Cancel the dialog options. Display appropriate Help topic.
Column
OK
Cancel Help
34
MapInfo Reference
Table Column Count Minimum Maximum Range Sum Mean Variance Standard Deviation OK Help
The name of the table containing the column for which statistics have been calculated. The name of the column for which statistics have been calculated. The number of records in the table. The smallest value in the column. The largest value in the column. The difference between the maximum and the minimum value. The sum of all values. The mean (average) of all values. The standard statistical measure of the variance in a distribution. The square root of the variance. Removes the dialog from the screen. Display appropriate Help topic.
See:
Show Statistics Window Command Hide Statistics Window Command
MapInfo Reference
35
resize and arrange windows vertically. Only the contents of the topmost window is visible. The titles of the other windows with which you are working display, if space is available to display all titles.
Menu Path
"
Cascading Windows
When you choose Cascade Windows, only the contents of the topmost window is visible. The topmost window is always the active window. To make another window the active window:
"
"
Choose Windows > More Windows to select a window when you have more than nine windows open.
See:
Tile Windows Command
36
MapInfo Reference
Change ODBC Table Symbol Button ODBC Toolbar Change ODBC Table Symbol Command Table > Maintenance
Use Change ODBC Table Symbol to:
D
Menu Path
D
Choose Table > Maintenance > Change ODBC Table Symbol. The Select ODBC Table displays for you to select a mappable ODBC table in order to change its symbol. The dialog will only display mappable ODBC tables.
MapInfo Reference
37
Once you have selected an ODBC Table, the following dialog appears:
Use the Change Table Object Style dialog to specify new symbol attributes for the objects in the selected table.
See:
Make ODBC Table Mappable Command
38
MapInfo Reference
Change View Button Main Toolbar Change View Command Map Menu
Use the Change View button and command to:
D
access the Change View dialog to specify settings for map window width, map scale, map resizing, and center point of a map.
Menu Path
"
"
Choose Main Toolbar > Change View. or Choose Map > Change View.
MapInfo Reference
39
Type in a distance, in geographic units (such as miles or kilometers). When you click OK, the map window will redraw, showing an area that wide. To access the Map Unit dropdown list, select Map > Options > Distance Units. Specify the distance that one unit represents on the map. Choose the unit: inches, points, picas, millimeters centimeters, from the Paper & Layout units dropdown list. To access this list, select Options >Preferences>System Settings. Change the X and Y coordinates of the map's center. Accept the options. Cancel the dialog options. Display appropriate Help topic.
Map scale
See:
Grabber Button Zoomin Button Zoomout Button
40
MapInfo Reference
display the magnification factor at which the Layout is currently being displayed and specify a zoom level.
Menu Path
"
KEY ZOOM
1 6.25 2 12 3 25 4 50 5 100 6 200 7 400 8 800
See:
Zoomin Button Zoomout Button
MapInfo Reference
41
a Browser window is active and at least one row is selected or a Layout window is active and at least one object is selected or a Map window is active, a layer is editable, Reshape is not active, and at least one object is selected or a Map window is active, a layer is editable, Reshape is active, and one or more nodes is selected or MapBasic window text is selected.
Menu Path
"
See:
Layer Control Command Reshape Command Undo Command
42
MapInfo Reference
Menu Path
"
See:
Save Cosmetic Objects Command
MapInfo Reference
43
an editable Map is the active window and at least one object in the editable layer is selected.
Menu Path
"
See:
Clear Command Layer Control Command
44
MapInfo Reference
clear as a target any object that was previously set for object editing.
a Map window is active and a target object exists and Erase, Erase Outside, Split or Overlay Nodes have not been performed on the object.
Menu Path
D
Clearing a Target
If you do not want to edit an object after it has been set as the target, use Clear Target to make the object revert to normal. An object also will be cleared as a target automatically if it has been deleted or modified by Erase, Erase Outside, Split, Overlay Nodes, or if you have chosen a new target.
See:
Set Target Command
MapInfo Reference
45
redisplay an entire map after using the Set Clip Region command.
a map window is active and the Set Clip Region command has been enabled.
Menu Path
"
"
46
MapInfo Reference
See:
Set Clip Region User's Guide Chapter 6
MapInfo Reference
47
Clone View
Clone View
Use Clone View to:
D
Menu Path
D
Choose Map > Clone View. A duplicate of the map window displays.
See:
User's Guide Chapter 6
48
MapInfo Reference
Menu Path
"
See:
Close Table Command
MapInfo Reference
49
Menu Path
"
Closing a Table
To close a table:
"
Choose File > Close Table. The Close Table dialog displays.
Close
Choose a table to close. Since each window has only one cosmetic layer; that layer contains all edits to cosmetic objects. Each window can contain multiple tables; thematic and label edits are saved on a per table basis. Prompts that display reflect the type of objects the window contains. Close the dialog box; do not close the table. Display appropriate Help topic.
Cancel Help
When closing a window, but not the associated table, click the Controlmenu box in the upper left corner of the window; choose Close.
50
MapInfo Reference
MapInfo Reference
51
Save Changes to MapInfo Table Save Changes to ODBC Table Discard Changes OK Cancel Help
Save the edits only to the local MapInfo table. Save edits to the ODBC table on the remote database. Edits are also saved to the local MapInfo table. Discard the changes made to the table. Accept the options. Cancel the dialog box; do not close the table. Display appropriate Help topic.
52
MapInfo Reference
combine separate map objects into a single object. The Combine command also performs data aggregation which allows a new object's data columns to contain sums or averages of the values from the original objects.
The Combine command works with objects that are selected. If you want to apply the Combine operation to an entire table, choose Table > Combine Objects Using Column.
there is currently no map editing target (you have not chosen Objects > Set Target) and two or more objects are selected in the editable layer of the active Map window or there is currently a map editing target that consists of exactly one object and one or more map objects are selected in any layer of the active Map window.
Menu Path
"
geographically combines the selected objects. The new object represents the geographic union of the original objects. if you select two adjacent region objects and choose Combine, MapInfo combines the regions into a single object, and the border between the regions disappears and performs data aggregation. Data aggregation is a process where MapInfo calculates what the column values for the new object should be, based on sums or averages of the values of the original objects.
For example, if you have a table of sales territories that contains demographic information about the number of households per territory, use the Combine command to combine two of the sales territories into one territory. In the same operation, you could also use data aggregation to calculate the number of households in the new territory by adding the values from each of the original territories.
MapInfo Reference
53
4.
54
MapInfo Reference
6.
If the table contains a large number of columns, it can be timeconsuming to specify aggregation methods for all columns. However, since the specified aggregation methods are retained for the entire session. The next time you choose Combine, you do not need to respecify all aggregation options.
MapInfo Reference
55
A Combine Example
Use the Combine command to add island polygons to existing region objects. To add an island to an existing region: 1. 2. 3. 4. 5. 6. 7. 8. Make the appropriate map layer editable. Select the region to which you want to add an island or lake. Choose Objects > Set Target. Use the Polygon tool to draw the new island. Select the island region. Choose Objects > Combine. The Data Aggregation dialog displays. Check the No Data checkbox. Since you specified an editing target, checking No Data will not to modify any of the target's column values. Choose OK.
56
MapInfo Reference
Destination Box
Choose one column or a group of columns. To choose one column name from the list, click on that column name. To select a group of column names, shiftclick. To select or deselect one column at a time, controlclick. Once you have selected one or more columns, clicking on an option in the lower half of the dialog applies that option to all selected columns. If you want to choose the Sum or Average method, make sure that all of the selected columns are numeric columns. If any of the selected columns are not numeric, the Sum and Average options are grayed, because Sum and Average cannot be applied to nonnumeric columns.
Aggregate Method No Change Blank Leave the selected column(s) unchanged. The No Change option is available only if you specified a map editing target. Store blank values in the selected column(s). To store blank values in all columns, check the No Data checkbox. Only choose the Blank option when you want to blank out individual columns. The Blank option is available only if you did not specify a map editing target. Store a specific value, the value displayed in the edit field, in the new row. Enter an appropriate value in the field.
Value
MapInfo Reference
57
Average
Weight By
No Data
Help OK Cancel
58
MapInfo Reference
MapInfo Reference
59
If you are combining closed objects, the Weight By dropdown list contains a special option: Area. If you choose Area from the Weight By dropdown list, MapInfo weights the average calculations according to the relative geographic areas of the regions to be combined. If you are combining linear objects, do not choose Area as the Weight By option. Linear objects have no width, therefore, they have no area. To choose standard (nonweighted) averaging, choose none" from the Weight By dropdown list.
See:
Combine Using Column Command Set Target Command Split Command User's Guide: Chapter 16
60
MapInfo Reference
modify the geographical data and create one map object for each group. Combine Objects Using Column is the reverse operation of a Split. If you have data or have created objects by splitting existing objects, you can again combine them by using a common value.
Menu Path
"
Combining Columns
To combine columns: 1. 2. Open at least one MapInfo table. Choose Table > Combine Objects Using Column. The Combine Objects using Columns dialog displays.
MapInfo Reference
61
Specify the table that the contains the objects to be combined. Specify the field (column) in that table that should be used as the basis for creating groups. If you specify a field where all values are unique for each object, no objects will be created. Specify the table in which to place the results. It can be the same as the Combine Objects from table. Display appropriate Help topic. Cancel dialog options. Display the Data Aggregation dialog. See Combine Command, Using the The Data Aggregation Dialog.
Specify computations in the Data Aggregation Dialog; the objects will be combined. For information on how to use this dialog, see Combine Command, Using The Data Aggregation Dialog. If you specified a field where all values are unique for each object, no objects will be created.
See:
Combine Command User's Guide: Chapter 16
62
MapInfo Reference
a Map window is the active window and the Map window has an editable layer and one or more objects in the editable layer are selected.
Menu Path
"
MapInfo Reference
63
See:
Polyline Button User's Guide: Chapter 13
64
MapInfo Reference
a Map window is the active window, and the Map window has an editable layer, and one or more objects in the editable layer are selected.
Menu Path
"
See:
User's Guide: Chapter 13
MapInfo Reference
65
copy the selected text and/or graphic objects information and place it on the clipboard.
a Browser window is active and at least one row is selected or a Map window is active and at least one object from the map is selected or a Graph window is active or the MapBasic window is open with text selected or a Layout window is active and at least one object is selected.
Menu Path
"
66
MapInfo Reference
Choose Options > Preferences > System Settings. The System Settings Preferences dialog displays.
Copy to Clipboard Copy TEXT to clipboard Copy only text to the clipboard. When you do not want text copied to the clipboard during Cut and Copy operations, clear the Copy TEXT to clipboard option. Copy only graphic objects as a bitmap; bitmaps are non-scalable representations of the object. Copy graphic objects as a metafile; metafiles are scalable representations of an object. Accept the dialog options. Cancel the dialog options. Display appropriate Help topic.
See:
Cut Command Paste Command
MapInfo Reference
67
a Layout window is the active window and any layout object is selected.
Menu Path
"
68
MapInfo Reference
The default offset value is .125 inch, or .318 centimeters. When you change the values, MapInfo retains the changes throughout the session or until you change them again. The lefttoright offset. The toptobottom offset. Accept the dialog options. The drop shadow displays behind the selected object(s). To delete or change the fill pattern and line style of a drop shadow, choose Options > Region Style. See Region Style Button/Command. When you move or resize the layout object, the shadow does not resize or move. You may not want to create a drop shadow until you are sure of the position of its source. Cancel the dialog options. Display appropriate Help topic.
Horizontal Vertical OK
Cancel Help
See:
Frame Button New Layout Window Command User's Guide: Chapter 17
MapInfo Reference
69
Show cartographic data for any map layer, not just thematic map layers.
Menu Path
"
70
MapInfo Reference
"
Displays the title of the map window for which the legend will be created. The Legend Window contains a legend frame for each layer listed in the Legend Frames listbox. Legend Frames contains the layers that can contribute to the legend window. A layer must contain style attributes or theme information to appear in the listbox; therefore raster layers are not included in the listbox. When the legend is created, the information about each layer displays in a frame; you can choose to place a border around each frame to make it more distinct. By default, all layers are selected and appear in the Legend Frames listbox. If you want to choose specific layers for the cartographic legend you are creating, use the Remove button to move the layer name to the Layers listbox. Remove layers from the Legend Frames listbox . These layers will not be included in the cartographic legend. Add layers to the cartographic legend. Any layer you move to the Layers listbox will not be included in the legend window.
Remove
Add Layers
MapInfo Reference
71
Finish
Displays the title of the map window for which the legend will be created.
Enter a title for the Legend, or accept <Default> to let MapInfo generate the title based on the title of the Map window. Check to include scroll bars in the legend window. Determines the orientation of frames within the legend window.
72
MapInfo Reference
Border Style
Check to place a border around the legend. Click the box displaying the check to display the Line Style dialog. Choose a border style.
Display the legend. If the Legend is the active window, Legend displays as a menu option.
Finish
"
The Legend menu, including the shortcut menu, is context sensitive. When no legend frame is selected, the final item is Window Properties. . ".If a frame is selected the last item is "Properties."
MapInfo Reference
73
Properties Window title Scroll bars Autoscroll Smart Pan Enter a window title or type <default> to use the default title. Choose to display scroll bars in the window. Choose to activate autoscroll. The Grabber Tool will automatically redraw the exposed area as the legend is moved, otherwise the redraw is not done until the grab is finished.
"
Right click in the legend window; choose Add Frames from the Shortcut Menu.
74
MapInfo Reference
Displays the title of the map window for which the legend will be created.
Displays only layers that are not currently contributing to the legend.
Add layer(s) from the Layers listbox to the Legend Frame listbox. The layers will be added to the legend frame. Remove layers from the Legend Frames listbox . These layers will not be included in the cartographic legend. Any layer you move to the Layers listbox will not be included in the legend window. Display the legend. If the Legend is the active window, Legend displays as a menu option. Displays the Add Frames Step 2 of 2 dialog.
Remove
MapInfo Reference
75
Legend Frame Defaults Title Pattern Designates the text that displays at the top of each frame. Each occurrence of a # character will be replaced with the name of the map layer on which the frame is based. For example, # Legend for layers States, will produce the title States Legend. If you prefer to have Legend precede the layer name, enter Legend of #. This will produce Legend of States. To create a title with the # character in it, precede it with a '\' character. For example, "\ # of Customers" produces " # of Customers". Designates subtitle text; uses the # symbol in the same manner as described in Title Pattern. Designates the text that displays next to each symbol in a frame. Use the % character to include the symbol type: point, line, region in the style name text. For example, " % of #" expands to "Region of States". To create a title with the % character in it, precede it with a '\' character. For example, "\ % of Total" produces " % of Total". The % symbol is available only in the style pattern option; the # symbol can be used in Title, Subtitle and Style patterns.
76
MapInfo Reference
Border
Check to place a border around the legend. Click the box displaying the X to display the Line Style dialog. Choose a border style.
Return to previous dialog. Display the legend. If the Legend is the active window, Legend displays as a menu option.
Back Finish
Frame Title Title Font Enter a title for the Legend Frame. Select to display the Text Styles dialog. Choose font; font size; color; effects (including haloing, bold etc.).
MapInfo Reference
77
Border Style
Styles
Font
Select the frame to be deleted; press the DEL key. If you delete the last legend frame, the legend window will close. or
"
Click on the frame with the right mouse button and select Delete from the menu.
Use the left mouse button to select and drag the frame to a new location within the legend window.
Legend Refresh
Choose Legend Refresh to redraw the legend window. To access Legend Refresh:
"
"
Rightclick anywhere in the Legend window to display the Shortcut Menu: choose Refresh.
78
MapInfo Reference
Refresh Styles
MapInfo will rescan the tables associated with each refreshable" frames. New styles are added to the frame and obsolete styles are removed. Nonrefreshable" frames can be constructed via MapBasic. MapInfo will redraw the frames in the legend using the portrait/landscape setting.Portrait/Landscape: Determines the orientation of the frames when the layout is refreshed.
Refresh Layout
See
Show/Hide Theme Legend Window Legend Button User's Guide Chapter 5
MapInfo Reference
79
create point objects for a database with X and Y coordinates. This function is used most often to create point objects for pointfiles imported from MapInfo for DOS. These points can then be displayed on a map. It is not necessary for linked tables.
at least one table is open and the table has at least two numeric fields. The table cannot be readonly.
Menu Path
"
Creating Points
Use Table > Create Points to create point objects for a database that has X and Y coordinates or longitude/latitude coordinate information. It is most useful when you are working with files imported from other databases. These points can be displayed on a map. When you do not have coordinates in the table, you can use Geocode to match some other geographic information (such as street address or ZIP Code) against a table already containing graphic objects. To create points: 1. 2. Open a table with x and y coordinate information; it cannot be read only. Choose Table > Create Points. The Create Points dialog displays.
80
MapInfo Reference
OK Cancel Projection
Help
See:
Geocode Command User's Guide: Chapter 7
MapInfo Reference
81
analyze data values associated with a map. The map objects can be shaded according to the data values (ranged, individual value), or thematic objects are created to display the data values. Create singlevariable thematic maps (ranged, individual value, dot density, graduated symbols, continuous thematic shading/grid) or multivariable thematic maps such as pie and bar charts. save your thematic map settings and use them in other thematic layers in current and future sessions.
Menu Path
D
Choose Map > Create Thematic Map. The Create Thematic MapStep 1 of 3 dialog displays.
82
MapInfo Reference
Display available templates in alphabetical or according to their name. Display available templates according to the time they were created or last modified. Display data according to ranges you set. The ranges are shaded using colors and/or patterns. Choose from templates displayed as shaded lines, points or regions. Ranged thematic maps enable you to illustrate data values across points, lines and regions. They are useful to show a relationship between the data values and geographic area (e.g. sales figures, household income), or to present ratio information such as population density (population divided by area). Ratio information can be shown in other types of thematic maps when you choose Expression in Step 2. Display a bar chart of the thematic variables for each record in the table. Use bar charts to analyze multiple variables per record on the map. Make comparisons between the size of the bars in each chart to obtain information about a record in the table set, or compare one bar in all the bar charts to draw conclusions about a variable across all of the records, or compare the height of the bar charts to obtain information about the entire table. To indicate a negative value in a bar chart, bars extend in the direction opposite to the chart's orientation. Negative values do not display in stacked bar charts.
Bar Charts
MapInfo Reference
83
Graduated
Dot Density
Individual
Grid
A grid surface theme is a continuous raster grid produced by an interpolation of point data. MapInfo Professional evaluates an expression for each row in a table and passes the row objects centroid and expression result to an interpolator. The interpolator produces a raster grid file, which appears as a raster table in a map window. The data is displayed as color gradations.
Displays a sample legend for the template type. Displays customized text for the legend. If enabled, the template has custom titles or range labels. Check this to use the custom text. Display appropriate Help topic. Cancel the dialog options and return to the map. Continue to Step 2.
84
MapInfo Reference
Deleting a Template
Delete a template by selecting its name and pressing the Delete key. A dialog displays asking you to confirm or cancel the deletion. If no templates of the given type exist, a button to restore a default template displays.
Renaming a Template
Rename a template by selecting and clicking the template name; enter a new name, up to 64 characters.
Saving a Template
The option, Default Template Directory, in the Options > Preferences> Directories. . . dialog allows you to designate the directory where theme templates reside. Once you have selected a thematic template, the steps that follow depend on the type of template.
MapInfo Reference
85
Table
Choose the table on which you want to base the map. If you have objects selected in the Map window, the Selection from TABLE item also displays in the list. Choosing this item enables you to create a thematic map based on the selected items without having to map the selection. You can still base the thematic map on a mapped query table by adding to the map first.
Choose the field or expression you want to use. Check this box to ignore zero values and blank values in the table. Since you are creating a thematic map based on one field in a table, any zero or blank values in that field will cause the entire record to be ignored. Disabled for Graduated and Dot Density maps.
86
MapInfo Reference
Table
Choose the table on which you want to base the map. If you have objects selected in the Map window, the Selection from TABLE item also displays in the list. Choosing this item enables you to create a thematic map based on the selected items without having to map the selection. You can still base the thematic map on a mapped query table by adding to the map first.
Choose the field or expression you want to use. Check this box to ignore zero values and blank values in the table. Since you are creating a thematic map based on one field in a table, any zero or blank values in that field will cause the entire record to be ignored. Disabled for Graduated and Dot Density maps.
Grid Options Select a Table of Boundaries to Clip Against: Table Choose a table of regions to clip the grid against. Defaults to none. Grid cells will be written if the cells fall within the selected region.
MapInfo Reference
87
Browse
Multi-Variable Maps
Pie, and Bar Chart thematic maps allow you to analyze more than one variable at a time. In the Create Thematic Map Step 2 of 3 dialog, choose the fields or expressions you want to use as the variables, and list them in an order that is most appropriate to the analysis. Use up to 20 variables. Thematic Step 2 of 3 Dialog for Pie, Bar Chart Maps
88
MapInfo Reference
Fields Fields from TABLE Choose the field, or create an expression that contains the data values from all the numeric fields in the table you selected from the Table list. Indicate the fields or expressions you have chosen for the pie or bar chart thematic map. Move the selected field or expression up one place in the Fields for Pie/Bar Chart list. Up is unavailable when the selected item is the first item in the list. Move the selected field or expression down one place in the Fields for Pie/Bar Chart list. Down is unavailable when the selected item is the last item in the list. The order of the variables in the Field for Pie/Bar Chart list is the order in which the variables will appear in the legend. For bar chart thematic maps, the order in which the variables display in the legend is the order in which the bars display from left to right on the map. For pie chart maps, the first variable in the legend corresponds to the pie wedge that begins at the angle specified in the Pie Charts dialog. Pies are displayed in a clockwise or counterclockwise order as specified in the Pie Charts dialog. To display the Pie Chart Styles dialog, click Styles in the Create Thematic Map Step 3 of 3 dialog and choose Options. Choose to move the selected field in the Fields from TABLE list to the Fields for Pie/Bar Chart list. Choose to move the selected field in the Fields for Pie/Bar Chart list to the Fields from TABLE list.
Down
Add Remove
MapInfo Reference
89
Display a sample legend of the thematic map you are creating. Determine the order in which range and value labels (for ranged and individual values maps) and field labels (for all other thematic maps) appear in the legend. If you are creating a ranged map, the order you specify is also shown in the Styles dialog. Range display from lowest to highest value. Range display from highest to lowest value. Change the default settings of particular aspects of the thematic map. Customize the size, number settings and color on a dot density map, and the symbol and other settings on a graduated symbol map. Customize ranges on a ranged map. This option is only available for ranged maps. Customize style attributes such as color and size. This option is available for ranged, pie, bar, individual value and grid maps. Customize the legend. This option is available for all types of thematic maps.
90
MapInfo Reference
Template
Save As Display the Save Theme to a Template dialog. Type a unique name or select an existing name and overwrite it. If you overwrite an existing template, you will be asked to confirm this action. Templates have a .thm extension. If you have created a grid thematic map, the Grid Theme Options display: Save Inflection Values: select to store the actual values for the inflection points in the template. Save Inflection Percentage: Save the percentiles and calculate the actual values from the minimum and maximum of the data source table. Merge Help Cancel Back OK The Merge button is enabled only when you are modifying an existing theme, not when you are creating a thematic map. Display appropriate Help topic. Cancel the dialog options and return to the map. Return to the previous thematic dialog. Create a thematic map based on either the default or customized settings.
MapInfo Reference
91
You can customize three aspects of a ranged map: Ranges Styles Legend Customizing Ranges Calculate ranges using a number of methods. The choice of method depends on the data values and the type of analysis you want to perform. You can determine ranges based on a statistical or mathematical formula that MapInfo calculates automatically, such as standard deviation, or you can break the ranges according to the number of records, the range intervals, certain statistical values, or a value you choose. You also can set your own ranges using the Custom method. To customize ranges on a ranged map: 1. 2. 3. From the Step 3 of 3 dialog displays. Choose Ranges to display the Ranges dialog. Choose the items you want to customize and make the appropriate changes. Choose Options if you are using the Equal Count or Equal Ranges methods to use the Forced Break feature.
Range Dialog
Method
Choose an option from the Method dropdown list to select how the ranges are created. Choose from the methods described below. Display appropriate Help topic.
Help
92
MapInfo Reference
Equal Count: Each range contains approximately the same number of records. If the number of records is not evenly divisible by the number of ranges, MapInfo places the remaining records into the most appropriate ranges. Equal Ranges: The difference between the minimum and maximum endpoints in each range is the same. Natural Break: The range breaks are determined using an algorithm that sets the range breaks to minimize the difference between the data values and the average of the data values is minimized on a per range basis. This method produces a more accurate representation of the data. Standard Deviation: The middle range breaks at the mean of the data values, and the ranges above and below the middle range are one standard deviation above or below the mean. Quantile: Determines the distribution of a variable across a segment of the data (e.g. population). When you choose Quantile, a Quantiling box appears at the bottom of the dialog. Choose the field or an expression you want to perform the quantiling operation on from the dropdown list. Custom : Indicates that the ranges are userdefined. When you choose Custom, a Custom Ranges box appears at the bottom of the dialog. Highlight the range you want to change from the list in the middle of the dialog, and edit the minimum and maximum values in the Custom Ranges box. # of ranges : Choose the number of ranges you want from the dropdown list. The minimum number of ranges is 2, and the maximum number of ranges is 16. The default is 4 ranges. Round by: Choose a rounding factor for the range breaks from the dropdown list. Each rounding factor is a multiple of 10. >= Min: Indicates the inclusive lower bound of the range. The data values in the range interval are greater than or equal to the minimum value of the range. The range intervals are displayed so that the minimum value of one range, and the maximum value of the range above it in the list box, are the same number. The records that have that value are counted in the range interval where the value represents the minimum value. For example, one range is 26.2 to 30.9, and the range below it is 30.9 to 31.8. The record (or records) with the value 30.9 is counted in the range interval, 30.9 to 31.8, because 30.9 represents the minimum value in that range interval.
MapInfo Reference
93
Recalc: Whenever you change a setting with any of the controls explained above, the OK button becomes a Recalc button, and the list box displays this message: Press <Recalc> button to Recalculate ranges." You can make several changes at once before doing a recalculation. Recalculations can be time consuming, depending on the data set and range method you are using.
Customizing Styles
The Styles on a ranged map include the color and size attributes of the map objects. You can customize these attributes to illustrate quantitative information about the data values in each range. To customize styles on a ranged map: 1. 2. 3. From the The Create Thematic Map Step 3 of 3 dialog Choose Styles to display the Customize Styles dialog. Choose the items you want to customize and make the appropriate changes. Choose Options for advanced customizing features.
Customize Range Style Dialog Auto Spread Choose style attribute you want to vary. MapInfo spreads the attribute across the ranges. The spread in the ranges displays in the column of Style Buttons, where each Style Button represents one of the ranges. For the styles that you are not varying, MapInfo uses the same styles in each Style Button. Spread color attributes. Spread size attributes. This radio button displays only when you are working with a map that contains point or line objects. Disable auto spreading. The number of style buttons is the same as the number of ranges with which you are working. The top and bottom range intervals are labeled in the Styles Group box. Clicking on an inner Style Button sets AutoSpread to none and allows you to customize any or all style attributes for any of the ranges. Setting the Style for All Other" Range does not change Autospread.
94
MapInfo Reference
All Others Style Button Cancel Help OK Options Save Styles as Default
If you are spreading by color, these options display: RGB Indicate that the color is spread using the redgreenblue color model. RGB is recommended if you are using a twocolor spread, particularly if one of the colors is white. Indicate that the color is spread using the huesaturationvalue color model.
HSV
If you are spreading by size, these scaling options display: Square Root Constant Log Inflection Scale by square root. Scale linearly. Scale logarithmically (base 10). Insert an intermediate color at a point between the top and bottom styles. The inflection point provides you with a second interpolation of the data. If you want to show profits of sales regions, for example, make the inflection point white (the default) and set it at the range where the minimum value is zero. Set the top style to black, and the bottom style to red. Values above the inflection point spread from black down to white to show profit, and values below the inflection point spread from white to red to show loss. Instead of the top and bottom styles spreading to each other, as in a twocolor spread, they spread to the inflection point color.
MapInfo Reference
95
Style Apply
Styles Legend
Customizing Bar Chart Styles The Customize Bar Styles dialog enables you to customize the styles on a bar chart map. Styles includes the height, width and color of the bars, the type of bar chart, the bars' scale, the charts' orientation, and other bar attributes including the border of the bars and the frame around the bars.
96
MapInfo Reference
From. The Create Thematic Map Step 3 of 3 dialog displays. Choose Styles to display the Customize Bar Styles dialog.
Fields
Display the fields and expressions you are using to build each bar chart. There is one bar chart per record and one bar for each field or expression. Doubleclick on a field or expression to change the brush style for its corresponding bar. Choose Brush when a field or expression is selected in the list box to change the fill style for its corresponding bar. Choose the type of bar chart you want to create from the four choices in the group. Stack the bars for each variable on top of each other, creating a single bar chart. Determine the height of the bars is by using the ratio of the sum of the values for each record to the value in the at value box. Create a multibar chart, one bar for each field. Set the size of the bar charts.
Brush Chart Type Stacked Graduated Stack Multiple Bars Chart Dimensions
MapInfo Reference
97
Height
If you choose Stacked, and you also check Graduated Stack in the Chart Type group box, the value in the Height box is the height, in paper units, of a stacked bar when the value in the at value text box is the sum of the bar's data values. If the bar chart is stacked but not graduated, then all the bars are the same height, as specified in the Height box, and the value in the at value box cannot be changed. If the bar chart contains multiple bars with identical scales for each bar, all bars are scaled according to the ratio of Height to at value. If the bar chart contains multiple bars with independent scales, at value is ignored and each bar is scaled according to the ratio of Height to its field's or expression's maximum value. at value Indicate the value at which a bar is a certain height. MapInfo will choose a value, or you can choose your own value. At value is grayed for stacked bars that are not graduated and for multibar/independent scales. Indicate the width, in paper units, of the bar chart. The valid range is .1 to 4 inches. Set the paper units in System Preferences. See the Preferences Command. Customize the map according to the specifications and display the Create Thematic Map Step 3 of 3 dialog. Cancel customization and display the Create Thematic Map Step 3 of 3 dialog.
Width
OK Cancel
98
MapInfo Reference
Bar Attributes Border Pen Set the pen style for the borders of the bars and the frame. The Line Style dialog displays. The default pen style is a black, single width, solid pen. See Line Style Button/Command. Set the fill pattern of the rectangle that frames each bar chart. If you set the Frame Brush pattern to none (the N" pattern in the Fill Style dialog), there will be no frame around the bar charts. Choose one of the three scaling methods. Choose Square Root to scale by square root. Choose Constant to scale linearly. Choose Log to scale logarithmically (base 10). All bars are scaled to a zerosized bar for a zero value. The default setting is to scale by a constant, which is best for representing data in one dimension. Since you are only concerned with one dimension in bar charts, the height of the bars, we recommend that you stay with the default scaling method. If the data range is extremely large, or the numbers are related in an exponential way, graduate the size by log.
Frame Brush
MapInfo Reference
99
Styles Legend
Customizing Pie Charts Styles The Customize Pie Styles dialog enables you to customize the styles on the pie map. The Styles include the diameter of the pies and the color of each pie wedge, the type of pie chart, the pies' scale, the charts' orientation, and other pie attributes such as the border of the pies, the angle at which the first pie wedge begins, and the order of the pie wedges (clockwise, counterclockwise). To customize pie charts: 1. 2. 3. From The Create Thematic Map Step 3 of 3 dialog choose Styles to display the Customize Pie Styles dialog. Choose the items you want to customize and make the appropriate changes. Choose Options for additional customizing features.
Fields
Display the fields and expressions you are using to build each pie chart. There is one pie chart per record and one pie wedge for each field or expression. Doubleclick on a field or expression to change the brush style for its corresponding pie wedge. Displays when a field or expression is selected in the list box. Choose it to change the fill style for the field or expression pie wedge.
Brush
100
MapInfo Reference
for sum
MapInfo Reference
101
Settings Legend
Customizing Settings The Customize Graduated Symbol dialog enables you to customize the settings for the graduated symbols map. The settings include the type of symbol that displays, its size and color attributes, and the data value on which to base the size of the symbol you choose. Additional options allow you to choose how you are going to scale the symbol, specify the symbol's orientation, and choose a symbol for negative values. To customize a graduated symbols map:
"
From the Step 3 of 3 dialog choose Settings to display the Customize Graduated Symbols dialog.
102
MapInfo Reference
Symbol
Display the current symbol. To change the symbol's attributes, click inside the Symbol style box to display the Symbol Style dialog. You can change the type of symbol, its color and size. Choose a symbol type from the palette. The default symbol is a circle. Choose a color from the palette. The default color is red. Choose the point size for the symbol. The default size is 36 points. Enter the data value on which you want to base the symbol's proportion. The size of the symbol at this value is the size you specified in the Symbol Attributes dialog. The symbols for the remaining data values will be sized using this value. The default setting is the maximum value of the data, with two significant digits. The symbols are scaled down to a one point symbol for zero values. Cancel customization and displays the Thematic Step 3 of 3 dialog. Customize the map according to the specifications and returns you to the Thematic Step 3 of 3 dialog. Display more customizing options. Choose a symbol for negative data values. Check to display the symbol for negative values on the map. Changing the attributes of the negative values symbol has no effect on the attributes of the positive values symbol. To change the negative values symbol's attributes, click inside the Symbol style box in the Negative Values group. The Symbol Style dialog displays. You can change the type of symbol, its color and size. The default is a 36 point/blue/circle.
MapInfo Reference
103
Settings Legend
Customizing Settings The Customize Dot Density Settings dialog enables you to customize the settings for the dot density map. The Settings include how many units each dot represents and the size of the dots. The color of the dots cannot be changed; it is always black. To access the Customize Dot Density Settings dialog:
"
From the The Create Thematic Map Step 3 of 3 dialog choose the Settings button to display the Customize Dot Density Settings dialog.
104
MapInfo Reference
Each dot represents:____ units MapInfo makes an estimate of how many units each dot should represent and places this estimate in the text box. You can enter a different number. The greater the number of units each dot represents, the fewer the number of dots that appears per region. Dot Size OK Cancel Specify dot size. Choose either small dots (one pixel) or large dots (four pixels). Customize the map according to the specifications and return to the Thematic Step 3 of 3 dialog. Cancel customization and display the Create Thematic Map Step 3 of 3 dialog.
Styles Legend
MapInfo Reference
105
Indicates each data value, up to 255. Indicates the style for each value. To change the style for a value, highlight the value in the list. Choose the Style button. A style dialog, appropriate for the type of map object with which you are working (e.g. points, regions, lines), displays, enabling you to change the style attributes for that value. Please note that the default symbol for an individual values thematic map corresponds to the symbol from the base table. See Region Style, Line Style, and Symbol Style Buttons/Commands. Apply all attributes of the style to the theme. Apply only the color attribute to the theme. Check to use colors in the styles. Clear to use gray scale. The default is to use color styles.
106
MapInfo Reference
MapInfo Reference
107
Exponent
Search Radius
Grid Border
Styles The Grid Color dialog displays. A preview of the inflection points, the color spectrum bar, and minimum and maximum options display. Specify inflection values and colors. Add Click to add additional inflection settings. The maximum value is copied and added to the bottom of the Value list. Double click the color box to display the Color dialog and change the color for one of the identical inflection points. Remove a value from the display.
Remove Adjustments
Select a color; or define a color using the Define Custom Colors dialog. To edit the value, leftclick twice over the value: enter a new value. Or, type a value into the value edit control. To edit a percentage, type a number into the percentage edit control. Contrast Brightness Gray Scale Adjust the contrast in the image; the default contrast setting is 50%. Adjust the brightness of the image; the default brightness setting is 50%. Check to display a legend in shades of gray instead of color.
108
MapInfo Reference
OK Back
Customizing a Legend
To customize the legend for a thematic map, choose the Legend button in the Thematic Step 3 of 3 dialog. The Customize Legend dialog displays; customize the legend's title, subtitle, fonts, or range labels. You also can specify whether or not a legend displays for this thematic layer. To customize a legend:
"
From the The Create Thematic Map Step 3 of 3 dialog choose Legend. The Customize Legend dialog displays.
Legend Title Title Font Type the title for the legend. The maximum length is 255 characters. Click the Title Font button to choose the font for the title of the legend.
MapInfo Reference
109
Border Style Restore Default Title and Labels Range Labels Font Edit selected range here
Choose the font for the range labels. Make changes to the selected range label in this box. The maximum length is 80 characters.
Changing the range values in the legend does not change the range values in a ranged or individual values map. To do so, display the Ranges dialog by either choosing Modify Thematic Map from the Map menu, or doubleclicking anywhere in the legend window. Either method will display the Modify Thematic Layer dialog, where you can access the Ranges button and modify the ranges. # objects Show this Range Show Record Count Indicates the number of objects in the selected range. Check to have the selected range appear in the legend. Check to display the number of records in each range. This option is available only for ranged and individual value thematic maps. Cancel the customizing and returns to the Create Thematic Map Step 3 of 3 dialog. Customize the legend according to the specifications and display the Create Thematic Map Step 3 of 3 dialog.
Cancel OK
See:
Functions Modify Thematic Map New Map Window Command User's Guide: Chapter 10
110
MapInfo Reference
Crystal Reports
Crystal Reports
Use Crystal Reports to:
D
create fullfeatured reports including full customization of the output and the ability to save the report for future use.
Open an Existing Report is always available. Create a New Report is available when at least one MapInfo table is open.
Menu Path
D
For full documentation on creating a report, see the online Crystal Report User's Guide and online Help.
Saving a Report
When you save a report, a .rpt extension is assigned to the report. The report is assigned the default name: (tablename) report.rpt. You may rename the report using the Crystal Reports SaveAs feature. All .rpt files are saved in the directory specified in Preferences > Options> Directories > Crystal Report files.
Choose Tools > Open Report. Select the report from the dialog.
Tables with columns containing underscores, temporary column, or titles over 8 characters do not display in the default Crystal Report. Use the Expert Wizard to access columns containing these elements. Note that columns containing an underscore "_columnname" will not display in the default preview mode. Additionally, MapInfo ODBC drivers cannot be used with the Crystal Reports Database > Add Database option.
MapInfo Reference
111
access a palette containing a range of colors that you can use or customize. The color palette is accessible from the dialogs displayed when working with line, region, symbol, and text objects. Custom colors is always available. Options > Custom Colors
Menu Path
D
OK
112
MapInfo Reference
cut selected text and objects and move them onto the clipboard.
an editable is selected in an active Browser window, and at least one row is selected or a Layout window is active, and at least one object is selected or a Map window is active, a layer is editable, and at least one object in the editable layer is selected or the MapBasic window is open and active with text selected.
Menu Path
"
MapInfo Reference
113
Choose Options > Preferences > System Settings. The System Setting Preferences dialog displays.
Copy to Clipboard Dialog Copy TEXT to clipboard Copy BITMAP to clipboard Copy Metafile to clipboard OK Cancel Help Check to specify that you want only text copied to the clipboard. Clear to specify that you do not want text copied to the clipboard. Copy only graphic objects as a bitmap; bitmaps are nonscalable representations of the object. Copy graphic objects as a metafile; metafiles are scalable representations of an object. Accept the dialog options. Cancel the dialog options. Display appropriate Help topic.
See:
Copy Command Paste Command
114
MapInfo Reference
Menu Path
D
When you delete a raster image, MapInfo renames its associated .tab file (MapInfo Registration File) without deleting the actual raster image file.
MapInfo Reference
115
delete the current target district. Deletes one row from the Districts Browser window; it does not delete the objects assigned to that district.
Menu Path
"
See:
New Redistrict Window Command User's Guide: Chapter 14
116
MapInfo Reference
Menu Path
"
Obtain the digitizer driver from Digitizer Technology (VTI) or the tablet manufacturer for Wintab. Usually, the tablet includes a Wintab driver. Digitizer Technology Company provides both sales and support for the Virtual Tablet Interface. Contact:
Digitizer Technology Company 16541 Redmond Way, Suite 195C Redmond, WA 98052 USA Tel: (206) 8683246
Product support is free and offered during the hours of 8:00 AM and 5:00 PM Monday through Friday, Pacific Time.
Digitizer Setup
Activating the MapInfo Digitizer Setup
When a Map is open and a digitizer is properly configured, the option Digitizer Setup" displays in the Map Menu. If this menu option is not available, MapInfo is not recognizing the digitizer. See the following: Common Digitizing Problems and Solutions. To access the Digitizer Setup dialog:
"
Choose Digitizer Setup from the Map menu. The Digitizer Setup dialog displays.
MapInfo Reference
117
set the projection of the map being digitized. set control points. configure the Draw and Close buttons on the digitizer puck.
Choose the Projection button. The Choose Projection dialog displays. Choose the projection of the paper map. See Projection Button.
118
MapInfo Reference
MapInfo Reference
119
120
MapInfo Reference
Choose Clear All. All control points are removed and the projection is reset to the projection of the active map.
Digitizer Mode
MapInfo automatically turns digitizer mode on after you have entered three or more control points. You do not have to exit from digitizer mode to do something else. You can now do anything in digitizer mode that you can do in mouse mode: open tables and windows, use any of the tools, use the mouse, etc. You can still, however, turn digitizer mode off and on with the D key. MapInfo will not turn digitizer mode on if you have only entered one or two control points or if your control points run in a straight line. The details of the new digitizer mode functionality is explained below.
Mouse Cursor
You can use the mouse and the digitizer at the same time. The mouse is always active, even when digitizer mode is on. So you do not need to exit from digitizer mode to use the mouse. The mouse cursor is always visible, and can always be controlled with the mouse. Its appearance depends on which tool is selected. You can also control the mouse with the digitizer using the mouse emulation capability of the digitizer driver (this must be configured outside of MapInfo). If digitizer mode is off, or if digitizer mode is on
MapInfo Reference
121
Digitizer Cursor
The digitizer cursor is a large cross hair that covers the entire width and height of the Map window. Its appearance does not change to indicate which tool is selected. It is always a large cross hair, making it much easier to see. The digitizer cursor is always visible as long as a Map window is active. For example, if you decide to open a Browser window while you are in digitizer mode and work in the Browser, digitizer mode will still be on, but because the Browser is now the active window, you won't see the digitizer cursor. The status bar only displays the digitizer cursor location if you choose to display it (Map>Options). This is different than MapInfo 3.0, where the cursor location always displayed in the status bar while digitizer mode was on.
Choose OK. The Digitizer Setup you have specified is implemented. Choose cancel to cancel the selected options.
Check the projection to make sure it matches the projection printed on the map. Click on Projection in the Digitizer Setup dialog. The Choose Projection dialog displays with the
122
MapInfo Reference
When the problem is not with the projection or when changing the projection only slightly reduces the error, then you have to check individual control points. Start with the points with the highest error: choose Edit in the Digitizer Setup dialog. Correct the control points until the error is acceptably small. When you are digitizing from a photograph, you should use many control points, preferably over twenty. In general, the more control points you use, the smaller the error.
Buttons that allow you to add a control point, edit a control point, remove a control point, or clear all control points. Access the Pick Tablet Point dialog. This dialog displays the location of the puck as you move it. Pressing a digitizer button selects the location as a point and the Add Control Point dialog is displayed. See the preceding: Picking and Adding a Control Point. Access the Edit Control Point dialog. This dialog allows you to edit the control point selected (highlighted) in the Digitizer Setup dialog. See the preceding: Editing A Control Point. Remove the control point that is selected (highlighted) in the Digitizer Setup dialog. Remove all the control points. The projection is then reset to the projection of the active map window. Choose the map unit that matches the coordinate units on the paper map. If the appropriate unit is not in the list, check to make sure you specified the correct projection.
Edit
MapInfo Reference
123
Buttons
124
MapInfo Reference
a drawing tool is selected. the Map window is active. the D key is pressed.
The D key toggles digitizing mode on and off. When in digitizing mode, the cursor will appear as a large cross hair. Digitizing does not take place without this cursor. If you draw on the screen without the digitizer cursor, then coordinates entered into the package are relative to where the cursor is on screen. The cursor, even though driven by the digitizer tablet, is just a screen pointer until digitizing mode is entered. Once in digitizing mode, the control point transformation is put into effect, and coordinate information is taken from the tablet, not the screen. Make sure the coordinate system, projection, map orientation and map units are known and properly set in MapInfo. Improper initial setup may lead to inaccurate results which can only be corrected by starting over. The Projection button in Digitizer Setup refers to the paper map to be digitized, whereas Map > Options Projection button refers to the map you are digitizing into. It is possible to digitize a map with one projection into a map with a different projection, as long as the Digitizer Setup projection matches the paper map projection, and the Map > Options > Projection matches the projection you want to digitize into. Make sure there are at least three known coordinate locations on the map/drawing which can be used to set control points for wrong calculation four coordinate locations must be indicated. The more control points that are added, the more accurate the transformation from tablet to map will be.
MapInfo Reference
125
Control points were not properly entered. The map has moved while setting control points. The control points are inaccurate. The map being digitized is inaccurate.
Check orientation of control points, positive and negative may be reversed. Its useful to have the Map Options dialog box display cursor location while in digitizing mode. When the cursor is placed over a control point in digitizing mode, the cursor location should match the coordinates of the control point. When switching into digitize mode, the cursor disappears. Change active zoom and center of window to represent the zoom and center of the map/drawing being digitized. Often using a control point as the center of the window, toggling into digitize mode and placing the cursor directly over the control point will make the cursor appear. Digitizer cursor jumps off screen when digitizing. Increase the active zoom to better reflect the zoom being digitized. You must be in Digitizer mode (press D) but the digitizer cursor does not have to be visible in the Map window. View entire layer may help if working with a preexisting map. It is also possible that the tablet is damaged. Distances don't measure properly. The only way to measure a distance of a segment on a map being digitized is to digitize the segment into a map window and then use the ruler tool to measure the segment. Dragging the digitizer puck over the segment with the ruler tool selected will not work since screen info and not tablet info is being measured. If a digitized segment measures incorrectly, then there is a setup problem which could range from map properties (units, projection, etc.) to control points, to inaccurate digitizing. Digitizer setup is unavailable even though the digitizer is connected.
D D D D D D
The tablet being used is not supported by the version of MapInfo. The tablet is not turned on or is incorrectly connected to the computer. The system.ini file is not properly configured. The tablet is improperly configured. The wrong tablet/driver combination is being used. There is a problem with the tablet, the comm port, or the connecting cables.
If the tablet works with other applications or is being used as a mouse pointer in Windows, and none of the above problems apply, there may be a problem with support of the tablet. If possible, configure the
126
MapInfo Reference
See:
User's Guide: Chapter 22
MapInfo Reference
127
Drag Button
Drag Button
Use the Drag button to:
D
drag an entire MapInfo map window into an OLE container application, such as Microsoft Word or Microsoft Excel. Dragging a map provides the same effects as Edit > Copy Map Window followed by Edit > Paste or Edit > Paste Special in an appropriate application.
Menu Path
"
Place the drag icon anywhere in the map window and click. The Begin Drag cursor displays: .
3. 4.
cursor displays.
Release the mouse button; the map is dropped on the container at that location. The behavior of the drop operation is defined by the container; most will insert a copy of the map.
If the application into which you are dragging a map cannot accept the map object, the No Drop cursor displays:
See:
User's Guide Chapter 11
128
MapInfo Reference
Drawing Toolbar
Drawing Toolbar
Use Drawing Toolbar to:
D
access the buttons for drawing and modifying objects on a map or layout.
a Map, Layout or Browser window is editable and the Options > Toolbars dialog is set to display the Drawing Toolbar.
Menu Path
D
Click on the appropriate button. The button is highlighted. Add Node button Access the Add Node tool which allows you to add a node to regions, lines or polylines when you are in Reshape mode. Access the Arc tool which allows you to draw an arc the size and shape of one quarter of an ellipse. Access the Ellipse tool which allows you to create elliptical and circular objects. Access the Frame tool which allows you to create frames in the Layout window to display maps, graphs, browsers, legends, and Info tool, statistics, message windows. Access the Line tool which allows you to draw straight lines.
Arc button
Ellipse button
Frame button
Line button
MapInfo Reference
129
Drawing Toolbar
Line Style button Access the Line Style dialog where you can change the style, color and width of line objects. Access the Polygon tool which allow you to draw polygons (a closed, connected sequence of lines). Access the Polyline tool which allows you to draw polylines (an open, connected sequence of lines). Access the Rectangle tool which allows you to draw rectangles and squares. Access the Region Style dialog where you can change the fill pattern, color and background, and the border style, color and width of region objects. Allows you to toggle in and out of Reshape mode. Reshape allows you to edit regions, polylines, lines, arcs and points by moving, adding, and deleting nodes that define them. Access the Rounded Rectangle tool which allows you to draw rounded rectangles and squares. Access the Symbol tool which allows you to place point symbols on a map like push pins."
Polygon button
Polyline button
Rectangle button
Reshape button
Symbol Style button Access the Symbol Style dialog where you can change the style, color and size of a symbol object. Text button Access the Text tool which allows you to add titles, labels and annotation to maps and layouts or edit data in a Browser window. Access the Text Style dialog where you can change the font typeface, size, style, color and background of text objects.
Autoscrolling
When you use a tool in the Map or Layout window, the window scrolls if you drag the tool outside of the window boundaries. The window will continue to scroll until you release the mouse or move the cursor back into the window. Press Esc to stop scrolling; the tool remains active. To cancel the tool, press Esc after the scrolling has stopped. Autoscrolling works with any tool that can be dragged; it does not work with singleclick tools, such as the Grabber or Info tools.
MapInfo Reference
access the Ellipse tool. The Ellipse tool creates ellipses and round objects.
Menu Path
"
Drawing an Ellipse
To draw an ellipse: 1. 2. 3. Choose Drawing Toolbar > Ellipse button. The cursor displays as a cross. Move the cursor where you want to begin creating the ellipse. This point will be the center of the ellipse. Press and hold down the mouse button. Drag the mouse. The shape appears on the screen and changes size and proportion as you move the pointer. 4. Release the mouse button when the ellipse has the appropriate shape.
Press <CTRL> to begin drawing the ellipse from a corner of the minimum bounding region for the ellipse, instead of out from the center of the ellipse.
Drawing Circles
Press <SHIFT> while using the Ellipse tool to create perfect circles. Release the mouse button before <SHIFT> when the circle reaches the appropriate size. Use <CTRL> with <SHIFT> to create perfect circles that begin at the corner of the bounding region.
Using the Select tool, doubleclick on the selected object. or Select the ellipse with the Select tool and choose Edit > Get Info. The Ellipse Object dialog displays.
MapInfo Reference
131
Specify the XY coordinates of the ellipse's center. Specify the horizontal distance from the center of the ellipse to the rightmost or leftmost point. Set vertical distance from the center of the ellipse to the topmost or bottommost point. Display the Region Style dialog. Specify the pattern, color, and background of the fill and style, color, and width of the border. See Region Style Button/Command. Accept the dialog options. Cancel the dialog options. Display appropriate Help topic.
OK Cancel Help
132
MapInfo Reference
remove a portion of a map object using the currently selected object as the eraser. The portion of the target object covered by the erasing object is removed.
a Map window is active and a layer is editable, and an object is set as the target and an object is selected that will act as the eraser.
Menu Path
"
Erasing an Object
Erase either closed objects (polygon regions, ellipses, rectangles, rounded rectangles) or open objects (polylines, lines and arcs) using the Erase command. You cannot use Erase on points or text objects. To erase an object or a portion of an object: 1. 2. 3. 4. 5. 6. Choose Map > Layer Control. Make the layer editable. Select Objects > Set Target. Set the object(s) to be the target for editing. Create and select the erasing object (or use objects from same or another layer). The erasing object must be closed. Choose Objects >Erase. At the Data Disaggregation dialog, set the field functions to be either blank, value or area proportion. Click OK.
The portion of the target object covered by the erasing object will be erased.
Data Disaggregation
Data disaggregation removes the data associated with the portion of the map object that is eliminated during the Erase operation. For instance, if you edit the West Coast region using Erase to remove the state of Nevada, you can disaggregate the data associated with Nevada as well. The Data Disaggregation dialog displays after you initiate the Erase command. For each field choose whether the data from the target region is maintained (by choosing Value), removed (by choosing Blank) or proportioned (by choosing Area Proportion). For details on using the data disaggregation dialog, see Split Command.
See:
Cut Command, Split Command, User's Guide: Chapter 16
MapInfo Reference
133
remove a portion of a map object using the currently selected object as the eraser. The portion of the target object not covered by the erasing object is removed.
a map window is active and a layer is editable and an object is set as the target and an object is selected that will act as the eraser.
Menu Path
"
The target object will now be erased except where the erasing object was located.
134
MapInfo Reference
Data Disaggregation
Data disaggregation removes the data associated with the portion of the map object that is eliminated during the Erase Outside operation. For example, if you edit a sales territory using Erase Outside to remove all but a 25 mile zone around the home office, you can remove all the data from the target object (your sales territory) except that which is proportional to the zones area. The Data Disaggregation dialog displays after you initiate the Erase Outside command. For each field choose whether the data from the target region is maintained (by choosing Value), removed (by choosing Blank) or proportioned (by choosing Area Proportion). For details on using data disaggregation, see Split Command.
See:
Set Target Command Split Command User's Guide: Chapter 16
MapInfo Reference
135
quit MapInfo.
Menu Path
"
Exiting MapInfo
To exit MapInfo:
"
Choose File > Exit. If you made changes to a table and did not save them, you will be prompted to save the changes. Choose a table to close. Since each window has only one cosmetic layer; that layer contains all edits to cosmetic objects. Each window can contain multiple tables; thematic and label edits are saved on a per table basis. Prompts that display reflect the type of objects the window contains.
136
MapInfo Reference
export a table to another format. You can export graphics and tabular data to MapInfo format (MIF) and AutoCAD DXF files. Only tabular data can be exported to delimited ASCII and dBASE DBF format.
a table is open.
Menu Path
D
Choose Table > Export. If more than one table is open, select the table to export from the Export Table dropdown list.
Export Table Dialog Export table Export Choose a table to export from this list. Display the Export Table to File dialog.
MapInfo Reference
137
Save in:
Type or select the filename you want to export. This box lists files with the extension you select in the File Format box. To see a list of files with a particular extension type an asterisk, a period and the three character extension. For example, if you want to see all files with a .dbf extension in a directory, type .dbf. MapInfo supports long filenames. This allows you to use up to 260 characters when naming your file. In addition, any one name within your directory path can be up to 255 characters. You can insert spaces in the filename and long filenames can have more than one ." in them. When using more than one .", you must remember to type in the file extension in order to save the file correctly. For example you can name a table as follows: \\soup\for.lunch.today.and.everyday.dbf
Save as type:
Specify the type of file export to perform: MapInfo Interchange Format MIF (default), Delimited ASCII, AutoCAD DXF, dBASE DBF. The file extension will reflect the file format type. For more information, see the following specific file format descriptions. Export the file in the specified format. Cancel the dialog options. Display appropriate Help topic.
138
MapInfo Reference
MIF Export
MapInfo Interchange Format (MIF) is an ASCII file format that fully describes a MapInfo database. Both graphic and tabular data are exported into MIF files. The graphic data is in a file with a .mif" extension, and the tabular data is in a file with a .mid extension. MapInfo Interchange Format files can be translated into other formats with other programs. See the MIPro User's Guide, Appendix J: MapInfo Data Interchange Format.
ASCII Export
MapInfo also allows you to export tabular data to a delimited ASCII file. This file can later be edited with a text editor or imported into another software package. When you export to ASCII, MapInfo displays the Delimited ASCII Information dialog, where you choose the delimiter character. You can also choose to have the first row of the ASCII file become column titles. MapInfo also displays a dialog used to indicate the character set for the exported ASCII file. Different platforms use different character sets. MapInfo must know the platform where you are going to use the exported file in order to provide the appropriate character set. No graphical data is exported to ASCII. Delimited ASCII Information Dialog Delimiter Tab Other File Character Set Choose Tab when you want tabs for the field delimiters. Specify the delimiter you want to use. Type the character in the box. Comma is the default choice. Specify the character set used by the file. Several different character sets are commonly used in computing; the specific file character set must be identified. Since these different character sets are used for different platforms, MapInfo prompts you to indicate the platform on which a given DBF file was created. Choose this option when you want to treat the first line of the file as column titles. MapInfo exports the file. Cancels the dialog options.
MapInfo Reference
139
When you work with the map in a coordinate system not supported by MapInfo. When you are going to work with the map in a system whose coordinates are geographically meaningless. For example, if you are going to work in a drawing or illustration package, the package's coordinates have no relation to the earth coordinates of the map.
The DXF Export Information dialog displays after you have selected Table > Export, chosen a file name, and clicked on Export. Choose to create a block for every region in the map that contains Preserve MultiPolygon Regions multipolygons. As DXF Blocks Preserve Attribute Data ASCII or Binary DXF File Number of Decimal Places Choose to export tabular information from the database in the form of DXF attributes. Preserving Attribute Data slows down the export process significantly. Define the format of the output file. ASCII is the default. Binary files are processed much faster. Define the number of decimal places when exporting floating point numbers into an ASCII file. This button is disabled for binary files. Acceptable values for this parameter can be between 0 and 16. The default value is 6. Display the Set Coordinate Transformation dialog.
Set Transformation
140
MapInfo Reference
MapInfo objects are converted into DXF entities as follows: MapInfo object DXF Entity singlepolygon region multipolygon region circular arcs closed polyline block containing closed polylines; the block is named REGION0, REGION1, arc scaled block containing the arc; the block is named ARC0, ARC1, etc. closed polyline circle closed polyline (roundness is lost) noncircular arcs rectangle rounded rectangle circular ellipse noncircular ellipse text line scaled instance of a block containing an ellipse; the block is named ELLIPSE line underlined text is handled by prefixing a %%u code point point polyline polyline magenta, and white). All lines are converted to continuous, dashed, or dotline types. Fonts are not preserved, and all text is exported into the AutoCAD STANDARD font.
All MapInfo colors are translated to the closest primary colors in DXF (red, yellow, green, cyan, blue,
When attribute data is preserved, a block is created for every object. The blocks are named BLK0, BLK1, BLK2, etc. The attributes inside the blocks are given the same names as the field names in the database.
MapInfo Reference
141
OK Cancel
Follow the directions for Exporting A Single Table, and export the copy of the table. When there is more than one table open, the Export Table dialog displays.
142
MapInfo Reference
Expression Dialog
Expression Dialog
Use the Expression dialog to:
D
Menu Path
Access Expression through the following paths:
D D D D D D
Query > Select > Assist Table > Update Column > Assist Map > Create Thematic Map > Next > Expression (Field dropdown list) Map > Layer Control (choose a noncosmetic layer) > Choose Label > Expression (Label with dropdown list). Objects > Buffers (from column dropdown list) Browser > Pick Fields
Specifying an Expression
To specify an expression: 1. Click the Assist button. or Choose Expression from the dropdown list. The Expression dialog displays. 2. Type the expression directly into this box or choose from the dialog dropdown lists.
Expression Dialog
Type the expression directly into the box or build the expression from dialog dropdown lists. Choose a column. The column titles from the active table display. Choose an operator. Examples of operators include : +, , and, or, contains.
MapInfo Reference
143
Expression Dialog
Functions Functions, including Area, Sin, Year, have zero or more parameters and return a value. The returned value may be used in an expression, such as another function. See Functions. Enter the expression and return to the dialog you started from. Cancel the expression and removes the dialog. Choose to check the syntax of the query and tells you whether it is correct. Display appropriate Help topic.
144
MapInfo Reference
Expression Dialog
Character Strings
When typing a particular string into an expression you must enclose it in double quotes. MapInfo then treats it as a string rather than as a column name. For example, the first two strings shown below are valid string constants, while the last two strings are not. Orange New York Orange New York
Numbers
When entering specific numerical values, do not use commas, dollar signs, or any characters other than numerals, decimal points, and the minus sign for negative numbers. Use E to denote numbers in exponentiation.
Dates
Dates consist of a month, a day, and an optional year. The year is specified by two or four digits and enclosed in double quotes. If the year is not specified, the date defaults to the year set on the computer's clock. The components of a date are separated by hyphens or slashes. The following are valid data constants: 1-20-92 01/20/1992 1/20
Mathematical Operators
operator's symbol, name, example, and how the operators handles different data types. + plus A+B Date + Number > Date some number + some number > Float Number + Date > Date some integer + some integer > Integer minus A B (subtraction) A (negative) Date Number > Date Number Date > Date some integer some integer > Integer some number some number > Float * times A*B some integer *some integer > Integer some number * some number > Float / ^ divided by A/B A^B some number / some number > Float some number ^ some number > Float exponentiation
Mathematical operators are often used in creating expressions. The following chart shows the
MapInfo Reference
145
Expression Dialog
The following calculations are possible: Adding numbers to dates to yield another date Subtracting a number from a date to yield another date Subtracting a date from a date to yield a number When you add numbers to dates or subtract numbers from dates, MapInfo treats the numbers as specifying a number of days. When you add or subtract a week, you use the number 7. When you add or subtract a month, you use 30 or 31. When MapInfo subtracts a date from a date, the resulting number indicates a number of days.
String Operators
+
Strings must be enclosed in double quotes. For example: Ms. " + Last_Name
concatenation connects strings and string expressions.
When MapInfo evaluates this as part of an expression, it places Ms. " in front of each last name. The string constant (Ms. ") is in quotes. Similarly, Hello, " + world" gives you Hello, world."
Comparison Operators
Comparison operators are often used in creating expressions. The following chart shows the comparison operator symbols and a description.
+ > < equals <> not equal less than greater than >= _ greater than or equal to less than or equal to <= like _ a wildcard for a single character % like % a wildcard for multiple characters
146
MapInfo Reference
Expression Dialog
Logical Operators
And", or", and not" are logical operators. They are used to combine expressions in Select and the Where Condition clause of SQL Select. MapInfo treats these expressions as a test that it applies to each record in the table. For each test it gets a yes/no (true/false) answer. MapInfo uses the logical operators to tell it how to combine the individual yes/no answers into an overall yes/no answer: Does the current record meet the selection condition? and or
is true when both of its arguments (the expressions it joins together) are true. A record must satisfy both of these conditions to be selected. is true when either one, or both, of its arguments (the expressions it joins together) are true. A record need satisfy only one of these conditions to be selected. It is also selected when both of its conditions are satisfied. not is true when its argument (the expression it applies to) is false. A record is selected when it does not meet the stated condition.
Geographic Operators
MapInfo has several geographic operators. Use them to select objects on the basis of their spatial relationship to some other object. MapInfo has a special keyword you use with geographical operators: obj or object. This keyword tells MapInfo that it has to get values based on the graphical objects in the table rather than the tabular data. The geographic operators go between the objects being specified. Select the geographic operators from the Operators menu. The geographic operators are: Contains: Object A Contains object B if B's centroid is anywhere within A's boundary.
Contains Entire: Object A Contains Entire object B if B's boundary is entirely within A's boundary. Within: Object A is Within object B if its centroid is inside B's boundary.
Entirely Within: Object A is Entirely Within object B if A's boundary is entirely within B's boundary. Intersects: Object A Intersects object B if they have at least one point in common.
Keywords
Use the Expression dialog to formulate mathematical and alphanumeric expressions in several MapInfo dialogs. See the preceding: Menu Path. MapInfo supports the use of the keywords any", all", in" and between". These keywords must be typed into expressions.
MapInfo Reference
147
Expression Dialog
Use any" to select any item in a set of items. ABBR = any (AL, MN, TX) Any is true of any record where the state is Alabama, Minnesota, or Texas. To understand the use of all" consider this expression: ABBR <> all(AL, MN, TX) This statement says: Give me all orders where the state does not equal Alabama, Minnesota, or Texas. It selects all orders except those from Alabama, Minnesota or Texas. Consider what happens when we issue the following: ABBR <> any(AL, MN, TX) The following example shows the use of in": ABBR in(AL, MN, TX) In this case in" is equivalent to =any" and not in" is equivalent to <>all". Finally, consider these two examples which illustrate between": PRICE between 50000 and 100000 (PRICE between 50000 and 100000) or (PRICE between 150000 and 200000)
Operator Precedence
When MapInfo evaluates expressions, it needs to know which components of an expression to evaluate first. This is called precedence. By convention, certain operators are assigned different levels of precedence. Those with the highest level are evaluated first. The following table lists MapInfo's operators in the order in which they are evaluated. Operators at the same level of precedence are evaluated from left to right.
Highest Priority:
parenthesis exponentiation negation multiplication, division addition, subtraction geographic operators, comparison operators Not And
Lowest Priority:
Or
See:
The MIPro User's Guide, Appendix D, Functions, User's Guide: Chapter 9, 11, 14
148
MapInfo Reference
a field is indexed and a table is mappable and a table displays in a Map or Browser window.
Menu Path
"
Find Dialog
MapInfo Reference
149
Options
Optional
Use this option when you are trying to find an object or address whose name is not unique and is used for other objects or locations. Refine Search with Table using Boundary Name Column Mark with Symbol Choose a refining" table (the table must contain boundaries, region objects"). Choose a refining" column; the column containing the name of the boundary. Click the symbol to display the Symbol Style dialog. Choose the symbol you want and designate its point size and color. See Symbol Style Button. Display the second Find dialog that allows you to specify what data to find. Cancel the dialog options. Display appropriate Help topic.
150
MapInfo Reference
Use a match found in a Searches for a street name and address name first. Then it finds different boundary out what boundary the address is in. When address is in only one boundary, but not the one you selected in the Refine option, MapInfo locates to that boundary. Find Dialog (second dialog)
The name of the column that you specified in the first Find dialog is listed to the left of the list box (i.e. Street). When locating a street address, type # Name", such as 30 Elm St" or 1045 Templar Blvd". These conditions are specified in the Country Preferences in Geocoding Preferences. First column name Enter the name of the object or address for which you are searching. The name of the column specified in the first Find dialog is listed to the left of the box. If an exact match is not found, Exact match not found" displays with a list of close matches from which you can choose. If you have used the Refine option in the first dialog, a second column name is listed in the dialog. Type the name of the refining boundary. If an exact match for the object you specified cannot be found, possible matches are listed. Click Up or Down to move to other pages. To choose a specific entry from the list, click on that entry.
List box
MapInfo Reference
151
See:
Find Selection Command
152
MapInfo Reference
a Browser window is active and at least one row is selected. or a Map window is active and at least one object is selected.
Menu Path
"
If one or more objects are currently selected: Find Selection updates all windows so that the selected item(s) appear in Browser and Map windows. If one object is selected: All browsers display the selected record at the top of the browser, and any map containing the object displays the selected item. Use Map > View Entire Layer > Selection to display all selected items at once.
See:
Find Command Select Command SQL Select Command
MapInfo Reference
153
create frames in a layout. Each frame can display a map, graph, browser, map legend, graph legend, Info window, statistics window, message window, or can be an empty frame.
a layout is active.
Menu Path
"
154
MapInfo Reference
Scale on Paper:
OK Cancel Help
For most types of objects, the frame may appear to be smaller than the area you outlined. However, the border surrounds a predetermined area. For example, for a frame containing a Statistics window, height is determined by the font size. In all cases, the upper left corner of the border is at the upper left corner of the outlined area.
MapInfo Reference
155
156
MapInfo Reference
Use the Select tool and doubleclick the object. The Frame Object dialog displays.
See:
New Layout WIndow Command User's Guide: Chapter 17
MapInfo Reference
157
Functions
Functions
Use Functions to:
D
create expressions.
Using Functions
An expression can include one or more function calls. In the following table, num is any numeric expression (e.g. 5), str is any string expression (e.g. km"), and obj is any object expression (e.g. States.obj represents the object column" in the States table).
Math Functions
Abs( num ) Cos( num ) Int( num ) Maximum( num , num ) Minimum( num , num ) Round( num1, num2 ) Sin( num ) Tan( num ) Returns the absolute value of a number. Returns the cosine of a number; num is in radians. Returns the integer (whole number) portion of a number. Returns the larger of two numbers. Returns the smaller of two numbers. Returns a number (num1), rounded off to the nearest value of num2 (e.g. if num2 is ten, then num1 is rounded to the nearest ten). Returns the sine of a number; num is in radians. Returns the tangent of a number; num is in radians.
Date Functions
CurDate( ) Day( date ) Month( date ) Weekday( date ) Year( date ) Returns the current date. Returns the dayofmonth (1 31) portion of the date. Returns the month (1 12) portion of the date. Returns the dayofweek (1 7) portion of the date; 1 represents Sunday. Returns the year portion (e.g. 1994) of the date.
String Functions
Chr$( num ) DeformatNumber$( str ) Returns a character that corresponds to a character code (e.g. Chr$(65) returns the string A"). Reverses the effect of the FormatNumber$ function, returning a string that does not include thousands separators.
158
MapInfo Reference
Functions
Format$( num , str ) FormatNumber$( num ) Returns a string representing a formatted number. Example:Format$( 12345.678, "$,#.##") returns $12,345.68". Returns a string representing a formatted number. This function is simpler to use than Format$, but it gives you less control over formatting (e.g. you always get thousands separators). Searches the string str1 starting at character position num, and looks for an occurrence of the string str2. Returns the position where str2 was found, or zero if not found. To start search at beginning, use a num value of one (1). Returns a lowercase version of the string str. Returns the first num characters of the string str. Returns the number of characters in a string. Trims any spaces from the start of str and returns result. Returns a portion of the string str starting at character position num1 and extending for num2 characters. Returns a string with proper capitalization (first letter of each word capitalized). Returns the last num characters of the string str. Trims any spaces from the end of str and returns result. Returns a string approximation of an expression. Returns an uppercase (all capitalized) version of str. Returns the numeric value of the string; for example, Val("18") returns the number 18. The string that you pass should not have formatting, such as thousands separators; to remove formatting, call DeformatNumber$.
LCase$( str ) Left$( str , num ) Len( str ) LTrim$( str ) Mid$( str, num1, num2 ) Proper$( str ) Right$( str , num ) RTrim$( str ) Str$( expr ) UCase$( str ) Val( str )
Distance( num_x , num_y , num_x2 Returns the distance between two locations. The first two , num_y2 , str ) parameters specify the x and y value of the start location; the next two parameters specify the x and y value of the end location; the str parameter is a distance unit name, such as mi" or km". Perimeter( obj , str ) Returns the perimeter of the object. The str value specifies a distance unit name, such as mi" or km". Only region, ellipse, and rectangle objects have nonzero perimeters.
MapInfo Reference
159
Functions
Centroid( obj ) CreateCircle( num_x, num_y, num_radius ) CreateLine( num_x , num_y , num_x2 , num_y2 ) CreatePoint( num_x , num_y )
Each of these functions returns a graphical object. If you type an Update command into the MapBasic window, you can use these functions to create objects for every row in your table. For example, if your table contains x1, y1, x2, and y2 columns, the following command creates a line object for every row in your table: Update tablename Set Obj = CreateLine(x1, y1, x2, y2) Caution: This Update command redefines every graphical object in your table. You may want to copy your table, and practice on a copy.
160
MapInfo Reference
assign point objects to rows in a table. Data in the record (i.e. street address, ZIP Code, county, state) is used to match against a map (i.e. street map, ZIP Code map, country map, state map) to determine where the point for that record should be located.
at least two tables are open (the table you are geocoding against and the table you are geocoding) and the table that you are geocoding against is mappable (graphic objects attached to records) and has an indexed field and the table is not readonly.
Menu Path
"
Geocoding
To geocode a table: 1. 2. Open at least one mappable table. This table serves as the reference data in the geocoding operation (a street map with addresses indexed). Index this reference table on the field you use for geocoding. There are options in File > New Table and Table > Maintenance > Table Structure that allow you to index the table and make it mappable. 3. 4. Open the table for which points will be created. It must be a different table than the reference table. Choose Table > Geocode. The Geocode dialog displays.
MapInfo Reference
161
Choose the table to be geocoded. Choose the column containing the location information (addresses, county names, ZIP Codes, etc.) that is the basis for the geocoding. Choose a column from the target table that refines the geocoding to the relevant area (e.g., counties within a certain state, streets in a certain municipality, etc.). It is not necessary to include a boundary column when geocoding. Once this option functions in conjunction with the option to Refine Search With Table, you cannot pick it until you have picked a refining table. See the following: Refining the Geocoding Search. Choose the table that is the source of the geographic information, us_zips, sf_strts, etc. (reference table). Choose the column containing the name of the objects.
boundary column
Search table For objects in column Optional Refine search with table Using boundary name column
Choose a table containing region objects, Zip Codes, counties etc. See the following: Refining the Geocoding Search. Choose the refining column.
Mode
Automatic Interactive Geocode without any intervention. See the following: Geocoding In Automatic Mode. Intervene to have items appropriately coded. You should first geocode a table in Automatic mode and then go though it again in Interactive mode. See the following: Geocoding In Interactive Mode.
162
MapInfo Reference
OK Cancel Options
MapInfo Reference
163
When an exact match cannot be found Try substitutions from MAPINFOW.ABB" Use the closest address number Make substitutions from the abbreviation file. You can make several kinds of additions to this file to deal with various kinds of geocoding problems. Match an address number to the nearest address range in those cases where there is no range for the address, either because the address falls in a gap or is beyond the range. Use a different boundary to refine geocoding. MapInfo searches for a street name and address name first. Then it finds out what boundary the address is in. When it is in only one but not the one, you chose in the Refine option, MapInfo geocodes to that boundary. When it is in more than one boundary, but none of them are the ones you selected, MapInfo will not geocode the record. Accept dialog options. Cancel dialog options. Display appropriate Help topic.
OK Cancel Help
164
MapInfo Reference
Automatic geocoding displays addresses while geocoding. You can click cancel to interrupt processing. When processing is interrupted, MapInfo didn't finish geocoding all records but you can still display the points that are geocoded. If you let MapInfo finish the process, you can click OK when it is done. When MapInfo finishes geocoding, the results are displayed in a summary dialog. When there are ungeocoded records, you need to geocode the remaining records interactively.
List box
Up/Down
MapInfo Reference
165
Override the match suggested by MapInfo and continue geocoding. Assigns the highlighted object and continues geocoding. Cancels Geocoding. Display appropriate Help topic.
Click a value in the list box (for example, ADELE CT"), and click OK to match the target table's field value (ADELLE CT." ) Note the two Ls.
This does not change the record in the table; it is used only to find a match. To leave a record ungeocoded: click Ignore. To cancel geocoding: click Cancel. Use the Up and Down buttons to move in the list of source addresses.
See:
The MIPro User's Guide, Appendix B Create Points Command User's Guide: Chapter 7
166
MapInfo Reference
display the Object Attribute dialog for a selected object in a map and layout. Use the Object Attribute dialog to view and change geographic and graphic attributes.
Menu Path
"
See:
New Map Window Command New Layout Window Command
MapInfo Reference
167
access the Grabber tool. Use the Grabber tool to reposition a map or layout within its window.
Menu Path
"
See:
Change View Button/Command User's Guide: Chapter 4
168
MapInfo Reference
Menu Path
"
Choose Graph > Graph Type. The Graph Type dialog displays.
Graph Title
Type the title. You can leave MapInfo's default title: Graph of SOME_TABLE". Click on the Text Style button (Aa) to display the Text Style dialog. Use this dialog to choose a font, font size, font color, and background color for the graph's title. You can also choose bold, italic or underline for the title. See Text Style Button.
Graph Type Area Bar Area graphs represent quantities as the size of an area on the graph. See the following: Area Graph. Use Bar graphs to compare a relatively small number of discrete items. See the following: Bar Graph.
MapInfo Reference
169
Places graph areas, lines, or bars on top of each other rather than side by side. Sets the bars representing different quantities on a bar graph to overlap. Extend from the top of the highest series in an area, line, or XY graph to the horizontal axis. Rotates the graph 90 degrees so that, for example, the bars in a bar chart are horizontal rather than vertical. Causes the graphic objects in area or bar charts to be represented as threedimensional. When you are creating a bar graph with information from more than one table column, control how far each bar overlaps the others in a group by entering a number in the Overlap % box. Enter 0 and the bars will not overlap. Enter 100 and the bars overlap completely when overlap is turned on. When you are creating a bar graph, control the space between the bars, which in turn affects the thickness of the bars, by setting the Bar Gutter %. When you enter 0 in the box, there is no space and the bars appear adjacent. When you enter 90, the bars are thin and have large spaces between them. Enter any number between 0 and 99. When you are creating a pie graph, you can set the starting pie angle. A pie graph starts with the first item in the corresponding Table. You can adjust the orientation of the starting pie angle in degrees clockwise. Zero degrees (the default) starts the first wedge at a 12 o'clock position going toward a 1 o'clock position. Using 90 degrees starts the first wedge at a 3 o'clock position going toward 4 o'clock. Set the pie angle from 0 to 360 degrees. Cancel the current dialog. The graph remains unchanged. Modify the graph to reflect the dialog settings.
Bar Gutter %
Cancel OK
170
MapInfo Reference
Area Graph
Area graphs represent quantities as the size of an area on the graph. This type of graph is similar to a line graph, with the area between the line and the label axis filled. When you choose the Stacked option, MapInfo stacks one data series above the other, so that the shaded areas are proportional to data values. This is the usual way in which area graphs are done.
Bar Graph
Use Bar graphs to compare a relatively small number of discrete items. Quantities are represented by the length of the bar. MapInfo allows you to graph up to four variables in a single bar graph. MapInfo positions the columns for the variables sidebyside unless you choose the Stacked option. When you choose the Stacked option, MapInfo stacks the bars for each variable one atop the other.
MapInfo Reference
171
Line Graph
Line graphs plot data points at equal intervals along the label axis, connecting the points with a line. MapInfo allows you to plot up to four different variables at a time. MapInfo automatically uses a different colored point for each variable. When you want to set these colors, use the Series option on the Graph menu.
Pie Graph
Pie graphs show the relative proportions of items, with quantities represented by the area of the pie wedge. In general, you should only use a pie graph if your data values add up to the total of some quantity. For example, if you are graphing the sales in different territories, you should use a pie graph only if you are graphing sales for all your territories. That way the size of a territory's wedge accurately represents its contribution to the total sales effort. When you are only graphing the sales of five (out of 13) territories, then you should use a bar graph. The bar graph allows you to compare the sales of those five territories, but doesn't imply that they represent the entire sales effort, as a pie graph would.
172
MapInfo Reference
X-Y Graph
XY graphs are also known as scatter plots. These graphs plot points according to their X and Y coordinates without any connecting line. When you want to examine the correlation between variables, use an XY graph. When you specify the columns to be graphed (in Window > New Graph Window), the first column is graphed along the X (label) axis, while the other column is graphed along the Y (value) axis.
Customizing Graphs
You can create a variety of different graphs by using various customizing options. Here are some of the possibilities:
3D Bar Chart
MapInfo Reference
173
Area Graph
3D Area Graph
See:
New Graph Window Command
174
MapInfo Reference
Hide MapBasic Window Button Tools Toolbar Hide MapBasic Window Command Options Menu
Use Hide MapBasic Window button and command to:
D
Menu Path
"
Options > Hide MapBasic Window. Tools Toolbar >Hide MapBasic Window button.
"
Choose Options > Hide MapBasic. The MapBasic Window displays or disappears.
See:
Show MapBasic Window Button/Command
MapInfo Reference
175
Hide Statistics Window Button Main Toolbar Hide Statistics Window Command Options Menu
Use Hide Statistics Window button and command to:
D
Menu Path
"
"
Choose Options > Hide Statistics Window. The Statistics window disappears from your screen.
Close the Statistics window by choosing Options > Hide Statistics or clicking on the window's Application Control icon.
See:
Calculate Statistics Command Show Statistics Window Button/Command
176
MapInfo Reference
a StatusBar displays.
Menu Path
"
See:
Show StatusBar Command StatusBar
MapInfo Reference
177
Menu Path
"
Hiding a Legend
To hide a legend: 1. 2. Choose Options. Choose Hide Legend Window. The legend window disappears from the screen.
Close the Legend window by clicking on the window's Application Control icon.
See:
Create Thematic Map Command Legend Button New Graph Window Command User's Guide: Chapter 10
178
MapInfo Reference
Menu Path
"
MIF: (MapInfo Interchange Format): MapInfo's data interchange format. DXF: The graphic/data interchange format for AutoCAD and other CAD packages. MBI: (MapInfo Boundary Interchange Format): An ASCII file for MapInfo DOS boundary files. MMI: (MapInfo Map Interchange Format): An interchange format for MapInfo DOS street maps. IMG: A file format for MapInfo for DOS image files.
MapInfo imports graphics and textual information from MapInfo Interchange Format, DXF, MBI, and MMI files. MapInfo imports only graphics from IMG. MapInfo for DOS can produce ASCII files in MBI and MMI format. MBI format is used for importing and exporting boundaries (regions), while MMI format is used for importing street maps (lines). Image files are binary files containing various types of graphic objects. MapInfo can import these files directly.
MapInfo Reference
179
Specify the file path. Choose the file you want to import. Choose the format of the file you are importing: MIF, DXF, MBI, MMI, or IMG. See the following: MIF Import Information and IMG MapInfo for DOS Files. If you choose DXF, the DXF Import Information dialog displays. See the following: Importing DXF Files, the DXF File Format, and Using the DXF Dialog. Display the Import into Table dialog. See the following: Import into Table Dialog. Cancel the dialog options. Display appropriate Help topic.
Import into Table Dialog Save in: File Name: Specify the file path. Displays the name of the imported file with a .tab extension. You can change the file name. MapInfo supports long filenames. This allows you to use up to 260 characters when naming your file. In addition, any one name within your directory path can be up to 255 characters. You can insert spaces in the filename and long filenames can have more than one ." in them. When using more than one .", you must remember to type in the file extension in order to save the file correctly. For example you can name a table as follows: \\soup\for.lunch.today.and.everyday.tab Save as Type: Choose MapInfo, MapInfo 2.x (save to MapInfo 2.0 or 2.1 format) or dBase DBF. When saving to dBase, the data file is saved to both DBF and MapInfo format. If you want only a DBF file, use the Export command (Table > Export).
180
MapInfo Reference
MAP2MIF creates a view table, just like a StreetInfo table. A StreetInfo table contains one table with street names and another table with address ranges for each individual street segment. This occupies less disk space than the file created by MMI import because the name is not duplicated for every segment. MAP2MIF has better support for line styles and colors. MAP2MIF allows you to specify an abbreviation file to use.
D D
Why should you use BDY2MIF, followed by MapInfo Interchange format, rather than MBI import?
D
BDY2MIF allows you to specify whether or not to close boundaries. When you use lineshaped boundaries in the DOS boundary file, you do not want those boundaries turned into polygons when they are imported. MBI import automatically closes those boundaries. BDY2MIF gives you the option of leaving those boundaries open. BDY2MIF has better support for line styles, fill patterns, and colors.
MapInfo Reference
181
182
MapInfo Reference
Set Transformation
MapInfo Reference
183
OK Cancel
Creating Separate Tables If the Create separate tables checkbox is checked, the OK button is replaced by the Next>> button, and the following dialog appears, when the Next>> button is pressed: Insert new dialog Overwrite existing tables Use File Name As Prefix DXF Layer Name When checked, newly created tables can overwrite existing tables without a warning message. This feature is convenient for importing a DXF file into a large number of MapInfo tables. When checked, several first characters from the DXF file name are used as first characters in the table name. The number of characters is specified by the pop-down menu to the right. Displays a list of all selected layers and suggested names for corresponding tables. Only one layer can be selected at a time. Name of the table for the layer 0 is derived from up to seven first characters of the DXF file name, and a 0 appended at the end. Suggested names of all tables coincide with the up to eight first characters of the DXF layer name. More than one layer can be imported into the same table. Serves the same function as that on the previous dialog, but now it is applied only to a currently selected layer. Its initial value is that of the corresponding value on the previous dialog (see above). Serves the same function as that on the previous dialog, but now it is applied only to individual layers. Its initial value is that of the corresponding value on the previous dialog (see above). Starts the Save file dialog for the name of a table to import to a selected layer.
184
MapInfo Reference
Click the Projection button (in the DXF Import Information dialog). The Choose Projection dialog displays. See Projection Button
Autoflip If you have chosen a non-Earth coordinate system in the Projection dialog, the Flipping Geographic Data dialog displays. If Autoflip is activated, the x coordinates of the imported entities are flipped around the center line of the Map window.
MapInfo Reference
185
Click the Set Transformation button in the DXF Information dialog. The Set Coordinate Transformation dialog displays.
This dialog displays a pair of points, AutoCAD coordinates on the left and MapInfo coordinates on the right. When setting a transformation, you are choosing the two corresponding MapInfo longitudelatitude points to the two DXF points. When you use the extents of the DXF drawing (the default), you must enter the extents of the drawing in longitudelatitude coordinates for the MapInfo points. When the DXF file contains a header section, the two DXF points are the lowerleft and upperright corners of the drawing (the extents). The default MapInfo points are the same as the DXF points. This default transformation translates the map coordinates into XY directly. For example, a point at 72.5 degrees west, 42.7 degrees north is translated into (72.5, 42.7). It is not necessary to use extents. All you need are any two points of the drawing (preferably far apart for greater accuracy) in both coordinate systems: the DXF coordinate system, and longitudelatitude.
186
MapInfo Reference
MapInfo Reference
187
Object
line
point
ADDRESS
0
200 0
BUILDING_NAME
STREETNAME
Broadway" Broadway" Broadway"
polygon
It is better to put objects of different types in different layers; the difficulty is determining which layer names correspond to which type of objects.
See: The MIPro User's Guide, Appendices J, C. Export Command, Open Table Command 188
MapInfo Reference
access the Info tool. Use the Info tool to view tabular data associated with map objects.
Menu Path
"
Info Tool Window for a Single Object When you click on a map object with the Info tool, an Info Tool window displays, showing all the data associated with that map object. Also listed is the table in which the information is stored. The number of items that display depends on the Zoom level. If multiple, overlapping objects are selected, the Info Tool window for multiple objects displays.
MapInfo Reference
189
See:
Label Button User's Guide: Chapter 5
190
MapInfo Reference
Infotips
Infotips
Use InfoTips to:
D
the Select, Label or Info Tool cursor hovers over a map object.
Using InfoTips
When the cursor hovers over an object, InfoTips display the value of an object's label expression. The object selected for an InfoTip is in the topmost selectable layer. The label expression can be defined in the Layer Control dialog; InfoTips can be multiline. InfoTips are active by default. To change the default status of InfoTips: 1. 2. Choose Options > Preferences > Map Window. Clear Show InfoTips".
MapInfo Reference
191
create the appearance of intersections on your maps for overlapping intersections and lines.
Menu Path
"
To use interleaved lines: 1. 2. Select Options > Line Style. The Line Style dialog box displays. If you select a line style that has `multiple passes', the Interleaved check box is enabled. Check this box to use the interleave feature.
Note: The interleaved option is not enabled for solid lines. The interleaved option is not activated for borders. If you apply the interleaved option in MapInfo Professional 4.5/5.0 and use the map in a previous version, the line will display; the interleaving will not. Only lines of the same style and color will be interleaved. Lines of the same style and color, but different width will be interleaved. Interleaving only works for lines within a single layer. If two lines from different layers cross, they are not interleaved.
See:
Line Style
192
MapInfo Reference
access the Specify Join dialog. Use this dialog to specify a process when an autojoin cannot be made. You also can override default field choices.
different tables have been chosen from the Update Column dialog Table to Update and Get Value from Table dropdown lists.
Menu Path
D
In this case, the most likely descriptive field contains the state name or an abbreviation for the state name. The STATES table might have a field called State that contains the abbreviation of the state name, and the SALES table might have a field called State, which contains the state abbreviation. You could match the entries in these two fields so that information in the SALES State field is matched to the record having the same entry in the State field of the STATE table. For example, NY (sales) would be matched to NY (state), or PA (sales) would be matched to PA (state). However, if both tables contain graphic information, you could specify a graphic match. For example, if you are a conservation official and you want to shade a map of COUNTIES according to the number of FIRES that occurred in the last year and the FIRES database has been geocoded. During a geographic join, the coordinates of each fire location would specify the county where the fire had occurred and would allow each fire record to be associated with the appropriate county. If two tables do not share a common column, you may still be able to join the tables according to the order of the rows. If you know that the first row of one table corresponds to the first row of the other table, and that the nth row of the first table corresponds to the nth row of the second table, you can join the two tables by referring to a special column named RowID.
MapInfo Reference
193
The two tables' tabular data is compared. When matching data values are found, MapInfo assumes that it has found matching fields and uses those as the basis of the join. If a match is not produced, then: A graphic/geographic match is attempted. MapInfo attempts either to locate source objects within target objects or to locate target objects within source objects. If a match is not produced, then: MapInfo reports that autojoin failed. Click the Join button and use the Specify Join dialog to specify how to make the join.
194
MapInfo Reference
Join where where from table matches from table where object from table Object from table Specify a join based on descriptive data. Specify the match field in the source table. Specify the match field in the target table. Specify a join based on geographic data. Choose either contains or is within, depending on the geographic relationship between objects in the two tables. Polygons contain" points, lines, or other polygons. Points, lines, and small polygons are within" other (larger) polygons. Accept the dialog options. Cancel the join. Display appropriate Help topic.
OK Cancel Help
MapInfo Reference
195
See:
Update Column Command
196
MapInfo Reference
Menu Path
"
Choose Graph > The Label Axis. The Label Axis Settings dialog displays.
MapInfo Reference
197
Axis Title
Major Gridline
Minor Gridline
Axis Line
OK Cancel Help
See:
New Graph Window Command Value Axis Command
198
MapInfo Reference
access the the Label tool. Use the Label tool to label objects with information from the related database.
D
Editing a Label
Edit an individual label by accessing the Label Style dialog. The designations made in the Label Style dialog apply only to the single label being entered or edited; the designations made in the Label Options dialog apply to all labels in the specified layer. When closing a table containing edited labels, you will be prompted to save or discard the labels. If you choose to save the labels, the Save workspace objects dialog displays.
MapInfo Reference
199
Click to display the Text Style dialog. See Text Style Dialog. Click an icon to select the label position relative to the label anchor. The diamond character represents the label anchor; the rectangle represents the label. The border of the selected box is bold. Select a line type, or no line type to attach the label to the anchor point. Specify the angle at which the label should be rotated about the anchor point. Specify the number of points, a measurement of text size, the label should be placed from the anchor point. Enter text (to 255 characters) to be used as the label. Create label using the above specifications. Cancel dialog options. Access Help topic.
200
MapInfo Reference
Font Text Color Background None Halo Box Effects Color Bold Italic Underline All Caps Shadow Expanded Sample OK Cancel
Choose a font from the font dropdown list. Choose a point size from the point size dropdown list. Display the color palette; choose a text color. Do not halo or box the text. Display the text outlined in a designated color. Surround the text with a box in a designated color. Display the color palette; select a color to halo or box the text. Check to display text in boldface. Check to display text in italic. Check to display text underlined. Check to display text in all upper case letters. Check to display a grey drop" shadow under the text. Check to insert double spaces between each letter in the text. Displays sample text using the selected options. Accept dialog options. Cancel dialog options.
MapInfo Reference
201
Removing a Label
To remove one or more labels: 1. 2. Use the Select tool to select the label or labels you want to remove. Press <DELETE> or choose Edit > Clear to remove the selected labels.
Moving Labels
To move a label: 1. 2. Use the Select tool to choose the label(s) to be moved. Drag the label to the new position and release.
Rotating a Label
To rotate a label: 1. 2. Use the Select tool to choose the label to be rotated. Drag the label's rotation handle, which displays at the lower right of the label, to the desired location and release.
See:
User's Guide: Chapter 12
202
MapInfo Reference
Layer Control Button Main Toolbar Layer Control Command Map Menu
Use the Layer Control Command and Button to:
D
change display of map layers in the active window. determine which layers are displayed, editable, selectable, zoom layered. change the order of map layers. add or remove one or more layers from the active map. control labels. alter a thematic map.
Menu Path
"
"
MapInfo Reference
203
The Layer Control dialog displays the list of layers in the current map window and indicates whether each is displayed, editable, selectable or labeled automatically. Layers include data tables, raster images, thematic maps and the cosmetic layer. Layers are stacked in a map window. The order of layers in the Layer Control dialog is the order of the layers in the map window. For example, when boundary layers are placed below point layers, the points remain visible. The cosmetic layer is always the topmost layer. Thematic layer names display indented and above their corresponding data layers. The grid thematic layer is independent of its base layer and can be re-or dered in the map window as a separate layer. To work with a layer, choose it by clicking on it. Control its settings by checking or clearing the appropriate box to make the layer display, editable, selectable, or label automatically. Each layer attribute has an accompanying ToolTip. ToolTips display as the mouse tracks over a button. The text continues to display until an action is performed. In addition to the check boxes, you can control the display, labeling, or thematic map characteristics of a layer through the Display, Label, and Thematic button options. You can also add or remove layers and change the order of layers with the remaining options in Layer Control.
"
Choose Main Toolbar > Layer Control button The Layer Control dialog displays:
204
MapInfo Reference
Layer visible
Displays the layers in the current Map window. Indicates if the layer is displayed. Check the box under this icon that corresponds to the layer, or layers, you want to display. The check box is always enabled and all layers, except the Cosmetic layer, can have their display turned on or off. The Cosmetic layer's display is always on. Note: When changing the display of a layer that has thematic layers created from it, you will be prompted to change the display status of the thematic layers. Indicates if the layer is editable. Check the box under this icon that corresponds to the layer you want to make editable. Only one layer can be editable. Objects in an editable layer can be edited (moved, colored, deleted, reshaped, etc.). Objects are also drawn or pasted to the editable layer. Neither thematic nor raster layers can be edited. A layer must be displayed to be made editable. If the layer is a StreetInfo layer, you cannot check editable. See the User's Guide for an explanation of SteetInfo editing.
Editable
MapInfo Reference
205
Automatic Labeling
Display Label
Thematic
Layers Add Remove Reorder Up Down OK Cancel Move one or more layers up. Move one or more layers down. Accept the dialog options; redraw the map(s) if necessary. Cancel the dialog options. Add one or more layers to the map. Choose from the displayed listbox of open tables. Remove one or more layers from the map.
206
MapInfo Reference
Objects created in the cosmetic layer are not saved when you close a map window. You must save them to an existing or new table. To save objects created in the cosmetic layer: 1. 2. Choose Map > Save Cosmetic Objects. Specify whether you want to save them to an existing table or a new table.
MapInfo Reference
207
Display Mode Style Override Check to override the default style of a layer. The option is grayed if the selected layer is a layer of thematic shading, a raster image layer, or the cosmetic layer. Enabled when Style Override option is checked. Displays the button appropriate to the object type contained in the selected layer; Region; Line; Symbol; Text. Click to display the corresponding dialog. See: Symbol Style, Region Style, Line Style and Text Style Buttons.
Style Button
208
MapInfo Reference
OK Cancel
Labeling
A map can be labeled automatically or interactively. Maps display unlabeled. To label a map automatically, check the Auto Label checkbox, in the column designated by the Label icon, in the Layer Control dialog. The map will be labeled using information from the table associated with that layer. To label a map interactively use the Label tool. The Label tool allows you to place individual labels on a map, either from the designated table column, or using text you enter. The Label Options, Label Style and Text Style dialogs allow extensive label customization. Labels are part of the map layer in which they reside, and are always selectable and editable. Label location is based on the object's centroid, and user designated specifications, including anchor point and offset. These specifications are set in the Label Options dialog. Label size remains constant; it does not change with either zoom or scale changes.
MapInfo Reference
209
Automatic Labeling
To automatically label a layer in a map using information from that layer: 1. 2. Choose Map > Layer Control. Choose the layer you want to label; check the Auto Label checkbox. If the checkmark in the Auto Label checkbox is black, either zoom labeling is not in effect, or the settings allow display at the current zoom. If it is red, then zoom labeling is in effect specifying that labels display only within a certain zoom range, and the layer is zoomed outside of the designated zoom range. 3. Choose OK. The map redisplays with labels from the table column designated in the Label with section of the Label Options dialog. Only one column per table displays at one time. Access the Label Options dialog to change the visibility, content, font, text color, line style, and position of labels.
210
MapInfo Reference
Label with:
Choose the column that you want reflected in the label or choose Expression to create a customized label. Expression displays the Expression dialog. See the following: Creating Map Label Expressions. See Functions. Check to allow display of labels. Check to prevent display of labels. Check to activate zoom labeling. Zoom labeling allows you to set the minimum and maximum distances at which the labels will be visible. For example, if you only want to see particular labels on a map when you are closer than 3 miles, set the minimum zoom to 0 and the maximum to 3. Label size does not change with zoom or scale changes. Specify the minimum distance at which labels are visible. Specify the maximum distance at which labels are visible.
MapInfo Reference
211
Allow overlapping text Allow more than one object with the same text to be displayed.
Arrow
212
MapInfo Reference
Font
Choose a font from the font dropdown list. Choose a point size from the point size dropdown list. The label point size remains at the specified size regardless of the zoom level.
Text Color Background None Halo Box Color Effects Bold Italic Underline All Caps Shadow Expanded Sample OK Cancel Help
Display the color palette; choose a text color. Do not halo or box the text. Display the text outlined in a designated color. Surround the text with a box in a designated color. Display the color palette; select a color to halo or box the text. Check to display text in boldface. Check to display text in italic. Check to display text underlined. Check to display text in all upper case letters. Check to display a grey drop" shadow under the text. Check to insert double spaces between each letter in the text. Displays sample text using the selected options. Accept dialog options. Cancel dialog options. Display appropriate Help topic.
MapInfo Reference
213
Editing a Label
Edit an individual label by accessing the Label Style dialog. The designations made in the Label Style dialog apply only to the single label being entered or edited; the designations made in the Label Options dialog apply to all labels in the specified layer. When closing a table containing edited labels, you will be prompted to save or discard the labels. If you choose to save the labels, the Save workspace objects dialog displays. To edit an individual label: 1. 2. 3. Doubleclick on the label with the Select tool, or select the label and press F7. The Label Style dialog displays. Make the appropriate changes. Choose OK.
Label Style Dialog Font Anchor Point Click to display the Text Style dialog. See Text Style Dialog. Click an icon to select the label position relative to the label anchor. The diamond character represents the label anchor; the rectangle represents the label. The border of the selected box is bold. Select a line type, or no line type to attach the label to the anchor point. Specify the angle at which the label should be rotated about the anchor point.
214
MapInfo Reference
Removing a Label
To remove one or more labels: 1. 2. Use the Select tool to select the label or labels you want to remove. Press <DELETE> or choose Edit > Clear to remove the selected labels.
To remove all custom labels: 1. Choose Map > Clear Custom Labels The prompt Clear all custom labels and revert to defaults displays. 2. Choose Discard to clear all custom labels.
Moving Labels
To move a label: 1. 2. Use the Select tool to choose the label(s) to be moved. Drag the label to the new position and release.
Rotating a Label
To rotate a label: 1. 2. Use the Select tool to choose the label to be rotated. Drag the label's rotation handle, which displays at the lower right of the label, to the desired location and release.
MapInfo Reference
215
The following label is produced: Cambria: 47,934 Expressions 5 and 6 return the lowest address number and the highest address number, respectively, for street segments in a StreetInfo table. Expression 5 Expression 6 Minimum(FromLeft, FromRight) Maximum(ToLeft, ToRight)
216
MapInfo Reference
The availability of certain dialogs depends on the type of thematic map you are altering.
MapInfo Reference
217
Select one or more layers and drag it up or down. Choose one or more layers and click the Up button. The selected layer(s) will display above its current position. Choose one or more layers and click the Down button. The selected layer(s) will display below its current position.
218
MapInfo Reference
Pie and Bar charts and Graduated Symbol thematic layers hold the highest draw order ranking. They will always be the top thematic layer. Dot Density holds the next draw order ranking. These themes will always fall below Pie and Bar charts and Graduated Symbol themes. Ranged and Individual Value thematic layers hold the lowest draw order ranking. They will always be below Pie and Bar charts, Graduated Symbol, and Dot Density thematic layers. Grid themes rank lowest; they are placed below the layer from which they are created.
6.
MapInfo Reference
219
The Cosmetic layer cannot be removed. You cannot remove all of the map layers. There must always be at least one main layer displaying in the Layer list. Selecting all the map layers disables the Remove button.
The Cosmetic layer's display status cannot be changed. To change the Selectable attribute for multiple layers: 1. 2. 3. Hold down the shift key and select a contiguous block of layers, or, to select multiple layers that are out of sequence, hold down the control key and select individual layers. Select an enabled check box under the Selectable icon (represented by an arrow) for one of the layers. All layers will be checked or, if the check box was already checked, the attribute for all the selected layers will be cleared.
220
MapInfo Reference
The Cosmetic layer's Zoomlayer status cannot be changed. Note: MapInfo only allows one editable layer in a map.
See:
Functions Label Button New Map Window Command User's Guide: Chapter 6
MapInfo Reference
221
display the theme legend window associated with thematic maps or graphs.
Menu Path
"
Displaying a Legend
"
Choose Main Toolbar > Legend button. The theme legend window associated with the thematic map or graph legend displays.
Use the Legend Manager tool to embed the theme legend in a mapper.
See:
Show/Hide Theme Legend Window Tool Manager
222
MapInfo Reference
access the Line tool. Use the Line tool to draw straight lines.
Menu Path
D
Press <SHIFT> while drawing a line to constrain the line to horizontal, vertical, or 45degree diagonal.
MapInfo Reference
223
Displays the current X and Y coordinate values. To change the Start Point, enter new values. Displays the current X and Y coordinate values. To change the End Point, enter new values. Displays the length of the line. To change the line length,enter a new value. Display the Line Style dialog. Choose the style, color and width of the line. See Line Style Button. Accept the dialog options. Cancel the dialog options. Display appropriate Help topic.
See:
User's Guide: Chapter 8
224
MapInfo Reference
Line Style Button Drawing Toolbar Line Style Command Options Menu
Use the Line Style Button and Command to:
D
specify line attributes (type, color and width) for new or selected lines.
Menu Path
"
"
MapInfo Reference
225
Choose a type of line from the dropdown list. Display the color palette, and choose a color for the symbol. Choose the line width from the dropdown list. Displays a sample of the line. Cancel the operation. Apply the selections. Sets style for new lines and changes the style of any selected lines. Display appropriate Help topic.
See:
User's Guide: Chapter 13
226
MapInfo Reference
Line Width
Line Width
Use Line Width to:
D
line style width region style border width label lines graph lines, axis lines highlight style for selected and target lines
Menu Path
D D
Options > Line Style > Width Options > Region Style > Width
or Drawing Toolbar > Line Style button Drawing Toolbar > Region Style button Options > Preferences > Map Window > Highlight Control > Selected Objects Options > Preferences > Map Window > Highlight Control > Target Objects
D D D D
MapInfo Reference
227
Line Width
To select a line width:
"
Choose a type of line from the dropdown list. Display the color palette, and choose a color for the symbol. Pixels: Enter a number from 17, each number represents a line width in pixels. Points: Select a point size from the dropdown list, or enter a point size. Displays a sample of the line. Cancel the operation. Apply the selections. Sets style for new lines and changes the style of any selected lines.
Sample Cancel OK
A table/workspace that has line widths designated in point size cannot be opened in versions of MapInfo prior to MapInfo Professional 4.5.
See:
Line Style Button Region Style Button
228
MapInfo Reference
Main Toolbar
Main Toolbar
Use the Main Toolbar to:
D
choose tools, access dialogs, and show or hide windows. a Map, Layout or Browser window is active and the Options > Toolbar dialog is set to display the Main Toolbar.
The Main Toolbar contains tools to select objects, change the view of the map window, get information about an object and to show distances between objects. It also contains command buttons that allow you to change layer attributes and open a legend or statistics window. Change View button Access the Change View dialog to specify settings for map window width, map scale, resizing and centering. Access the Grabber tool to reposition a map or layout within its window. Access the Info tool to view the tabular data that is associated with a map object. Access the Label tool to label objects with information from the related database. Access the Layer Control dialog to specify how the various tables in a map window are layered and displayed. Access the Legend window for maps or graphs.
Grabber button
Info button
Label button
Legend button
MapInfo Reference
229
Main Toolbar
Marquee Select button Access the Marquee Select tool to select and search for map objects within a given rectangle (marquee box). Access the Boundary Select tool so you can select and search for map objects within a given region. Access the Radius Select tool so you can select and search for map objects within a circular region. Access the Ruler tool to determine the distance between two points and the length of some path. Assign selected objects to the target district during a Redistricting session. Set the target district from the map during a Redistricting session. Access the Select tool to select objects/records in a map, layout or Browser window. Also acts as the default pointer/cursor tool. Access the Statistics window so you can tally the sum and average of all numeric fields for the currently chosen objects or records. Access the Zoomin tool to obtain a closer area view of a map or layout. Access the Zoomout tool to obtain a wider area view of a map or layout. Access the Set Clip Region button to isolate a map region for display. Access the Clip Region On/Off button to redisplay the entire map. Access the Drag Map Window button to drag a MapInfo map into an OLE container application.
Ruler button
Assign Selected Objects button Set Target District from Map button Select button
Statistics button
Zoomin button
Zoomout button
230
MapInfo Reference
Main Toolbar
Autoscrolling
When you use a tool in the Map or Layout window, the window scrolls if you drag the tool outside of the window boundaries. The window will continue to scroll until you release the mouse or move the cursor back into the window. Press Esc to stop scrolling; the tool remains active. To cancel the tool, press Esc after the scrolling has stopped. Autoscrolling works with any tool that can be dragged; it does not work with single-click tools, such as the Grabber or Info tools.
See:
Toolbars Command User's Guide: Chapter 4
MapInfo Reference
231
at least one linked table is open and there are no pending edits against it.
Menu Path
D
Choose Table > Maintenance > Make Table Mappable. The Select ODBC Table displays for you to select an ODBC table to make mappable.
232
MapInfo Reference
OK Cancel
Once you have selected an ODBC Table to make mappable, the following dialog appears: Make Table Mappable Dialog
MapInfo Reference
233
Index Column
See:
Save Table Command, Unlink ODBC Table Command, Open ODBC Table Command
234
MapInfo Reference
Menu Path
"
MapInfo Reference
235
Menu Path
D
236
MapInfo Reference
either the Microsoft Internet Explorer, or Netscape (versions after 1.1) WWW browser is installed and TCP/IP networking is available through a winsock DLL.
Menu Path
D
Choose Help > MapInfo on the World Wide Web. The browser opening screen displays and brings you to the MapInfo home page.
If you have both browsers installed, and want to change the default browser, edit the WWW browser key in the Windows Registry.
MapInfo Reference
237
access the Marquee Select tool. Use the Marquee Select tool to search for and choose objects within a given rectangle.
Menu Path
D
See:
User's Guide: Chapter 8
238
MapInfo Reference
Menu Path
"
1. 2. 3.
Choose File > Open Table. Choose Raster Image from the File Format dropdown list. Choose a raster image and choose Open. The Register Raster Image dialog displays. Modify the dialog options.
4.
See:
Register Raster Image Command User's Guide: Chapter 15
MapInfo Reference
239
modify an existing thematic map. a Map window is active and at least one thematic layer is in the Map window.
Menu Path
"
choosing Map > Modify Thematic Map double clicking the appropriate legend in the Legend window clicking the Thematic button in the Layer Control dialog
240
MapInfo Reference
MapInfo Reference
241
Styles
Template Save As Displays the Save Theme to a Template dialog. Type a unique name or select an existing name and overwrite it. If you overwrite an existing template, you will be asked to confirm this action. If you have created a grid thematic map, the Grid Theme Options display: Save Inflection Values: select to store the actual values for the inflection points in the template. Save Inflection Percentage: Save the percentiles and calculate the actual values from the minimum and maximum of the data source table. Select this option to display the Merge Template dialog. This dialog displays only themes of the same type as the theme you are merging. The Merge button is enabled only when you are modifying an existing theme, not when you are creating a theme. Customize map legend; options is available for all types of thematic maps. Display appropriate Help topic. Cancel the dialog option. Modify the thematic map based on the specified changes you made.
Merge
242
MapInfo Reference
2.
See:
Create Thematic Map, Layer Control Button/Command, User's Guide: Chapter 10
MapInfo Reference
243
Menu Path
D
table name: displays in the title bar. column titles: displays at the top of the columns beneath the title bar. check box: click to select the row. StatusBar: displays how many records are in the table and which of those records are currently displayed in the Browser window.
Choose Window > New Browser Window. If only one table is open, that table displays in a Browser window.
"
If more than one table is open, the New Browser Window dialog displays. Choose a table from the Browse table dropdown list. Choose OK. The table displays in a Browser window.
A Browser Window
244
MapInfo Reference
The Browse menu option displays in the main menu bar. The Browse menu contains menu options used with Browser windows and is active whenever a Browser window is the active window.
MapInfo Reference
245
Moving a Column
Sometimes the default order of columns in a table is not the order you want for a particular session. You may want to change the default order, but not change the structure of the underlying table. To move a column: 1. 2. 3. Move the cursor over the column name. The cursor displays as a hand. Click and drag the column heading left or right. Release the mouse button; the column is moved.
Displaying a Field
Use Browse > Pick Fields to choose which fields are displayed in the active Browser window. You can also rename a column, create a new column, or edit an existing column for display in the Browser window. A column you modify or create is for display purposes only, and is not saved with the Browser window. To save a column that has been modified or created, use SQL Select or Update Columns. See Pick Fields Command.
246
MapInfo Reference
Resizing a Column
Resizing a column allows you to make it wider or narrower to accommodate text in a Browser window. To resize a column: 1. Move the cursor over a column divider in the Browser window. The cursor becomes a vertical bar with left and right arrows. 2. 3. Click and hold the mouse button. Move the mouse left or right to drag the line and make the column larger or smaller. Release the mouse button when the column is the appropriate size. Release the mouse button; the column is resized.
This resizing operation is temporary; it only affects the fields of the tables columns that are displayed in the Browser window, but does not change their width in the underlying table. Workspaces do not save resizing information.
See:
The MIPro User's Guide: Chapter 4
MapInfo Reference
247
at least one table with at least one numeric column (integer, small integer, decimal, float) is open.
Menu Path
D
Window > New Graph Window or Standard Toolbar > New Graph button
Choose Window > New Graph Window menu. The Graph Table dialog displays.
Graph Table Dialog Graph Table using columns Label with columns OK Cancel Help A Graph Window Choose a table to graph. Choose up to four columns. Choose the column with which the records are to be labeled. Display a Graph window in which the data is graphed in the default type of graph, a rotated bar graph. Cancel dialog options. Display appropriate Help topic.
248
MapInfo Reference
See:
The Mipro User's Guide: Chapter 4
MapInfo Reference
249
arrange and annotate the contents of one or more windows for printing.
Menu Path
D
When no windows are open, MapInfo creates a blank Layout. When there are windows open, MapInfo displays the New Layout Window dialog:
"
When you have made a choice, MapInfo opens and displays that Layout.
When MapInfo first opens a Layout, it sets the page size and orientation (portrait or landscape) according to the current setting for your printer. If you open the Layout with a different printer setup is different, the Layout uses the page size and orientation for that printer setup. The sizes and positions of objects in the Layout are the same, but the way the Layout is broken into pages is different.
250
MapInfo Reference
Click one of these keys when a Layout is the active window, and MapInfo changes the Layout's zoom. New Layout Window Dialog
KEY ZOOM
1 6.25 2 12.5 3 25 4 50 5 100 6 200 7 400 8 800
MapInfo Reference
251
Use the dialog's menu to pick the window you want to display in the Layout. MapInfo creates a Layout with the selected window displayed in a frame centered in the Layout. A Graph always has a legend. A Map has a legend when it has been thematically shaded. You can reposition the legend. Create a Layout where all of the open maps, tables, and graphs (along with a legend for the currently active map or graph) are placed in the Layout in the same positions and sizes they have on the screen. You can then reposition and resize them. When you choose this option, close all of the windows that you are not going to use before you open the Layout. Create a blank Layout. Use the Frame tool to manually place maps, graphs, and their legends into the Layout. Accept dialog options. Cancel dialog options. Display appropriate Help topic.
See:
The MIPro User's Guide: Chapter 17
252
MapInfo Reference
at least one mappable table (a table in which graphic objects are attached to the records) is open or a raster table is open.
Menu Path
"
Choose File > Open Table. Open a mappable table with the Display table in window option checked. The table is automatically displayed in a Map window. or Choose File > Open Table. Open the mappable table(s) without the Display table in window option checked. Choose Window > New Map Window. Using the Map Tables dialog, choose the table(s) for the map. See the following: Map Tables Dialog.
MapInfo Reference
253
or
D
Choose File > Open Table. Open a mappable table with the Display table in window option checked. Choose Open Table from the File menu again. Open another mappable file without the Display table in window option checked. Choose Map > Layer Control. You will see that the Map currently consists of a layer which is the first table opened and the cosmetic layer. The cosmetic layer is part of every Map and is always the top layer. Press the Add button and select the newly opened table from the dropdown list.
A Map Window
Each table becomes a separate layer in the Map. The tables in a map are listed in the Map window's title bar. The tables are listed in descending order from left to right. The table farthest to the left is the table that is the top layer in the map. The table farthest to the right is the bottom layer of the map. After you create a Map, it becomes the active window and the Map menu option appears in the menu bar. Use it to choose options when working with maps.
254
MapInfo Reference
Current zoom (the distance across the Map). This is the default setting. Map scale Cursor position in coordinates Snap Node status
Choose to display or hide the StatusBar. See Options > StatusBar. Choose what to display on the StatusBar. See Map > Change View.
the display of the current zoom, scale or cursor position in the StatusBar. The default unit of distance is miles", specified in Map > Options. the option to change the zoom, scale, and the center point of the current map view. the behavior of the map when you resize the window.
See:
The MIPro User's Guide: Chapter 4
MapInfo Reference
255
begin a redistricting session. New Redistrict creates a special table, called Districts, and displays the table in a Browser window. The Districts Browser, used in conjunction with a Map window, lets you perform redistricting. You assign map objects to a district by selecting the objects. As you select objects, MapInfo automatically calculates the net values for each district, and displays the values in the Districts Browser.
Menu Path
"
You may only have one Districts Window open at a time. If a Districts Window is currently open, choosing Window > New Redistrict Window will display a warning that a District Window already exists.
About Redistricting
Redistricting is a process of assigning map objects to groups. As you assign map objects to groups, MapInfo automatically calculates totals for each group of objects, and displays the totals in a special Browser window. This process is sometimes known as loadbalancing. Redistricting is indispensable to anyone creating sales territories. If you plan to assign the same number of salespeople to each territory, you need to make sure that each territory represents an equitable number of customers and/or leads. MapInfo's redistricting feature makes it easy to create territories and adjust the territories based on the distribution of customer data When you perform redistricting, you create a number of districts. The exact number of districts needed depends on the nature of your work. You can assign a unique name to each district; thus, if you want to work with four districts, you might call the districts NorthEast, SouthEast, NorthWest, and SouthWest. Each district appears as one row in the special Districts Browser. The Districts Browser is different from other Browser windows in several respects:
D D
You can only select one row at a time from the Districts Browser. You cannot Shiftclick to select multiple rows. The Districts Browser always has one row selected; you cannot unselect this row by choosing Query > Unselect All.
256
MapInfo Reference
When you select a row from the Districts Browser, that row becomes the target district. The target district is the district which will be affected by subsequent redistricting operations.
Once you have selected a target district, you assign map objects to that district by selecting the map objects. You can select objects by pointing and clicking, or by performing queries such as SQL Select. When you select map objects, MapInfo tentatively assigns the selected objects to the target district. MapInfo then recalculates the totals for each district, and displays the new totals in the Districts Browser. You then can examine the contents of the Districts Browser to decide whether you want to make the district assignments permanent. To cancel the tentative district assignment, unselect the map objects. To make the tentative district assignment permanent, choose Redistrict > Assign Selected Objects, or choose Main Toolbar > Assign Selected Objects button. When you choose Assign Selected Objects, MapInfo stores the target district's name in the rows of the selected objects. Thus, if you assign map objects to a district called NorthWest, MapInfo stores NorthWest in each object's row. Each district has its own set of fill, line, and symbol styles. When you assign a map object to a district, the object subsequently appears in the style of the district. Thus, if you choose a solid blue fill for the NorthEast district, objects that you assign to NorthEast appear in solid blue.
MapInfo Reference
257
District Fields
258
MapInfo Reference
Available Fields: Fields The Available Fields list and the Fields to Browse list work to Browse together. Available Fields contains a list of column expressions. You can move some or all of these column expressions to the Fields to Browse list. Each column that you move to the Fields to Browse list will appear in the Districts Browser. Note that only the District field, styles, and sum and percent of numeric table fields are available. See the following: Aggregate Expressions. See Functions. Add, Remove To move an expression to the Fields to Browse list: Choose an expression from the Available Fields list.Choose the >> button. To remove an expression from the Fields to Browse list: Choose an expression from the Fields to Browse list. The district field cannot be removed. Choose the << button. The Up and Down buttons let you control the toptobottom order of the items in the Fields to Browse list. The Up and Down buttons only become available after you choose a column from Fields to Browse. The district field will always be the first field in the browser. MapInfo builds a Districts and displays the table in a Districts Browser. As long as the Districts Browser is on the screen, MapInfo performs districting calculations every time you select or unselect map objects. If the Fields to Browse list contains the expression Count, the Districts Browser displays a count of the number of map objects assigned to each district. If the Fields to Browse list contains the expression Fill, the Districts Browser displays a sample of each district's fill pattern. Also, use the Line and Symbol expressions to include sample line and symbol styles in the Districts Browser. Cancel dialog options. Display appropriate Help topic.
Up, Down
OK
Cancel Help
MapInfo Reference
259
Aggregate Expressions
The Available Fields list contains aggregate column expressions. For example, if the source table has a numeric column called Population, the Available Fields list contains the items Sum(Population) and Percent(Population). If you move a Sum(column) expression to the Fields to Browse list, MapInfo calculates the sum of the column values for all objects that belong to a district. If you move a Percent(column) expression to the Fields to Browse list, MapInfo calculates the sum of the column values for the entire table, and then calculates each district's percentage of the total. The following Districts Browser includes both Sum( ) and Percent( ) expressions. Note that the total of all percentage values is 100.
Renaming a District
To change the name of a district, click on the district name as it appears in the Districts Browser. Similarly, to change the fill color of a district, click on the Brush sample that appears in the Districts Browser.
Adding a District
To create a new district, choose Redistrict > Add District. A new row appears at the bottom of the Districts Browser.
260
MapInfo Reference
Deleting a District
To delete the current target district, choose Redistrict > Delete Target District. When you delete a district, any objects which belong to the district are automatically assigned to the *****" district. To choose which district is the target district, check the box of the appropriate row of the Districts Browser. Alternately, you can set the target district by selecting one map object,making the District's Browser active and then choosing Redistrict > Set Target District or choose Main Toolbar > Set Target District button.
Related Tasks
Once you have finalized the districts, you can combine each district's group of objects into a single object by choosing Table > Combine Objects Using Column. In the Combine Objects Using Column dialog, choose the districting column from the Group Object By Column dropdown list. There are some restrictions to the types of objects that Combine Objects Using Column can combine. If the districts contain only closed objects such as regions, you can combine the objects.
See:
Functions The MIPro User's Guide: Chapter 14
MapInfo Reference
261
the active window is a Browser and the table in the active Browser is editable.
You cannot edit readonly tables, such as ASCII tables, Excel and Lotus spreadsheets, or StreetInfo tables.
Menu Path
"
See:
New Browser Window Command
262
MapInfo Reference
create a new table. MapInfo tables have a data (browseable) component and an optional graphable (mappable) component. The New Table command allows you to set up these components.
Menu Path
D
File > New Table or Standard Toolbar > New Table button
specify how the new table displays specify the table's data attributes specify whether the table is mappable specify a projection for a mappable table specify a name and location of the new table
Choose File > New Table. The New Table dialog displays.
Use this dialog to select the new table display: display the table in a Browser window (table format), Map window, or add the table to the current Map window. New Table Dialog Open New Browser Open New Map Open an empty Browser window when you have completed specifying the table structure. Open a new Map window when you have completed specifying the table structure. Specify the projection of the table in the Create Table dialog. Add the table as a layer in the currently active map. The table has the same projection as the map to which it is added. Choose to continue creating a table and display the New Table Structure dialog.
MapInfo Reference
263
Fields Type
Contains the names of the fields (columns) in the table from top to bottom. Indicates the type of field with the number of characters in the field listed in parentheses (where applicable ). See the following: Type option. An X in this column indicates the field is indexed. When the column is blank, the field is not indexed. Index as many fields as necessary: click index box. Move the selected field up or down one position in the list box. The file structure is reorganized accordingly. When a table displays in a Browser window, the first field becomes the leftmost column, the second field becomes the second column from the left, and the last field becomes the rightmost column. Moving a field up or down has the effect of moving it left or right in a Browser window. Add a new field at the bottom of the list. This field has a default name of Field1, Field2, Field3, etc., depending on the order in which the field was created. Remove the selected field from the table.
Indexed
Up/Down
Add Field
Remove Field
264
MapInfo Reference
Projection
Type
MapInfo Reference
265
Width
Decimals OK
Cancel Help
Designate the file path. Enter the filename you want to create.
266
MapInfo Reference
See:
Table Structure Command The MIPro User's Guide: Chapter 18
MapInfo Reference
267
ODBC Toolbar
ODBC Toolbar
Use ODBC Toolbar to:
D
access the buttons for that are used to access tables residing on a remote database.
ODBC support has been installed and the Options > Toolbars dialog is set to display the ODBC Toolbar.
Menu Path
D
Click on the appropriate button. The button is highlighted. Open ODBC Table button Make ODBC Table Mappable button Refresh ODBC Table button Unlink ODBC Table button Change Symbol for a Mappable ODBC Table button Accesses the Open ODBC Table dialog which allows you to download a table on a remote database into a MapInfo linked table. Accesses the Make ODBC Table Mappable dialog which allows you make a table linked to a remote database mappable in MapInfo. Accesses the Refresh ODBC Table dialog which allows you to re fresh a MapInfo linked table with the most recent data residing on the remote database for that linked table. Accesses the Unlink ODBC Table dialog which allows you to un link a table which was downloaded from a remote database from its remote database. Accesses the Change Symbol for a Mappable ODBC Table dialog which allows you to change the symbol style of a mappable ODBC table.
See:
Toolbars Command
268
MapInfo Reference
Open ODBC Table Button ODBC Toolbar Open ODBC Table Command File Menu
Use Open ODBC Table to:
D
download an ODBC table from a remote database into a MapInfo table known as a linked table. As of version 5.0, you can also access data live from remote databases.
ODBC has been installed as part of a custom installation, and you have configured data sources. For information on custom installation, refer to Chapter 2, Installation, in the MapInfo User's Guide. For information on initial configuration of data sources, refer to Chapter 19, Accessing Remote Database Data, in the MapInfo User's Guide.
Menu Path
"
The Open ODBC Table menu option, begins the set of dialogs needed to support downloading an ODBC Table or Query result set for read or update as a MapInfo linked table. This process is structured as a Wizard". An ODBC table is a table that resides in a remote SQL database such as Oracle, Sybase, Access, etc.
MapInfo Reference
269
Connect to a data source. Select which table to download from the connected data source. Select which columns to download from the table. Select which rows to download from the table. Save the table locally to MapInfo as a linked table.
For more information on linked tables, refer to the chapter Accessing Remote database Data" in the MapInfo User's Guide.
270
MapInfo Reference
Displays all file DSNs (data source names) and subdirectories contained within the directory displayed in the Look In box. Double-clicking a DSN connects to the data source. Displays the current directory for which the subdirectories and file DSNs are displayed in the window below. Clicking the down arrow to the right of the text box displays the entire directory structure.. Displays the file DSN name selected in the File Data Sources list, or you can enter a new file DSN name. Adds a new file data source. If you click this button, the Create New Data Source dialog box appears with a list of drivers. Choose the driver for which you are adding a file DSN. After you click Next, you may specify the keywords for the file DSN. See the sectionCreating New Data Sources," above, for instructions on creating a new data source. Closes the Administrator dialog box, and connects to the file data source that is highlighted in the list or entered in the DSN Name text box. You do not have to click OK to accept changes to the File Data Sources list. Changes to the list are accepted once the OK button in the Data Source Setup dialog box has been clicked. Closes the Administrator dialog box without connecting to the file data source. Changes to the File Data Sources list are not rejected if the Cancel button is clicked. Displays Help.
Look In
OK
Cancel
Help
MapInfo Reference
271
272
MapInfo Reference
MapInfo Reference
273
Connection
If there are multiple connections open, choose a connection from the pulldown list. A list of tables for that connection will display in the Tables field. Displays the directory path of the database connection or the database name. This field is present only for data sources that provide this information. In the example above it is not present. Press the New button to make a new connection from the Select Data Source dialog. This field is present only for data sources that make use of owners (such as Oracle). This field allows you to list tables owned by different users. Highlight the name of the table you want to download. The Filter button lets the user select which types of tables to list. The default shows Tables, View, and Synonyms, and hides System tables. Press the Help button for online help. Press the Cancel button to abort the wizard.
Database
New Owner
Table Filter
Help Cancel
274
MapInfo Reference
Finish
MapInfo Reference
275
Selected
Down
Finish
276
MapInfo Reference
Selected Column
Choose the column(s) for which you want to filter rows. If you are filtering rows for one column, select a column, operator, and value. If filtering rows on more than one column, select a column from the next drop down list. This will also activate the next row of fields for data entry.
Operator
The Operator list boxes contain all supported operator symbols for their corresponding selected column. The list of operators will vary depending on the type of the selected column. For example, the operators <, >, and = (among others) will be available for numeric columns, but object columns will have only the operator WITHIN.
MapInfo Reference
277
Finish
Opening an ODBC Table Step 4, Saving Table Locally and Live Access
Once the data to be downloaded has been determined, the user must determine the path name for the local table created in the fourth dialog. Here you can also specify live access. Open ODBC Table Dialog - Step 4 of 4
278
MapInfo Reference
Specify the directory where the table is to be saved. Directories and files appear in the window below. Specify the filename for the table. The name must not be the name of a table that is already open in MapInfo. The table file type (*.tab) is displayed. The Open As Read Only check box will be checked and disabled if the table selected can not be modified. For tables that could potentially be modified, Read Only will be enabled and unchecked. You can then check it to open the table as readonly, or leave it unchecked to make the table editable. If you leave it unchecked, MapInfo will download all rows it can as editable. However there still may be rows downloaded that are readonly. See, When is a Linked Table ReadOnly, below.
Preferred View
Choose the view in which you want the table data displayed: Automatic: MapInfo selects the appropriate display for the table: mapper, add to mapper, or browser. Browser: Open table in a Browse window. Current Mapper: Add table to current map window. New Mapper: Display table in a map window. No View: Open table; do not display data. Check to download the data and make into a linked table. Uncheck for live access. (See About Live Remote ODBC Access," above.)
MapInfo Reference
279
Next Expert
Finish
280
MapInfo Reference
the data downloaded from the server database is not editable. the data downloaded from the server database does not contain a primary key. there are no editable columns in the data downloaded from the server database. the Open As Read Only option is checked.
This dialog allows the user to enter queries much more complex than the wizard allows using the standard ODBC SQL syntax. Invoking this dialog ends normal wizard processing (there is no way to back up from this dialog). Selecting OK will move to the final dialog of the wizard. To type in multiline formatted SQL do the following:
D D D
To get a new line press ENTER. To tab press <CTRL> TAB. To cut and paste from the clipboard, use <CTRL> X to cut, <CTRL> C to copy, and <CTRL> V to paste. Press to move to the final dialog of the wizard. Press to cancel the query. You will be returned to the step in the wizard where you originally invoked the Expert dialog. Press to load an SQL statement that has been saved in a file. The Load button activates the Load SQL Query dialog. This dialog provides you with access to existing files containing SQL statements (*.sql files). When you load an SQL file, its format will be preserved.
OK Cancel Load
MapInfo Reference
281
Help
See:
Save Table Command Refresh ODBC Table Command Unlink ODBC Table Command The MIPro User's Guide: Chapter 19
282
MapInfo Reference
open a MapInfo table, Microsoft Access table, dBase DBF file, Delimited ASCII file, Lotus 123 spreadsheet, or Microsoft Excel spreadsheet or raster image.
Menu Path
"
Choose File > Open Table. The Open Table dialog displays.
Specify the file path. Type or select the filename you want to open. This box lists files with the extension you select in the List Files of Type box. To see a list of files with a particular extension type an asterisk (*), a period and the three character extension. For example if you want to see all files with a .dbf extension in a directory, type *.dbf.
MapInfo Reference
283
Open
Cancel Help
284
MapInfo Reference
Note: You cannot open more than one file type with this method.
No support for decimal data type. If you modify the table structure of a MS Access table within MapInfo and change a FLOAT type to a DECIMAL, the type changes to FLOAT. If a database is not selected when using File>Save Copy As, a database with the same name as the tab file is created in the same directory. The MapBasic Pack Table statement will save a copy of the original MS Access table without columns that MapInfo does not support. If a MS Access table has a MEMO, OLE, or LONG BINARY type column, it will be lost during a pack. Compact your database. Each time a table is renamed disk space is used up. The space used up is the space the original table was taking up. MapInfo renames the table when the structure is altered and when the rename statement is issued. An Access database may be compacted using the ODBC Administrator or Microsoft Access. To compact a MS Access database using the ODBC Administrator, see the ODBC Administrator's on-line help for compact database. To compact a MS Access database using Microsoft Access, see Access's on-line help for Compact a database to defragment and free disk space.
A table in Access must have an auto-counter column with a unique index or primary key set on that column. Otherwise, MapInfo will alter the table to fit this requirement. The Access table being brought into MapInfo must be a flat Access table, i.e., the table must not contain fields that point to data in other Access tables. Memo, OLE, and Replication ID field types from an Access table will not be brought into MapInfo. Text field length cannot exceed 254 characters. If the length exceeds 254 characters, the field is brought in as read-only. Zero length strings are not allowed.
MapInfo Reference
285
The Open Access Table dialog displays the tables for the opened database.
4.
Choose an Access table or tables to open. The table or tables are opened in MapInfo.
After you open an Access table in MapInfo for the first time, MapInfo creates a definition for the table and gives it a .TAB extension. This enables you to it treat it like any other MapInfo table. For example, to open this file you would now open it like any other MapInfo table. Please note that even though the table now has the .TAB extension in MapInfo, your data is still in your original Access database table and is not a duplicate.
286
MapInfo Reference
OK
Delimited ASCII Information Dialog The Delimited ASCII Information dialog allows you to specify a delimiter and file origin for your table. This information is necessary for mapInfo to make the proper translation. Delimiter Tab Other File Character Set Use first line for column titles OK Choose Tab when you want tabs for the field delimiters. This option allows you to specify the delimiter you want to use. Type the character in the box. Comma is the default choice. Specify the appropriate character set the file is using Choose this option when you want to treat the first line of the file as column titles. Opens the file. You can only read information from these files, when you want to do other tasks, see the following: Editing Excel and Lotus Spreadsheets and and ASCII files.
MapInfo Reference
287
Excel/Lotus Information Dialog Named Range Use this menu to specify Entire Worksheet or Other. When you choose Other, the Other Range dialog displays which allows you to specify a cell range. See the following: Other Range. The current cell range value of the worksheet. Choose this option when you want the row above the selected range used for column titles. Open the file. You can only read information from these files; when you want to do other tasks, see the following: Editing Excel and Lotus Spreadsheets and and ASCII files.
Current Value Use row above selected range for column titles OK
Other Range Dialog The Other Range dialog allows you to enter a range other than the entire worksheet. Type a cell range in the Type the appropriate cell range in the form indicated. form A1:F9 or R1C1:R9C6 Cancel OK Cancel your current work with the dialog box. MapInfo closes the dialog box without creating a new table. Enter the new range and return to the Excel/Lotus Information dialog.
288
MapInfo Reference
Edit information from one of these files. Add new columns to one of these files through Table Structure. Use Update Column to calculate new data values and place them into the file. Use Table Structure to add graphic objects to the file.
MapInfo Reference
289
See:
Import Command New Table Command Save Copy As Command The MIPro User's Guide: Chapter 16
290
MapInfo Reference
open a workspace that has been previously saved. A workspace stores a list of open tables, windows, and window positions.
Menu Path
"
Opening a Workspace
Any previously opened tables and windows are left untouched when you open a workspace. However, to avoid cluttering up the screen with unnecessary windows, use the Close All command from the File menu before adding the workspace. When you exit MapInfo, the MapInfo workspace (MapInfow.wor) stores the last session, unless you have set your preferences so that the workspace will not be written. If there are files you don't want added to the workspace, close them before exiting. To open a workspace:
"
Choose File > Open Workspace. The Open Workspace dialog displays.
MapInfo Reference
291
See:
Quick Start, Save Workspace Command, The MIPro User's Guide: Chapter 5
292
MapInfo Reference
Menu Path
"
See:
New Browser Window Command
MapInfo Reference
293
specify how window frames and their contents are displayed in a Layout window and how the Layout window displays. Specify the margins and number of pages for the current Layout window.
Menu Path
"
Choose Layout > Options. The Layout Display Options dialog displays.
Display rulers along the left side and top of the layout. Display dotted lines in multipage layouts to indicate page breaks.
294
MapInfo Reference
Layout Size Layout Size The settings you choose for margins, paper size, and page orientation affect all pages of a document. These settings determine how large an area you have to print the body text of the document. When you have a multipage Layout, various elements in the Layout may be distributed across two or more pages. Use the following Width and Height boxes to specify the number of pages in the layout. The display of the Total layout size changes as you adjust the width and height page settings. Type the appropriate number of pages. Type the appropriate number of pages. Static display of the page size. The page size is the current printer setting. Static display of the total width and height of the layout. Display the Page Margins dialog. The margins are displayed as a gray border in the layout. The gray border merely serves to remind you where the margins are. Margins are cosmetic; if an object is in the gray area, it will print (provided it isn't too close to the edge of the page for your printer to handle). Accept the dialog options. Cancel the dialog options.
OK Cancel
MapInfo Reference
295
See:
New Layout Window Command Print Setup Command
296
MapInfo Reference
specify Coordinate, Distance, and Area Units for a map. You can also show/hide scroll bars and access the Choose Projection dialog.
Menu Path
"
Map Units Coordinate Units Specify the unit of measure from the dropdown list. Earth Maps: The menu always contains degrees. It may also contain the native units for the coordinate system if they are not degrees. NonEarth Maps: inches, feet, yards, miles, millimeters, centimeters, meters, kilometers, links, rods, chains.
MapInfo Reference
297
Area Units
Display in StatusBar Zoom (window width) Map scale Cursor location When resizing window Fit map to new window Preserve current scale Retain the same view but at the new size. Preserve the map scale; see more or less of the map when the Map window is resized, but at the same scale. Check to display scroll bars; clear to hide scroll bars. Accept the dialog options. Cancel the dialog options. Access the Choose Projection dialog. See Projection Button. Display appropriate Help topic. Display the horizontal width across the Map Window. Display the map scale. Display the X and Y coordinates of the cursor's location.
See:
The MIPro User's Guide, Appendix H New Map Command, Change View Command
298
MapInfo Reference
specify the districts sort order or gridline display for a session or as the default.
Menu Path
"
Districts Sort Order Most Recently Used Alphabetical Unordered Show Grid Lines Most recently used district is placed first. Place the districts in alphabetical order. Do not place the districts in any specific order. Check to display gridlines in the Districts Browser. Clear to remove gridlines.
MapInfo Reference
299
See:
New Redistrict Window Command The MIPro User's Guide: Chapter 14
300
MapInfo Reference
add nodes to the target objects at all points where the target objects intersect the currently selected objects.
a map editing target has been chosen in the active edit window and one or more objects are selected in any layer of the active Map window.
Menu Path
"
MapInfo Reference
301
See:
Add Node Button The MIPro User's Guide: Chapter 1
302
MapInfo Reference
compress tables to use less disk space and eliminate records that have been marked as deleted. This command is not available for linked tables.
Menu Path
"
Packing a Table
Before you pack a table, make sure there is enough disk space to accommodate a copy of the database. You cannot pack a readonly file. To pack a table:
"
Choose Table > Maintenance > Pack Table. The Pack Table dialog displays.
MapInfo Reference
303
Choose the table to be packed. Remove deleted records to make the table smaller and increase processing speed. Pack only graphic information. If you have deleted map objects, packing the table will make the table smaller and increase processing speed. Pack both graphic and textual information. Pack the appropriate table and remove deleted records. Cancel dialog options. Display appropriate Help topic.
Packing a table may invalidate custom labels (labels entered using the Label tool) that have been previously saved to a workspace.
See:
User's Guide: Chapter 12
304
MapInfo Reference
Page Setup
Page Setup
Use Page Setup to:
D
Designate paper size, orientation, margins, and printer hardware information and view a page preview document.
Menu Path
"
Choose File > Page Setup. The Page Setup dialog displays.
Page Setup Dialog Paper Orientation Margins Size: Select paper size from drop down list. Source: Select paper feed tray from drop down list. Portrait: Select to print in portrait mode. Landscape: Select to print in landscape mode. Designate page margins. Set the margins. Inches is the default setting for margins. To change the unit of measure, choose Options > Preferences > System Settings and choose a unit of measure from the Paper & Layout units dropdown list. Left Right Top Bottom OK Cancel Specify the distance between the left edge of the page and the left end of each line with no left indent. Specify the distance between the right edge of the page and the right end of each line with no right indent. Specify the distance between the top of the page and the top of the first line on the page. Specify the distance between the last line on the page and the bottom of the page. Accept dialog specifications. Cancel dialog specifications.
MapInfo Reference
305
Page Setup
Printer Help Display dialog with current printer information. You can select another printer from this dialog. Display help topic.
Page Setup in the WIndows 3.x Environment Use Page Setup to:
D
Menu Path
"
To select a printer:
"
Choose File > Print Setup. The Print Setup dialog displays.
Page Setup Dialog Printer Default Printer Specific Printer Orientation Portrait Landscape Select to print in portrait mode. Select to print in landscape mode. Displays installed default printer. To send output to a printer other than the default printer; access the drop down list and select an installed printer.
306
MapInfo Reference
Page Setup
Paper Size Source OK Cancel Options Margins Help Designate paper size. Designate paper tray. Apply specifications. Cancel specifications. Display System printer options; see system documentation. Display Page Margins dialog; see Page Margin dialog. Display the appropriate Help topic.
Left Right
MapInfo Reference
307
copy the clipboard contents into the table or window being edited.
a Browser window is active and there is text or an object in the clipboard or a Map window is active, a layer is editable and an object is in the clipboard or the MapBasic window is active and there is text in the clipboard or a Layout window is active and an object is in the clipboard.
The table must be editable. It cannot be a query table, SQL group by table, view or a table in a readonly directory.
Menu Path
"
When pasting into a Map window, the object is pasted in the currently editable layer. If you are pasting an object with geographic coordinates, the object is pasted to those coordinates. For example, when you paste a copy of New York State onto a new map, New York is pasted to the geographic position on the earth's surface (coordinates) where New York is located. When text or an object is currently selected, it is replaced by the object being pasted into the table.
See:
Copy Command Cut Command
308
MapInfo Reference
choose which fields display in the active Browser window. Temporarily rename a column, create a new column or edit the expression that defines an existing column.
Menu Path
"
Choose Browse > Pick Fields. The Pick Fields dialog displays.
Use the Pick Fields dialog to perform a variety of column and field display operations. Pick Fields Dialog
Display a list of the fields in the current table. Display a list of the columns currently displayed in the Browser window.
MapInfo Reference
309
310
MapInfo Reference
Change the text in the Edit Browser Column Expression box. or Click Assist to display the Expression dialog that contains dropdown lists of columns, operators and functions. See Functions.
MapInfo Reference
311
Editing an Expression by Changing Text To edit the expression that defines the column by changing the text in the Expression box: 1. 2. 3. Choose the column name in the Columns in Browser column. The column name and expression display in the Edit Expression Name and Expression boxes. Edit the expression in the Expression box. Choose OK to execute the expression and modify the column display in the Browser window.
See:
Functions New Browser Window Command
312
MapInfo Reference
access the Polygon tool. Use the Polygon tool to draw polygons one side at a time.
Menu Path
D
Drawing Polygons
To draw a polygon: 1. Choose Drawing Toolbar > Polygon button. The cursor becomes a small cross. 2. 3. Move the pointer to where you want to begin drawing and click the mouse button once. Drag the pointer to draw the first side or line. Click the mouse button once when you want to terminate the current line and continue drawing another line from that endpoint. Continue this process for each additional side. Point and click, and a new line displays between the previous endpoint and the new point that you selected. 4. When you want to stop, doubleclick on the last end point.
MapInfo draws the last side of the polygon, automatically connecting it with the starting point and fills the polygon with the default pattern as set by the Symbol Style option. For example, when you want to draw a triangle, draw two lines in a V shape, then doubleclick. MapInfo draws a third line to close the shape. When you press <SHIFT> while using the Polygon tool, the line segments will be constrained to horizontal, vertical, and 45degree diagonal.
Add, delete, and move nodes by accessing Reshape mode once a polygon is chosen. See Reshape Button/Command.
MapInfo Reference
313
Bounds X1 and X2
These are the left and right boundaries, respectively. Y1 and Y2 are the top and bottom boundaries, respectively, of the region's minimum bounding rectangle (the smallest rectangle that can fully enclose the region. The coordinate values for the center of the polygon or region. The center of the polygon is considered to be the center of its minimum bounding rectangle. Total area of the polygon. Total perimeter of the line segments. The number of line segments in the polygon.
Center X, Y
314
MapInfo Reference
MapInfo Reference
315
access the Polyline tool. Use the Polyline Tool to draw polylines, a connected sequence of lines that are not closed. These segments are then treated as one object.
Menu Path
"
Drawing a Polyline
To draw a polyline: 1. 2. 3. 4. 5. 6. Choose Drawing Toolbar > Polyline button. Move the pointer where you want to begin drawing. The cursor displays as a cross in the layer or editable Map window. Click the left mouse button once. Move the pointer to draw the first line segment. Click the mouse button once to terminate the current line and continue drawing another line from that endpoint. Continue this process for each additional segment, point and click; a new line appears between the previous end point and the new point that you select. Doubleclick the last endpoint to stop drawing.
Press <SHIFT> while using the Polyline tool, to constrain the line segments to horizontal, vertical, and 45degree diagonals.
316
MapInfo Reference
Clear the Smooth box or Select the figure by using the Select button and choose Objects > Unsmooth. The polyline is unsmoothed.
X1 and X2 are the left and right boundaries, respectively. Y1 and Y2 are the top and bottom boundaries of the polyline's minimum bounding rectangle (the smallest rectangle that can fully enclose the polyline). The coordinate of the midpoint of the middle segment. When there is an even number of segments, the middle segment is defined to be segment N/2 + 1, with N equal to the number of segments. If you have eight segments, MapInfo reports the center of the fifth segment, or 8/2 + 1. Total length of the line segments.
Center X, Y
Total Length
MapInfo Reference
317
318
MapInfo Reference
specify the way in which you want MapInfo to operate. Preferences is always available.
Menu Path
"
Specifying Preferences
Specify settings that control the way MapInfo operates. MapInfo retains preferences from session to session. To specify preferences:
"
Preferences Dialog
System Settings
Specify clipboard operation, color defaults, screen size, paper and layout units of measure and number used for the undo feature. Displays System Settings Preferences dialog. Specify how to resize a window, duplicate node movement, snap tolerance, highlighting for selected and target objects, use of metric distance and area units and scroll bar display. Displays Map Window Preferences dialog. Specify title; subtitle and symbol text for the Legend Window.
Map Window
Legend Window
MapInfo Reference
319
OK
Copy to Clipboard Copy TEXT to clipboard Copy BITMAP to clipboard Copy Metafile to clipboard Color Defaults When creating a thematic map, you need to distinguish between objects in different thematic layers. When you create a new thematic layer, MapInfo chooses the initial colors and patterns based on the Color Defaults setting. Either a range of solid colors or a range of black and white patterns is used. Changing the color default settings does not affect existing maps or graphs. Check to specify that you want only text copied to the clipboard. Clear to specify that you do not want text copied to the clipboard. Copy only graphic objects as a bitmap; bitmaps are non-scalable representations of the object. Copy graphic objects as a metafile (.wmf); metafiles are scalable representations of an object.
320
MapInfo Reference
Aspect Ratio Adjustment The aspect ratio is the relationship between the height and width of the screen. It can be adjusted to deal with various problems. When you are running under Windows and you choose Window Size as the map size when you print the map, the printout of the map is smaller than it appears on the screen. To compensate, measure the display area of the screen and enter those dimensions in the Aspect Ratio Adjustment box. Use custom screen size Check to have MapInfo calculate the display area of your monitor and displays its estimated width and height dimensions. Use these dimensions or enter your own. Enter the width of the monitor's display area in inches. Enter the height of the monitor's display area in inches. Specify the units used when you measure the size of objects in a Layout and the size of paper in the Print dialogs. Set the number of times edits can be undone. You cannot undo the following; Revert, Save, Save As, or Modify Table, or any operations whose effects are primarily cosmetic. Set the undo number from 0, which deactivates the Undo system, to 800 undo records; the default is 10 undo records. For example, if you set the undo number to 120 and attempt to undo 121 records, the undo menu is unavailable. There is a memory limit for the Undo command. If you are editing extremely complex graphic objects, the number of reversible records may drop below this undo setting. See the Undo Command.
Pre-Version 4 Symbols Display Using True Type Font OK Cancel Help Check to draw vector symbols with characters from the MapInfo Symbols font. Clear to draw vector symbols. Accept dialog options. Cancel dialog options. Display appropriate Help topic.
MapInfo Reference
321
When resizing Map window Specify how map windows resize (default). This setting has no effect on already open maps. Choose Map > Change View to override this default. See Change View. Fit map to new window Preserve current scale Choose to see the same view of the map after enlarging or shrinking the Map window. Choose to change the map view after enlarging or shrinking the Map window. See a smaller or larger area depending on whether you enlarged or shrunk the window.
Move duplicate nodes in Specifies whether MapInfo looks for duplicate nodes when you move a node by using Reshape. Since the nodes of various objects are often adjacent to one another, this features ensures boundaries are not accidently corrupted. None of the layers The same layer Highlight Control Selected Objects Target Objects Specify the color, pattern and size of lines and the color and pattern for selected objects in selectable layers. Specify the color, pattern and size of lines and the color and pattern for target objects in selectable layers. Do not look for duplicate nodes when moving a node. Move connected nodes in the same layer when an adjacent node is moved.
322
MapInfo Reference
Scroll Bars Warn Prior to Loss of Cosmetic Objects Map Labels Thematic Labels OK Cancel Help
Check to have dialog display asking you to save cosmetic objects to a table before closing. Check to have dialog display asking you to save labels to a workspace before closing. Check to have dialog display asking you to save thematic layers to a workspace before closing. Accept dialog options. Cancel dialog options. Display appropriate Help topic.
Title Pattern: Designates the text that displays at the top of each frame. The first occurrence of a # character will be replaced with the name of the map layer on which the frame is based. For example, # Legend for layers States, will produce the title States Legend. If you prefer to have Legend precede the layer name, enter Legend of #. This will produce Legend of States. Subtitle Pattern: Designates subtitle text; uses the # symbol in the same manner as described in Title Pattern. Style Name Pattern: Designate the text that displays next to each symbol in a frame. The % character will be replaced by the text Line, Point, Region, as appropriate. Use the # character as described in the default title pattern section. For example, %of # will expand to Region of States.Border: Check to place a border around the legend. Click the box displaying the X to display the Line Style dialog. Choose a border style.
MapInfo Reference
323
Workspace Options Save MAPINFOW.WOR when exiting MapInfo Automatically save your work setup as a workspace when you exit.
Load this workspace whenever you start MapInfo. Load MAPINFOW.WOR when starting MapInfo Display Quick Start Dialog Check to display the Quick Start dialog each time you start MapInfo. The Quick Start Dialog offers the following options: Restore Previous Session; Open Last Used Workspace; Open a Workspace; Open a Table. See Quick Start. Accept dialog options. Cancel dialog options. Display appropriate Help topic.
OK Cancel Help
324
MapInfo Reference
House number comes before street name House number comes after street name OK Cancel Help Directories
Place the house number before the street name when specifying addresses. Place the house number after the street name when specifying addresses. Accept dialog options. Cancel dialog options. Display appropriate Help topic.
MapInfo Reference
325
OK Cancel Help
326
MapInfo Reference
a Map or Layout window is active and its view has been changed at least once.
Menu Path
"
"
If you frequently use Previous View it is more efficient to create two maps of the same table, each with a different view. Then, you can view the two simultaneously.
See:
Grabber Button Zoomin Button Zoomout Button
MapInfo Reference
327
print the contents of a Layout, Browse, Map, Redistrict or Graph window and set printing specifications appropriate to the type of window contents.
Menu Path
"
Print Dialog
Printer Name Status Type Displays the current printer. Select another printer from the drop down list. Indicates if printer is currently busy. Displays printer name.
328
MapInfo Reference
Help
Printing Options
Click the Options button in the Print dialog to display dialogs appropriate to the type of window being printed.
All From To OK
Print all the rows of the browser. Specify the number of the first row you want to print. Specify the number of the last row you want to print. Print the browser using the specified options.
MapInfo Reference
329
Map Size Window Size Set the printed map to the same size as the window on the screen. This size displays in the two text boxes associated with the Custom size option. Set the output to take up the full printed page, even though the window may be much smaller than the page. This size displays in the two text boxes associated with the Custom size option. Set the size of the map to be printed.
Fit to Page
Print a map that contains areas not visible in the window. Set the output to the same content and proportions as the window. Set the output to be centered on the window. Note that this setting may cause the output to print beyond the extents of the window, depending on how you set its size, scale and margins.
330
MapInfo Reference
OK
Cancel Help
MapInfo Reference
331
Size Window Size Fit to Page Print the graph exactly as it is on the screen. Print the graph with the same aspect ratio as the window on the screen (that is, the same proportions of width to height), but enlarge (or shrink) the graph to fit either the page width or height. Print the graph to completely fill one page, changing the aspect ratio to fit both the page width and height. Specify a size. When the custom size is larger than one page, MapInfo automatically spreads the graph over the correct number of pages to print the size you request. Specify the appropriate width of the printed graph. Also, show width for noncustom graphs. Specify the appropriate height of the printed graph. Also, show height for noncustom graphs. Print the graph using the specified options. Depending on the printer configuration, the output goes to the printer you specified in the dialog. Consult the system coordinator for the configuration. Cancel the dialog options. Display appropriate Help topic.
Width Height OK
Cancel Help
Note: Pen Plotter Users Depending on what device driver you are using, you may see unsatisfactory results using a pen plotter to output certain line styles. In the Line Style dialog, the list of available styles ends with several styles that may not plot properly.
332
MapInfo Reference
Menu Path
"
Display the current printer name and port. All: Print all the pages of the document. From: Specify the number of the first page you want to print. To: Specify the number of the last page you want to print. Designate the dots per inch (dpi). Print the document using the designated options.
Print Quality OK
MapInfo Reference
333
Rows All From To OK Cancel Help Graph Print Options Print all the rows of the browser. Specify the number of the first row you want to print. Specify the number of the last row you want to print. Print the browser using the specified options. Cancel the printing operation. Display the appropriate Help topic.
334
MapInfo Reference
Map Size Window Size Set the printed map to the same size as the window on the screen. This size displays in the two text boxes associated with the Custom size option.
MapInfo Reference
335
Print a map that contains areas not visible in the window. Set the output to the same content and proportions as the window. Set the output to be centered on the window. Note that this setting may cause the output to print beyond the extents of the window, depending on how you set its size, scale and margins. Specify the printed map scale. Specify the width of the printed map. Also shows width for noncustom maps. Specify the height of the printed map. Also shows height for noncustom maps. When you specify a size smaller than one page, the map is centered on the page. Custom states the size of the printed image (width and height) in the default unit set by Preferences (Options > Preferences > System Settings). You can specify a size larger than one page, and the map is automatically printed on as many pages as necessary. Print the map using the specified options. Cancel the printing operation. Display the appropriate Help topic.
OK Cancel Help
See:
Legend Button, New Browser Window Command New Graph Window Command, New Layout Window Command New Map Window Command, New Redistricter Window Command, Print Setup Command
336
MapInfo Reference
Print Setup is always available when printing in the Win 3.x environment.
Menu Path
"
Choose File > Print Setup. The Print Setup dialog displays.
Printer Setup Dialog Current Printer Setup Display installed printer(s). Choose a printer and printer connection. Display a dialog box that allows you to control default printer settings for the printer you select. For more information click the Help button.
For more information on installing printers and default settings, see the system documentation.
See:
Print Command
MapInfo Reference
337
Projection Button
Projection Button
Use the Projection button to:
D
Menu Path:
Access the Projection Button through the following paths:
D D D D D D D
File > New Table Table > Maintenance > Table Structure Table > Maintenance > Make ODBC Table Mappable Table > Import Table > Export File > Open > Raster Image > Register Raster Image dialog Digitizer Setup
Specifying a Projection
To specify a projection:
"
Choose Projection Dialog Category Choose a projection from the Category dropdown list. See the MapInfo User's Guide, Appendix H: Creating Your Own Coordinate System and the User's Guide, Chapter 21 for further description. MapInfo displays Longitude/Latitude maps using an Equidistant Cylindrical projection. Access Map > Options to change this option. Category Members OK Cancel Choose the appropriate coordinate unit from the Category Members dropdown list. Change the table projection as specified. Cancel the dialog options.
338
MapInfo Reference
Projection Button
When you create a nonearth map, it is important to specify bounds that are large enough to contain the objects you want to put in the map. You cannot create objects outside the bounds of a map, and you cannot increase the bounds of an existing map.
See:
User's Guide, Appendix H User's Guide: Chapter 21
MapInfo Reference
339
Quick Start
Quick Start
Use Quick Start to:
D
Menu Path
Options > Preferences> Startup > Quick Start Dialog.
Open the same windows, tables, and files that were open when you exited from your last session.
Open the workspace last used. If No Workspace displays, no Open Last Used Workspace (Workspace workspace was used in your last session. Name) Open a Workspace Open a Table OK Cancel Open a workspace. The Open Workspace dialog displays. See Save Workspace Command. Open a Table; the Open Table dialog displays. See Open Table Command. Begin session using designated option. Begin session with no tables open.
See:
Open Table Command, Open Workspace Command
340
MapInfo Reference
access the Radius Select tool. Use the Radius Select tool to select objects within a circular region.
Menu Path
"
4.
The Radius Select tool selects objects whose centroid is within the chosen area; the object does not have to be completely bounded by the radius. To select objects from another layer, you must turn off selectable in Layer Control for the upper layers. Only objects from one layer at a time are selected.
See:
Boundary Select Button Marquee Select Button Select Button The MIPro User's Guide: Chapter 8
MapInfo Reference
341
access the Rectangle tool. Use the Rectangle tool to draw rectangles and squares in an editable map or layout.
Menu Path
"
Drawing a Rectangle
To draw a rectangle: 1. 2. 3. Choose Drawing Toolbar > Rectangle button. Move the pointer where you want to begin creating the rectangle. Press and hold down the mouse button and drag the pointer to the opposite corner of the rectangle. The shape displays and changes size and proportion as you move the pointer. 4. Release the mouse button to finish creating the shape.
Rectangles are closed figures. They are filled with the default fill pattern and/or color as specified in Options > Region Style.
Drawing a Square
To draw a square:
"
Note: the sides of a rectangle are always true horizontal and vertical, even when you change the map's projection. If you want the sides of a rectangle to adjust when you change the map's projection, create four-sided region objects instead of rectangle objects.
342
MapInfo Reference
Use the Select tool and doubleclick the object. The Rectangle Object dialog displays. or Select the object. Choose Edit > Get Info. The Rectangle Object dialog displays.
Left and right boundaries. Y1 and Y2 are the top and bottom boundaries, respectively. Coordinate values of the rectangle's center. Left to right distance. Set the width of the object. Top to bottom distance. Set the height of the object. Display the Region Style dialog to specify the style of the object. See Region Style Command. Accept the dialog options. Cancel the dialog options. Display appropriate Help topic.
As with all graphic objects, you can change the object by changing its attributes in the [Name] Object dialog. You can change these attributes when the layer is editable or view the attributes whenever the layer is selectable.
MapInfo Reference
343
When you add a new table as the top layer of a map, only the effected portions of the map are redrawn. When switching between open windows, the map is preserved, so the entire window does not have to be redrawn. Also, use Redraw Window after pressing <ESCAPE> to interrupt the window drawing.
a window is active.
Menu Path
"
See:
New Browser Window Command New Graph Window Command New Layout Window Command New Map Window Command New Redistricter Window Command
344
MapInfo Reference
Refresh ODBC Table Button ODBC Toolbar Refresh ODBC Table Command Table > Maintenance
Use Refresh ODBC Table to:
D
refresh a MapInfo linked table with the most recent data residing on the remote database for that linked table.
at least one linked table is open and there are no pending edits against it.
Menu Path
D
See:
Save Table Command Unlink ODBC Table Command Open ODBC Table Command
MapInfo Reference
345
Region Style Button Drawing Toolbar Region Style Command Options Menu
Use the Region Style button and command to:
D
specify the color, pattern and outline of new or existing closed objects.
Menu Path
"
"
346
MapInfo Reference
Fill Pattern Choose a palette for patterns. If you do not want to use a pattern, choose the letter N, for none; the foreground and background color are disabled. If you choose the solid black pattern, the background color is disabled. Choose a color for the object(s)' foreground. The Sample box displays the pattern using the foreground color you chose. The foreground color is applied to the part of the pattern that displays as black. Therefore, to make the object a solid color, choose the solid black pattern in the Fill Pattern palette and a color from the Foreground Color palette. The color you chose displays in the Sample box as a solidcolored region. Check the box to display a background color; clear for a transparent" background. Choose a color for the object's background. The background color is applied to the part of the pattern that displays as white. Background color is grayed if you have chosen the solid black pattern.
Color
Background Color
MapInfo Reference
347
See:
The MIPro User's Guide: Chapter 13
348
MapInfo Reference
Menu Path
The Image Registration dialog displays automatically the first time you open a raster image file in MapInfo. Once you have opened a raster image table, open the Image Registration dialog by choosing Table > Raster > Modify Image Registration.
Raster Images
A raster image is a type of computerized image that consists of rows of tiny dots (pixels). If you have a scanner and scanner software, you can create a raster image by scanning a paper map. After you scan a map image and store the image in a file, you can display the file using MapInfo. There are many different raster image file formats. MapInfo can read the following types of raster image files: JPEG, GIF, TIFF, PCX, BMP, TGA (Targa), and BIL (SPOT satellite images). See the MiPro User's Guide, Appendix E: Registering SPOT Images. For best results we recommend using a high resolution display.
MapInfo Reference
349
2.
3.
When you don't know the control point coordinates: 1. Open the raster file by choosing File > Open Table and Raster Image file format. Choose the raster image file and choose Open. The Image Registration dialog displays. A preview of the raster image appears in the lower half of the dialog. Specify the appropriate projection for the raster image by choosing the Projection button. If you do not set the projection, MapInfo defaults to Longitude/Latitude. To begin adding control points, click on a location in the preview. The Add Control Point dialog displays showing the point's location in pixels. Click OK. The point with no X and Y coordinates is listed in the Image Registration dialog. We will specify the coordinates in a following step. Choose at least three more control points in the same way. Use the scroll bars to move to other areas of the image. Choose points that can be easily identified and selected in a Map window. Open the corresponding vector map table in a Map window. You may have to move the Image Registration dialog to access the Map window. Choose Table > Raster > Select Control Points from Map. Highlight Pt 1 in the Image Registration dialog. Click on the equivalent point in the map window. The Add Control Point dialog displays showing the map X and Y coordinates for the vector point location. Click OK to accept the coordinates. MapInfo transfers them to the Image Registration dialog. Repeat for the remaining control points by repeating step 7 for at least three control points. To ensure accurate results, enter five or six control points. Each control point that you add helps MapInfo associate earth coordinates with locations on the raster image. Ideally, you should have at least one control point at or near each corner of the image. The number of control points needed depends on the nature of the raster image. If you cannot determine the map's projection, or if you are working with an image that does not have an actual map projection, such as an aerial photograph, you may want to enter twenty or more control points. 9. After all control points have been defined, click OK in the Image Registration dialog. The raster image will display in the Map window under the vector layer.
2. 3.
4. 5. 6. 7.
8.
Remember that any location west of the Prime Meridian has a negative longitude, and any location south of the Equator has a negative latitude. Thus, 73 degrees West corresponds to the X value 73.
350
MapInfo Reference
2.
3. 4. 5. 6.
MapInfo Reference
351
The following formula describes how to convert d/m/s coordinates to decimal degrees: decimal_degrees = degrees + (minutes/60) + (seconds/3600)
352
MapInfo Reference
Control Points
The list at the top of the dialog shows all control points that have been assigned to the raster image. Each control point has a label, indicating the name of the control point. The label is optional; if you do not specify a label, MapInfo assigns a default label, such as Pt 1." To enter a new control point, choose the New button, then click on the image preview in the lower half of the dialog, at a location in the map image where you know the map coordinates. When you click on the image, MapInfo displays the Add Control Point dialog (described below). Once you have entered three control points, an error calculation for each control point displays. An error value of zero indicates that the control point is placed correctly relative to other control points. An error value greater than zero indicates that the control point's placement seems incorrect, given the placement of the other control points. The numeric error code indicates the control point's distance, in pixels, from where MapInfo calculates the control point should be placed.
Edit. . .
Enabled when you choose a control point. Choose Display the Edit Control Point dialog. Use this dialog to edit the name, map coordinates, or raster image coordinates of the selected control point. For a description of this dialog, see the following: Using the Add Point Dialog and and Edit Control Point Dialog.
MapInfo Reference
353
New
Projection Units
354
MapInfo Reference
Using the Add Control Point Dialog and the Edit Control Point Dialog
If no control points are selected, and you click on the image preview area of the Image Registration dialog, the Add Control Point dialog displays. If you select a control point, then click on the image preview, the Edit Control Point dialog displays. Both dialogs contain the same options, as described below. You can also add or edit control points by choosing Table > Raster > Select Control Point From Map, and then clicking on a Map window while the Image Registration dialog is displayed. Label Map X, Map Y latitude Enter an optional label in this field. Enter the x and ycoordinate values, such as longitude. If you are entering coordinates in degrees (the default), any location west of the Prime Meridian has a negative xcoordinate, and any point south of the Equator has a negative ycoordinate. Thus, 73 degrees West is represented by the X value 73. These fields represent the position of the control point, in on the raster image. An Image X value of zero represents the left edge of the image, and an Image Y value of zero represents the top edge of the image.
See:
Adjust Image Styles Command Modify Image Registration Command The MIPro User's Guide: Chapter 15
MapInfo Reference
355
a table is open.
Menu Path
"
Renaming a Table
A MapInfo table consists of several component files; use the Rename Table command to rename each of the table's component files. If you rename a table by using the Windows File Manager, be sure to rename all of the component files. When you rename a table, any workspaces containing that table are effected. When you want to continue using those workspaces, you should edit the workspace file so that it uses the new table name. You can edit a workspace file in any text editor or word processor. When you rename a raster image, MapInfo renames its associated .tab file (MapInfo Registration File) without renaming the actual raster image file. To rename a table:
"
When more than one table is open, a dialog with a dropdown list of all open tables displays. Rename Table Dialog Rename table Rename Cancel Help Choose the table to rename. Display the Rename Table dialog. Cancel the rename operation. Display appropriate Help topic.
356
MapInfo Reference
Select the directory where you want to store the table. Enter the new table name. Designate file type. Rename the table and its component files. Cancel the dialog options. The dialog box closes without renaming the table. Display appropriate Help topic.
See:
Save Copy As Command User's Guide: Chapter 18
MapInfo Reference
357
toggle in and out of Reshape mode. Use reshape to edit regions, polylines, lines, arcs, and points by moving, adding, and deleting nodes that define line segments. You also can copy and paste selected nodes to create new points, lines and polylines.
a single region, polyline, line, arc or point is selected from an editable map layer or Layout window.
Menu Path
"
"
358
MapInfo Reference
Click on a node.
Click and drag a selected node to the new location. All other selected nodes will also move.
To prevent accidental moving of nodes, MapInfo does not move them until you hold down the mouse button for one second. To delete a node: 1. 2. Select a node(s). Choose Edit > Clear or Edit > Cut (to remove the nodes and place them on the clipboard) 3. Press <DELETE> or <BACKSPACE>. The selected nodes are deleted. If all nodes are deleted, the region or polyline is deleted. If only some nodes are deleted, the region or polyline is redrawn to reflect the deletion(s). When nodes are deleted from a region, the resulting object is still a region. To create a polyline, use Convert to Polylines on the resulting region, or Copy/Paste nodes that you want to retain.
MapInfo Reference
359
Adding a Node
Nodes can be added only to lines, polylines and regions. To add a node: 1. 2. 3. Choose Drawing Toolbar > Add Node button. Move the cursor to the point on the segment where you want to add a node. Click to add the node.
360
MapInfo Reference
The tabular data is not copied to the clipboard. When you paste the nodes, the resulting object has an empty tabular row.
Choose Map > Layer Control > Display > Show Centroids.
To move an object's centroid: 1. 2. 3. Choose Main Toolbar > Select button. Select the object whose centroid will be moved. Choose Edit > Reshape or Choose Drawing Toolbar > Reshape button. 4. Click on the centroid and drag it to another location within the object.
See:
Add Node Button Snap To Node The MIPro User's Guide: Chapter 13
MapInfo Reference
361
to access a previous version of a table when you have made changes that you do not want to make permanent and haven't saved yet.
Menu Path
"
See:
Save Copy As Command Save Table Command
362
MapInfo Reference
access the Rounded Rectangle tool. Use the Rounded Rectangle tool to draw rounded rectangles and squares.
Menu Path
"
Rounded Rectangles are closed figures filled with the default fill pattern and/or color. Patterns and colors are set from the Region Style option. Change the settings by choosing Options > Region Style. See Region Style Command.
MapInfo Reference
363
"
The Rounded Rectangle Object dialog displays. Rounded Rectangle Object Dialog
X1 and X2 are left and right boundaries, respectively. Y1 and Y2 are the top and bottom boundaries, respectively. Coordinate values of the rectangle's center. Top to bottom distance. Set the height of the rounded rectangle field. Left to right distance. Set the width of the rounded rectangle field. Corner radius is measured in units appropriate to the object represented. Choose to display the Region Style dialog where you can specify the fill and pattern of rounded rectangles. See Region Style Button. Accept dialog options. Cancel dialog options. Display appropriate Help topic.
OK Cancel Help
364
MapInfo Reference
Menu Path
"
MapInfo Reference
365
Run MapBasic Program Button Tools Toolbar Run MapBasic Program Command File Menu
Use the Run MapBasic Program button or command to:
D
Menu Path
"
"
"
366
MapInfo Reference
Concentric Ring Buffers (r_buffer.mbx): Create concentric buffers in one step. For example, the first buffer ring goes 0-50 miles, the next ring goes 50-100 miles, etc. AutoLabel (autolbl.mbx): Creates map labels as text objects stored in the Cosmetic layer. Use this application if you need to create map labels that can be saved to a permanent table. COGOLine (cogoline.mbx): Draw a line of a specific length, at a specific angle (e.g. specifying zero degrees makes the line go due East). DMS Convert (dmscnvrt.mbx): Converts between degrees/minutes/seconds and decimal degrees for an entire table. GridMaker (gridmakr.mbx): Draw a graticule (a grid of longitude/latitude lines). InstallW (installw.mbx): Installer utility for street data. Legend Manager (legends.mbx): Manage legend windows. This application allows you to create more than one legend, or embed a legend within a map. MapInfo ODBC Catalog (miodbcat.mbx), ODBC Upload (miupload.mbx), BuildSQL: Utilities to aid database administrators. MapWin (mapwin.mbx): Control a Map window's title, and turn autoscroll on or off.
MapInfo Reference
367
Named Views (nviews.mbx): Assign a description to the current map view (center point and zoom). Later, you can return to the view by choosing the name from a dialog. OverView (overview.mbx): Open a second map window that displays an overview of the current map (also referred to as an area detail map). Scale Bar application (scalebar.mbx): Annotate a map with a distance scale. Seamless Manager (seammgr.mbx): Create and manage seamless tables. Search and Replace (srchrepl.mbx): Perform a searchandreplace operation on a column in your table. Symbol application (symbol.mbx): Create custom symbol shapes. Table Manager (tablemgr.mbx): Display information about your tables, such as the table's full directory path.
After you run one of the sample applications, look on the Tools menu for related commands. Tip: To display instructions for the sample applications, choose About... from the Tools menu. Within the About box there is also an AutoLoad button. Click this button if you want the application to load automatically, every time you start MapInfo. (Automatic loading of applications is managed through the workspace Startup.wor.)
See
The MIPro User's Guide, Chapter 20
368
MapInfo Reference
save an existing table, including a query table or a linked table, under a new name, with a designated projection, in MapInfo, Microsoft Access, or dBASE DBF file format.
Menu Path
D
Choose File > Save Copy As. The Save Copy of Table As dialog displays. If more than one table is open, choose the appropriate table from the dropdown list.
MapInfo Reference
369
Specify the path where the table is to be saved. Type the new name of the file. MapInfo supports long filenames. This allows you to use up to 260 characters when naming your file. In addition, any one name within your directory path can be up to 255 characters. You can insert spaces in the filename and long filenames can have more than one ." in them. When using more than one .", you must remember to type in the file extension in order to save the file correctly. For example you can name a table as follows: \\soup\for.lunch.today.and.everyday.tab
Save as type:
Choose MapInfo, MapInfo 2.x (save to MapInfo 2.0 or 2.1 format) or dBASE DBF. When saving to dBase, the data file is saved to both DBF and MapInfo format. If you want only a DBF file, use the Export command (Table > Export). Save a copy of the table with the specified name and format in the specified path. If the file format is dBASE DBF, the dBASE DBF dialog displays. Specify the appropriate character set. Cancel the operation.
Save Cancel
370
MapInfo Reference
3. 4.
5. 6.
Enter the name of the new Access table. If you wish to save this table to a new Access database, click OK. MapInfo creates a new Access database with the same name as the table you are saving, and saves the table in Access format to that database.
MapInfo Reference
371
7. 8.
Specify the location of the existing Access database where you want to save the table. Choose Save to display the Save Access dialog where you can save the table to the specified database.
9.
372
MapInfo Reference
See:
Rename Table Command
MapInfo Reference
373
prevent data loss when you are closing a mapper window or table.
you select Close Table and there is only one table left open in your mapper window. you select Close All. you select Table > Maintenance >Pack Table. you select File > Exit. you select Close from the Windows System menu. you select Map > Save Cosmetic Objects.
If you have a mapper window with cosmetic objects open and you select any of the close actions listed above, the Save Cosmetic objects dialog will display.
Select the layer to which the cosmetic objects should be saved. Select New to save objects to a table not currently open, or to a new table; the Save Objects to Table dialog displays. Saves the cosmetic objects to the designated table. Cancels the operation; cosmetic objects are not saved.
374
MapInfo Reference
save a query created using the SQL Select or Select command as MapInfo Query tables.
you have created a query using the Select or SQL Select command.
Menu Path
"
Save Query
The Save Query command, a major usability improvement to the querying functionality as of MapInfo Professional 4.5, is enabled when you have created a query using the Select or SQL Select command. Save Query is available only for queries created using Select or SQL Select commands. Queries against other queries may not be saved using this feature. Queries can be saved using a new MapInfo table type. These tables consist of two files; a .TAB and a .QRY. Once a query has been saved in one of these tables, it may be reexecuted by simply opening the table. To use Save Query: 1. 2. Create a query using the SQL Select or Select command. Choose File > Save Query. Complete the dialog to save the query as a MapInfo table file. When you open this table, the tables on which the query is based are reopened and the query is reexecuted.
See:
Save Template
MapInfo Reference
375
at least one table has been edited (i.e., information added, records deleted or modified, etc.).
Menu Path
"
Choose File > Save Table. The Save Table dialog displays.
Display a list of open tables with edits pending. Choose the table that you want to save. Save the table with any changes. MapInfo saves the edits and leaves the table open for continued use. Cancel dialog options. Access online help.
376
MapInfo Reference
Conflict Resolution
Because the records in a linked table are from a remote database, it is possible that other users may have changed or deleted them on the remote database since the table was downloaded into MapInfo. As a result, conflicts may exist between the data residing on the remote database and the new data that you want to upload to the remote database. When saving a linked table, if MapInfo finds conflicts between the data on the remote database and any records in the linked table since it was downloaded, the Resolve Conflicts dialog automatically appears. Use this dialog to resolve conflicts as explained below. This process will be invoked whenever an attempt to save a linked table detects a conflict in an update. The dialog allows the user to choose which fields from the conflicting records will be used to update the database. Three instances of the record being updated must be considered:
D
The original server state of the record (the record as it appeared when initially extracted from the database). The current local state of the record (the record as it appears in the session of MapInfo making the update, possibly after editing by the user). The current server state of the record (the record as it appears in the database at the time of the update).
A conflict exists when the original state of the record does not match the server state. This implies that another user has updated this database since it was extracted by MapInfo. The conflict resolution dialog will appear once for each conflicting record. At any point in this process, the user may choose to leave this interactive mode and have the rest of the conflicts resolved automatically. The user may choose to use all local values or all server values. For each conflict found during a commit, the user will be presented with a modal dialog box. This box will display enough information for the user to decide which data values to use to update the row in question.
MapInfo Reference
377
Type of conflict
Value changed on server, local value unchanged Value changed on server, local value changed
Default resolution
Use server value Use local value
378
MapInfo Reference
Column
Shows the name of the column in the record that has data which is in conflict and needs to be resolved. If the column name is too long and does not fit into the list box, a truncated representation will be shown instead. Its full value is displayed in the Column field, below.
Original ODBC
Shows the original data as it appeared when extracted from the database. If the original data is too long and does not fit into the list box, a truncated representation will be shown instead. Its full value can be displayed in the Original field, below.
Current MapInfo
Shows the data as it appears in the MapInfo linked table you are trying to save. The MapInfo field will be blank if the record has been deleted from the MapInfo database. If the data from the MapInfo linked table is too long and does not fit into the list box, a truncated representation will be shown instead. Its full value can be displayed in the MapInfo field, below.
MapInfo Reference
379
380
MapInfo Reference
See:
New Table Command Revert Table Command Save Copy As Command Open ODBC Table Command
MapInfo Reference
381
always available.
Menu Path
"
382
MapInfo Reference
See:
Save Query
MapInfo Reference
383
prevent thematic layer data loss when you are closing a mapper window, table, or workspace.
you select Close Table Interactive and there is only one table left open in your mapper window. you select Close Table. you select Close All. you select Table > Maintenance >Pack Table. you select File > Exit. you select Close from the Windows System menu.
Save: Saves your thematic settings to a workspace. Discard: Discards your thematic settings, without saving them. Cancel: Cancels the Close action.
If you have a mapper window with a thematic layer in it and you select any of the close actions listed above, the Save Objects dialog will display. You must choose Save, Discard, or Cancel to leave the dialog.
384
MapInfo Reference
capture the active window and save it as a bitmap (.BMP) or a Windows metafile (.WMF). You can then use the exported file with other applications.
at least one of the following is open: Browser, Map, Graph, or Layout window.
Menu Path
"
Choose File > Save Window As. The Save Window As dialog displays.
Image Size Same as Window Default Width and Height of the image automatically display. When you choose this setting, the image is saved with the default dimensions. Set the window size. When you want to make the image larger or smaller, scale the image by either entering the width or height or resize the window manually. When you change either the height or the width, MapInfo changes the other dimension to preserve the image's proportions. Access the Save Window to File dialog where you can specify a file name, and path. Cancel the dialog options. Display appropriate Help topic.
Custom Size
MapInfo Reference
385
Choose a directory where you want to save the image. Type a file name. MapInfo supports long filenames. This allows you to use up to 260 characters when naming your file. In addition, any one name within your directory path can be up to 255 characters. You can insert spaces in the filename and long filenames can have more than one ." in them. When using more than one .", you must remember to type in the file extension in order to save the file correctly. For example you can name a table as follows: \\soup\for.lunch.today.and.everyday.bmp
Save as type:
Choose the file format for the exported image. Bitmap (.BMP) is the default format. You can also choose Windows Metafile (.WMF); JPEG File Interchange Format; Portable Network Graphics Format; Tagged Image File Format; Photoshop 3.0. Before you choose the WMF format, read the information on window metafiles which follows. Save the window with the specified options. Cancel the dialog options. Display appropriate Help topic.
386
MapInfo Reference
See:
Set Clip Region
MapInfo Reference
387
save information about the tables and windows used in the current session.
Menu Path
"
Choose File > Save Workspace. The Save Workspace dialog displays.
388
MapInfo Reference
Help
See:
Open Workspace Command Startup.wor The MIPro User's Guide: Chapter 5
MapInfo Reference
389
select all objects from the top selectable layer in a map, all objects in a layout or all rows in a browser.
a Browser window is active or a Map window is active, and at least one layer is selectable or a Layout window is active.
Menu Path
"
In a browser, all the records are selected. In a map, all the objects in the topmost selectable layer are selected. In a layout, all objects in the layout are selected.
See:
Layer Control Button/Command
390
MapInfo Reference
Select Button
Select Button
Use the Select button:
D
access the Select tool. Use the Select tool to select one or more objects or records for analysis or editing in a Map, Layout or Browser window.
Menu Path
"
Selecting Objects
Making selections is a basic MapInfo operation. Using the Select tool is only one way of making selections. When you activate the tool by clicking on its button, the cursor becomes a pointer. If you are editing records in a Browser window, the cursor becomes an Ibeam.
The layer where the object is located must be selectable in the Map window. When an object is selected it is highlighted according to the settings you specified in Options > Preferences > Map > Highlight Control. If the layer is editable, the selected object is surrounded by edit handles. When you select another object, the first object is unselected. When you want to select more than one object, press <SHIFT> while selecting.
Press <SHIFT> while using the Select tool to continue to make selections.
Select multiple objects as long as they reside in the same layer. Each time you select additional object(s), the newly chosen object(s) is added to the current selection.
MapInfo Reference
391
Select Button
Press <SHIFT> while using the Select tool and click the object.
When you click, the object is removed from the selection. To unselect all objects:
"
"
4.
You can move several objects at a time. However, when moving multiple objects, a dotted rectangle displays instead of the object's shape. Once you have chosen multiple objects, place the cursor on any one of them and continue as if you were selecting a single object. When you move the rectangle all of the objects move at once and maintain their positions relative to one another.
392
MapInfo Reference
Select Button
Adding a Row to the Current Selection To add a row to a current browser selection:
"
That record is added to the current selection. Removing a Row from the Current Selection To remove a row from the current browser selection:
"
See:
Boundary Select Button Marquee Select Button Radius Select Button User's Guide: Chapter 8
MapInfo Reference
393
query a database, select records and objects from a table according to certain criteria and create a results table that you can view as a map, browser or graph. To query remote database tables, see the Open ODBC Table command.
Menu Path
"
Highlight the records meeting the criteria of the query in a browser . Highlight the graphic objects of the chosen records are highlighted in a map. Highlight both the objects and the records if both a Map and Browser window are open.
In all cases, a selection results in a working table called Selection. This table contains the results of the query. Map or graph this table or save it as a separate table with by using Save Copy As. To make a query:
"
Select Dialog
394
MapInfo Reference
Browse results
OK Cancel Help
See:
The MIPro User's Guide, Appendix F SQL Select Command The MIPro User's Guide: Chapter 9
MapInfo Reference
395
You do not need to close the Image Registration dialog before choosing the Select Control Point From Map command. Choose menu items while the Image Registration dialog is on the screen.
Menu Path
"
See:
Adjust Image Styles Command Modify Image Registration Command Register Raster Image The MIPro User's Guide: Chapter 15
396
MapInfo Reference
Send Mail
Send Mail
Use Send Mail to:
D
send a Windows metafile (.wmf) version of the currently active map, browser, graph or layout window using a MAPI (Messaging Application Programmers Interface) compatible mail service, such as MS Mail. send a .wor version of a MapInfo workspace using a MAPI compatible mail service, such as MS Mail.
Menu Path
"
MapInfo Reference
397
change the order of objects in a layout by positioning the current selected object, or objects, behind other existing objects.
Menu Path
"
Press <CONTROL> while using the Select tool and choose the objects. The Select tool cycles through overlapping objects starting with the topmost one.
See:
Bring to Front Command New Layout Window Command The MIPro User's Guide: Chapter 17
398
MapInfo Reference
Menu Path
"
Data Column
MapInfo Reference
399
Line Symbol
OK Cancel Help
400
MapInfo Reference
Cancel OK Help
See:
Graph Type Command New Graph Window Command
MapInfo Reference
401
Menu Path
"
"
402
MapInfo Reference
See:
Clip Region Off The MIPro User's Guide: Chapter 6
MapInfo Reference
403
prepare a selected object to accept subsequent editing commands: Combine, Erase, Erase Outside, Split and Overlay Nodes.
a Map window is active and a layer in the current Map window is editable and at least one object in the layer is selected.
Menu Path
"
You can now create a cutter object and perform an editing operation. For a full discussion of each editing operation, see Combine, Erase, Erase Outside, Split, Overlay Nodes.
See:
Clear Target Command The MIPro User's Guide: Chapter 16
404
MapInfo Reference
Set Target District From Map Button Main Toolbar Set Target District From Map Command Redistrict Menu
Use Set Target District From Map button and command to:
D
Menu Path
"
"
See:
Assign Selected Objects Button/Command New Redistrict Window Command The MIPro User's Guide: Chapter 16
MapInfo Reference
405
Shortcut Menus
Shortcut Menus
Use Shortcut Menus to:
"
display command menus for the window in which you are working.
press and hold the right mouse button. The shortcut menu for that window displays.
Customize shortcut menus by editing the .mnu file using MapBasic language syntax. Each window displays the appropriate shortcut menus. The following lists the options available in each window:
Browser window
D D
Graph window
D D D D
Layout window
D D D D D D D D
Change Zoom View Actual Size View Entire Layout Previous View Bring to Front Send to Back Align Objects Create Drop Shadows
406
MapInfo Reference
Shortcut Menus
Map window
D D D D D D D D
Layer Control Clear Cosmetic Layer Change View Clone Mapper Previous View View Entire Layer Edit Objects > Objects menu displays Get Info
MapBasic window
D D D D
Redistricter window
D D D D
Assign Selected Objects Set Target District from Map Add District Delete Target District
MapInfo Reference
407
Menu Path
"
Displaying a Legend
To display a theme legend window: 1. 2. Choose Options. Choose Show Theme Legend Window. The Legend window displays or disappears from the screen.
Close the Legend window by clicking on the window's Control menu box. or Choose Options > Hide Legend Window.
See:
Create Thematic Map Hide Legend Window Command New Graph Window Command Modify Thematic Map Command
408
MapInfo Reference
Show MapBasic Window Button Tools Toolbar Show MapBasic Window Command Options Menu
Use the Show MapBasic Window button and command to:
D
Menu Path
"
"
Choose Options > Show MapBasic Window. The MapBasic Window displays or
"
MapInfo Reference
409
MapInfo executes the command. When the command does not produce the expected result, edit the command statement by deleting items, adding new items or rearranging items. To reissue a command that you have previously issued: 1. 2. Position the cursor anywhere within the command statement. Press <ENTER>. Use this feature to issue a command several times with small changes each time. To reissue a series of commands: 1. 2. Choose the series by dragging the cursor over them to highlight them. Press <ENTER>.
410
MapInfo Reference
Show Statistics Window Button Main Toolbar Show Statistics Window Command Options Menu
Use Show Statistics Window command and button to:
D
Menu Path
"
"
Choose Options > Show Statistics Window. The Statistics window displays. or
"
The Statistics window shows the number and tallies the sum and average of all numeric fields for the currently selected objects/records. As the selection changes, the data is retallied, and the Statistics window is updated automatically. To obtain statistics for an entire table, use Query > Select All to select all records in a table.
See:
Calculate Statistics Command Hide Statistics Window Command
MapInfo Reference
411
Menu Path
"
See:
Hide Status Bar Command StatusBar
412
MapInfo Reference
Menu Path
"
Smoothing a Polyline
Smooth is available when any object is chosen, however, it only smooths a polyline. It does not smooth a polygon or a rectangle. To smooth a polyline: 1. 2. Select a polyline in an editable layer. Choose Objects > Smooth. The polyline is smoothed.
See:
Unsmooth Command The MIPro User's Guide: Chapter 13
MapInfo Reference
413
specify the number of pixels at which a node will align (snap") to another node.
Menu Path
D
The S" key is a toggle; to deactivate snap to node, press S" again. When snap to nodes is active SNAP" displays in the StatusBar.
Autotrace
Use autotrace to easily trace multiple nodes of a polyline or polygon when using the Polyline or Polygon tools. Autotrace is available when Snap mode is activated and can be used with the mouse or digitizing puck.
414
MapInfo Reference
Using Autotrace
To use Autotrace: 1. 2. 3. Activate Snap mode by pressing the "S" key. Click on a node of the polyline/polygon you want to autotrace. Move the mouse to another node of the same object. To trace the shortest distance between the mouse and the node hold down the Shift key and click. To trace the longest distance between the mouse and the node hold down the Ctrl key and click. Pressing the Shift or Control keys highlights the autotrace path. Click to automatically trace the segments between the nodes and add them to the polyline/polygon you are drawing. To autotrace more than one polygon, click on a node common to both polygons. The autotraced border(s) are placed in the editable layer. To see the autotraced object, select it and drag it away from the existing object. You may also find it helpful to autotrace a border and place it in the Cosmetic Layer. To do so, make the Cosmetic Layer editable before you begin the autotrace process. Autotrace the polygon(s) or polyline(s) and save the Cosmetic Objects to a new layer.
See:
Reshape Polygon Button The MIPro User's Guide Chapters 13 and 22.
MapInfo Reference
415
break map object(s) into smaller parts using the currently selected object(s) as the cutter.
a Map window with an editable layer is active and at least one object is set as the target and the object(s) that will act as the cutter is selected.
Menu Path
"
Splitting an Object
Use split to split closed objects (regions, ellipses, rectangles, or rounded rectangles) or open objects (polylines, lines and arcs). You cannot use Split on points or text objects or to cut objects that are not in editable layers. To use Split: 1. 2. Choose Objects > Split. The Data Disaggregation dialog displays. Choose the appropriate Data Disaggregation function (discussed below) to split the data. Click OK. The target object(s) will now be split into smaller map objects. Choose whether the data associated with the target object is carried over to the new objects or is proportioned among them.
416
MapInfo Reference
Show the headings contained in the table. Show the disaggregation method (blank, value, or area proportion) that will be applied to the corresponding field.
Disaggregation Method Data disaggregation splits the data associated with a map object into smaller parts to match the new map objects. For example, you may want to split a state into regions and have the data previously associated with the entire state proportioned for each new region. Blank The value contained in the data field of the target object is deleted in the new object. For example, choose Blank for the state name field if you do not want the new object to be named with the state name. A Browser window of the new objects shows text and numeric fields alike to contain blank values. The value is retained in the new object. For example, the name of the state in the target object will be carried over to the new object(s). Numeric values of the target object are proportioned for each new object, based on the area of the new objects. For example, if you split California into three new regions and choose Area Proportion for its population, each region now contains the population for its region based on its area.
Value
Area Proportion
MapInfo Reference
417
OK
Cancel Help
select the first row and Shiftclick to select subsequent row and choose the appropriate function.
select the first row and Controlclick. select subsequent row and choose the appropriate function.
You must choose or accept a disaggregation method (blank, value or area proportion) for each field.
See:
Combine Command Set Target Command The MIPro User's Guide: Chapter 16
418
MapInfo Reference
generate query tables (using one or more base tables to make selections based on certain criteria), join tables, create derived columns or as combinations of these. To query remote database tables, see the Open ODBC Table command.
Menu Path
"
Overview
Before you start querying, it is helpful to understand the concepts involved in the SQL Select process: Derived Information, Joining Tables and Assembly.
Derived Information
Derived information is information that can be calculated from information in a table but that is not directly present in the table. For example, the states table that comes with MapInfo has a column for 1990 population (POP_1990) and another column for the total area (TOTAL_AREA) of the state. That information is explicit. When you divide the 1990 population by the total area, you get the 1990 population density. Population density is derived. You cannot read density values in the table, but you can calculate them from explicit information. Continuing with the example of the states table, we can derive information about population change from information that is explicit in the table, which contains information about 1980 population (POP_1980) and 1990 population (POP_1990). If you are interested in population change between 1990 and 1980, you could subtract 1980 population from 1990 population to compute the absolute difference in population. You could also divide 1990 population by 1980 population, that would give you the ratio between the population values. Either way, the information about population change is derived information.
MapInfo Reference
419
Joining Tables
Use SQL Select to create relational joins that can bring information from various databases together into a single table. For example, you may have a table of counties that has demographic informationthe population of people in various age ranges, ethnic groups, and occupational categories in each county. You also have a database containing information about customer orders. You want to examine these two tables and see if certain kinds of orders come from counties having certain demographic characteristics. Perhaps you want to select counties according to combinations of orders and demographic characteristics. First, you have join the two tables. One way to join two tables is to use a column that contains matching information. The counties table contains the name of the county. Similarly, one of the columns in the order table contains the name of the county in which the order originated. These two tables have one field in common, the county name. MapInfo uses that common field to match information in the customer table to the objects in the geographic table.
When you use SQL Select, you tell MapInfo to match the information in the County column of the counties table with the County column of the orders table. Given that clue, MapInfo is able to link other information about orders to information about county demographics. You can also specify joins geographically. When the two tables have graphic objects, MapInfo can match records on the basis of the spatial relationship between those objects. For example, you could match cities and counties such that records for cities are joined to those of the counties containing them.
County Table
Pop_1980 23,789 35,456
Order Table
Customer Francis James
County Foster
Williamette Mason
147,101
151,201
Wickwire
Mason
Assembly
The concept of assembly is straight forward: create a new table by assembling explicit or derived information from one or more existing tables. You can use SQL Select to assemble existing information into substantially different databases. You can use MapInfo's SQL Select command to create one table that is a subset of another table or quite different from any of its source tables.
420
MapInfo Reference
Specify tables Select columns Formulate the where condition Group by columns to create subtotals Order by Columns
Select Columns
To select columns:
"
Choose Query > SQL Select. The SQL Select dialog displays.
In the first box, the Select columns box, list the columns (i.e., fields) you want to appear in the query table. If you want to use all of the columns, leave the (*) asterisk in the select box or place one there if it is not already there. You cannot select any columns until you specify what tables to use. The Columns menu is empty until you fill in the From tables box.
D
Use the column name or column position (i.e. col2, for second column in table).
Columns that are from one of the base tables you are using. Derived columns columns that are based on expressions.
When you are using more than one table, a column name should be preceded by the name of its table, with the two separated by a period. STATES.ABBR" refers to the ABBR column in the states table, and STATES.POP_1990" refers to the POP_1990 column in the states table. When you choose the columns from the menu, MapInfo automatically attaches the table name to the column name. Derived columns are defined by expressions, such as:
D D D
MapInfo evaluates the expression and places the result in the derived column. The name of the column is the expression itself. However, you can specify an alias for any column named in Select Columns. An alias is simply an alternative name for a column. When you specify an alias, the alias appears as the column name in the results table.
MapInfo Reference
421
Type a blank space after the column name or expression. Type the alias enclosed in double quotes.
For example, you might specify aliases for the derived columns in the example as follows:
D D D
When you place object" (or obj") into a column, MapInfo lists the type of object attached to that row (line, polyline, polygon, etc.). Finally, you cannot have an asterisk followed by column names. You might be tempted to do this when you are working from several tables. You might, for example, want all the columns from one table, and only one or two columns from another table (or tables). In that case you must list all of the columns. There is no way you can use the asterisk to designate all columns from only one of the tables.
Order of Fields
The order of fields used in the Join does not matter. Either of the following syntax is acceptable:
Select * from A,B where A.field1 = B.field1 Select * from A,B where B.field1 = A.field1 However, keep in mind that when you switch the order of geographic operands, the geographic operator must also change. The following statements will produce identical results:
422
MapInfo Reference
Order of Clauses
The order in which Join clauses are performed does not matter. For example, each of the following are valid clauses: Select * from Us_custg,States,City_125 where Us_custg.state = States.state and States.state = City_125.state and Us_custg.order_amt > 10000 Select * from Us_custg,States,City_125 where States.state = City_125.state and States.state = City_125.state and Us_custg.order_amt > 10000 Select * from Us_custg,States,City_125 where Us_custg.state = States.state and Us_custg.order_amt > 10000 and States.state = City_125.state
Error Handling
If an invalid Where condition that uses an OR as a logical operator is detected, MapInfo will indicate an error has occurred. Usually this error will display whenever MapInfo cannot find a join between two tables. For example, if you have specified the following incorrect condition: Select * from A,B where A.field1 = B.field1 or A.field1 = B.field2
The error No join specified between A and B. Invalid join condition in Where clause displays. You cannot use aggregate functions in a Where condition.
MapInfo Reference
423
When using Group by columns keep in mind that the table resulting from a Group is not mappable.
D D D D D
Select columns from tables State, Count(*), Sum(Sales) My_cust State group by columns If you aren't using a join, you can use regular field names.
Refer to columns by their name or by a number. The resulting table from Group by is not mappable. If you are grouping by the value of a derived column or if you are joining tables, you must use a numerical designator. When referring to columns by number, do not prefix the number by col." Use the numbers alone. You can list more than one column. MapInfo first groups records by the first column you list. Within those groupings, it groups records by the second column, and so forth. For each resulting row, the query table contains aggregate values for all columns based on aggregate functions. Columns in the Select Columns box that are based on aggregate functions cannot be listed in Group by column. However, all other columns should be listed in Group by columns.
424
MapInfo Reference
The first statement orders the records by state name, starting with Wyoming and ending with Alabama. The second statement orders records by 1990 population, listing the record with the highest population value first. The third statement orders the records in descending order by the values in the third column. Notice that desc" is separated from the column name (or number) by a single blank space. You can also use the asc" keyword to have a column sorted in ascending order. You use asc" the same as you would desc". By using desc" and asc" you can sort by one column in ascending order, by another in descending order, then back to ascending order, and so forth. SQL Query Dialog
Select Columns
List the columns (i.e., fields) you want to appear in the query table. Click the Columns dropdown list to display a list of available columns. The columns are inserted into the box at the cursor. If you want to use all of the columns, leave the asterisk in the select box, or place one there if it is not already there. Choose from a list of tables available for making the query. Click the Tables dropdown list to display a list of available tables. You cannot use query tables in multitable SQL Selects When you are doing a multitable join, the tables must be base tables. Specifies what records (rows) from the base table, or tables, are included in the query table. See the preceding: Formulating the Where Condition.
from Tables
where Condition
MapInfo Reference
425
Order by Columns
The table is still only temporary. To make it a permanent base table, use the Save Copy As command in the File menu. Also, if you want to work with the new base table, open it using File > Open. See: Expression dialog for a list of available operators and Functions for a list of functions.
Aggregate Functions
Use aggregate functions when you want to summarize data. You place an aggregate function in the Select columns box in the SQL Query dialog. Imagine that you have a table of customer orders. Each row in the table represents a single order. One column in the table contains the name of the sales representative who booked the order, another contains the name of the customer, and yet another contains the order amount. You want to find out:
D D D
How many orders were booked by each sales representative The average amount of the orders The total value of the orders
The following SQL Select provides that information: Select columns from tables
Notice the three aggregate functions in Select columns and the Group by columns. What MapInfo does is:
D D D D
Sales_Rep, count(*), avg(AMOUNT), sum(AMOUNT) Orders Sales_Rep group by columns Find all the rows for a particular sales representative. Count the number of rows: count(*). Calculate the average value of orders for the sales representative: average(AMOUNT). Calculate the total value of the orders for the sales representative: sum(AMOUNT)
426
MapInfo Reference
This query is essentially the same query as the previous one, except that we are grouping by Customer rather than by Sales_Rep. This SQL Select finds the count, average, and sum of orders for each customer rather than for each sales representative. The following example illustrates using multiple group by columns: Select columns from tables
Customer, count(*), avg(AMOUNT), sum(AMOUNT) Orders Customer group by columns Sales_Rep, Customer, count(*), avg(AMOUNT), sum(AMOUNT) Orders Sales_Rep, Customer
We have specified two columns in Group by columns. In this case, MapInfo groups rows first by sales representative and then by customer. The result table for this query has one row for each different customer/sales representative combination. When a particular customer has ordered through two or more sales representatives, there is a row summarizing that customer's business with each sales representative. The rows are grouped first by sales representative and then, for each representative, by customer.
group by columns
Geographic Operators
Geographic operators allow you to select objects on the basis of their spatial relationship to some other object. MapInfo has a special keyword you use with geographical operators: obj" or object". This
MapInfo Reference
427
The difference between Contains and Within and Contains Entire and Entirely Within, hinges on how the geographic comparison is made. For Contains and Within, the comparison is based on object centroids. For Contains Entirely and Entirely Within, the comparisons are based on the whole object. The following graphic illustrates this point:
Object A Contains object B if B's centroid is anywhere within A's boundary. Object A Contains Entire object B if B's boundary is entirely within A's boundary. Object A is Within object B if its centroid is inside B's boundary. Contains Entire Within Entirely Within Intersects Object A is Entirely Within object B if A's boundary is entirely within B's boundary. Object A Intersects object B if they have at least one point in common or if one of them is entirely within the other.
In each case, object A contains object B because the centroid of object B is inside the boundary of object
objectA contains objectB objectB within objectA objectA Intersects objectB objectB Intersects objectA objectA contains entire objB objectB entirely within objA
A. However, in the cases at the left and in the middle, part of object B is outside the boundary of object A. Only in the case to the right is all of object B inside object A. Only in this case could we assert object A Contains Entire object B" or object B Entirely Within object A." Further, if A contains entire B, then A contains B, and If A is entirely within B then A is within B. However, MapInfo can perform a simple Contains or Within comparison more rapidly than a Contains Entire or Entirely Within. Therefore, unless you must be absolutely sure that objects are completely
428
MapInfo Reference
Subselects
MapInfo allows subselects in an SQL Select. A subselect is a select statement that is placed in the Where condition of the SQL Select dialog. MapInfo first evaluates the subselect and then uses those values to evaluate the main SQL Select. For example, imagine you want to select all states whose population is greater than the average for 1990. In effect , you want to use the following statement in the Where condition: Pop_1990>Average However, you do not know what that average is. But you know that MapInfo can calculate that average using the following aggregate expression: avg(Pop_1990) What you can do is use that aggregate function in a subselect to calculate the average population per state. You would fill in the SQL Select dialog as follows: Select columns from tables *
states where condition Pop_1990>(select avg(Pop_1990) from states)
MapInfo Reference
429
The subselect gets the graphic object for all states with a 1990 population greater than 4,000,000. The that the main Select statement uses a geographical operator (within) to do this. Notice also that, while we are working with both the States table and the Cities table, we have only
main Select statement then gets all the cities that are in any of the states chosen in the subselect. Notice
cities where condition obj within any (select obj from states where POP_1990 > 4000000)
specified the Cities table in From tables. That is because we are not joining the two tables. We are only using States in the subselect. In the next example, we select all states that intersect Tennessee, that is, all states touching it. Select columns: from tables *
The main Where condition has the form: obj intersects obj. The second object is, in turn, specified by the subselect: select obj from states where obj="TN". MapInfo uses the subselect to find the graphic
states where condition obj intersects (select obj from States where ABBR = TN")
object for Tennessee and then uses the main Where condition to find those objects that intersect with it. You could use a similar query to select all street segments that cross some given street. Now consider this example: Select columns from tables
This query finds all counties containing a dealer. The main Where condition has the form: obj contains obj. The second object is chosen by the subselect: select obj from Dealers. MapInfo selects the row for any county object that contains a dealer object.
* county where condition county.obj contains any (select obj from dealers)
430
MapInfo Reference
Notes on subselects:
D D D
You can use tables in the subselect that aren't listed in From tables for your main Select. You must, of course, list these tables in the From clause of your subselect. All subselects must return one column. The following example is not valid: any(select abbr, pop_1990 from states) When the subselect is not used with any", all", or in", one and only one value can be returned. The following example is not valid: obj within (select obj from states where POP_1990 >4000000) You cannot have nested subselects. You can have only one subselect per SQL Select statement.
See:
The MIPro User's Guide, Appendix D The MIPro User's Guide: Chapter 9
MapInfo Reference
431
Standard Toolbar
Standard Toolbar
Use the Standard Toolbar to:
D
choose tools providing standard Windows options including cut, paste, and copy, as well as options unique to MapInfo; creating a new mapper, browser, graph, layout, redistricter.
a Map, Layout or Browser window is active and the Options > Toolbars dialog is set to display the Standard Toolbar.
New Table Open Table Save Table Print Cut Copy Paste
Undo New Browser New Map Window New Graph Window New Layout Window New Redistricting Window Help
432
MapInfo Reference
Standard Toolbar
Autoscrolling
When you use a tool in the Map or Layout window, the window scrolls if you drag the tool outside of the window boundaries. The window will continue to scroll until you release the mouse or move the cursor back into the window. Press Esc to stop scrolling; the tool remains active. To cancel the tool, press Esc after the scrolling has stopped. Autoscrolling works with any tool that can be dragged; it does not work with singleclick tools, such as the Grabber or Info tools.
See:
Toolbars Command The MIPro User's Guide: Chapter 4
MapInfo Reference
433
Startup.wor
Startup.wor
Use Startup.wor to:
D
start MapInfo using a particular workspace that opens various tables and windows.
Using Startup.wor
Name a workspace startup.wor when you want to start MapInfo with particular windows and tables already loaded. MapInfo will performs the startup actions as specified by startup.wor regardless of what you did in your previous MapInfo session or how you have set preferences. To create a startup workspace: 1. 2. 3. 4. Start MapInfo. Open the tables and windows and size and position them as they should display whenever you start MapInfo. Choose File > Save Workspace. The Save Workspace dialog displays. Type startup in the File name box. At the Save in:box, specify the MapInfo program directory or the home directory (directory where windows configuration files such as win.ini are stored).
434
MapInfo Reference
Startup.wor
Starting MapInfo
When you start MapInfo: 1. 2. If startup.wor is found in the MapInfo program directory, MapInfo will start by displaying the specified workspace. Again, if there is a startup.wor in your home directory, MapInfo will start by displaying the specified workspace. (If there is a startup.wor in both the MapInfo program directory and the home directory, both will be run.) If any file names are given on the command line (from the Windows File Manager or Program Manager, those file(s) will be loaded. MapInfo supports adding workspaces (.wor), running applications (.app), and opening databases (.tab) from the command line. If MapInfo did not add a workspace or run a program from the command line it then checks the Startup Preferences setting. If Load mapinfow.wor when starting MapInfo is checked, the workspace mapinfow.wor (in the user's home directory) is run. Finally, if MapInfo didn't load a workspace or run an application from the command line, and it didn't load mapinfow.wor, the Quick Start dialog displays.
3.
4.
5.
MapInfo Reference
435
StatusBar
StatusBar
Use the StatusBar to:
D
See:
Hide StatusBar Command Show StatusBar Command
436
MapInfo Reference
display and change the current editable layer or change the StatusBar display to indicate Zoom level; map scale; cursor location.
click on the layer name; a list of layers displays. Choose the layer you wish to make editable. Choose None to deactivate editability for all layers.
Zoom Popup: Click the Zoom area of the StatusBar to display a popup allowing you to choose from the following map options: zoom level; map scale; cursor location.
See:
StatusBar Command
MapInfo Reference
437
access the Symbol tool. Use the Symbol tool to place symbols on a map.
Menu Path
"
438
MapInfo Reference
See:
Symbol Style Button
MapInfo Reference
439
Symbol Style Button Drawing Toolbar Symbol Style Command Options Menu
Use Symbol Style to:
D
specify symbol attributes (symbol font type, size, color, rotation angle, and special effects) for new or selected symbols.
Menu Path
"
"
MapInfo Cartographic MapInfo Transportation MapInfo Real Estate MapInfo Miscellaneous MapInfo 3.0 Compatible Symbols (vector symbols, available as a True Type font in MapInfo Professional ): the 36 shapes from the MapInfo symbol set offered in versions prior to MapInfo Professional. MapInfo Oil & Gas MapInfo Weather MapInfo Arrows installed font symbols: symbols available from the installed fonts that offer a symbol set custom symbols: usercreated bitmap symbols saved to the CUSTSYMB directory created during MapInfo Professional installation.
D D D D D
To change symbol attributes, the symbols must reside in an editable layer or in a layout window. Symbol Style applies only to symbols. To change the attributes of other types of objects, see Region Style Button, Line Style Button and Text Style Button.
440
MapInfo Reference
Font
Choose a font from the dropdown list. In addition to the symbol sets provided by MapInfo, the list displays any fonts installed on Windows. The Custom Symbols category lists those bitmaps you have created and saved to the CUSTSYMB directory. Choose a size or type a different point size. The maximum size is 48 points. Choose a symbol type from the symbol palette. Custom Effects: Show Background: display the custom bitmap symbol with the background with which it was created; this background is white. Apply Color: Replace all nonwhite bitmap pixels with the color designated from the Color palette. Reload: reloads Custom symbols from disk.
Size Symbol
MapInfo Reference
441
if using the 16 bit version of MapInfo, the bitmap should be under 64K in size. if using MapInfo Professional, the bitmap should be under 128K in size. Save as a 256 color bitmap.
When creating custom symbols, smaller bitmaps (32 x 32 pixels) print better with smaller font sizes; larger bitmaps (64 x 64 pixels) print better with larger font sizes.
442
MapInfo Reference
See:
The MIPro User's Guide: Chapter 13
MapInfo Reference
443
change the structure of a table. Add, remove, rename or reorder fields, add and remove indexes, make a table mappable or ungeocode a table.
Menu Path
"
Modifying a Table
All tables must have at least one field. You cannot modify the structure of a readonly table, you can view it. If the table is readonly, the View Structure dialog displays. To modify a table's structure:
"
If more than one table is open, the View/Modify dialog displays. Select the table you want to view. The Modify Table Structure dialog displays. Modify Table Structure Dialog
444
MapInfo Reference
Indexed Up/Down
Add Field
Projection Help
MapInfo Reference
445
Type
Indexed
Width
446
MapInfo Reference
See:
New Table Command The MIPro User's Guide: Chapter 18
MapInfo Reference
447
access the Text Tool. Use the Text tool to annotate maps, tables and layouts.
Menu Path
"
Entering Text
Use the Text tool to create single and multiline text objects. To enter text: 1. 2. 3. 4. Choose Drawing Toolbar > Text Tool button. The cursor becomes an Ibeam when inside an active Map, Browser or Layout window. Click the cursor at the place on the map or layout where you want the text to be drawn. A flashing cursor displays. Type the text. The text displays at the flashing cursor as you type. To move to a new line of text, press <ENTER>. A text object is limited to 255 characters. Press <ESCAPE> or click the mouse on the map or layout when you are finished typing.
The settings used are designated in the Text Object and Text Style dialogs. To change the attributes of new or existing text, see Text Style Button.
448
MapInfo Reference
Displays text. Add or edit text here. Display the Text Style dialog to specify text attributes. See Text Style Button. Designate the XY coordinates of the upper left corner of the text object. Change coordinates to reposition text.
Line Spacing (applies to multiline text only) Single 1.5 Double Display no blank lines between text. Display half a blank line between text lines. Display a full blank line between each line of text.
Justification (applies to multiline text only) Left Center Right Left justifies text; justification is based on the point at which you clicked to place the label. Default setting. Center multiline text. The center is based on the length of the longest line. Rightjustifies text; justification is based on the point at which you clicked to place the label.
MapInfo Reference
449
Arrow line
Rotating Text
The Text tool allows you to rotate text objects by using the Select tool to grab an editing handle and rotate the text. To rotate text by dragging: 1. 2. Select the text with the Select tool. The text region is highlighted and bound by four edit handles at the corners and a fifth handle below the lower right corner. Grab the fifth handle and rotate the highlighted box to the appropriate angle.
Editing Text
To edit text created with the Text tool: 1. 2. 3. Choose Main Toolbar > Select button. Doubleclick on the text. The Text Object dialog displays. See the preceding dialog description. Click OK.
To change the text style of multiple text objects: 1. 2. 3. 4. Choose Main Toolbar > Select button. Shiftclick on the each text object you want to change. Choose Options > Text Style or press F8. The Text Object dialog displays. See the preceding dialog description. Click OK.
450
MapInfo Reference
Creating Callouts
To create callouts (labels with pointers to the objects they designate): 1. 2. 3. 4. 5. 6. Choose Drawing Toolbar > Text button. Position the Text tool where you want the arrow or line to point and type the text you want as the callout. Doubleclick on the text with the Select tool. The Text Object dialog displays. See the preceding dialog description. Choose Simple Line or Arrow line for the line that connects the label with the object. Click OK. Select the text object move it to its new position. A line is drawn from the new text position to its original position.
MapInfo Reference
451
Text Style Button Drawing Toolbar Text Style Command Options Menu
Use the Text Style button and command to:
D
access the Text style dialog where you can set font, color and attributes for text you enter using the Text Tool. a map, with an editable layer, is active.
Menu Path
"
Setting Text Style for Text Entered Using the Text Tool
When you use the Text Tool to enter text, the font, color and attributes for the text are determined by the settings designated in the Text Style dialog. To change the settings, access the Text Style dialog. Text settings including label line, justification and line setting are designated in the Text Object dialog. See Text Tool. To access the Text Style dialog: 1. 2. Make the layer containing the text editable. Choose Options > Text Style or Drawing Toolbar > Text Style button. or Double-click on the text object; the Text Object dialog displays. Select the Style button. The Text Style dialog displays. Text Style Dialog
452
MapInfo Reference
See:
The MIPro User's Guide: Chapter 13
MapInfo Reference
453
organize the windows on the screen and/or expose windows that have become hidden under other windows. Windows are placed next to each other.
at least one of the following is open: Browser, Map, Graph, Layout or MapBasic window.
Menu Path
"
Tiling Windows
The Window resizes and arranges all the windows next to one another so that each window is visible on the screen. The windows that are currently open are numbered and listed at the bottom of the Window menu.
See:
Cascade Windows Command
454
MapInfo Reference
display or hide the Main, Drawing, Tools or Standard, or Custom Toolbars. Additionally, display or hide the ODBC Toolbar, if ODBC functionality is enabled. specify if the Toolbars are docked under the menu bar, or are allowed to be moved (float) on the screen.
Menu Path
"
Toolbars Options
To display or hide any of the Toolbars or to specify their location:
"
Toolbars Dialog
MapInfo Reference
455
Show
Floating
456
MapInfo Reference
Docking a Toolbar
If you have not checked Floating, Toolbars display docked under the menu bar. Change these toolbars to floating by clicking on the background of the Toolbar, and dragging it onto the screen. The Toolbar assumes a rectangular shape and becomes a floating Toolbar. You can change the location of a docked toolbar by clicking on the background of the Toolbar, and dragging it to a new position below the menu bar. Only entire Toolbars can be moved; you cannot remove individual buttons from the Toolbars for placement. The maximum number of ToolBar rows is six.
See:
Drawing Toolbar Main Toolbar Tools Toolbar The MIPro User's Guide: Chapter 4
MapInfo Reference
457
Tool Manager
Tool Manager
Use Tool Manager to:
"
access the Tool Manager dialog. Run a tool from the dialog, and/or add, edit, remove a tool from the list of currently registered tools in the Tools menu. Additionally, configure a tool to run automatically when MapInfo starts.
Menu Path
"
Tools:
ArcLink AG*Link AutoLabeler Concentric Ring Buffer Translates MapInfo files to and from ArcLink export file format. Translates Atlas format geographic, attributes, and data point files to MapInfo for Windows files. Places text object style labels in the Cosmetic Layer of the active mapper. Creates concentric ring buffers around one or more map objects. The tool also computes aggregated values for underlying data that occur within each ring. Therefore, it can be used to count how many customers occur within each ring and their total sales. You can graph the results. Draw a line in the Cosmetic Layer of a specific length and angle. Converts a column of data containing DMS coordinates to Degree Decimals and Decimal Degrees to degrees/minutes/seconds. Disperses points located at the same position. Points can be dispersed systematically or randomly.
458
MapInfo Reference
Tool Manager
Tools:
GeoSet Open and read a MapX Geoset into a MapInfo Professional map window: Open specified tables; order them as layers in a new map window; pan and zoom map window; apply display, zoom, and label settings to each layer. Write and save a MapInfo Professional map window into a MapX Geoset: Write map window settings: pan and zoom. Write table names for each layer. Write individual layer settings: display, zoom, and label settings. There is not a onetoone match between MI Professional map window and MapX Geoset capabilities. Certain MapInfo Professional table types are not supported in MapX: XLS (Excel spreadsheets); WKS (Lotus 123 spreadsheets). Certain raster file formats are not supported: BMP; WMF; MIG. Seamless Map Sheets are not supported. Other MapInfo Professional map window contents are not supported in MapX Geosets: Cosmetic layer contents; Thematic maps; Custom labels. Drill-down tables are not supported in MI Professional. Draws a graticule: a grid of latitude/longitude lines. Transfer Layer's labels into permanent text objects; label current selection; use label tool and individual label objects into permanent text objects. Take control of how MapInfo displays Legend windows. Includes the ability to have multiple legend windows open, and associate each legend with a specific map window. Designate the title of a map window and default table view. Save a map window's current zoom and center as a named view. Return to that view by selecting the view name from a dialog. Allows a DBA to create a MapInfo Map Catalog table in a remote database. The catalog is needed for downloading coordinate information to MapInfo from a remote database. Allows you to connect to an SQL database server, build queries and execute SQL statements. Additionally, issue queries to preview data and download query results to a local MapInfo table. Upload a MapInfo table to a remote database. Also, upload coordinate information from a mappable table to a remote database. Opens a new Map window to provide an overview of another map window.
Legend Manager
ODBC Upload
Overview
MapInfo Reference
459
Tool Manager
Tools:
Rotate Map Window Rotate Map Window enables you to rotate the contents of the current map window a specific number of degrees. Rotate Map Window calculates and sets an Affine transformation for the map window. It does not change any of the tables displayed there. Affine transformations do not rotate raster images or grid files. Symbols and text are also not rotated by Affine transformations. Create a custom distance scalebar to annotate a mapper. Creates and manages seamless map sheets. Search a character column for a specific string and replace it with another string. Draw decorative frames around text objects. Create, edit, delete MapInfo symbols. These symbols become part of the standard MapInfo symbol set. Get information about all currently open tables, including table metadata. Import and export MapInfo data to and from other popular mapping files formats.
ScaleBar Seamless Table Manager Search and Replace Shields Symbol Table Manager Universal Translator
460
MapInfo Reference
Tool Manager
"
Choose Tools > Tool Manager. The Tool Manager dialog displays: Tools: Displays the list of registered tools. Loaded: If the box is checked the tool is loaded and a corresponding menu item displays in the Tools menu. Check the box to load a tool that is not currently running. Clear the box to unload the tool. Tools load and unload when you click OK to exit from the dialog box. Autoload: Check to run the tool at startup. You must exit MapInfo after checking this box for the first time for the Autoload feature to work. Add Tool: Choose to display the Add Tool dialog. Add tools from the MapInfo Tool directory or tools you have created. Using the Add Tool dialog: Title: Enter the name of the tool. Location: Enter the complete path for the tool. Click the . . . (browse) button to display the Select MapBasic Program dialog. Description: Enter an optional description of the tool's function. Choose OK to enter the tool in the Tool Manager listbox. Edit Tool: Choose to display the Tool Definition dialog. Edit the name; path; description of
MapInfo Reference
461
Tool Manager
Using the Edit Tool dialog: Title: Display the highlighted tool. You can edit the name of the tool. Location: Display the path of the highlighted tool. Edit the path; if the path is invalid, an error message displays. Click the . . . (browse) button to display the Select MapBasic Program dialog. Description: Display the current description of the highlighted tool. Enter/edit an optional description of the tool's function. Choose OK to enter the tool to the Tool Manager listbox. Remove Tool: Display a dialog that allows you to remove the highlighted tool from the tool table and update the list of available tools. This action takes effect when you exit from MapInfo.
See:
Tools Menu
462
MapInfo Reference
Tools Menu
Tools Menu
Use the Tools Menu to:
D
access the Tool Manager and display a list of loaded MapBasic tools.
always available.
See:
Tool Manager
MapInfo Reference
463
Tools Toolbar
Tools Toolbar
Use the Tools Toolbar to:
D
a Map, Layout or Browser window is active and the Options > Toolbars dialog is set to display the Tools Toolbar.
The Tools Toolbar contains two tools for working with MapBasic.
Autoscrolling
When you use a tool in the Map or Layout window, the window scrolls if you drag the tool outside of the window boundaries. The window will continue to scroll until you release the mouse or move the cursor back into the window. Press Esc to stop scrolling; the tool remains active. To cancel the tool, press Esc after the scrolling has stopped. Autoscrolling works with any tool that can be dragged; it does not work with single-click tools, such as the Grabber or Info tools.
See:
Toolbars, User's Guide: Chapter 4
464
MapInfo Reference
ToolTips
ToolTips
Use ToolTips to:
D
Text Style
Using ToolTips
As the mouse tracks over a button, text describing the purpose or action of the button displays. The text continues to display until the mouse is moved or clicked.
See:
Toolbars Command
MapInfo Reference
465
Universal Translator
Universal Translator
Use the Universal Translator to:
D
import and export MapInfo data to and from other mapping formats.
always available, unless disabled during Custom Installation, or unloaded using the Tool Manager dialog, or Tools > Universal Translator > Exit.
Menu Path
"
Choose Tools > Universal Translator > Universal Translator. The Universal Translator dialog displays:
Source Format Select the format of the file to be translated. Click to display a dropdown list of formats. If the source is Intergraph MicroStation Design, a Settings button displays. Click this button to display the Design File Input Settings dialog. Choose the appropriate coordinate units: Master; Sub; UOR.
466
MapInfo Reference
Universal Translator
Files Enter the file(s) to be translated or click . . . to display the Select Input Files dialog. Choose the file(s) from the Select Input dialog. You can select more than one file of the same type for translation. AutoCAD defaults to DWG format. When translating a TAB or a MIF/MID file whose name is greater than 8 characters long to DWG/DXF, the resulting file's name is longer than 8 characters. Since AutoCAD cannot open a file whose name is longer than 8 characters, an error message: Invalid Input File" displays. For example, boundary_usa.TAB translates to boundary_usa.DWG; AutoCAD cannot open this DWG file. Rename the DWG file to a shorter name. Projection If you have selected a MapInfo Tab file, Coordinate system will be read from source" displays since MapInfo Tab files contain coordinate system information. If you have selected Shape, AutoCAD or Intergraph files, the Projection button displays. MapInfo.prj is used. Custom projections can be added. Click this button to designate the coordinate system. If you choose the wrong coordinate system, erroneous results may occur. If you do not know the coordinate system, select nonEarth. If you do not designate a coordinate system, the Universal Translator defaults to nonEarth meters. Category: a list of available categories displays. Category Members: displays the projection choices for the selected category. Destination Format Select the format of the translated file. When translating into MapInfo TAB or MIF/MID, the translation creates version 3.0 MapInfo tables; if the translation encounters a feature unique to later versions of MapInfo Professional, (such as the expanded maximum node limit) the version is designated with an edited version. The version number corresponds to the version containing the first instance of the feature. The files then can only be edited in this version of MapInfo Professional. The file can be viewed in previous versions of MapInfo, however, it cannot be edited in those versions and the feature may not display.
MapInfo Reference
467
Universal Translator
Directory Enter the destination of the translated file. Click . . . to display the Select Directory dialog. The output file name is based on the contents and format of the input file. See Additional Notes. If the Source file is MapInfo format, and the destination file is AutoCAD, a Settings button displays. Click to display the AutoCAD Output Settings dialog: Select the version of AutoCAD that should be used. Universal Translator reads and writes any version of AutoCAD DWG/DXF version up to and including version 14. Log Log to File Universal Translator automatically creates a log file documenting the translation process. Specify a file name and location for the Log file. The default is C:\temp\mutlog.txt, where C:\temp\mutlog.txt is an environment variable. Click . . . to designate another name/path for the log file. Add each log file to the previous file, rather than beginning a new file for each translation process.
MapInfo Professional 5.0 includes these AutoCAD 14 enhancements: AutoCad data attributes are translated. AutoCad Z value is translated as a data attribute named 'elevation'. Intergraph DGN MSLink is supported. The Universal Translator does not officially support 3-dimensional Intergraph DGN or 3 dimensional AutoCAD DWG/DXF files; the translation results using these files are unpredictable. The Universal Translator does not perform coordinate transformations. When translating DWG/DXF to TAB/MIF, the Universal Translator does not translate AutoCAD meshes. When translating DWG/DXF or DGN, the translator does not attempt to match display attributes, including line color, font type. When translating from SHAPE to TAB, Universal Translator defaults empty fields to the following: empty numeric field with a width of one translates to a 0 (zero) empty numeric field with a width of two translates to 9 empty numeric field with a width of three translates to 99 empty numeric field with a width of four translates to 999 empty numeric field with a width of five or greater translates to 9999
468
MapInfo Reference
Universal Translator
A single file translation may result in multiple files depending on file types. DGN to TAB - MIF/MID : name of original file appended to geometry type. Example: original file: CANADA.DGN translated TAB files: CANADA_ELLIPSES.TAB CANADA_POINTS.TAB CANADA_TEXT.TAB DWG/DXF to TAB - MIF/MID: name of original file appended to layer name. AutoCAD organizes drawing entities by user named layers. Example: original file: SWEDEN.DWG translated TAB files: SWEDEN_FORESTS.TAB SWEDEN_RIVERS.TAB SWEDEN_ROADS.TAB SHAPE to TAB - MIF/MID : One shape file creates one TAB/MIF/MID file. Example: original file: STATES.SHP translated file: STATES.TAB TAB - MIF/MID to SHAPE : name of original file appended to geometry type. Example: original file: USHIGHWAY.TAB translated file: USHIGHWAY_POLYLINE.SHP USHIGHWAY_POINT.SHP TAB - MIF/MID to DWG/DXF or DGN: One TAB - MIF/MID file creates one DWG or DXF or DGN files. Example: original file: STATES.TAB translated file: STATES .DGN STATES.DWG Since DGN, DXF, DWG, and Shape files do not share coordinate system information, you must specify the correct coordinate system. Designating the wrong coordinate system will give erroneous results.
MapInfo Reference
469
Universal Translator
Virtual Memory: when translating to or from DWG/DXF, it is possible to encounter a lack of virtual memory. An error message displays indicating this; to resolve this problem, increase the virtual memory. After adjusting the Virtual Memory designation, the computer must be rebooted for the changes to take effect. See your operating system documentation for information on increasing the virtual memory.
470
MapInfo Reference
a Map window is active and Reshape is activated. Undo is active when an undoable" operation such as adding, moving, or deleting objects or adding and deleting records has been performed. (Redo is enabled if an Undo has been performed)
Menu Path
"
See:
Clear Command Preferences Command
MapInfo Reference
471
Unlink ODBC Table Button ODBC Toolbar Unlink ODBC Table Command Table > Maintenance
Use Unlink ODBC Table to:
D
to unlink a table which was downloaded from a remote database and linked to a MapInfo table with the Open ODBC Table command.
at least one linked table is open and there are no pending edits against it.
Menu Path
D
See:
Save Table Command Refresh ODBC Table Command Open ODBC Table Command
472
MapInfo Reference
unselect the currently selected objects in a Map or Layout or rows in a Browser window.
Menu Path
"
Unselecting Objects
To unselect the currently selected objects in any open window:
"
When in a map or layout with selected objects, click the Select tool where there are no objects. When a row in a browser is selected, press <SHIFT> while selecting the row again. Choose File > Close Table and specify Selection.
MapInfo Reference
473
an Map window with an editable layer is active and a polyline object is selected from the editable layer.
Menu Path
"
Unsmoothing a Polyline
To unsmooth a polyline: 1. 2. Select a smoothed polyline in an editable layer. Choose Objects > Unsmooth.
See:
Smooth Command The MIPro User's Guide: Chapter 13
474
MapInfo Reference
assign values to a column, add a new (temporary) column using data from another table, move values between columns and enter graphics information into columns for descriptive data.
Menu Path
"
Choose Table > Update Column. The Update Column dialog displays.
Table to Update
Choose the table that contains the column you want to update. If adding a temporary column, this table will store the temporary column. Choose the column to update. If the Table to update is different from the Get value from table, choose Add new temporary column to add a temporary column to the update table.
Column to Update
MapInfo Reference
475
Join
Value
Calculate
Proportion Sum
476
MapInfo Reference
Proportion WtAvg
of
Assist
MapInfo Reference
477
7. 8.
When you make changes to the data table, the new temporary columns(s) are automatically updated. To save the table with its new temporary columns use the File > Save Copy As command. Temporary columns will also be saved in a workspace when you use save a workspace by choosing File > Save Workspace, if the two tables are both base tables.
478
MapInfo Reference
ASCII files Excel and Lotus files StreetInfo main tables. You can update component files. See Chapter 18 of the User's Guide, Editing Street Maps, for information on editing street maps. Tables formed using SQL Select with a Group By clause Readonly tables
Although you cannot update these tables, you can use Update Column to add temporary columns.
See:
Join Table Structure Command The MIPro User's Guide: Chapter 18
MapInfo Reference
479
change the labels, tick marks, and grid lines of the value (y) axis of a graph.
Menu Path
"
Choose Graph > Value Axis. The Value Axis dialog displays.
Axis Values Auto Minimum Value Auto Maximum Value Auto Cross At Specify the lowest value to appear along the Value/Label axis. Specify the highest value to appear on the Value/Label axis. Specify the place on the label axis where it is crossed by the Value/Label axis.
480
MapInfo Reference
Axis Title
Major Gridline
Minor Gridline
See:
Label Axis Command New Graph Window
MapInfo Reference
481
display the layout so that objects appear at their actual size (sets the zoom to 100%). An object's actual size is the size of the objects when printed.
Menu Path
"
See:
Change Zoom Command View Entire Layer Command
482
MapInfo Reference
Menu Path
"
Choose Map > View Entire Layer. The View Entire Layer dialog displays.
View Entire Layer Dialog View entire layer Cancel OK Choose a specific layer or All layers to display. Cancel the dialog. View the layer(s).
Since redraw speed on large maps, such as MapInfo's StreetInfo maps, can be slow, we suggest you interrupt the display when using View Entire Layer. Since redraw can be slow when using large maps, such as MapInfo Street maps, interrupt redraw by pressing <ESCAPE> or the right mousebutton during redraw. Then, use the Zoomin button to view the appropriate section.
See:
Grabber Button Zoomin Button Zoomout Button
MapInfo Reference
483
zoom out so all pages in the layout window display. Chooses a zoom that allows the entire layout to display in a window. If the window is too small it selects a minimum zoom (6.25%).
Menu Path
"
See:
Change Zoom Command View Actual Size Command
484
MapInfo Reference
access the Zoomin tool. Use the Zoomin tool to get a closer area view of a map or a layout.
Menu Path
D
This point will be at the center of the map in the zoomedin view. Repeat this procedure until you have the appropriate level of enlargement. To zoomin on a rectangular area: 1. 2. Choose Main Toolbar > Zoomin button. Draw a marquee around an area by dragging the Zoomin tool diagonally across it. The selected area is enlarged to fill the Map window.
See:
Change Zoom Command Grabber Button Previous View Command View Entire Layer Command View Entire Layout Command Zoomout Button
MapInfo Reference
485
access the Zoomout tool. Use the Zoomout tool to get a wider area view of a map or a layout.
Menu Path
"
To Zoomout a rectangular area: 1. 2. Choose Main Toolbar > Zoomout button. Draw a marquee in the map or layout by diagonally dragging the Zoomout tool. The area within the marquee is reduced, allowing more of the map to display.
See:
Change Zoom Command Grabber Button Previous View Command View Entire Layer Command View Entire Layout Command Zoomin Button
486
MapInfo Reference
Index A
Abbreviations, 152 About MapInfo command, 13 Add District command, 14 Add Node button, 15 Adding a column, 310 Adding a tool, 458462 Address matching, preferences, 325 Adjust Image Styles command, 1618 Aggregate functions redistricting column expres sions, 260 SQL Select, 426 Update Column dialog, 475 Align Objects command, 1920 Append Rows To Table com mand, 22 Arc objects Arc button, 23 converting to polylines, 6364 converting to regions (poly gons), 65 drawing, 23 modifying, 23 specifying attributes, 24 splitting, 416 Area graph, 171 Area of detail map, 368 Arrange Icons command, 26 ASCII deleting table, 115 exporting to, 137142 opening as a table, 287290 Assign Selected Objects button/ command, 27 Assist button. See Expression Auto labels, 205 AutoCAD exporting to, 137142 importing. See DXF, import ing importing file to, 180 Autoflip, 185 Autolabels, moving, 361 Automatic geocoding, 165 Autoscroll, turning off, 367 Autoscrolling, 130, 231, 433, 464 Autotrace, 21, 414 Average proportional, 477 proportional weighted, 477 record values, 476 weighted of column values, 476 Averaging, column values, 58 Browse window, StatusBar dis play, 436 Browser, printing, 329 Browser Print Options Dialog, 329 Browser window See also Columns in a table; Rows in a table adding text, 245 cascading, 36 closing, 50 copying from, 6667 cutting to clipboard, 113 deleting a selection, 42 display, 244 editing, 451 editing text, 245 entering text, 448 finding field information, 149152 finding selected objects, 153 grid display, 293 Info button data, 189190 layout display, 157 modifying column display, 309312 opening, 244247 opening multiple, 244 saving with new attributes, 385387 scrolling, 246 Select button, 393 selecting from, 391393 text style, 245246 tiling, 454 Buffering objects Buffer command, 3133 concentric buffers application, 367 convert to polylines, 63
B
Bar chartmap, graph, 171 Bitmaps exporting a window to, 385 raster images, 349355 Borders, displaying, 387 Boundary Select button, 2829 Bring To Front command, 30
Index
C
Calculate Statistics command, 3435 Callouts, 212, 451 Cartographic Legend, 70 Cascade Windows command, 36 Centroids defining, 209 displaying, 207, 209 moving, 361 Change View button/command, 3940 Change Zoom command, 41 Character strings in expressions, 145 operators, 146 table field type, 265 Charts. See Graph Circle objects drawing, 131 specifying attributes, 131 Clear command, 42 Clear Cosmetic Layer com mand, 43 Clear Custom Labels, 202 Clear Map Objects Only com mand, 44 Clear Target command, 45 Clip Region, 46, 402 Clip Region Off command, 46 Clipboard copying to, 6667 cutting to, 113114 pasting from, 308 specify behavior, 114 Clone View, 48 Close All command, 49
Close Table command, 5052 closing multiple tables, 50 Color customizing, 112 defaults, 320 region style setting, 346 Columns in a table adding fields, 444447 adding graphic information, 479 adding using expressions, 311 adding/removing text, 245 averaging, 58 calculating statistics, 3435 clearing all, 310 combining objects using a col umn, 6162 field display, 246 finding information, 149152 indexed, 266 indexing, 444447 joining, 193 modifying display, 309312 removing fields, 444447 removing from display, 310 removing indexes, 444447 renaming display, 311 renaming fields, 444447 reordering, 246, 444 resizing, 247 selecting, 421 temporary columns, 478 totaling with SQL, 423 types, 265 weighted averaging, 58 Combining data. See Map ob jects, combining; Objects, modifying Combining objects Combine command, 5360 Combine Objects Using Col umn command, 6162 combining closed objects, 54
combining selected objects, 5360 Comparison operators, 146 conflict resolution, 377 Connecting to a data source, 270 Continuous surface map, 84 Control points adding to a raster image, 355 digitizing, 119 editing raster image, 355 raster image, 351352 raster images, 396 Convert To Polylines command, 6364 Convert To Regions command, 65 Converting Coordinates, 367 Copying Copy command, 66 drag button, 128 object nodes, 361 objects, 6667 pasting information, 308 specify behavior, 67, 320 Cosmetic layer deleting objects, 43 editable, 207 selectable, 207 Create Drop Shadows com mand, 6869 Create Points command, 8081 Create thematic map command, 82110 Creating a new column, 311 Cropping images, 387 Crystal Reports, 111 Custom Colors command, 112 Custom symbol shapes, 368 Custom symbols, 440
488
MapInfo Reference
Index Custom Toolbar, displaying, 455 Cut command, 113114 tables, 115 Digitizer mode digitizer cursor, 122127 using the mouse, 121122 using tools, 121 Digitizer setup, configuring digi tizer buttons, 121 Digitizing, 117127 Digitizer Setup command, 117127 projection settings, 338 Directory, preferences, 325 Displaying fields, 310 Districts browser. See Redistrict ing Drag Button, 128 Drawing arc objects, 23 circle objects, 131 curved lines, 316317 editable cosmetic layer, 207 ellipses, 131132 lines, 223224 polygons, 313 polylines, 316318 rectangles, 342 squares, 342 Drawing ButtonPad, Frame but ton, 154157 Drawing interchange file, im porting. See DXF, importing Drawing Toolbar Add Node button, 15 Arc button, 2325 defined, 129130 displaying, 455457 Ellipse button, 131132 Line button, 223224 Line Style button, 225226 Polygon button, 313315 Polyline button, 316361 Rectangle Button, 342 Rectangle button, 342343 Region Style button, 346 Reshape button, 358361 Rounded Rectangle button, 363364 Symbol button, 438 Text button, 448451 Text Style button, 452 Drawing toolbar, line width, 227 DXF autoflip, 182 exporting, 141 importing, 182
D
Data aggregation combining map objects, 55, 62 dialog options, 57 Data disaggregation erasing objects, 133 erasing outside of objects, 135 splitting, 417 data source, connecting, 270 Database catalogs, 367 Date functions current date, 158 day of month, 158 day of week, 158 month, 158 year, 158 Dates, in expressions, 145 Dates table field type, 265 dBase deleting table, 115 exporting tables to, 137142 importing table to, 180 opening as a table, 286290 saving tables to, 369 Decimal field type, 265 Degrees, converting from DMS, 367 Delete Table command, 115 Delete Target District com mand, 116 Deleting cosmetic objects, 43 districts, 116 map objects, 133 objects from a table, 44 selected text/objects, 42
E
Editable layer popup, 437 Editable layers, 205 Editing a column, 310 Editing a tool, 458462 Editing objects. See Arc, Ellipse, Frame, Line, Symbol, Poly gon, Polyline, Rectangle, Rounded Rectangle, Text Objects; Reshape, Resize, Get Info Ellipse objects converting to polylines, 6364 converting to regions (poly lines), 65 drawing, 131 Ellipse button, 131132 specifying attributes, 131 splitting, 416 Embedding a map legend, 333 Erase command, 133 Erase Outside command, 134135 Excel. See Microsoft Excel Exit command, 136 Exporting ASCII, 139
MapInfo Reference
489
Index Autocad, 140 dBase, 142 Export command, 137142 MIF, 139 projection settings, 338 Expressions creating labels, 216 editing column display, 311 Expression dialog, 143148 modifying, 312 modifying column display, 311 specifying, 143 thematic maps, 9194 Geographic objects. See objects Geographic operators, in the Expression dialog, 147 Geographical functions area of object, 159 distance, 159 object perimeter, 159 x coordinate centroid, 159 y coordinate centroid, 159 Get Info command, 167 Grabber button, 168 Graph window cascading, 36 closing, 50 copying from, 66 customizing, 173, 399400 customizing the value axis, 480 displaying, 248249 exporting, 385387 Graph Type command, 169174 label axis options, 197198 layout display, 156 legend display, 178, 222, 408 printing, 332333 tiling, 454 type, 169174 Grid map, 84 GridMaker application, 367 Group by tables, 423 GTCO digitizers, 117 Hide Statistics Window com mand/button, 176 Hide StatusBar command, 177 Highlight control, 322
I
Importing DXF files, 182 IMG files, 181 Import command, 179188 MIF files, 181 projection settings, 338 Indexed columns, finding infor mation, 149152 Indexed fields, 266 removing, 444447 reordering, 444447 specifying, 444447 Info button, 189190 Info tool window, 189 closing, 50 InfoTips, 191 Integer field type, 265 Interactive geocoding, 165 Interleaved line styles, 192 International character sets, 142
F
Fields. See Columns in a table Files. See Tables Finding Find command, 149152 Find Selection command, 153 indexed fields, 266 objects, 149 street addresses, 149 street intersections, 152 Fonts, 452453 Frame objects See also Layout window drop shadows, 68 Frame button, 154157 modifying, 155 specifying attributes, 157 Functions. See Aggregate func tions
J
Joining tables, RowID, 193 Joining tables Join button, 193 SQL Select command, 420 Update Column command, 193196, 475479 with thematic maps, 194 JPEG File Interchange Format, 385
G
Geocoding creating points, 80 Geocode command, 161166 moving points, 361 ungeocoded records, 166
H
Help, MapInfo Help Topics, 236 Hiding Hide theme legend command, 178 Hide MapBasic Window but ton/command, 175
K
Keywords in expressions, 147148
490
MapInfo Reference
Index
L
Label expression, 191 Labels creating callouts, 451 customizing graph label axis, 197, 480 deleting, 202, 215 Label Axis command, 197198 Label button, 199202 modifying, 199 moving, 202, 215 moving autolabels, 361 rotating, 202, 215 rotation, 212 saving to a table, 367 specifying attributes, 452 using expressions, 216 using the Text button, 448451 Layer Control button/command, 203221 Layer Control dialog auto label icon, 205 editable icon, 205 selectable icon, 205 visible icon, 205 Layers. See Map layers Layout, paper size, 295 Layout window aligning objects, 1920 cascading, 36 closing, 50 copying from, 66 creating, 250 cutting selections to the clip board, 113114 deleting objects, 42 description, 251 drop shadows, 6869 exporting, 385387 frame display, 295 frame objects, 154157 labeling, 448451
magnifying, 485 map proportion, 156 modifying objects, 167 moving objects to the front, 30 object size, 482 ordering objects, 251, 398 page breaks, 294 positioning, 168 previous view, 327 rulers, 294 scale, 156 selecting objects, 391393 StatusBar display, 436 symbols, 438439 tiling, 454 unit settings, 320 viewing a larger area, 486 viewing pages, 484 zoom level setting, 41 zoom setting, 251252 Legend window closing, 50 Legend button, 222 legend manager application, 367 map display, 156 modifying a thematic map, 243 printing, 333 thematic map, 96, 99, 102, 104, 105, 109 theme, displaying, 178 Legend Window Preference dia log, 323 Line graph, 172 Line objects adding nodes, 15 converting to polylines, 6364 converting to regions (poly gons), 65 drawing, 223224 Line button, 223224 specifying attributes, 223 specifying length, 367 specifying style, 225226
splitting, 416 Line Style button/command, 225226 Line styles, interleaved, 192 Line width, 227 Linked table, closing, 51 Linked tables defined, 269 saving, 377 Logical operators, 147 Logical table field type, 265 Longitude/Latitude lines, 367 Lotus spreadsheets deleting table, 115 opening as a table, 288
M
Mailing a MapInfo window, 397 Mailing a workspace, 397 Main ButtonPad, Grabber but ton, 168 Main Toobar, Info button, 189190 Main Toolbar, 229231 Assign Selected Objects but ton, 27 Boundary Select button, 2829 Change View button, 3940 clip region, 46 displaying, 455457 Label button, 199202 Layer Control button, 203221 Legend button, 222 Marquee Select button, 238 Radius Select button, 341 Ruler button, 365 Select button, 391393 Set Target District From Map button, 405
MapInfo Reference
491
Index Zoomin button, 485 Zoomout button, 486 Map layers controlling, 203221 cosmetic layer, 207 editable, 205 modifying a thematic map, 243 reorder, 206 reordering, 217218 seamless, 207 searching, 29 specifying attributes, 207209 StatusBar display, 436 thematic maps, 205 viewing, 483 zoom layering, 209 Map objects See also Objects cutting to the clipboard, 113114 polygons, 313 polylines, 316 selecting, 390 splitting, 416418 Map Print Options Dialog, 330 Map window centering, 40 changing the view, 3940 clipping a region, 46 clone view, 48 closing, 50 copying from, 66 exporting, 385387 finding selected objects, 153 labeling, 448451 legend display, 178 opening, 253 positioning, 168 printing, 330 redrawing, 344 scroll bar display, 297 scrolling, 255 selecting from, 391393 sizing, 322 StatusBar display, 255 theme legend display, 408 turning off autoscroll, 367 Map windows, projection set tings, 338339 MapBasic cascading windows, 36 copying from window, 66 cutting commands to a clip board, 113114 deleting a command, 42 displaying MapBasic window, 175 entering commands, 409 MapBasic window display, 409410 running programs, 366 running programs on startup, 434 sample utilities, 367368 tiling windows, 454 MapInfo Boundary Interchange files, 179 MapInfo for DOS importing, 181 importing images, 179 MapInfo Forum, 235 MapInfo Help Topics, 236 MapInfo Interchange exporting to, 137 importing, 181 MapInfo Map Interchange for mat, 179 MapInfo on the WWW, 237 MapInfo Online Forum, 235 Mapinfo.wor, 324 Mapinfow.abb, 150, 164 Mapinfow.prf, 326 Maps area units, 298 coordinate units, 297 creating points, 8081 digitizing, 117127 displaying multiple layers, 203221 Info button data display, 189190 legend display, 156, 222 magnifying, 485 measurement units, 297, 323 non-earth, 263 previous view, 327 putting data on a map, 161166 symbols, 438439 table display, 253 viewing a larger area, 486 zoom setting, 255 zoom settings, 207 Marquee Select button, 238 Math functions absolute value, 158 cosine, 158 integer, 158 maximum value, 158 minimum value, 158 rounding, 158 sine, 158 tangent, 158 Mathematical operators. See Operators Measuring distance, 365 Merging objects. See Combining Metafile, exporting a window to, 385 Microsoft Excel deleting table, 115 opening as a table, 288 MIF. See MapInfo Interchange format Minimizing icons, 26 Modify Image Registration com mand, 239
492
MapInfo Reference
Index Modify thematic map, 240243 Moving a label, 202, 215 Numeric table field type, 265 values in expressions, 145 pasting, 308 reshaping, 358361 selectable layers, 205 specifying color and pattern, 348 splitting, 416418 target, 404 undo, 471 unselecting, 392 Objects, selecting Boundary Select button, 2829 Browser window, 390 buffering objects, 3133 default display, 322 finding selected objects, 153 Layout window, 390 Map window, 390 Marquee Select button, 238 Radius Select button, 341 Select button, 391393 selectable cosmetic layer, 207 specify highlighting, 322 table, 390 unselecting, 473 ODBC Table, changing symbol, 3738 ODBC table, downloading, 269 ODBC Tables making mappable, 232234 opening, 269282 refreshing, 345 unlinking, 472 ODBC Toolbar defined, 268 Open ODBC Table button, 269282 Refresh ODBC Table button, 345 Unlink ODBC Table button, 472 Open ODBC Table button/com mand, 269282 Open Table, preferred view, 284 Open Workspace command, 291292
N
Named views, 368 New Browser Window com mand, 244247 New Graph Window command, 248249 New Layout Window command, 250252 New Map Window command, 253255 New Redistrict Window com mand, 256261 New Row command, 262 New Table command, 263267 Node limit, 15, 358 Nodes adding, 15, 301, 359 autotrace, 414 converting objects to polylines, 6364 converting objects to regions (polygons), 65 creating, 359 deleting, 359 displaying, 358 editing display, 209 reshaping, 358 selecting, 358 snap to, 322 snap to node, 414 Non-Earth maps coordinates, 339 creating, 263 Numbers, 265
O
Object functions buffer, 160 centroid, 160 create circle, 160 create line, 160 create point, 160 Objects, creating buffering, 31 combining, 53, 61 specifying color and pattern, 346 Objects, modifying adding nodes, 15, 301 aligning layout objects, 19 clearing a target, 45 clearing cosmetic layer ob jects, 43 combining closed objects, 54 combining objects, 5360, 6162 converting objects to polylines, 6364 converting objects to regions (polygons), 65 copying to the clipboard, 6667 cutting to the clipboard, 113114 deleting selected objects, 42, 44, 133 editable layer, 205 erasing outside of an object, 134135 Get Info, 167 location, 361 moving, 392 nodes, 360 ordering in a Layout window, 398
MapInfo Reference
493
Index Opening ASCII file, 287 dBase files, 286 multiple tables, 285 Open Table command, 283290 spreadsheets, 288 Opening an Access Table in Ma pInfo, 285 Opening multiple browers, 245 Operators comparison, 146 geographic, 427 logical, 147 mathematical, 145 precedence, 148 string. See Character strings Options command (Browse menu), 293 Options command (Layout menu), 294296 Options command (Map menu), 297298 Options command (Redistricter menu), 299300 Overlay Nodes command, 301302 Pie chartmap, graph, 172 Pin map. See Create Points com mand Points. See Symbols Polygon objects autotracing, 414 converting to polylines, 6364 converting to regions (poly gons), 65 drawing, 313 erasing outside, 134135 Polygon button, 313 snap to node, 414 specifying attributes, 314316 splitting, 416418 Polyline objects adding nodes, 15 autoracing, 414 erasing outside, 134135 modifying nodes, 358 Polyline button, 316318 reshaping, 358 smoothing, 413 specifying attributes, 317319 splitting, 416 unsmoothing, 474 Portable Network Graphics For mat, 385 Positioning. See Grabber button Preferences address matching, 325 default, 326 directories, 325 Legend Window, 323 map window, 322 Preferences command, 319326 save cosmetic objects, 374 startup, 324 system settings, 320 Preferred View, 283, 284 Previous View command, 327 Print Dialog, 328 Printing, 328336 color printer, 348 layout options, 295, 296 page setup, 305 paper size, 321 Print command, 328336 Print Map dialog, 330 Print Setup command, 337 printer setup, 337 Printing Options, 329 Projection creating, 263 digitizing, 118 exporting a map with differ ent, 142143 map options dialog setting, 297 raster images, 349 saving table with different, 369 Projection button, 338339
Q
Queries Save Template option, 382383 saving, 375 Querying closing a query, 5052 saving to a new table, 369 Quick Start dialog options, 340 preference setting, 324 Quick Start Dialog, 324 Quitting. See Exit command
P
Pack Table command, 303304 Page Margins, 296 Page Preview, 305 Page Setup, 305 Paste command, 308 Pasting, object nodes, 361 Photoshop 3.0, 385 Pick Fields command, 309361 Pie chart map, graph, 400401
R
Radius Select button, 341 Raster images adjusting image styles, 1618
494
MapInfo Reference
Index control points, 396 modifying image registration, 239 opening, 283290 opening an unregistered image, 289 projection settings, 338 registering, 349355 selecting control points, 396 Rectangle objects converting to polylines, 6364 converting to regions (poly lines), 65 drawing, 342 Rectangle button, 342343 rounded, 363364 specifying attributes, 343 splitting, 416 Redistricting adding a district, 14, 260 aggregate expressions, 260 assigning objects to a district, 27 browser display defaults, 299 changing a district name, 14 closing districts browser, 50 combining created districts, 261 deleting a district, 261 deleting the target district, 116 Districts Browser display, 299 grid line display, 299 ordering districts, 299 quitting, 261 redistrict window, 256261 renaming a district, 260 target district, 405 Redraw Window command, 344 Refresh ODBC Table command / button, 345 Region Style command, 346348 Regions. See Polygon objects, Convert to Regions com mand; Polygons Registering. See Raster images Removing a column, 310 Removing a label, 202, 215 Removing a tool, 458462 Rename Table command, 356357 Renaming a column, 311 Reshaping Add Node button, 15 adding nodes, 15 arc objects, 25 autotrace, 414 deleting selected objects, 42 moving default, 322 Reshape button, 358361 Reshape command, 358361 snap to node, 322, 414 unsmoothing a polyline, 474 Revert Table command, 362 Rotating a label, 202, 215 Rounded rectangle objects converting to polylines, 6364 converting to regions (poly lines), 65 drawing, 363 Rounded Rectangle button, 363364 specifying attributes, 364 splitting, 416 RowID, 193 Rows in a table adding, 393 appending, 22 editing through Info tool win dow, 190 new row, 262 selecting, 393 undo operation, 471 Ruler window opening, 365 Ruler button, 365 Run MapBasic Program button/ command, 366368
S
Save Copy As command, 369371 Save Cosmetic Objects Com mand, 374 Save Cosmetic Objects com mand, 207 Save Table command, 376381 Save template, 382383 Save Window As command, 385387 Saving See also Browser windows, Layout window, Map win dows, Graphs Save Workspace command, 388389 saving Access and MapInfo tables, 371 sessions. See Workspaces Saving queries, 375 Scale layout setting, 156 preferences setting, 322 scale bar, 368 setting, 3940, 207 Scatter plots, 173 Seamless Map Layers, 207 Seamless tables, seammgr.mbx application, 207, 368 Searchandreplace application, 368 Searching areas, 238 Browser window, 149152 buffering objects, 31 map objects, 149152 objects in other layers, 29
MapInfo Reference
495
Index objects within a region, 2829, 341 troubleshooting, 150 Select All command, 390 Select button, 391393 Select command, 394395 save template, 382383 Select Control Point From Map command, 396 Selectable layers, 205 Selecting by querying buffering objects, 3133 fields from a Browser window, 309361 Select command, 394395 SQL select command, 419431 unselecting, 473 Selecting from screen Boundary Select button, 2829 Marquee Select button, 238 overlapping layout objects, 30 Radius Select button, 341 Select button, 391393 unselect all, 392 Send Mail, 397 Send To Back command, 398 Series command, 399401 Set Clip Region command, 387, 402 Set Target command, 404 Set Target District from Map button/command, 405 Shade by value. See Ranged map Shortcut menus, 406 Show MapBasic Window button/ command, 409410 Show StatusBar command, 412 Show Theme Legend window command, 408 Smooth command, 413 Smoothing a polyline, 316317 Snap to node, 414 autotrace, 414 default settings, 322 snap tolerance, 322 Space, saving with Pack Table, 303304 Split command, 416418 Spreadsheets. See Lotus, Micro soft Excel SQL select, save template, 382383 SQL Select command, 419431 Squares drawing, 342 rounded, 363 specifying attributes, 343 Standard Toolbar, 432 Starting MapInfo, 324, 434 Startup.wor, 434 Statistics window displaying, 176, 411 opening, 411 Show Statistics Window but ton/command, 411 Statistics button, 176 StatusBar cursor location display, 298 display, 436 displaying, 177, 412 map scale display, 298 map window, 255 popups, 437 zoom display, 298, 436 Street intersections, 152 String functions, 159 converting strings to codes, 158 converting strings to numbers, 159 converting to lowercase, 159 first character, 159 last character, 159 number of characters, 159 numeric value, 159 part of a string, 159 proper capitalization, 159 trims spaces from start, 159 Styles frame object, 155 objects, 346348 ranges in a thematic map, 9496 Subselect, 429 Sum of record values, 476 Summagraphics digitizers, 117 Symbols creating, 438439 custom symbols, 440 customizing, 368 geocoding, 163 MapInfo 3.0 compatible sym bols, 440 modifying, 438 specifying style, 439, 440443 Symbol button, 438 Symbol Style button/com mand, 440443
T
Table, creating, 263267 Table Structure command, 444 Tables adding temporary columns, 478 appending rows, 22 closing, 49 closing selected, 5052 creating points, 8081 cutting selections to the clip board, 113114
496
MapInfo Reference
Index dBase format save, 369 deleting, 115 deleting map objects, 44 directory paths, 325 editing through Info tool win dow, 190 exporting, 137142 geocoding, 161 graphing, 248 importing, 179188 Info button data, 189190 joining, 193196 making mappable, 444447 map display, 253254 mappable, 265 multi-user editing, 190 opening, 283290, 340 opening vs importing, 289 packing a table, 303304 projection setting, 369 projection settings, 338339 readonly tables, 447 removing indexes, 444447 renaming, 356357 reverting to previous, 362 saving, 376381 saving to a new name, 369371 table structure, 444 Tables, ODBC making mappable, 232234 opening, 269282 refreshing, 345 unlinking, 472 Tagged Image File Format, 385 Target objects clearing a target, 45 combining, 53 combining objects, 5360 display default, 322 erasing, 133 erasing outside, 134135 specifying, 404 splitting, 416 Technical Support Information, 13 Territories, creating. See Redis tricting Text clearing from the cosmetic lay er, 43 editing, 450 entering, 448 pasting, 308 rotating, 450 Text button, 448451 Text Style button, 452 Text Object, rotating, 450 Text Style button/command, 452453 Thematic Map, save thematic settings, 384 Thematic maps creating, 82110 grid map, 84 joining, 194 layers, 217 legend, 105, 109 legend display, 408 legends, 96, 99, 102, 104 moving bar charts, 361 moving pie charts, 361 multivariable, 8889 one variable, 8588 Theme Legend Window, dis playing, 408 Theme legend window, 70 Tile Windows command, 454 Tool Manager, 458462 ToolBars, 455 Toolbars docking, 457 Drawing, 129130 floating, 456 Main, 229231 moving, 456 ODBC, 268 reshaping, 456 Standard, 432 Toolbars command, 455457 Tools, 464 Tools, Crystal Reports, 111 Tools ButtonPad, Hide MapBas ic Window button, 175 Tools menu, 463 Tools Toolbar, 464 displaying, 455457 Run Mapbasic Program but ton, 366368 Show MapBasic Window but ton, 409410 Tooltips, 465
U
Undoing edits Clear command, 42 specify number, 320 Undo command, 471 Ungeocoded records, 166 Ungeocoding, table structure modifications, 444447 Units of measurement area units, 297 coordinate units, 297 distance units, 297 Universal Translator, 466 Unlink ODBC Table command / button, 472 Unselect All command, 473 Unsmooth command, 474 Unsmoothing a curve, 316317 Update Column command, 475479 Update Column dialog, Join button, 193196
MapInfo Reference
497
Index
V
Value, columns, 476 Value Axis command, 480 Vector graphic files, 179 Vector Symbols. See MapInfo 3.0 compatible symbols Version MapInfo current, 13 previous MapInfo, 362 previous version MapBasic programs, 368 Video display, 321, 348 View Actual Size command, 482 View Entire Layer command, 483 View Entire Layout command, 484 Virtual tablet interface digitiz ers, 117
Windows Registry, border dis play, 387 Workspaces accessing on startup, 434 opening, 291292, 340 opening multiple, 291 saving, 388 saving queries in, 375 World Wide Web, 237
Window numbering, 453 Windows. See Browser, Districts, Graph, Info tool, Layout, Legend, Map, Ruler window Windows Registry, border dis play, 386 Workspaces accessing on startup, 433 opening, 290291, 339 opening multiple, 290 saving, 387 saving queries in, 374 World Wide Web, 236
X
X-Y graph, 173
Z
Zoom changing in a layout, 41 layering, 209 setting, 3940, 207 StatusBar display, 436 Zoom popup, 437 Zoomout button, 486 Zoomin button, 485 Virtual tablet interface digitiz ers, 116
X
X-Y graph, 172
Z
Zoom changing in a layout, 40 layering, 208 setting, 3839, 206 StatusBar display, 435 Zoom popup, 436 Zoomout button, 485 Zoomin button, 484
W
Weighted averages, 58 Window numbering, 454 Windows. See Browser, Districts, Graph, Info tool, Layout, Legend, Map, Ruler window
W
Weighted averages, 57
498
MapInfo Reference