Sei sulla pagina 1di 258

Autodesk Map

Getting Started

12905-010000-5000A

June 6, 2001

Copyright 2001 Autodesk, Inc.


All Rights Reserved
This publication, or parts thereof, may not be reproduced in any form, by any method, for any purpose. AUTODESK, INC. MAKES NO WARRANTY, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, REGARDING THESE MATERIALS AND MAKES SUCH MATERIALS AVAILABLE SOLELY ON AN AS-IS BASIS. IN NO EVENT SHALL AUTODESK, INC. BE LIABLE TO ANYONE FOR SPECIAL, COLLATERAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH OR ARISING OUT OF PURCHASE OR USE OF THESE MATERIALS. THE SOLE AND EXCLUSIVE LIABILITY TO AUTODESK, INC., REGARDLESS OF THE FORM OF ACTION, SHALL NOT EXCEED THE PURCHASE PRICE OF THE MATERIALS DESCRIBED HEREIN. Autodesk, Inc. reserves the right to revise and improve its products as it sees fit. This publication describes the state of this product at the time of its publication, and may not reflect the product at all times in the future.

Autodesk Trademarks
The following are registered trademarks of Autodesk, Inc., in the USA and/or other countries: 3D Plan, 3D Props, 3D Studio, 3D Studio MAX, 3D Studio VIZ, 3DSurfer, ActiveShapes, ActiveShapes (logo), Actrix, ADE, ADI, Advanced Modeling Extension, AEC Authority (logo), AEC-X, AME, Animator Pro, Animator Studio, ATC, AUGI, AutoCAD, AutoCAD Data Extension, AutoCAD Development System, AutoCAD LT, AutoCAD Map, Autodesk, Autodesk Animator, Autodesk (logo), Autodesk MapGuide, Autodesk University, Autodesk View, Autodesk WalkThrough, Autodesk World, AutoLISP, AutoShade, AutoSketch, AutoSurf, AutoVision, Biped, bringing information down to earth, CAD Overlay, Character Studio, Design Companion, Design Your World, Design Your World (logo), Drafix, Education by Design, Generic, Generic 3D Drafting, Generic CADD, Generic Software, Geodyssey, Heidi, HOOPS, Hyperwire, Inside Track, Kinetix, MaterialSpec, Mechanical Desktop, Multimedia Explorer, NAAUG, ObjectARX, Office Series, Opus, PeopleTracker, Physique, Planix, Powered with Autodesk Technology, Powered with Autodesk Technology (logo), RadioRay, Rastation, Softdesk, Softdesk (logo), Solution 3000, Tech Talk, Texture Universe, The AEC Authority, The Auto Architect, TinkerTech, VISION, WHIP!, WHIP! (logo), Woodbourne, WorkCenter, and World-Creating Toolkit. The following are trademarks of Autodesk, Inc., in the USA and/or other countries: 3D on the PC, 3ds max, ACAD, Advanced User Interface, AEC Office, AME Link, Animation Partner, Animation Player, Animation Pro Player, A Studio in Every Computer, ATLAST, Auto-Architect, AutoCAD Architectural Desktop, AutoCAD Architectural Desktop Learning Assistance, AutoCAD Learning Assistance, AutoCAD LT Learning Assistance, AutoCAD Simulator, AutoCAD SQL Extension, AutoCAD SQL Interface, Autodesk Animator Clips, Autodesk Animator Theatre, Autodesk Device Interface, Autodesk Inventor, Autodesk PhotoEDIT, Autodesk Point A (logo), Autodesk Software Developers Kit, Autodesk Streamline, Autodesk View DwgX, AutoFlix, AutoPAD, AutoSnap, AutoTrack, Built with ObjectARX (logo), ClearScale, Colour Warper, Combustion, Concept Studio, Content Explorer, cornerStone Toolkit, Dancing Baby (image), Design 2000 (logo), DesignCenter, Design Doctor, Designers Toolkit, DesignProf, DesignServer, DWG Linking, DWG Unplugged, DXF, Extending the Design Team, FLI, FLIC, GDX Driver, Generic 3D, gmax, Heads-up Design, Home Series, i-drop, Kinetix (logo), Lightscape, ObjectDBX, onscreen onair online, OogaChaka, Photo Landscape, Photoscape, Plugs and Sockets, PolarSnap, Pro Landscape, QuickCAD, Real-Time Roto, Render Queue, SchoolBox, Simply Smarter Diagramming, SketchTools, Sparks, Suddenly Everything Clicks, Supportdesk, The Dancing Baby, Transform Ideas Into Reality, Visual LISP, Visual Syllabus, VIZable, Volo, and Where Design Connects.

Third Party Trademarks


Microsoft, FoxPro, PowerPoint, Visual Basic, Visual C++, Windows, and Windows NT are registered trademarks and Visual FoxPro and the Microsoft Visual Basic Technology logo are trademarks of Microsoft Corporation in the United States and other countries. dBASE and Paradox are trademarks of Borland International, Inc. Oracle is a registered trademark, and Oracle 8i is a trademark of Oracle Corporation. Lotus 1-2-3 is a trademark of IBM Corporation. MrSID is protected by U.S. Patent No. 5,710,835. Foreign Patents Pending. Portions of this computer program are copyright 2000 Earth Resource Mapping, Inc. All other brand names, product names or trademarks belong to their respective holders.

Third Party Software Program Credits


ACIS Copyright 1989-2001 Spatial Corp. Copyright 1997 Microsoft Corporation. All rights reserved. International CorrectSpell Spelling Correction System 1995 by Lernout & Hauspie Speech Products, N.V. All rights reserved. InstallShield 3.0. Copyright 1997 InstallShield Software Corporation. All rights reserved. Portions Copyright 1991-1996 Arthur D. Applegate. All rights reserved. Portions of this software are based on the work of the Independent JPEG Group. Typefaces from the Bitstream typeface library copyright 1992. Typefaces from Payne Loving Trust 1996. All rights reserved.

GOVERNMENT USE
Use, duplication, or disclosure by the U. S. Government is subject to restrictions as set forth in FAR 12.212 (Commercial Computer Software-Restricted Rights) and DFAR 227.7202 (Rights in Technical Data and Computer Software), as applicable.

1 2 3 4 5 6 7 8 9 10

Contents

Introducing Autodesk Map 1 Welcome to Autodesk Map 5 2 Autodesk Map: the GIS for AutoCAD 2 Autodesk Map Basics 3 Managing Maps and Data 4 Drawing Sets 4 Creating Maps 4 Converting Coordinate Systems 5 Storing Attribute Information 5 Editing and Cleaning Up Maps 5 Querying and Analyzing Maps 6 Saving Source Drawings 7 Integrating Raster Images 7 Presenting and Plotting Maps 8 Using Autodesk Map on a Network 8 Before You Begin 8 Working with Previous Versions 8 Working with Attached Databases 9 Whats Next 9 Chapter 1 Installation 11 System Requirements 12 Install or Upgrade to Autodesk Map 13 Use Customized Files and Settings from Release 3 17 Register and Authorize Autodesk Map for a Stand-alone Computer 18 Add Autodesk Map Components 19 Reinstall or Repair Autodesk Map 20 Uninstall Autodesk Map 21 Understand the Autodesk Map License 21 Chapter 2 Setting Up a Project 23 Starting Autodesk Map 24 Starting a New Project 25

Contents

iii

Project Drawings and Source Drawings 25 Adding Drawings to Your Project 26 Creating Drive Aliases 27 Nested Drawings 28 Specifying Drawing Settings 29 Setting Scale, Rotation, and Offset 30 31 Setting, Viewing, and Resetting Save Back Extents 32 Setting Up External Databases 33 Seeing Whats Attached to Your Project 34 Viewing Source Drawings 35 Using Quick View 35 Using a Preview Query 36 Zooming the Project Extents 36 Controlling Layer Display with Key View 37 Viewing Documents Associated with Objects 38 Using Your Projects 39 Editing Objects in Source Drawings 39 Saving a Project 40 Saving Changes 40 Working with Multiple Projects 40 Sharing Projects 40 Understanding Projects 41 Drawing Sets 41 Saved Queries 42 Drawing Indexes 42 Global Coordinate System Settings 43 Using Internal Object Data or External Tables 44 Link Templates 45 Data View Window 46 Topologies 46 Themes 47 Key View Definition 47 User Options 47 Symbol Table Information 47 Chapter 3 Digitizing Maps 49

Bringing Data into Autodesk Map 50 Digital Data 50 Digitizing Overview 50 Planning 51 Map Suitability 51 Global Coordinate System 52

iv

Contents

Layer Organization 52 Using Linetypes and Layers 53 Tiling Maps 53 Data Storage: Internal or External 54 Node, Network, and Polygon Topologies Digitizing Nodes 54 Digitizing Networks 55 Digitizing Polygons 56 After Digitizing 56 Cleaning Up Maps 56 Joining Tiled Maps 56 Verifying Data 57 Chapter 4 Importing and Exporting Maps 59

54

Using Data from Other Sources 60 Information in External File Formats 60 Importing Data 60 Importing Maps from Other Programs 61 Specifying a Layer During Import 61 Performing a Coordinate Conversion During Import 62 Specifying Data to Import 62 Specifying How to Import Points 62 Importing Autodesk MapGuide SDF Files 63 Opening DXF Files 63 Importing Raster Files 63 Managing Imported Data 63 Exporting Data 64 Exporting Maps to Other File Formats 64 Using Saved Settings 64 Selecting Objects 64 Coordinate Conversion 65 Data 65 Exporting to Autodesk MapGuide Files 65 Exporting Data to Previous AutoCAD Map and AutoCAD Applications 66 Exporting Raster Images 66 Using Profiles 67 Import Profiles 67 Export Profiles 67

Contents

Chapter 5

Working with an Oracle Database

69

Information for the Database Administrator 70 How Autodesk Map Stores Data 70 Block Attributes 70 Object Data 71 Database Tables 72 Setting Up the Schema 73 Improving Performance Before Exporting 74 Assigning Roles and Privileges 74 Improving Performance After Exporting 75 How the Schema Organizes Data Exported from Autodesk Map 76 Information for Autodesk Map Users 79 Using a Drawing as a Template 80 Drawing Standards and Coordinate Systems 81 General Tips and Suggestions 82 Chapter 6 Using the Drawing Cleanup and Editing Tools Understanding Drawing Cleanup 84 Specifying Markers 86 Map Cleanup Processes 86 Cleanup Order 86 Delete Duplicate Objects 87 Erase Short Objects 88 Break Crossing Objects 89 Extend Undershoots 90 Erase Dangling Objects 90 Simplifying Linear Objects 91 Correcting Nodes 93 Snap Clustered Nodes 93 Dissolve Pseudo Nodes 94 Edge Matching 95 Understanding Editing in Autodesk Map 96 Using Autodesk Map Editing Tools 96 Moving, Rotating, and Scaling Objects 97 Defining Text Insertion Points 98 Filling Polygons 98 Rubber Sheeting 99 Breaking Objects at Map Boundaries 100 Trimming Objects Using a Closed Boundary Creating Closed Polylines from a Topology 104 83

102

vi

Contents

Chapter 7

Sharing and Saving Drawings

105

Understanding Save Sets 106 Adding Objects to the Save Set 107 Saving Your Changes 108 Sharing Drawings with Other Users 109 Understanding File Locking 109 Enabling Object Locking 110 Editing Drawings in a Multi-User Environment 110 Identifying the User Who Has an Object Locked 111 Releasing Locked Objects 111 Chapter 8 Saving Attribute Data in the Drawing 113

Understanding Object Data 114 Defining Object Data Tables 116 Renaming and Deleting Object Data Tables 116 Modifying an Object Data Table 117 Attaching Object Data to Objects 117 Editing Objects with Attached Object Data 117 Editing Object Data 118 Using Object Data in Queries 119 Using Object Data with Property Alteration 119 Chapter 9 Saving Attribute Data in External Databases 121

Understanding Databases 122 What Is a Data Source? 122 Benefits of Linking External Data to Objects 123 Data Sources and the Project Workspace 124 Attaching Data Sources to a Project 125 Universal Data Link (UDL) Files 126 Connecting and Disconnecting Data Sources 127 Viewing Tables in the Data View 127 Viewing Database Queries 128 Using the Data View 129 Formatting Columns 130 Freezing and Hiding Columns 130 Sorting Records in the Data View 130 Filtering Records in the Data View 130 Editing Tables in the Data View 131 Printing Reports from the Data View 131 Exporting Data from the Data View 131 Linking Database Records to Drawing Objects 132 Understanding Links and Link Templates 133

Contents

vii

Linking Objects to Data 135 Linking Data to Objects Manually 136 Linking Data to Objects Automatically 136 Linking Data to Objects While Digitizing 136 Highlighting Objects Linked to Selected Records 137 Highlighting Records Linked to Selected Objects 137 Converting Object Data to External Database Tables 137 Chapter 10 Using Queries to Analyze Data 139

Understanding Queries 140 Defining Queries 140 Finding Objects Based on Location 141 Finding Objects Based on Properties 141 Defining Numeric Range Property Queries 142 Finding Objects Based on Internal Data 142 Finding Objects Based on External SQL Data 143 Using SQL Conditions in Map Queries 143 Creating a SQL Condition 144 Combining SQL Conditions with Other Conditions 144 Typing a SQL Condition 144 Combining Criteria to Create Compound Queries 145 Grouping Compound Query Conditions 146 Understanding Indexing 147 Checking a Drawing for Indexes 148 Creating Indexes 148 Removing Indexes 149 Editing Queries 149 Executing Queries 149 Using Preview Mode 150 Using Draw Mode 150 Using Report Mode 151 Executing Queries with SQL Conditions 151 Altering the Properties of Queried Objects 152 Saving Queries 153 Using Saved Queries 153 Troubleshooting 154 Chapter 11 Thematic Map Design 155 Understanding Thematic Maps 156 Creating Thematic Maps 158 Creating Thematic Maps Using Thematic Queries 159 Selecting Objects of Interest 159

viii

Contents

Creating a Thematic Expression 159 Setting Display Parameters 160 Sample Thematic Maps 160 Creating Advanced Thematic Maps 163 Chapter 12 Creating Map Topology 165 Understanding Topology Functions 166 Advantages of Using Topology 167 The Autodesk Map Topology Model 167 Link-Node Relationships 167 Link-Polygon Relationships 168 Left-Right Relationships 169 Topology Data in Autodesk Map 170 Defining and Creating Topology 170 Removing Erroneous Data 170 Creating a Topology 171 Saving a Topology 171 Storing Topology Data 172 Creating a Node Topology 173 Creating a Network Topology 173 Creating a Polygon Topology 175 Administering and Editing Topology 177 Administering Topology 177 Editing Topology 177 Topology Completeness 178 Completing a Topology 179 Auditing and Recreating a Topology 179 Chapter 13 Analyzing Map Topology 181 Understanding Spatial and Geographic Analysis 182 Network Tracing Analysis 182 Path Trace: Tracing between Two Points 183 Flood Trace: Tracing Out from a Point 183 Analysis of Topology Overlays 183 Nodes with Polygons 184 Networks with Polygons 184 Polygons with Polygons 185 Analyzing Topology Overlays 185 Explicit Nodes in Overlay Analysis 186 Buffer Analysis 186 Example of Buffer Analysis 187 Querying Topology Data 187

Contents

ix

Creating a Result Topology 188 Dissolving Topologies 188 Dissolving Polygons 188 Dissolving Network Links 189 Topology Applications 189 Examples of Network Topology 189 Street Networks 190 Examples of Polygon Topology 191 Emergency Services 191 Chapter 14 Using Coordinate Systems 193 Understanding Map Projections 194 Map Projections in Autodesk Map 194 Choosing a Projection System 195 Map Scales and Distortion 195 Understanding Coordinate Systems 196 Coordinate Systems and Origins 196 Coordinate Transformation 196 Geodetic and Non-Geodetic Coordinate Systems 197 Global Coordinate Systems in Autodesk Map 197 Choosing a Global Coordinate System 197 Assigning a Global Coordinate System 198 Identifying a Drawings Global Coordinate System 199 Defining and Modifying Coordinate Systems 199 Setting Additional Projection Parameters 201 Defining, Modifying, and Deleting Datum Definitions 201 Defining, Modifying, and Deleting Ellipsoids 201 Tracking Coordinates 202 Measuring Geodetic Distance 202 Chapter 15 Using Images 203 Understanding Raster Images 204 Supported Image Formats 205 Using the Raster Extension Features 205 Inserting Raster Images 206 Correlating Images During Insertion 206 Hiding, Unloading, Detaching, and Erasing Images Hiding Images 207 Unloading Images 207 Detaching Images 207 Erasing Images 208 Changing the Image Display Order 208

207

Contents

Viewing Image Information 208 Changing Image File Paths 209 Naming Images 209 Selecting Images 209 Modifying Image Properties 210 Changing Image Frame Properties 210 Adjusting Image Brightness, Contrast, and Fade 210 Changing Image Location 210 Changing Image Rotation, Width, Height, or Scale 210 Modifying Image Transparency and Transparency Color 211 Modifying Bitonal Image Color and Transparency 211 Clipping Images 212 Chapter 16 Plotting Maps 213

Plotting with Autodesk Map 214 Understanding Layouts 214 Defining a Plot Map Set 215 Attach Source Drawings 215 Create a Plot Template Block 215 Define and Save a Plot Query 217 Create Map Sheet Boundaries 217 Creating a Plot Set 218 Selecting the Plot Template Block 218 Selecting Source Drawings 218 Retrieving Data to Plot 218 Selecting Boundaries for the Plot Set 218 Mapping Object Data to the Title Block 219 Specifying Plot Set Options 219 Main View Scale 219 Reference View Scale 219 Boundary Edge Options (Buffer) 220 Boundary Edge Options (Trim) 221 Template Block Settings 221 General Plotting Techniques 221 Using Linetypes to Annotate Contour Lines 222 Creating Effective and Attractive Maps 222 Placing Text 223 Glossary 225 Index 235

Contents

xi

xii

Introducing Autodesk Map

In This Chapter

Using Autodesk Map 5, you can create, maintain, s analyze, and effectively communicate mapping s information contained in multiple Autodesk Map drawings and related external databases. Autodesk Map is an AutoCAD -based mapping product that contains all the functionality of AutoCAD, as well as its own powerful mapping tools designed for mapping and geographic information systems (GIS) professionals.

Welcome to Autodesk Map 5 Autodesk Map: the GIS for AutoCAD Autodesk Map Basics Before you begin Whats next

s s s

Welcome to Autodesk Map 5


Autodesk Map 5 is the premier solution for creating, maintaining, analyzing, and producing mapping information in a CAD environment. Autodesk Map 5 contains the object-oriented capabilities of AutoCAD software as well as its own unique spatial data management and multiple drawing access strengths. With Autodesk Map 5, you can digitize, maintain, analyze, and plot your own maps and map sets, and create thematic maps and legends. You can work with multiple drawings and use information from external data sources for all your mapping tasks. Using Autodesk Map 5, you can
s s s s s s s s s s s

Share files among users Manage, retrieve, and store both graphic and nongraphic data Link maps to associated databases Add data to maps and make them more intelligent Clean up maps Build node, network, and polygon topologies for analysis Produce thematic maps with legends Work with existing spatial data in other coordinate systems and file formats Import data from other CAD and GIS systems Export data to other formats Plot maps and map books easily and efficiently

Autodesk Map: the GIS for AutoCAD


Using a geographic information system (GIS), you can capture, store, retrieve, analyze, and display spatial data that emphasizes the spatial relationships among the objects being mapped. For example, a GIS can identify a road as the border between wetland and urban development, or as the link between two streets, rather than simply representing it as a line. In addition to creating maps, Autodesk Map also acts as a GIS, allowing you to develop topologies, a series of defined relationships between nodes, links, and polygonal regions. You can analyze this information and store polygonal or area-based data efficiently in topologies. With Autodesk Map, you can also link map features with text data from a database and store the data in the drawing file as object data or in an external database. To find more information, you can also define queries based on topology, as well as on object data or external database records.

Introducing Autodesk Map

Autodesk Map Basics


Using Autodesk Map, you can create, maintain, analyze, and present accurate maps, and manage multiple drawings and multiple projects. Youll do most of your work using the Autodesk Map Project Workspace, the Map menu, and the mapping toolbars.

Map menu

Project Workspace Mapping toolbars

The Project Workspace displays all the data you need to work with: attached source drawings, queries, databases, and topologies, as well as the links you have set up between objects in the attached drawings and records in the attached external databases. The following sections explain basic Autodesk Map concepts and terms and refer you to other chapters in this book for further information.

Autodesk Map Basics

Managing Maps and Data


With Autodesk Map, you can access multiple maps or drawings at the same time by using a project. A project is simply a DWG file that contains the set of source drawings that you work with all the time, their related settings and options, links to external databases, and saved queries. See Chapter 2, Setting Up a Project.

Drawings attached to the project

Queries

Database tables

Topologies Link templates

Each time you open a project drawing, the linked set of source drawings and data sets for that project is available and ready for use, as shown above.

Drawing Sets
A drawing set contains the source drawings you use in a project. Drawing sets can consist of sets of tiled drawings or stacked drawings and can be any combination of these sets. See Chapter 2, Setting Up a Project.

Creating Maps
Using Autodesk Map, you can create digital maps by digitizing existing paper maps or by importing data. You can add graphic and data information to objects as you convert existing data into digital form. See Chapter 3, Digitizing Maps, and Chapter 4, Importing and Exporting Maps.

Introducing Autodesk Map

Converting Coordinate Systems


Autodesk Map supports a comprehensive set of worldwide projections and coordinate systems and a powerful set of conversion utilities for converting the various coordinate systems of your source drawings into a common system. You can also create your own coordinate systems. See Chapter 14, Using Coordinate Systems. You can easily import and integrate coordinate system data from many sources. You can also export coordinate system data into other file formats.

Storing Attribute Information


You can store nongraphic or attribute information about objects in the , drawing file as object data or in external databases, including dBASE , Oracle Microsoft Access and Excel, and ODBC-compliant databases. With either method, you can use queries to retrieve objects based on their attribute data. You should evaluate your data storage needs before deciding whether to use object data or an external database to store data related to objects. For suggestions on when to store information in an external database, see Using Internal Object Data or External Tables on page 44.

Editing and Cleaning Up Maps


The map creation process begins with digitizing maps and importing map data, followed by cleaning up the map data. You will need to clean up your data before creating topologies. See Chapter 6, Using the Drawing Cleanup and Editing Tools. Autodesk Map provides several tools to automate this process, including the following:
s

Use the boundary clipping and map-edge cutting tools to create clean breaks between objects, and precisely align edges between map sheets. Select a map area for an enlarged inset, or cut out a space in the map for annotations. Isolate sets of features from large data sets, edit this subset of data, and save the data back to the original source drawings.

Autodesk Map Basics

Querying and Analyzing Maps


A query is a set of criteria that limits the set of objects retrieved from source drawings. In Autodesk Map, you use the query feature to retrieve objects from source drawings and copy them into your project drawing. You can then use the retrieved objects to create another drawing that serves as a report or presentation. For more information, see Chapter 10, Using Queries to Analyze Data.

Project drawing Autodesk Map can retrieve a subset of objects from multiple source drawings and copy them into the active project.

Source drawings

Using queries, you can


s

Perform spatial queries or queries based on data associated with geographical features in order to analyze the information Create simple or complex queries based on location, nongraphic object data stored in the drawing, or tabular data stored in external databases Save queries with your project or save them to an external file for use with several projects Create thematic maps altering the color, linetype, and text to show relationships graphically with internal object data or external SQL data

Introducing Autodesk Map

Saving Source Drawings


After you use the query feature to retrieve objects, you can edit objects, add new objects, delete objects, and then choose to save your changes back to source drawings, or not. If you choose to save changes to source drawings, you must specify the set of objects to be saved by creating a save set. If you do not create a save set, your changes will not be saved to the source drawings. For more information, see Chapter 7, Sharing and Saving Drawings.

Integrating Raster Images


You can insert georeferenced raster images produced in other applications directly into your Autodesk Map drawings and use them as raster backdrops to vector-drawn maps.

You can scale, rotate, and clip them, and once imported, use raster edges as a trim cutting edge. See Chapter 15, Using Images.

Autodesk Map Basics

Presenting and Plotting Maps


Autodesk Map has a complete set of plotting tools for map sheets. You can set up legends easily, add scale bars and title blocks, and save frequently used groups of maps as map sets that you can edit and plot at different scales. See Chapter 16, Plotting Maps. Using the plotting tools, you can
s

Easily produce map books and use the plot boundary buffer feature to include the edges of adjacent map sheets by specifying a distance beyond the edge of your chosen map sheet Create a template for the map title, legend, description, and specific display parameters you want to appear on each map in the series Specify template variables that change automatically on each map sheet

Using Autodesk Map on a Network


Autodesk Map supports multiple users on a network. More than one user can query, edit, and save changes to a drawing at the same time. However, users cannot simultaneously edit the same object. You can lock the subset of objects that you are working on without preventing other users from editing other parts of the drawing and associated data sets. This is called object locking. When object locking is in effect, other users can view the objects but not edit them. See Chapter 7, Sharing and Saving Drawings.

Before You Begin


Before working with your existing drawings in the latest version of Autodesk Map, you should consider migrating the data to this version.

Working with Previous Versions


Autodesk Map 5 is built on AutoCAD 2002. If you are upgrading from AutoCAD Map 2000i, you can open your AutoCAD Map 2000i drawings, which are based on AutoCAD 2000i, directly in Autodesk Map 5. For more information on upgrading from a previous release, refer to Chapter 1, Installation.

Introducing Autodesk Map

Working with Attached Databases


If you have drawings with attached databases, look up database tables, migrating in the Autodesk Map online Help Index for more information.

Whats Next
Those of you new to Autodesk Map may want to work through the online Tutorials. To open the tutorials, choose Tutorials from the Help menu. These tutorials show you how to use Autodesk Map to complete many of the tasks you need to know in order to create, maintain, and analyze maps. Note We recommend that you copy and save the tutorial drawings, located in the MapTut folder, in a backup folder. Then, if you want to repeat any of the tutorials, you will have the original drawings available. In addition, new and experienced users can access the following additional Autodesk Map and AutoCAD information from the Help menu:
s

Autodesk Map Help TopicsOnline help for Autodesk Map features, procedures, and commands. Whats NewNew features for Autodesk Map 5. AutoCAD Learning AssistanceAn interactive program that teaches AutoCAD basics.

s s

Whats Next

10

Installation

In This Chapter

This section provides instructions for installing, s upgrading to, and authorizing Autodesk Map 5 on a stand-alone computer. If you are installing Autodesk Map for a network, see the Network s Administrators Guide located in the \netsetup\sups port\Adlm\docs folder on the Autodesk Map 5 CD. s s s

System Requirements Install or Upgrade to Autodesk Map Use Customized Files and Settings from Release 3 Register and Authorize Autodesk Map Add Autodesk Map Components Reinstall or Repair Autodesk Map Uninstall Autodesk Map Understand the Autodesk Map License

s s

11

System Requirements
Before you begin installing Autodesk Map on a stand-alone computer, make sure that your computer meets the minimum recommended requirements. See the following table for hardware and software requirements.
Hardware and software requirements

Hardware/ Software

Requirement

Notes
It is recommended that you install and run Autodesk Map on an operating system in the same language as your version of Autodesk Map or on an English version of the operating system.

Operating system

WindowsNT 4.0 with SP 5.0 or later Windows 98 Windows Millennium Edition (ME) Windows 2000

Users of Windows NT 4.0 or Windows 2000 must have Administrator permissions to install Autodesk Map. Not assigning these permissions can cause Autodesk Map and third-party applications to perform incorrectly. See Windows Help for information about assigning user permissions. To use the Oracle 8i Spatial features in Autodesk Map 5, you must run Autodesk Map on Windows 98, NT, or 2000.

Processor

Pentium 233 (minimum) Pentium 450 or higher (recommended) Equivalent processor 32 MB (minimum) 64 MB (recommended) 800 x 600 VGA with 256 colors (miniRequires a Windows-supported display mum) 1024 x 768 SVGA with 64 thousand col- adapter. ors (recommended)
s

RAM

Video

Hard disk

140 MB (minimum) on the drive where you are installing Autodesk Map 64 MB of available swap space for optimal performance 150 MB (minimum) - 170 MB (recommended) on the drive that contains your system folder 20 MB for shared files (by default located at \Program Files\Common Files\Autodesk Shared)

12

Chapter 1

Installation

Hardware and software requirements

Hardware/ Software
Pointing device CD-ROM

Requirement
Mouse, trackball, or other device Any speed (for installation only)

Notes

Optional hardware

The OpenGL driver that comes with the 3D graphics card must have the following: s Full support of OpenGL or later. s An OpenGL Installable Client Driver (ICD). The graphics card must have an Open GL-compatible 3D video card ICD in its OpenGL driver software. The Printer or plotter miniGL driver provided with some Digitizer cards is not sufficient for use with Modem or access to an Internet connecAutodesk Map. tion Network interface card The network interface card must be compatible with existing Ethernet network infrastructure and is required for installing and running the network version of Autodesk Map. Oracle 8i Spatial client, version 8.1.6, updated with the patch 8.1.6.3.10 for the Oracle Object for OLE (OO4O) Microsoft Internet Explorer 5.0 Netscape Navigator 4.5 or later Required to use the Oracle 8i Spatial features in Autodesk Map 5. The Oracle Spatial client can be installed either before or after you install Autodesk Map. Internet Explorer 5.5 is installed with Autodesk Map.

Oracle Spatial (optional)

Web browser

Install or Upgrade to Autodesk Map


This section includes information for installing or upgrading to Autodesk Map on a stand-alone computer. Before you install or upgrade 1 Make sure you have write permission to the following locations:
s s s

Folder where you are installing Autodesk Map System registry Windows System folder

Note To use Autodesk Map with Windows NT or Windows 2000, you must have Administrator or Power User permission to write to the system registry. 2 Close all running applications.

Install or Upgrade to Autodesk Map

13

3 If you are upgrading from a previous release of AutoCAD Map and have grid data files that youve obtained from other sources, such as Canadian .gsb files, it is important to note that these grid data files are not copied from the previous version for you. To bring these files to Autodesk Map 5, you need to copy your files to a separate folder and, after you upgrade, copy them to the appropriate folder under the Autodesk shared coordinate system grid data folder, by default C:\Program Files\Common Files\Autodesk Shared\GIS\CoordSys\GridData. 4 Uninstall any Autodesk Map product extensions that you have previously installed. 5 Disable virus-checking software. Please refer to your virus software documentation for instructions. Note Some files required by Autodesk Map are installed in your system folder (for example, c:\Windows\System, or c:\Winnt\System32). This folder may be on a different drive than the folder you specify as the installation folder (for example, d:\Program Files\Autodesk Map 5). You may need up to 170 MB of space in your system folder, depending on the components you select to install. You are alerted if there is insufficient free space on the drive that contains your system folder. To install or upgrade to Autodesk Map on a stand-alone computer 1 Insert the Autodesk Map 5 CD into the CD-ROM drive.
s s

Autorun starts the installation process unless you hold down the SHIFT key when you insert the CD. If Autorun is turned off, you must designate the CD-ROM drive. From the Start menu, choose Run. Enter the CD-ROM drive letter and setup. For example, enter d:\setup.

2 On the opening page of the Installation wizard, click Next to continue. 3 Review the Autodesk software license agreement. You must accept this agreement to complete the installation. To accept, choose I Accept, then choose Next. 4 On the Serial Number page, enter the serial number and CD key located on the Autodesk Map package. Choose Next. 5 On the User Information page, enter your user information and choose Next. 6 If this is a first-time installation, and you are not upgrading or adding an additional copy of Autodesk Map to your computer, choose Next and go to step 7. If an existing version of Autodesk Map is detected on your system, you have two options:

14

Chapter 1

Installation

s s

Install Autodesk Map 5 in a separate directory Upgrade your existing version of AutoCAD Map to Autodesk Map 5

If you choose to install Autodesk Map 5 in a separate directory, and you want to run a previous release on the same machine, Autodesk Map 5 will operate properly only with Release 3 installed on the same computer, not with AutoCAD Map 2000 or 2000i installed. Upgrade options are as follows:
s

Release 3. You can upgrade to Autodesk Map 5 from AutoCAD Map Release 3. If you have more than one installed release of AutoCAD Map on your computer, you are prompted to select the location of the release you wish to upgrade. AutoCAD Map 2000 or 2000i. If you have these versions on your computer, they are automatically upgraded.

Note Your previous version of AutoCAD Map may have had a hardware lock. Hardware locks are no longer required in Autodesk Map 5. 7 On the Select Installation Type page, specify the type of installation you want, and then choose Next. Typical installs the following features:
s s s s s s s s s s

Program files. Executables, menus, toolbars, Help, templates, TrueType fonts, and additional support files Internet tools. Support files and VoloView Express Fonts. SHX fonts Database. External database tools and support files VBA support. Microsoft Visual Basic application support files Batch Plotting. Batch plotting application and support files Portable License Management. Provides utilities to share a single-user authorization on more than one computer Samples. Sample drawings, images, and AutoCAD DesignCenter files Dictionaries. American English Help files. Online documentation

Compact installs only the program files, fonts, and the Portable License Management. Custom installs only the files you select. By default, the Custom installation option installs all Autodesk Map features. Clear the check boxes for all Autodesk Map components you do not want to install. Full installs the following features in addition to the files installed by a Typical installation:

Install or Upgrade to Autodesk Map

15

s s s s s

Internet Tools. Internet support files Samples. Visual LISP samples Dictionaries. French-Canadian Texture maps. Maps for photorealistic rendering Tutorials. Visual LISP tutorials

8 On the Destination Folder page, do one of the following:


s s

Choose Next to accept the default destination folder. Choose Browse to specify a different drive and folder where you want Autodesk Map installed. Choose any folder that is mapped to your computer (including network folders), or enter a new path. Choose OK, and then choose Next.

9 On the Start Installation page, choose Next to start the installation. The Updating System page is displayed, showing the progress of the installation. 10 If an existing version of Microsoft NetMeeting is identified, you can choose to update it to Version 3.01. Choose Yes to update, or No to bypass. Note If you choose not to upgrade NetMeeting, you will not be able to use the Meet Now feature until you upgrade. 11 If you selected a Typical or Custom installation including Volo View Express, you are prompted to install Volo View Express. Choose Yes to launch Volo View setup, or No to bypass. Note Volo View Express is necessary for DWF file support and for the Publish to Web feature. If an existing version of Volo View Express is identified, it will be automatically upgraded to the latest version. Volo View Express will not overwrite an existing version of Volo View. If you require the full functionality of Volo-View, you may purchase an Autodesk Map-compatible version separately. When the installation is complete, the Setup Complete page is displayed. 12 Choose Finish. The Readme file is opened from this page when you choose Finish. This file contains information that was unavailable when the Autodesk Map documentation was prepared. If you do not want to view the Readme file at this point, clear the check box next to Readme. Note You can also view the Readme file after you have installed Autodesk Map by starting Autodesk Map and choosing Help Autodesk Map Help. In the frame on the left side of the Help window, choose the Contents tab and choose Late-Breaking Information. Then, in the frame on the right side of the Help window, click the arrow button to open the Readme file.

16

Chapter 1

Installation

13 It is strongly recommended that you restart your computer at this point in order for the installation settings to take effect. Do one of the following:
s s

Choose Yes to restart your computer now. Choose No to manually restart your computer at another time.

If you do not restart your computer, you may have problems running Autodesk Map.

Congratulations! You have successfully installed Autodesk Map 5. You are now ready to register your product and start using the program. To register the product, double-click the Autodesk Map 5 icon on your desktop and follow the instructions.

Use Customized Files and Settings from Release 3


If you choose to upgrade in the same folder as a previous release, customized files are copied from the previous version and stored in a folder under the main Autodesk Map folder called Previous Version Custom Files. The types of customized files copied are
s s s s s

Exported profiles LISP files that are loaded during startup Standard linetype definition files Menu files Digitizer and plotter configuration information

If you choose to install Autodesk Map 5 in a different folder, and you want to use your customized files, copy the files from the previous release into the Autodesk Map 5\Support folder.

Use Customized Files and Settings from Release 3

17

Register and Authorize Autodesk Map for a Stand-alone Computer


The first time you start Autodesk Map, the Authorization wizard is displayed. You can authorize Autodesk Map at that time, or run Autodesk Map and authorize it later. Autodesk Map displays the Authorization wizard for 15 days. Each time you start the program, you are prompted to provide an authorization code. After 15 days, you must enter an authorization code in order to run Autodesk Map. You can register and authorize Autodesk Map in one of the following ways:
s

s s s

Internet. Guides you through entering your registration information and sends it to Autodesk over the Internet. Once you submit your information, registration and authorization occur almost instantly. Fax. Guides you through entering your registration information. Saves the information in a file that you can print and fax to Autodesk. Email. Guides you through creating an email message with your registration information, which you can send to Autodesk. Post/Mail. Guides you through entering your registration information. Saves the information in a file that you can print and mail to Autodesk.

To authorize Autodesk Map 1 Double-click the Autodesk Map 5 icon on your desktop. 2 On the Begin page of the Authorization wizard, select Authorize Autodesk Map 5, and then choose Next. 3 Do one of the following:
s s

Select Register and Authorize, which will guide you through the electronic registration process. Select Complete Authorization, where you will enter your authorization code (which youll receive after youve registered your product).

4 Choose Next and follow the on-screen instructions.

18

Chapter 1

Installation

Add Autodesk Map Components


You can add custom components at any time by running Setup. To add components 1 From the Start menu, choose Settings Control Panel. 2 In the Control Panel, choose Add/Remove Programs. 3 Do one of the following:
s

For Windows 98, NT, and ME. In the Add/Remove Program Properties dialog box, on the Install/Uninstall tab, select Autodesk Map 5. Choose Add/Remove. For Windows 2000. In the Add/Remove Programs dialog box, select Autodesk Map 5, and choose Change.

4 In the Add/Remove Application dialog box, select Add or Remove Features, and choose Next. 5 In the Autodesk Map 5 Setup dialog box, select a feature and then select one of the following options from the list. Then choose Next:
s s s s

Will be installed on local hard drive. Installs a feature or component of a feature on your hard drive. Entire feature will be installed on local hard drive. Installs a feature and its components on your hard drive. Feature will be installed when required only. Installs the feature ondemand. Entire feature will be unavailable. Makes the feature unavailable.

6 On the Start Installation page, choose Next. When the components have been added, choose Finish. 7 If prompted, restart your computer. Note You can find information on optimizing and configuring Autodesk Map in the online AutoCAD Customization Guide. You can view it by choosing Help Autodesk Map Help and, from the Contents tab, choosing AutoCAD Online Manuals Customization Guide.

Add Autodesk Map Components

19

Reinstall or Repair Autodesk Map


If you accidentally delete or alter files required by Autodesk Map, you can reinstall or repair them. When you perform a reinstallation of Autodesk Map, the procedure automatically repairs damaged or missing files. The reinstallation or repair uses the choices you made during the last installation and requires little interaction. To reinstall Autodesk Map 1 From the Start menu (Windows), choose Settings Control Panel. 2 In the Control Panel, choose Add/Remove Programs. 3 Do one of the following:
s

For Windows 98, NT, and ME. In the Add/Remove Program Properties dialog box, Install/Uninstall tab, select Autodesk Map 5. Choose Add/Remove. For Windows 2000. In the Add/Remove Programs dialog box, select Autodesk Map 5, and choose Change.

4 In the Add/Remove Application dialog box, select Reinstall Autodesk Map 5, and then choose Next. 5 In the Autodesk Map 5 Setup dialog box, do one of the following, and then choose Next:
s s

Select Reinstall Autodesk Map 5. Select Repair Errors in My Autodesk Map 5 Installation. If you select this option, you also restore your shortcuts if they do not point to the location of your Autodesk Map files. If you do not want to restore your shortcuts, clear the corresponding check box.

6 In the Start Installation dialog box, choose Next, to begin installation. 7 In the Backup Files dialog box, highlight the files to back up, and then choose Next. 8 In the Autodesk Map 5 dialog box, when the components have been added, choose Finish. 9 If prompted, restart your computer.

20

Chapter 1

Installation

Uninstall Autodesk Map


When you uninstall Autodesk Map, all components are removed in the process. This means that even if youve previously added or removed components, or if youve reinstalled or repaired Autodesk Map, the uninstall procedure removes all files, making the uninstallation easy. To uninstall Autodesk Map 1 From the Start menu, choose Settings Control Panel. 2 In the Windows Control Panel, choose Add/Remove Programs. 3 Do one of the following:
s

For Windows 98, NT, and ME. In the Add/Remove Program Properties dialog box, on the Install/Uninstall tab, select Autodesk Map 5. Choose Add/Remove. For Windows 2000. In the Add/Remove Programs dialog box, select Autodesk Map 5, and choose Change.

4 In the Add/Remove Application dialog box, select Remove Autodesk Map 5, and then choose Next. 5 In the Autodesk Map 5 Uninstall dialog box, choose Next to start the process of removing Autodesk Map 5. 6 On the Autodesk Map 5 Setup page, after the program is uninstalled, choose Finish. 7 If prompted, restart your computer.

Understand the Autodesk Map License


When you authorize Autodesk Map, only the computer you authorized is licensed to run that copy of Autodesk Map. The licensing software identifies the licensed computer by using certain components on the computer, such as the hard disk. The Autodesk Map license is only valid on one computer at a time. With the Portable License Utility, you can transfer the license to another computer and then transfer it to a different computer, or transfer the license back to the original computer. For more information on managing Autodesk Map licenses and using the Portable License Utility, refer to Change the AutoCAD Setup in the online AutoCAD Customization Guide.

Uninstall Autodesk Map

21

22

Setting Up a Project

In This Chapter

Start Autodesk Map and set up your projects. s Within each project, you can specify the set of s drawings you want to use, the databases, queries, and themes you want, and your option settings. s s s Starting Autodesk Map Starting a new project Viewing source drawings Using your projects Understanding projects

23

Starting Autodesk Map


When you start Autodesk Map, the Autodesk Map Today window displays. This window provides you with the following ways to start a drawing:
s s s s

Open an existing drawing. Start a drawing from scratch. Start a drawing based on a template. Use wizards to help you set up your drawing.

To start Autodesk Map 1 From the Start menu (Microsoft Windows ) choose Programs. Then choose Autodesk Map. 2 In the Autodesk Map Today window, choose one of the following:
s

Open Projects tabSelect from a list of recently opened drawings, or click the Browse button to look for another drawing. Create Projects tabChoose Start From Scratch, Template, or Wizards. Start From Scratch: Select English (inches) or metric (millimeters) to open a new drawing based on the measurement system you choose. Template: Select a template from the list to open a new drawing based on the template. The list displays template files (.dwt extension) in the drawing template file location as specified in the Options dialog box. Template files store all the settings for a drawing and can also include predefined layers, dimension styles, and views. Wizards: Open a new drawing and set it up using either the Quick Setup wizard or the Advanced Setup wizard.

Symbol Libraries tabSelect from a list of symbol libraries to load into AutoCAD Design Center.

After you use Autodesk Map for a while, you may want to turn off the display of the Autodesk Map Today window. To turn off the display of the Autodesk Map Today window 1 From the Tools menu, choose Options. 2 In the Options dialog box, choose the System tab. 3 In the Startup list under General Options, select Do Not Show A Startup Dialog. 4 Click OK. For complete information on starting new drawings and opening existing drawings, see Start, Organize, and Save a Drawing in the Users Guide section of the AutoCAD Online Manuals.

24

Chapter 2

Setting Up a Project

Starting a New Project


Projects let you organize how you view and work with your drawings. When you set up your projects, you select the drawings that you will use with that project, the databases you will use, the external documents, etc. Every time you open that project, all those items are automatically available. For example, a town manager might create the following projects:
s

A Streets project, including all the street maps of the town and a database of traffic flow information. A Quadrant project, including the street map, sewer map, and electrical map for a specific quadrant of the town. In addition, the town manager could attach documents and videos that give additional information about the sewers and the wiring. A Schools project, including the street maps, the school zone map, and a database of bus route information.

Before you begin, think about the drawings you have and how you want to organize them. Remember that a drawing can be included in more than one project. If you have database information, decide which information to include with the project. Decide if you want to attach any external documents, graphics, or videos. For more information about the type of items that you can store with a project, see Using Your Projects, on page 39.

Project Drawings and Source Drawings


Any drawing can be used as a project drawing, and any drawing can be used as a source drawing. Autodesk Map makes no distinction between source drawings and project drawings. Any drawing you open in Autodesk Map will be treated as a project drawing. Any drawing you attach to the current drawing will be treated as a source drawing while this project is open. You decide how you want to set up your drawings. Most users create a blank drawing that they use as the project drawing, and then attach all the drawings that they will use with this project. For example, you could create a new drawing called Sewer Systems and attach all the sewer maps as source drawings. Other users start with a drawing that contains the basic outline of their project, then attach drawings that fill in the details. For example, you could create a project drawing that contains the site map for a new development, and then attach all the parcel drawings as your source drawings. The group of source drawings attached to the project is called a drawing set.

Starting a New Project

25

Adding Drawings to Your Project


You specify that you want to use a drawing with a project by attaching the drawing to the project.

Click the Drive Alias button to define a new drive alias.

Select the files you want and click Add to add them to the list.

You can attach files from many directories. When youve added all the files you want, click OK to attach them to the project.

26

Chapter 2

Setting Up a Project

Creating Drive Aliases


Autodesk Map provides a drive alias feature that allows different users working with the same projects and drawing sets to locate drawings. If you plan to share drawings with others on a network, use aliases to locate attached source drawings rather than hard-coded drive letters. For example, if source drawings are stored in server:\acadmap\drawings, you might connect to that location as drive J, and another user might connect as drive K. This could make it difficult to share projects, since your projects would specify J: as the location for the source files. However, if you both assign the same alias to the location, for example, Autodesk Map Projects, you can share projects regardless of location. Autodesk Map provides a default alias called C. If you store drawings in a location other than drive C, you must create aliases for the paths to your source drawings before you attach them.

Everyone in your organization should assign the same alias to this location. This lets Autodesk Map easily find files when you share projects.

Starting a New Project

27

Nested Drawings
You can nest projects. For example, suppose you create a Sewer Systems drawing and attach all the sewer drawings. Then you create a Water Systems drawing and attach all the water drawings. You could then create a City Services drawing and attach both the Sewer Systems drawing and the Water Systems drawing, and all the water and sewer drawings would automatically be attached as nested drawings.
Water1.dwg Water2.dwg Water3.dwg Water4.dwg WaterSystems.dwg

Sewer1.dwg Sewer2.dwg Sewer3.dwg Sewer4.dwg SewerSystems.dwg CityServices.dwg

Any drawing can be a project drawing and any drawing can be a source drawing. The currently open drawing is the current project; any drawings attached to that drawing are source drawings. If the source drawings have drawings attached, those nested drawings are also part of the current project.

Autodesk Map assigns the nested drawings the same status as the top level drawing. You can deactivate a nested drawing if the top level drawing is active. However, you cannot see or activate a nested drawing if the top level drawing is not active.

28

Chapter 2

Setting Up a Project

Specifying Drawing Settings


Online Help Index
drawings, settings

After you attach a drawing, you can specify where it should appear in the project drawing, whether it needs to be scaled, and whether it needs to be rotated.
s

If you attach drawings that represent the quadrants of a city, you may need to adjust the offset of the drawings so each drawing appears in its appropriate location. If you attach two drawings that are drawn to different scales, you need to scale one of the drawings to match the other. If you attach two drawings that use a different orientation, you need to rotate one of the drawings to match the orientation of the other.

You can also specify a drawing description that makes the drawing easier to identify in lists and set the save back extents for the drawing. These settings are stored only in the project. They do not modify the actual source drawing. When you save changes back to source drawings, Autodesk Map restores the transformed objects to their original rotation, scale, and offset. Note If you have set coordinate systems in your source drawings and in your project drawing, you do not need to use the transformation settings. Autodesk Map will automatically adjust all the source drawings when it displays them in the project and show objects at their proper coordinates.

Starting a New Project

29

Setting Scale, Rotation, and Offset


Online Help Index
drawings, transforming

In your projects, you want all the source drawings to display seamlessly together. After you attach each drawing to the project, you specify how you want that drawing to display in the project.

Project Drawing

City Map

Street Map

In this example, both the City Map and the Street Map are drawn to the same scale as the project map and use the same point of origin, so neither of these maps needs to be adjusted when attached to the project. However, the map of Subdivision A is drawn to a much larger scale, so you must reduce its scale and modify its offset so it displays correctly in the project. These modifications are stored with the project; they do not affect the Subdivision A drawing itself.

30

Chapter 2

Setting Up a Project

Subdivision A

Set the scale so the subdivision fits into the City Map

Set the offset so the subdivision appears in the proper place in the City Map

Starting a New Project

31

Setting, Viewing, and Resetting Save Back Extents


Online Help Index
drawings, save back extents

When you add an object to a drawing, the drawing extents may expand and intrude on boundaries of adjacent drawings. By specifying save back extents you preserve a drawings boundaries relative to other drawings. While the actual drawing extents might expand, the save back extents remain unchanged. If you dont specify save back extents, Autodesk Map uses the source drawing extents as the save back extents. The following illustration shows how the original drawing extents can expand as you add objects. The dotted line represents the actual drawing extents.

Specified save back extents of drawing

New object

Expanded drawing extents after adding objects

After setting the save back extents, you can view the boundary rectangle. You can also reset save back extents to the original extents of the source drawing. If you set save back extents and also use the offset transformation option, Autodesk Map offsets the save back extents the same amount.

32

Chapter 2

Setting Up a Project

Setting Up External Databases


Online Help Index
external data

You can store information in a database, such as Oracleor dBASE, and associate data with objects in your drawing. For each database that you use, you use an information file called a UDL file to tell Autodesk Map where to find information about that database. In addition, you create a link template that specifies how to link data from that database to the objects in your drawing. When you set up a project, you need to specify which databases youll use. Autodesk Map will automatically connect to these databases when you open the project. Make a list of the databases that you use in the source drawings for this project, and attach the same databases to the project. To attach a database to a project, view your files using Explorer or My Computer, and drag the database onto the Project Workspace. For most database types, Autodesk Map will automatically create the UDL file.

You can view your data from inside Autodesk Map using the Data View.

The project should also include any link templates that you use in the source drawings attached to this project. If you use only a few link templates, you can easily recreate them in the project. If you use a large number of link templates, you can copy them from the source drawing and paste them into the project. For information on attaching a database to your project and linking records to objects, see Chapter 9, Saving Attribute Data in External Databases.

Starting a New Project

33

Seeing Whats Attached to Your Project


The Project Workspace shows you information about the current project. It displays all the items youve included in this project.

Themes Drawings attached to the project

Queries

Database tables

Topologies

Link templates

Any drawings youve attached to the project are listed in the Project Workspace. Whenever you open this project, these drawings are automatically attached.

34

Chapter 2

Setting Up a Project

Viewing Source Drawings


Autodesk Map does not automatically display your source drawings. You decide how you want to view these drawings.

Using Quick View


Online Help Index
quick view

You can quickly view all the objects in one or more attached source drawings by using Quick View.

Select the drawings you want to view.

Quick View displays all objects in a particular source drawing as a temporary static picture of the drawing. If you use Quick View to view multiple source drawings, the Quick View will show one selectable picture for each source drawing. You can zoom and pan, but you cannot select or edit individual objects. When you regenerate or redraw, the Quick View pictures are cleared from the project drawing. You can plot the results of a Quick View. Quick View does not display shapes.

Viewing Source Drawings

35

Using a Preview Query


Online Help Index
queries, preview mode

You can view all objects in a specific area of the drawing or all objects that share a specific property, such as color or elevation, by using a preview query.

To view all objects in a certain area, use a Location Condition and select Window as the Boundary Type. Click Define < to specify the window.

Run the query in Preview mode to view any objects in the source drawing that are within the specified location. A Preview mode query does not copy the objects into the project drawing, it just displays them onscreen. If you want to copy the objects into the project drawing, run the query in Draw mode.

Zooming the Project Extents


Online Help Index
drawings, zooming to extents

Before you execute a query, you need to adjust the view of the project to match the extents of the source drawing. If you dont adjust the project extents, some or all objects may not be visible after you execute a query. Use the Zoom Projects Extents command to zoom the project drawing to the extents of the selected source drawings. The drawing coordinates in the lower-left corner of the screen reflect the new extents of the project.

36

Chapter 2

Setting Up a Project

Controlling Layer Display with Key View


Online Help Index
key view

The Key View feature lets you quickly view different layers in the active source drawings depending on the zoom magnification. When you set up Key View, you specify which layers to display at a given zoom magnification. Like Quick View and querying in Preview mode, the Key View feature displays the contents of active source drawings. However, using Key View you can display only the layers you want to see at particular zoom magnifications. Zoom in and more layers display; zoom out and fewer layers display. For example, in a set of maps, you can zoom to the extents of the maps to see only layers containing the major roads. When you zoom in more, you can also see minor roads. When you zoom in even more, you see smaller streets as well. Key View provides an efficient way to view your drawings. Autodesk Map doesnt waste time redrawing or regenerating objects that you cant see or dont want to see. To use Key View, your drawings must be organized by layers. You must also know the width of the current viewport (drawing window) at different zoom magnifications.

Online Help Index


viewports, measuring

As you zoom out of and into your drawing, the width in drawing units of the current viewport increases and decreases. For example, if you zoom out to the extents of a map of a large urban area, the width of the drawing window might be 40,000 units. If you zoom into the drawing to display a single building, the width of the drawing window might be 800 units. If you specified several Key View width settings, the layers displayed will change as you zoom out and exceed each width threshold. Once you have set the zoom magnification, you can use the Pan option to move around your drawing. Key View continues to display only the layers you specified for that width setting and zoom magnification. Note You can plot a Key View.

Viewing Source Drawings

37

Viewing Documents Associated with Objects


Online Help Index
document views

With Autodesk Map, you can associate external documents with objects in your drawing and then click on an object and view the associated documents. For example, you can:
s

Click on a polygon that represents a parcel of land to view a deed of trust or a photo of the plot. Click on an object that represents a fire hydrant to view a maintenance spreadsheet. Click on a link that represents a sewer tunnel to view a video of that tunnel.

You associate the document with the object by defining a document view that tells Autodesk Map where to find the document and what application to use to view the document. You can add as many document view definitions as you need. If you have a variety of documents you want to associate with an object, you need a separate document view definition for each document.
Associate a document with all objects in the drawing. Associate a document with a specific object in the drawing. Associate a document with all objects that share a property, such as layer or color.

When you use the View Associated Documents command and select an object, Autodesk Map displays all the document views associated with that object.

Autodesk Map stores document view definitions in the project drawing. One project can have multiple document views. When you are viewing documents, Autodesk Map lists the document views that apply to the selected object. For example, if a document view definition specifies a specific document name, that view applies to all objects in the drawing. If the view definition specifies a property such as layer or color, the view applies to all objects that share the property. However, if a view definition specifies a field in a table, the view applies only to objects that are linked to the specified table.

38

Chapter 2

Setting Up a Project

Using Your Projects


Now that youve set up your projects, youre ready to start using them.
s

You can view and edit objects from multiple source drawings in a single project. You can create topologies from points (nodes), lines, and polygons in your drawings, then analyze the topology. See Chapter 12, Creating Map Topology and Chapter 13, Analyzing Map Topology. You can create thematic maps that use color, linetype, hatch, text, etc. to call out specific items. See Chapter 11, Thematic Map Design. You can run reports on objects in your source drawings, or on data attached to those objects. See Chapter 10, Using Queries to Analyze Data. You can create customized maps that show only the objects you want. See Chapter 10, Using Queries to Analyze Data.

Autodesk Map integrates multiple drawings into one seamless environment providing access, editing, and reporting of drawing, attribute, and related database information within a single Autodesk Map session.

Editing Objects in Source Drawings


To edit objects from source drawing, you must first copy those objects from the source drawings into the project drawings. To copy the objects, you use a query, which tells Autodesk Map which objects to copy. You can create a global query that copies all objects, or you can target just a few objects that you want to work with, such as all the objects on a specific layer, all the objects in a specific location, or all objects that are blue. If you want to query objects from only some of your source drawings but not others, you can make those other source drawings temporarily inactive. When you make a source drawing inactive, you tell Autodesk Map to ignore the drawing during queries. To make a drawing inactive, change the setting in the Drawing Settings dialog box. After you edit an object, you can save it back to the source drawing. The changed object overwrites the original object in the source drawing.

Using Your Projects

39

If you work with other users who share files, Autodesk Map will lock the drawings that you are working with so no other users can modify them. If the other users are also using Autodesk Map, you can lock specific objects in the drawing while the other users continue to work on the unlocked objects. For more information on object locking, see Chapter 7, Sharing and Saving Drawings..

Saving a Project
The project drawing file is a DWG file with additional project information, including links to the set of source drawings you want to use, saved queries, user options, links to external databases, and other settings. Autodesk Map saves the project when you save the current drawing file. When you save and close a project that contains queried objects, you lose the association between the queried objects and the attached source drawings and cannot save changes back to the source drawings. If you plan to work with the queried objects later, save the query so that you can run it when you are ready to edit the objects. For more information on saving queries, see Chapter 10, Using Queries to Analyze Data.

Saving Changes
If you add changed and new objects to the save set, Autodesk Map prompts you to save changes back to the source drawing files. For more information on saving changes to source drawings, see Chapter 7, Sharing and Saving Drawings.

Working with Multiple Projects


You can have more than one project open at one time and switch back and forth between projects in a single Autodesk Map session. When you switch to an open project, that project becomes active, and the Project Workspace displays information about the project.

Sharing Projects
Other users can share a project drawing with you but they must open the project drawing file in read-only mode. They cannot change any of the project settings. See Chapter 7, Sharing and Saving Drawings.

40

Understanding Projects
A project contains links to the set of source drawings you want to use, saved queries, user options, links to external databases, and other settings. Working in a project you can query, edit, and save changes to attached source drawings. When you start Autodesk Map, a new project file appears in the project workspace. You can also open more than one project at a time and switch between projects. When you set specific project options, opening a project drawing automatically activates the source drawings and connects the external databases. A project can include the following elements:
s s s s s s s s s s s

Drawing sets Saved queries Drawing indexes Global coordinate system setting External databases or object data Link templates Topologies Themes Key View definition User options Symbol table information

When you open a project, all these items appear as you last saved them. Each of these is described below.

Drawing Sets
Online Help Index
drawing set

When you work with Autodesk Map, you can work with several drawings at the same time, attaching the drawings to the project. The group of drawings attached to the project is called a drawing set. The drawing set can include other project drawings that in turn attach drawings. These nested drawings become part of the drawing set for the current project.

Understanding Projects

41

The following illustration shows how a drawing set can consist of a set of tiled drawings or a set of stacked drawings that act like transparencies. Drawing sets can also be any combination of stacked and tiled drawings.
Tiled source drawings attached to the project Project

Stacked source drawings attached to the project Project

For more information, see Adding Drawings to Your Project on page 26.

Saved Queries
Online Help Index
query library

If you want to use a query more than once, you can save it in the project Query Library. There are two methods for saving queries: internal and external. Internal queries are stored in the project drawing and are only available from within that project. External queries are stored independently and are useful because you can share them with other users. You can edit externally saved queries by editing the query files. For more information, see Chapter 10, Using Queries to Analyze Data.

Drawing Indexes
Online Help Index
indexes, creating for drawings

Autodesk Map can execute most queries more quickly if you create indexes for different types of queries, such as location, property, data, or SQL queries. The program stores indexes in the drawing files. See Understanding Indexing on page 147. Whenever you open a drawing that includes database links, Autodesk Map automatically creates a database link index and keeps it in memory. This feature is especially useful when you edit your source drawings directly. See Linking Database Records to Drawing Objects on page 132.

42

Chapter 2

Setting Up a Project

Global Coordinate System Settings


Online Help Index
coordinate systems

When working with maps in Autodesk Map, you can assign the appropriate global coordinate system to each source drawing and then specify a global coordinate system for the project drawing. Both the coordinate system code and the coordinate system definition are saved in the drawing file. When you query to retrieve objects, Autodesk Map automatically converts them from the global coordinate system in the source drawing to the global coordinate system in the project drawing. This operation is called coordinate transformation. When you save back to the source drawing, Autodesk Map restores the objects to the original global coordinate system setting. See Chapter 14, Using Coordinate Systems.

Enter the coordinate system you used for each source drawing and the coordinate system you want to use in the project, and Autodesk Map will automatically adjust all the source drawings when it displays them in the project.

Understanding Projects

43

Using Internal Object Data or External Tables


Online Help Index
object data external data

You can store attribute data associated with objects in object data tables, which are stored in the drawing, and in external database tables. Using object data, you can easily attach attribute information to objects. When you store data in external databases you can carry out sophisticated queries, accessing the databases from within Autodesk Map, and manage and report on the data from the database application. The following table compares the two storage methods.

Internal object data tables


Increases drawing size; best for limited amounts of data Data used only in one Autodesk Map project Data can be maintained from within Autodesk Map Data relates only to a single object Use if data does not change often Quicker retrieval Data lost when object deleted

External database tables


Holds large amounts of data without increasing drawing size Data can be used in more than one Autodesk Map project or in other applications Database must be maintained separately Data relates to network of objects Use if data changes frequently Retrieval is slower Data retained when object deleted

Use object data tables for small amounts of data that you dont change much. Use external databases for larger amounts of data, data that comes from an independent source, data you want to share between projects, or data that needs to persist even if the object is deleted. You can also convert your existing object data to external database tables with links to objects. See Converting Object Data to External Database Tables on page 137.

44

Chapter 2

Setting Up a Project

The following illustration shows how you might use data to store ownership information with objects. You could use a query to retrieve objects, for example, where the type is commercial or where the address in on Hastings.
TYPE=COMMERCIAL OWNER=CALUS, INC ADDRESS=4701 MANOR AREA=4700

4701

TYPE=COMMERCIAL OWNER=ADELTSI, INC ADDRESS=5240 HASTINGS AREA=3000

5270

5280

5240

TYPE=RESIDENTIAL OWNER=ARGELLO, T ADDRESS=5270 HASTINGS AREA=1500

TYPE=RESIDENTIAL OWNER=SMYTHE, R ADDRESS=5280 HASTINGS AREA=1000

Data can either be attached directly to each object using object data, or it can be stored in an external database with specific records linked to specific object.

For information about creating object data and linking objects to external databases, see Chapter 8, Saving Attribute Data in the Drawing, and Chapter 9, Saving Attribute Data in External Databases.

Link Templates
Online Help Index
link templates

A link template is an alias for the connection between the project and an external database table. After creating a link to an external database table, you can link objects in your drawing with rows in the table. When you save the project drawing, the link template is saved with the drawing. For more information, see Chapter 9, Saving Attribute Data in External Databases.

Understanding Projects

45

Data View Window


After connecting an external database to your project, you can use the Data View window to view the information in the database in tabular format. You can also use the Data View to link records in the database with objects in the drawing, and then select, highlight, and view records attached to selected objects or objects attached to selected records.

Data View

For more information, see Chapter 9, Saving Attribute Data in External Databases.

Topologies
Online Help Index
topology

With Autodesk Map, you can use topologies to perform spatial analysis, including network tracing, shortest-path routing, polygon overlay, and polygon buffer generation. You can also determine conditions of adjacency (what is next to what), containment (what is enclosed by what), and proximity (how close something is to something else). For more information, see Chapter 12, Creating Map Topology, and Chapter 13, Analyzing Map Topology.

46

Chapter 2

Setting Up a Project

Themes
Online Help Index
thematic maps

Thematic maps make information more visible by changing how objects look. You can use thematic maps to tell a story by changing the map colors, linetypes, symbols, text, or other features of your information. Once youve defined a theme, you can apply it to new objects and use it with other maps. For more information, see Chapter 11, Thematic Map Design.

Key View Definition


Online Help Index
Key View

The Key View feature lets you quickly view different layers in the active source drawings at different zoom magnifications. When you set up key view definitions, you specify which layers to display at a given zoom magnification. If your drawings are organized in layers of varying detail, you can view major features when you zoom drawing extents and view details when you zoom in. You must organize drawings by layers to use Key View. For more information, see Controlling Layer Display with Key View on page 37.

User Options
Online Help Index
options, Autodesk Map

You can set a variety of options that control the way Autodesk Map operates. Each project can have its own project options saved in the project drawing. The local acadmap.ini file contains saved user and installation options. In addition, a system administrator can set options for all Autodesk Map users in the system. A binary file called acadmap.sys contains saved system-wide options.

Symbol Table Information


Online Help Index
drawings, viewing information

In Autodesk Map, nongraphic information such as block definitions, layers, groups, and text styles is stored in symbol tables. If two drawings use the same name for a symbol table, Autodesk Map will use the symbol table definition from the first retrieved object that uses that symbol table. For this reason, the order in which you attach drawings is important. It can affect the properties of objects retrieved by queries. To maintain consistency between drawings, you can store symbol table information in the project drawing. For example, if you define a LAYER_A in the project drawing, Autodesk Map applies the project definition of LAYER_A to objects retrieved from LAYER_A in all source drawings, and when you save back, applies the project layer definition to the saved objects.

Understanding Projects

47

48

Digitizing Maps

In This Chapter

You can create a digital map by digitizing an exists ing paper map. Autodesk Map gives you tools to s create a digital DWG file, simplify and speed the digitizing process, and add object data and links to external databases while you digitize. s Bringing data into Autodesk Map Planning After digitizing

49

Bringing Data into Autodesk Map


Data captureputting the information into the systemis the most timeconsuming and possibly most important part of mapping and GIS work. You need to specify map objects, define spatial relationships, and edit or remove extraneous data from the data file. You can bring information into Autodesk Map and create a new map in several ways. You can
s

Digitize, or manually trace, data from raster images or paper-based data into Autodesk Map. Digitizing is explained in this chapter. Import data from another mapping or GIS program in one of the external file formats translations supported by Autodesk Map. See Chapter 4, Importing and Exporting Maps. Purchase map data from a variety of public and private sources. In this case, the data may be ready for immediate use or require preparation and editing.

Digital Data
Autodesk Map stores data in a drawing (DWG) file. Vector data is stored as X,Y,Z coordinates that form points, lines, areas, and volumes. Vector data is used to store three types of discrete, well-defined data: geographic data about shapes and positions of map features, such as points, lines, and arcs; attribute data, which provides textual information about features and is stored in a drawing or a linked external database; and display data, which controls the way features appear.

Digitizing Overview
Digitizing is the process of converting paper-based graphical information into a digital format. The most common way to input existing maps into Autodesk Map is to use a digitizer. The digitizer is configured so that a movement on the digitizing tablet can be recorded directly into an existing drawing file as you digitize or trace the map.

50

Chapter 3

Digitizing Maps

Planning
Before you begin to digitize a paper map, creating a base or project map for a mapping system or GIS, you need to be certain the source map is suitable, and you need to plan how you want the base map to function. Generally speaking, when digitizing, the simplest approach works best. You should consider these points:
s s s s s s s

Suitability of source maps Global coordinate system Layer organization Using linetypes and layers Tiling maps Data storage: internal or external Representation of node, network, and polygon topologies

Map Suitability
You need to use the right source map because errors in the source map will be reflected in your digital map. For example, maps showing land use and land cover may not be geographically accurate, but may be accurate in terms of the relative proportions of land use and coverage shown; or maps showing human and cultural features often show great change in short periods while natural features usually show little change. When selecting a map to digitize, try to obtain a copy that is as close to the original manuscript as possible. Some copying methods (such as blueprinting and photocopying) can produce significant distortion. Also, some types of media are more susceptible to shrinkage and expansion from humidity changes than others. Mylar tends to remain dimensionally stable over time. Your source map should be:
s s s s s s

Known to be reliable Accurate, absolutely or relatively, to the extent you require for your project Up to date Complete The correct type The same scale as any other source maps you are using

If any of these conditions is not met, the suitability of the map for a project might be compromised, and any digitized data might introduce inaccuracies into a map set.

Planning

51

Global Coordinate System


You can digitize a map based on its latitude and longitude, but for accurate representation of an area, you must apply a global coordinate system. The Cartesian coordinate system must be in place and evident on the map before you begin digitizing. Projective digitizing is the process of digitizing from one projection directly into another projection. Autodesk Map does not support projective digitizing directly. Instead, you can digitize data into one projection and use the options for global coordinate systems to translate to another coordinate system after digitizing. Its important to add some text to your digitized map to indicate the coordinate system of the source map. This text should also be included in the legend for a plotted map. For more information, see Chapter 14, Using Coordinate Systems.

Layer Organization
You need to plan the layers you will use in your project. A layer is a logical grouping of data, which simplifies organizing and viewing data. Layers are like transparent overlays on which you organize and group different kinds of mapping information. You create objects on layers, and each layer has an associated linetype and color. Assigning different colors to layers emphasizes the contrasts between different types of objects. Refer to Using Layers and Object Properties in the online AutoCAD Users Guide. Each object that represents a different type of map feature should go on a separate layer. For example, a polyline representing a coastline could go on a layer named COASTLINE, interstate highways on a layer named INTERSTATE, land boundaries on a layer named LOTS, and so on. Always use industry standard or established department conventions for naming layers. Consistency is essential. A query on a layer named TOWN finds all objects on that layer even if some objects are utilities, some are city limits, and some contain population details. If you have not established a scheme for layer names, you can create one using the numeric feature-classification code found in some digital source data. For example, major roads might be on a layer named 170-201. A better naming convention combines names that suggest their function and a structure that allows selection with wild cards and groups of layer names. For example, you might decide that all topographic features should go on

52

Chapter 3

Digitizing Maps

layers beginning with the letters TP. So you might put rivers on a layer named TP_RIVERS, and contours on a layer named TP_CONTOURS. To freeze, thaw, lock, or unlock all layers with topographic data, you would use the expression TP*. Keep in mind that layers appear in alphabetical order. For information on wild cards and layer commands, refer to Using Layers and Object Properties in the online AutoCAD Users Guide.

Using Linetypes and Layers


Wherever possible, use the linetypes supplied with Autodesk Map to indicate different types of boundaries, road types, and waterways. Using standard linetypes ensures consistency across maps and helps you keep track of what you have digitized. Associate each linetype with a different layer. For information about creating layers and assigning linetypes, refer to the Working with Layers section of Using Layers and Object Properties in the online AutoCAD Users Guide.

Tiling Maps
If a map is larger than the digitizing tablet, the map can be broken into sections and assembled later into one large drawing. This process is known as tiling. Include a 35 percent overlap between the tiled sections, which allows you to reassemble and match the edges of the tiled maps accurately at a later time.

Map tiles

After you finish digitizing, use the Autodesk Map cleanup tools to match boundary edges and create one drawing with contiguous and complete data. See Chapter 6, Using the Drawing Cleanup and Editing Tools.

Planning

53

Data Storage: Internal or External


You can link graphic and attribute information to objects as you convert existing data into digital form. Although you can store data in Autodesk Map as block attributes, you can perform more sophisticated analysis of the data if you store it in either of these two ways:
s s

Data linked to an object and stored as object data in the drawing Data linked to an object and stored in an external database

For information about structuring data as object data or in external databases, see Using Internal Object Data or External Tables on page 44.

Node, Network, and Polygon Topologies


A topology describes the relationships between related geometry in a drawing. For example, a line or arc is described by its start node, end node, and direction; and a polygon is described by its start and end nodes, its centroid and intervening vertices, and the polygons on its adjacent sides. You use topology in Autodesk Map to find the shortest path or the fastest route (which can also be thought of as the path of least resistance) between two points, and to perform analysis using topology overlays. For more information about node, network, and polygon topologies, see Chapter 12, Creating Map Topology, and Chapter 13, Analyzing Map Topology. Also see Tutorial V of the online Tutorials.

Digitizing Nodes
Node topology defines the interrelation of node objects (points). Node topologies are often used in conjunction with other models in analysis but can also represent point locations or point sources, such as wells or pollution sources respectively. Street lights and signs are other examples of objects represented as nodes in node topologies. To represent a node, you can
s s s

Online Help Index


digitizing

Insert a block with the BLOCK command Add text with the DTEXT or TEXT commands Insert a point with the POINT command Use the Autodesk Map digitizing commands

For information about the above commands, see the online Command Reference.

54

Chapter 3

Digitizing Maps

Digitizing Networks
Network topology defines a linear network, consisting of connected linear objects, known as links. The links are joined at nodes, which can appear as text, blocks, or point objects. You can use data in a network topology for finding possible travel or flow routes, defining input to analysis models, and presenting network information. The following illustration shows two examples of network topologiesa water pipe network and an electrical network.

Water pipe network

Electrical network in residential area

Planning

55

Digitizing Polygons
Polygon topology defines polygons, using links to define boundaries between adjacent areas. It is used to represent areas such as county boundaries, land parcels, and drainage basins. Polygon topology can be used for spatial analysis and combined with other topologies. The following illustration shows two examples of polygon topologies.

Cantons

Crops in fields

After Digitizing
Once you complete the digitizing process, you can reconfigure your digitizing tablet to work with the standard AutoCAD tablet menu. Refer to the TABLET command in the online AutoCAD Command Reference. Note When returning to a previously digitized drawing, you can use the DDINSERT command to add data from other digitizing sessions.

Cleaning Up Maps
Data created by digitizing is not complete until you have cleaned up and verified the data. See Chapter 6, Using the Drawing Cleanup and Editing Tools.

Joining Tiled Maps


If you broke your original map into tiled areas, you need to edit and join together the different map drawing files. You may need to use the cleanup tools described in Chapter 6, Using the Drawing Cleanup and Editing Tools. to completely match the maps.

56

Chapter 3

Digitizing Maps

Verifying Data
If you require a high degree of accuracy, you may have to verify digitized data against field data. You can use digital orthophotos, survey data, and overlay maps to ensure that your data is current and accurate. If the source map is not up to date, you need to verify that roads, buildings, and other man-made structures match the current area. You also need to update maps when new roads or buildings are constructed, zoning changes occur, power lines and other utilities are modified, and parcels of land are divided or joined. Error checking is an important part of data verification. One method is to symbolize features or objects based on their attribute information in the database and conduct a visual check for features that look incorrect. For example, you could thicken all right-of-way lines in a parcel database and thin all other lines to make sure that parcel boundaries were categorized correctly. You can search for invalid spatial relationships, querying, for example, all valves of a certain type, highlighting them, and visually checking that they are connected to the correct pipe sizes. For information on displaying objects in different ways according to their properties, see Chapter 10, Using Queries to Analyze Data, and Chapter 11, Thematic Map Design. If information about features is stored as object data or in an external database, you can use data or SQL queries to find data inconsistencies, for example, verifying that all pipe sizes are greater than one diameter and smaller than another. You can also find other inconsistencies, such as all right-of-ways that do not have an object data record or external database link to a land parcel.

After Digitizing

57

58

Importing and Exporting Maps

In This Chapter

Another way to create maps is to import them from s other sources and file formats. As well as creating DWG files, you can use Autodesk Map to import and export a variety of file formats, including DXF, ASCII, and Autodesk MapGuide SDF. s s s Using data from other sources Importing data Exporting data Using Profiles

59

Using Data from Other Sources


You can combine data from other mapping or GIS programs by first importing it into Autodesk Map. After working with it, you can maintain it in Autodesk Map, or you can export it to an external file format. The new Import/Export feature provides enhanced data translation ability, enabling you to exchange data with colleagues and customers more freely than ever before. And, by downloading the additional drivers available on Autodesk Map Today, you have instant access to an increased number of industry standard formats that you can put to immediate use in your work.

Information in External File Formats


Digital map files can contain three types of information.
s

Geographic information, also referred to as graphics information, indicates the position and shapes of features with drawing objects. Objects such as lines, arcs, and polygons are located with X,Y (and sometimes Z) coordinates. Data elements, referred to as attributes in external file formats, provide additional textual information about features. This information is often stored in an external database file. Display information, which describes how a feature appears on the screen, includes object color, line width, linetypes (continuous, dashed, dotted, or double), and hatch patterns.

Some digital map files do not contain all these types of information.

Importing Data
Online Help Index
importing, external data

You can import data in other file formats into Autodesk Map, and the data can be read into a new or existing file. The Import/Export feature provides an easy and reliable way to import your maps from other formats into Autodesk Map. You can import not only the objects themselves, but also data and display options associated with the objects. In addition, Autodesk Map can automatically perform a coordinate conversion on the objects as they are imported. Only one file can be imported at a time. However, you can use a command script to import a series of files using prespecified options for the translation.

60

Chapter 4

Importing and Exporting Maps

Refer to Programming Interfaces in the online AutoCAD Customization Guide for information on creating and running command scripts.

Importing Maps from Other Programs


During Import, Autodesk Map will copy objects from the input file into the active Autodesk Map drawing. You can specify a number of settings for the import.
s

You can specify which layers (sometimes called schema, levels, or files) in the incoming file should be mapped to layers in the Autodesk Map drawing. You can import data from the incoming file to object data tables in the Autodesk Map drawing. You can import points as points, text, or blocks. You can perform a coordinate conversion if youve assigned a coordinate system to the Autodesk Map drawing.

s s

If you have previously saved settings (from this release of Autodesk Map or AutoCAD Map 2000i Release 4.5), you can reload those settings. For more information on these settings see Using Profiles on page 67.

Specifying a Layer During Import


By default, Autodesk Map imports data to a drawing layer with the same name as the layer (sometimes called a schema, level, or file) in the input file. If a drawing layer with this name already exists, objects are copied to that layer. Otherwise, a new layer is created and objects are copied to the new layer. You can specify one of the following layer options:
s s s

Put incoming objects on an existing layer in the drawing. Put incoming objects on a new layer. Put incoming objects on a layer based on data attached to the objects.

Importing Data

61

Performing a Coordinate Conversion During Import


As you import objects, you can convert them from the coordinate system of the input file to the coordinate system of the Autodesk Map drawing. To perform this conversion, you must first assign a coordinate system to the active project. Then, for each layer that you import, you must specify the appropriate coordinate system.

Specifying Data to Import


As you import objects, you can import the attribute data attached to the objects. If you enter a new object data table name, Autodesk Map creates a new object data table with fields that match the fields youve chosen to import. If you select an existing object data table, incoming fields are imported into object data fields with the same name. If no object data field exists with the same name, the incoming field is not imported.

Specifying How to Import Points


As you import objects, you can choose how to import points. You can
s s s s

Import points as points, using ACAD_POINT Import points as text, using text specified in data attached to the objects Import points as blocks, using a specified block definition Import points as blocks, using a block name specified in data attached to the objects

If you import points as blocks, you can choose to import the attribute data with the objects. If an attribute name on the block that is being created matches a field name on the incoming point, the data for that attribute will be imported with the point. Note If the attribute data includes the values used to link the object to an external database, you can recreate these links in the Autodesk Map drawing using the ADEGENLINK command.

62

Chapter 4

Importing and Exporting Maps

Importing Autodesk MapGuide SDF Files


Online Help Index
importing, SDF files

Autodesk MapGuide is an Internet-enabled GIS product for authoring, publishing, distributing, and viewing interactive maps and graphics over the Internet and across corporate intranets. It provides a client/server framework for accessing GIS technology through an easy-to-use Web browser interface. Using Autodesk Map, you can import Autodesk MapGuide SDF files and edit or print them, or add them to your project drawing sets.

Opening DXF Files


Online Help Index
importing, DXF files

You can use DXF files created by other applications to bring information into Autodesk Map. Autodesk Map objects imported from DXF files do not have links to other objects. For example, a polygon that encloses a parcel ID is not linked to the parcel ID in any way except visually. In the same way, data brought into Autodesk Map with the DXFIN command does not have any links to object data or external databases. You can use DXFIN to read in DXF files made from pre-Release 14 versions of AutoCAD but data sets may not be complete. , Autodesk Map 5 does not allow you to use a DXF file as a project drawing or to attach DXF files to project drawings.

Importing Raster Files


You can also import raster files into Autodesk Map. See Chapter 15, Using Images. Also, see Working with Raster Images and Using Other File Formats in the online AutoCAD Users Guide.

Managing Imported Data


When you import data, treat it like newly digitized data: imported data needs verification and cleanup, and may need edge matching and other adjustments to match existing maps. See Chapter 6, Using the Drawing Cleanup and Editing Tools.

Importing Data

63

Exporting Data
The Import/Export feature provides an easy and reliable way to export your Autodesk Map drawings to other formats. You can export not only the objects themselves, but also data associated with the objects. In addition, Autodesk Map can automatically perform a coordinate conversion on the objects as they are exported. Only one Autodesk Map drawing can be exported at a time. However, you can use a command script to export a series of drawings using prespecified options for the translation. Refer to Programming Interfaces in the online AutoCAD Customization Guide for information on creating and running command scripts.

Exporting Maps to Other File Formats


Online Help Index
exporting, external data

During export, Autodesk Map will copy objects from the active Autodesk Map drawing to the specified file or location. If you want to export objects from a source drawing, query those objects into the current project before you begin the export.

Using Saved Settings


If you have previously saved settings (from this release of Autodesk Map or AutoCAD Map 2000i Release 4.5), you can reload those settings. For more information on these settings see Using Profiles on page 67.

Selecting Objects
You can automatically select all objects, or you can manually select the objects you want. Alternatively, you can export only objects on selected layers. The status bar tells you how many objects are currently selected and how many are filtered out. In addition, you can preview the objects that will be exported. Note If you are exporting to a format that uses entity types, some objects may count as more than one entity type. For example, lines that form a polygon will count as line entities and as a polygon entity.

64

Chapter 4

Importing and Exporting Maps

Coordinate Conversion
If youve assigned a coordinate system to the active Autodesk Map drawing, you can convert objects from that coordinate system to a coordinate system you specify.

Data
You can export data that is associated with the objects. You can export object data, block attributes, or external database (SQL) data. Note You can export records from only one data table. If you want to export records from multiple tables, you should combine the data into one table before you export the objects. When you export SQL data to an external file, two options are available:
s

If the external file format does not support external databases, use the SQL Data option to export the entire record associated with each linked object. The information from the record is attached to the exported object as attribute data. If the external file format supports external database files, use the SQL Data option and the Key Only option to export only the link data. This option is faster, because it doesnt open the associated database, and it creates a smaller external file, because only the key data is exported.

Exporting to Autodesk MapGuide Files


Online Help Index
exporting, SDF files

You can export Autodesk Map DWG format files to Autodesk MapGuide SDF and SIF format, with the option to create a new SDF file or append data to an existing file. You should export only one type of datapoint, line, polygon, or annotationto an SDF file. You can export data attached to objects in a drawing to fields in the SDF file that are used for popup labels and text, links to external databases, and embedded Web links that jump to other Web pages. You can choose to use the coordinate system set in Autodesk Map or export the file using a different global coordinate system. You can also define your own coordinate system for the translation. All files are exported with 64-bit precision. The SIF file is a spatial index format file. For more information about Autodesk MapGuide SDF and SIF files, refer to Autodesk MapGuide SDF Loader Users Guide. After creating the SDF file, you can then use Autodesk MapGuide Author and Autodesk MapGuide Server to produce the MLF and MWF files needed to create and deliver Web-viewable maps.

Exporting Data

65

Exporting Data to Previous AutoCAD Map and AutoCAD Applications


Online Help Index
exporting, DXF files

You can create DXF files for use with previous versions of AutoCAD or with the many other applications that support the DXF format. You can create a Release 13 DXF file (with the AutoCAD R13/LT 95 DXF Save As file type) or a Release 12 DXF file (with the AutoCAD R12/LT 2 DXF Save As file type). For more information, see Using Other File Formats in the online AutoCAD Users Guide. Note All topology information, links to external databases, and object data are lost when you export data as DXF files. To use your Autodesk Map 5 drawings with AutoCAD Map 1.0 and AutoCAD Release 13, save your file as the AutoCAD R13/LT 95 type. All topology information, links to external databases, and object data are maintained when you use this command. To use your Autodesk Map 5 drawings with AutoCAD Map Release 2 or 3 and AutoCAD Release 14, save your file as the AutoCAD R14/LT98/LT97 type.

Exporting Raster Images


You can create raster output with the PSOUT and EXPORT commands. PSOUT creates Encapsulated Postscript (.eps) files, and EXPORT can create Windows metafile (.wmf) and bitmap (.bmp) files. You can also use the Copy and Cut commands in the Edit pull-down menu to select objects for inclusion in a Windows metafile. See Using Other File Formats in the online AutoCAD Users Guide and the online AutoCAD Command Reference.

66

Chapter 4

Importing and Exporting Maps

Using Profiles
Online Help Index
profiles for import/export

Once you have specified the settings you want for import or export, you can save those settings in a profile and use them again later.

Import Profiles
When you save an import profile, it does not store the current file name. When you load an import profile, the table settings are reset for any input layers that match an input layer name in the saved profile. Layers that dont match an input layer in the saved profile are not reset.
s

If the specified coordinate system code isnt in the dictionary, the coordinate system is set to LL84. If the data field name to be used for a layer doesnt exist, the drawing layer is set to Layer 0. If the specified drawing layer doesnt exist, it will be created. If the data field name to use for the block name doesnt exist, or if the specified block doesnt exist, the block is set to ACAD_POINT.

Export Profiles
When you save an export profile, it does not store the current file name or the current selection set. When you load an export profile, if the specified data source doesnt exist, the Include Table Data option is set to No.

Using Profiles

67

68

Working with an Oracle Database

In This Chapter

Because Autodesk Map supports Oracle Spatial, s you can use Oracle as a central data store for your drawing data. The Oracle Spatial database stores drawing objects as individual records. It also stores any attribute data, object data, or link templates associated with the objects in separate tables. You can import this data into a drawing and edit and update records in the database from within Autodesk Map. s Information for the database administrator Information for Autodesk Map users

69

Information for the Database Administrator


If you are a database administrator, you may be very familiar with Oracle but you may not have any experience working with Autodesk products, such as Autodesk Map. If you want to learn more about Autodesk Map in general, reading the other chapters in this Getting Strated manual will give you the information you need to understand how the program works. It may also be helpful to review the information for users in this chapter (see Information for Autodesk Map Users on page 79). This section of the chapter explains what you need to do to make Autodesk Map work with Oracle. It also introduces the following concepts that will be useful to you in setting up and administering an Oracle Spatial database to work with Autodesk Map:
s s

How Autodesk Map stores data in drawing (.dwg) files How to set up the schema, including privileges needed by Autodesk Map users to perform various operations How the schema organizes the data exported from Autodesk Map

How Autodesk Map Stores Data


An Autodesk Map drawing is made up of objects or entities, such as lines, arcs, polylines, points, and so on. These basic geometric entities define the boundaries of the different areas of a map, the locations of buildings, the sewer lines, or whatever other real-world objects are represented in the map. In addition to these spatial entities, non-spatial data can be stored or linked to the drawing in three ways:
s s s

As attributes attached to blocks As object data, attached to any object As external database tables

Block Attributes
Drawing objects can be grouped together into blocks. Blocks can then be reused elsewhere in the drawing or saved as files to be inserted into other drawings. For example, in a map showing a citys water system, a block is inserted on each piece of sewer pipe. The block consists of an arrow showing

70

Chapter 5

Working with an Oracle Database

the flow direction and three attributes showing the pipes diameter, material, and length.

Block as it appears when selected in the drawing

When a user edits the map by inserting the block for a new run of pipe, he or she is prompted to enter the attributes. After insertion, the attributes can be edited in the Block Attribute Manager.

Object data attached to this pipe

Object Data
Object data is more powerful and flexible than block attributes because it can be attached to any object in the drawing, not just to blocks. Object data allows the user to create a simple database in the drawing which can be queried. Object data is only available within Autodesk Map. You have to start Autodesk Map to edit or view the object data.

Information for the Database Administrator

71

For example, in a city water system, the diameters of the water mains are stored as object data for easy retrieval.

Database Tables
Larger amounts of data or data that is also accessed by other applications is usually stored in an external database. The records in the database are then linked to the objects in the drawing. For example, a city keeps its land parcel drawings as Autodesk Map drawings, and ownership and taxation records in

72

Chapter 5

Working with an Oracle Database

a separate database. The linked data can be viewed and edited from within Autodesk Map.

Setting Up the Schema


Before exporting data from Autodesk Map, you need to prepare the schema by giving it a name and allocating sufficient space. How the Schema Organizes Data Exported from Autodesk Map on page 76 shows the tables that Autodesk Map creates in the schema when data is exported to Oracle. In this release of Autodesk Map, it is recommended that users export all drawings to the same schema to create a seamless database. If you follow this recommendation, you will want to allocate space in the database for all the drawings that users may want to query at the same time. For example, parcels, streets, and water/sewer lines may be stored in separate drawing files, but would often be attached to a project and queried together. An exception to the one-schema rule is if you have drawings with different coordinate systems. They require separate schemas because Autodesk Map does not check for incompatibility in coordinate systems between drawings when it exports the data. Also, if you have drawings with different drawing standards for properties such as layer or block names, you may need to maintain multiple schemas.

Information for the Database Administrator

73

Improving Performance Before Exporting


If you are exporting large amounts of drawing data, you can improve performance of the export by dropping the primary key and any spatial index that was created.
s

If the index was created by Autodesk Map with the ORAINDEX command, use this SQL:
drop index idx_admpentities[ force];

If the index was created by the Spatial Index Advisor, the owner should know the name of the index. In this case, replace idx_admpentities with the index name.

To drop the primary key, use this SQL:


alter table admpentities disable primary key;

After completing the export, recreate the index either with the ORAINDEX command or the Spatial Index Advisor. To restore the primary key, use this SQL:
alter table admpentities enable primary key;

Assigning Roles and Privileges


Typically, one user will log in as the owner of the schema and perform the initial export of the drawing data. The owner will need EXECUTE privileges for MDSYS.SDO_TUNE and UNLIMITED TABLE SPACE. With these privileges, the owner of the schema can update existing tables in the selected schema and can also create new tables. You can also create the following roles for each schema and then assign them to other users of the data:
s

AdMpUpdaterGrant this role to users who need to import data into Autodesk Map, make changes to it, and save the changes back to Oracle. This role needs SELECT, UPDATE, INSERT, and DELETE privileges for the tables in the schema. The role also needs SELECT and ALTER privileges for the DRAWINGIDSEQUENCE and the ENTITYIDSEQUENCE. With these privileges, the updater can update existing tables in the selected schema but cannot create any new tables.

74

Chapter 5

Working with an Oracle Database

AdMpViewerGrant this role to users who need to import data into Autodesk Map but do not need to make changes to it. This role needs SELECT privileges for the tables in the schema.

A particular user may have an Updater role on one schema and a Viewer role on another schema.

Improving Performance After Exporting


Once the owner of the schema has exported all the data, you can increase performance significantly by creating indexes on the following tables:
s s s s s

All ADMPBL.. (block definitions) All ADMPOD.. (object-data definitions) All ADMPLT.. (link-template definitions) ADMPODDEFINITIONS ADMPLINKTEMPLATES

You could use similar SQL to the following:


select Create index, IDX||substr(table_name,5), on, table_name, (EntityId); from user_tables where table_name = ADMPLINKTEMPLATES or table_name like ADMPOD% or table_name like ADMPLT% or table_name like ADMPBL%;

Information for the Database Administrator

75

How the Schema Organizes Data Exported from Autodesk Map


You have seen how spatial and non-spatial data is stored in Autodesk Map. This section presents a very simple Autodesk Map drawing that contains a few objects and a few items of data and then shows the tables that would be generated in the schema if you were to export that drawing into an Oracle Spatial database. The drawing contains the following objects and associated data:
s s s s s

Line (1) Arc (2) with object data Block (3) inserted with attributes Polyline (4) with database link Text (5)

(3) (4) (5) (1)

(2)

76

Chapter 5

Working with an Oracle Database

Table Name: ADMPENTITIES

Drawing Id
1 1 1 1 1

Entity Id
1 2 3 4 5

Entity Type
AcDbLine AcDbArc AcDbBlockReference AcDbPolyline AcDbText

ADMPENTITIES (continued)

Layer
Sw_pipes Street Sw_valves WaterMain Pipe_Annot

Color
BYLAYER 176 BYBLOCK Magenta BYLAYER

Linetype
Dashed BYLAYER BYLAYER BYLAYER BYLAYER

Lineweight
BYLAYER 0.5 BYLAYER BYLAYER BYLAYER

ADMPENTITIES (continued)

Thickness

Plot Style
BYLAYER

Hyperlink

Linetype Scale
1 0.01 1 1 1

Blockname

Text Content

0 0 1 0

BYLAYER BlockStyle BYLAYER BYLAYER

SW-VALVE

water main

Information for the Database Administrator

77

ADMPENTITIES (continued)

Rotation

Text Style

Text Height

Justification

Closed

Global Width

0 45 standard 0.391 0

0 1

Table Name: ADMPDRAWINGNAMES

Drawing Name
Some Map.dwg

Drawing Id
1

Drawing CScode

Table Name: ADMPLINKTEMPLATES

Entity Id
4

Link Template Name


water.udl...WTable(WDATA_TEMPLATE)

Table Name: ADMPLTUDL___WTABLE_W

Entity Id
4

A_SEC_ID
47724

Table Name: ADMPBLSW_VALVE

Entity ID
1

A_VALVE_ID
4721

A_TYPE
lead

78

Table Name: ADMPODDEFINITIONS

Entity Id
2

Object Data Table Name


Street_Data

Table Name: ADMPODSTREET_DATA

Entity Id
2

A_NAME
Main Street

A_WIDTH
24

Table Name: ADMPLAYERDEFINITIONS

Layer
Sw_Pipes Street Sw_Valves WaterMain Pipe_Annot

Linetype
ACAD_ISO02W100 CONTINUOUS CONTINUOUS CONTINUOUS CONTINUOUS

Color
76 Blue 3 97 254

Plot Style
Thin_Pipes BYLAYER BYLAYER BYLAYER BYLAYER

Information for Autodesk Map Users


As an Autodesk Map user, you may not have used an Oracle Spatial database before. Using Oracle to store data for your drawing data offers great advantages of convenience and ease of access. However, it may also involve some changes to the way that you work. This section introduces some methods and practices that will help you make the most of Oracle in your map editing and maintenance tasks:
s s s

Using a drawing as a template Managing drawing standards and coordinate systems General tips and suggestions

Information for Autodesk Map Users

79

Using a Drawing as a Template


You create the database by exporting the contents of a drawing or multiple drawings to an Oracle Spatial database schema that has been previously defined by the database administrator. You have the option of erasing the exported objects from the drawing. Erasing the objects prevents duplicate objects in the schema tables and essentially creates a blank template drawing that you can then open whenever you want to import and edit the data. You may want to leave some objects, such as a grid, in the drawing so that you know where to find the objects you want to import. Leaving objects that do not change, such as city boundaries or rivers, in the drawing can also help you locate the objects you want to import.

63$7,$/

([SRUW
Data is exported to the schema and erased from the drawing, leaving the template drawing empty except for the grid.

When you need to edit a drawing, you import the objects you want from Oracle into Autodesk Map with a location-based query or with a query based on a display property, such as a layer. You can also type in or paste in SQL conditions.

63$7,$/

,PSRUW
Selected data is queried into the template drawing from the schema.

80

Chapter 5

Working with an Oracle Database

When you have made the changes, you can update the database, erasing the changed objects from the drawing again.

63$7,$/

8SGDWH
Edited objects are written back to the schema and erased from the drawing, leaving the template drawing empty except for the grid.

Typically, you begin by exporting data from one drawing into the Oracle Spatial database. You then append data from other drawings to the same schema by running the Export command from within those drawings.

Drawing Standards and Coordinate Systems


It is recommended that you export all drawing data to a single schema. The main reason for this recommendation is that Autodesk Map only queries and allows updates to one schema at a time. If you have more than one schema, you will have to close one connection and then open another one to get at the data stored in that schema. Therefore you will find it more convenient in most situations to maintain one seamless database for all your drawing data. In some circumstances, you may need to maintain multiple schemas:
s

If you have drawings with different coordinate systems. Autodesk Map does not check or convert coordinate systems when exporting to, or importing from, Oracle. Put data from each coordinate system into a different schema. If you have drawings with different drawing standards for properties such as layer names and definitions or linetypes. To avoid conflicts, make sure that all the drawings in the same schema use the same drawing standards.

Information for Autodesk Map Users

81

General Tips and Suggestions


This section contains suggestions to help you get the best results when you use Autodesk Map with Oracle.
s

Make sure that your drawings all have the same definitions for layers, blocks, object-data tables and other symbol tables before you start exporting them to Oracle Spatial. If a drawing has definitions that are not the same as those already in the schema, the conflicts will stop the export. When you import data from the database, aim to import just the data you need to work on. Use a location-based query in conjunction with a query on display properties to limit the number of records retrieved. The Export command is not intended to be used to update the database and in fact it does not update existing records. Once you have exported drawing data from a drawing, do not run Export again, as doing so will result in duplicate records in the database. When you want to update objects that have previously been exported, use the Update command. To improve performance, detach your source drawings before exporting or importing. The database connectivity established through the attached drawings slows down the process. Also, if you are exporting large amounts of data in batches, do not index the schema in between exports as this slows down the export process. Make sure that the drawing is properly cleaned up before you export it the first time. This is much more efficient than importing data, cleaning it up, and then saving it back to Oracle. Topologies are defined as object-data. If topology is the only object data you have in a drawing, you can save time and space in the database by excluding object data from the export with an option in the Export dialog box. Bear in mind that when you import records from the database and are editing that data, there is no guarantee that another user is not updating the data at the same time. You cannot lock the database in this release of Autodesk Map. Having a workflow system in place to control who edits the data, such as the allocation of work orders, is the best way to avoid this potential problem.

82

Chapter 5

Working with an Oracle Database

Using the Drawing Cleanup and Editing Tools

In This Chapter

Autodesk Map provides several tools for turning s digitized or inaccurately drawn data into complete s data suitable for mapping and topology purposes. You can also use these tools to remove unnecessary detail from your maps or to make adjacent maps align correctly. s Understanding drawing cleanup Understanding editing in Autodesk Map Creating closed polylines from a topology

83

Understanding Drawing Cleanup


Online Help Index
drawing cleanup, understanding

You might need to cleanup data that is digitized, imported from other file formats, or derived from inaccurately drawn maps. Sometimes maps contain inaccuracies resulting from surveying, digitizing, or scanning errors. Parcel boundaries may not align correctly, highway junctions might not meet (undershoot) or might extend beyond the correct alignment (overshoot). To improve the accuracy of your maps, you can use the Autodesk Map drawing cleanup tools. If you want to use topology, you must clean up your drawings before you define a topology. See Chapter 12 Creating Map Topology. This section uses the term linear object to refer to lines, polylines, and arcs in a drawing and the term node to refer to the connection point between linear objects. The term tolerance refers to the distance used to determine if an error exists.
Node

Linear object

Common kinds of problems are shown in the following illustration.


Undershoots and overshoots Overdigitized Undershoot Overshoot Unwanted dangles

State line Incomplete polygons

Double digitized

County line

84

Chapter 6

Using the Drawing Cleanup and Editing Tools

Online Help Index


drawing cleanup, performing

Common problems include the following:


s s

Overdigitized mapsSee Simplifying Linear Objects on page 91. Undershoots, overshoots, or unwanted danglesSee Break Crossing Objects on page 89, Erase Short Objects on page 88, Extend Undershoots on page 90, and Erase Dangling Objects on page 90. Open and incomplete polygons or polylinesLand forms such as lakes or islands might be left open (with gaps at edges). Often, openings are not apparent until you try to get a value for an area or fill an area with a hatch. Topology features do not work if you have incomplete polygons or polylines. See Extend Undershoots on page 90 and Correcting Nodes on page 93. Double-digitized lineworkSee Delete Duplicate Objects on page 87. Short ObjectsSee Erase Short Objects on page 88. Pseudo NodesSee Correcting Nodes on page 93. Nonmatching edgesSee Edge Matching on page 95. Unconverted objects.

s s s s s

Note It is highly recommended that you save a backup copy of your map before using the cleanup tools. After you complete the cleanup operation, run the operation again to verify that you corrected all existing errors. A message appears if errors remain. Cleaning up the geometry in the drawing creates new geometry and new relationships between the objects, and each iteration will create new relationships, so you might need to run the cleanup operation several times.

Online Help Index


drawing cleanup, preparing for

You can specify how to treat the original linear objects in the drawing after the cleanup operation is complete.
s

Modify Original ObjectsUses the original layer and as much of the original data as possible. For example, linear objects are extended where necessary. Retain Original and Create New ObjectsKeeps the original linear objects. Creates new linear objects on a layer you specify. For example, to extend an undershoot, new linear objects are created on the specified layer for the undershoot and target linear objects, and the originals are retained. Delete Original and Create New ObjectsDeletes all the original linear objects and creates new linear objects on a layer you specify. For example, the original undershoot is deleted, and a new linear object is created that extends to the required location.

Understanding Drawing Cleanup

85

Specifying Markers
You can preview the changes that the Drawing Cleanup function will make. When you choose this option, Autodesk Map evaluates where cleanup will take place and prompts you to place a marker at each location that might require correction. You can examine each location and accept or reject the correction. You can repeat this process multiple times, each time removing markers from earlier operations.

Map Cleanup Processes


The following sections describe the cleanup tools available in Autodesk Map.

Cleanup Order
There are four approaches you can take to cleaning up maps. You can use cleanup to do any of the following:
s s s s

Mark all the errors in a map, then use manual editing methods to correct the errors. Mark all the errors in a map, then use the command line methods to correct each error. Identify one type of error, fix that error, then identify and fix other errors on a one-by-one basis. Identify and automatically correct all errors.

If you choose to correct all errors automatically, cleanup operations are performed in the following order:
s s s s s s s s s

Delete previous markers Simplify linear objects Extend undershoots Snap clustered nodes Break crossing objects Erase dangling objects Erase short objects Dissolve pseudo nodes Delete duplicate objects

The order in which you carry out cleanup operations can have different results. For example, see Erase Dangling Objects on page 90, where the order in which you break crossing objects and erase dangling objects gives different results.

86

Chapter 6

Using the Drawing Cleanup and Editing Tools

Delete Duplicate Objects


You can delete duplicate objects in order to clean up data for topologies, plotting, or thematic mapping. Points, text, and blocks are not included in delete duplicate calculations. The coordinate locations of objects and the number of vertices are considered, but objects with directions, objects of different types (for example, lines and polylines), and objects with different properties (for example, linetype and color) can be considered as duplicates. Note Objects with the same geometry, but on different layers, are considered as duplicates. If your map has coincident objects on different layers, you should work with one layer at a time. Objects within the tolerance distance of each other can be considered duplicates as shown in the following illustration. In most cases, you should keep the tolerance value very small when deleting duplicate objects.

Duplicate objects Tolerance

Before cleanup

After cleanup

The following illustration shows an example of two closed polylines that share a common boundary or edge, and duplicate linear objects that share the same start and end nodes.

Before deleting duplicates

After deleting duplicates

When you use Delete Duplicate Objects with Break Crossing Objects, the closed polylines (A and B) are broken into two open polylines (T and V) with no duplicate edges. A third open polyline (U) represents the edge.

Understanding Drawing Cleanup

87

When deleting duplicate edges that are polyline segments, the command deletes lines and arcs before breaking polylines. The function removes only objects with the same properties and geometry, even if the objects are on different layers. Direction is not considered. Do not use the Delete Duplicate Objects option with polygon topology because this function deletes important topology data.

Erase Short Objects


You can reduce the number of unnecessary linear objects and nodes in a map by removing short isolated linear objects and short linear objects that are part of a polyline as shown in the following illustration. This deletion increases performance and decreases file size.

Before Erase Short Objects

After Erase Short Objects

This function is similar to dissolve pseudo nodes, except erasing short objects removes both the linear object and associated nodes. See Correcting Nodes on page 93. Depending on your data, you might want to snap clustered nodes afterwards to correct errors that can result from erasing short objects. The following illustration shows the type of error that might be introduced and how you can correct them by snapping clustered nodes. See Snap Clustered Nodes on page 93.

Before Erase Short Objects

After Erase Short Objects

After Snap Clustered Nodes

Note Set the tolerance distance to a value slightly smaller than the shortest object length you want to retain.

88

Chapter 6

Using the Drawing Cleanup and Editing Tools

Break Crossing Objects


This function takes a complex system of lines, arcs, circles, and polylines and breaks them at intersections into single, unambiguous objects. You can break objects that intersect into two pieces at the intersection. This function is important when you are establishing network topology or working with topographic contours. In the illustration below, the first example shows four linear objects in a network topology that were digitized as two linear objects; after you break crossing objects, the linear objects are four separate objects that intersect at a common point. Linear objects that do not intersect, because of digitizing (or other) errors, can be corrected by setting a suitable tolerance distance. Note The Break Crossing Objects option corrects apparent problems across layers and may break lines meant to indicate separate objects, such as rivers and roads. Use Break Crossing Objects with one layer at a time to avoid this problem.

Before Break Crossing Objects

After Break Crossing Objects

Cleanup with Break Crossing Objects and Erase Dangling Objects

Closed objects, such as contours and lakes, can be cleaned up with the Break Crossing Objects and Erase Dangling Objects options. Use Break Crossing Objects to create separate objects, and then use Erase Dangling Objects, explained in Erase Dangling Objects on page 90, or the ERASE command. Verify that the shape created after editing reflects the intended shape and that a distorted closed area is not created. Note Using the Break Crossing Objects option on an arc whose endpoints are very close, may result in the duplication or extension of the arc.

Understanding Drawing Cleanup

89

Extend Undershoots
Undershoots are often caused by inaccurate digitizing or by converting scanned data. The illustration shows two examples often found in road maps. The undershoots fall short of the target linear objects.

Target linear object

Undershoot

Undershoots are often found in the same drawing as dangles. Dangles, or overshoots, are caused by a linear object going beyond an intersection with a target linear object. See the next section, Erase Dangling Objects. The Extend Undershoots option works in the same way as Break Crossing Objects works with undershoots, except the target linear object is not broken at the intersection. Note Using the Extend Undershoots option on an arc whose endpoints are very close, may result in the duplication or extension of the arc.

Erase Dangling Objects


The Erase Dangling Objects option searches for and deletes all line, arc, and polyline dangling edges, and nodes. Often, inaccurate digitizing causes a dangle, extending an object beyond its intended intersection with a target object. Usually you should use Break Crossing Objects before using Erase Dangling Objects. As shown in the following illustration, if you run Erase Dangling Objects first, the whole of B is considered a dangling object and is deleted.

A B

Dangling linear object

After dangling object erased

90

Chapter 6

Using the Drawing Cleanup and Editing Tools

As shown in the following illustration, if you use Break Crossing Objects first, you create two lines C and D from object B. Then using Erase Dangling Objects deletes only the short object D, leaving object C.

A B

A C

Break point

A C

Dangling object

After dangling object broken

After dangling object erased

Set the tolerance distance to a value larger than the largest object you want to delete.

Simplifying Linear Objects


Overdigitizing occurs when a large area is digitized with a high degree of detail and the map is represented at a small scale. For example, a map might show tiny irregularities in a stream, which are not visible when looking at a city-wide map. Also, the resulting map has a large file size, is slow to work with and plot, and for many applications, you do not need that level of detail. You can use the Simplify Linear Objects option to reduce unnecessary complexity in contour lines, rivers, and coastlines. Simplifying objects, also known as generalizing, or weeding, reduces the number of points on a complex line. You should delete duplicate objects before simplifying linear objects because duplicate lines can cause inconsistent results. See Delete Duplicate Objects on page 87. If you think you need both detailed and coarse data, save the original drawing with a different name; then use the drawing cleanup tools to reduce line and polyline complexity by simplifying linear objects. You can then save the map again. The Simplify Linear Objects option reduces file size and improves performance but also reduces the resolution of the data and removes width from polylines. Make sure you save your map before you simplify linear objects, so you can return to the original lines if necessary.

Understanding Drawing Cleanup

91

Autodesk Map converts a set of connected line, arc, and polyline segments within the same tolerance into a single polyline. You specify the tolerance width. The tolerance values vary according to the scale of the map; maps with coordinate values of millions use larger values than those using hundreds.

Before simplifying linear objects

Tolerance

After simplifying linear objects

Simplifying linear objects removes as many points as possible from a polyline while keeping it within the original tolerance corridor. You cannot simplify branching points, dead-ends, or endpoints of polylines. The following illustration shows a coastline simplified at different tolerance settings.

No linear objects simplified Linear objects simplified (tolerance 0.1)

Linear objects simplified (tolerance 0.2)

Linear objects simplified (tolerance 0.5)

92

Chapter 6

Using the Drawing Cleanup and Editing Tools

Correcting Nodes
If your map contains multiple nodes near the same point (clusters), nodes that join only two linear objects (pseudo nodes), or nodes at the end of linear objects that are not attached to any other linear objects (dangles), you can use options in the Cleanup Options dialog box to correct them.

Dangling node

Node cluster Pseudo node

For each option, use the Object Selection dialog box to choose the nodes you want to correct. To correct nodes, clear all other options in the Cleanup Options dialog box, and choose either Snap Clustered Nodes or Dissolve Pseudo Nodes.

Snap Clustered Nodes


Set the tolerance to a value slightly higher than the radius of a circle that includes the nodes. The nodes are snapped to the node that is shared by most vectors within the circle of tolerance. One node remains at the new intersection.

Most central node Required tolerance (radius) value

With this option, tolerance is the radial search distance for locating geometric errors during the cleanup process.

Understanding Drawing Cleanup

93

Dissolve Pseudo Nodes


This option removes nodes that are at the intersection of two linear objects, but leaves the vertex in place as shown in the following illustration.
Polyline on layer CYAN One polyline on layer CYAN Polyline on layer RED

Note Autodesk Map does not refer to a tolerance value when dissolving pseudo nodes. If you want to remove short linear objects and their associated nodes completely, use the Erase Short Objects option. See Erase Short Objects on page 88. See also Snap Clustered Nodes on page 93. The Dissolve Pseudo Nodes option joins objects when two linear objects end at the same location. You can also use this option to remove pseudo nodes in conjunction with simplifying linear objects, converting a set of connected line, arc, and polyline segments within the same tolerance into a single polyline. See Simplifying Linear Objects on page 91. When you dissolve a pseudo node on a 2D polyline with different Z values, the first Z-value on the object is used. On a 3D polyline, the Z-value on the first vertex is used. The object remains a 3D polyline. For all other properties, the values on the first object are used. Note Using the Dissolve Pseudo Nodes option may result in the loss of certain types of data. For example, if two lines have object data attached, the resulting single polyline retains object data from only one of the lines. Similarly, if two lines on different layers share an end point, the resulting polyline will reside on only one of the layers.

94

Chapter 6

Using the Drawing Cleanup and Editing Tools

Edge Matching
Maps that are digitized at different times or that use different coordinate systems often appear distorted at their edges. Objects, such as roads, pipelines, and topographic features, that cross from one map area to another, can appear discontinuous or irregular. Distortion results from digitizing errors caused by:
s s s

Changes in humidity that distort the size and shape of the map Inherent digitizer tablet inaccuracies Missing or overlapping map coverage

Edge matching is the term given to the process that attempts to create a seamless join across two or more maps. To correct these ambiguities, you define a Location query with the Buffer Fence option (see Finding Objects Based on Location on page 141), and then use the Snap Clustered Nodes option with a tolerance that causes the objects to join.

Adjacent maps showing distortion

Location query using buffer fence to retrieve roads from adjacent maps

Adjacent maps aligned after edge matching

Use the edge-matching process on one layer at a time. For example, you might edge match the roads on the two maps first. You need to define a location query that includes all the objects in the distorted area, and then select those objects for editing and save back to source drawings. One way to avoid the need to use edge matching is to digitize a complete map in one session rather than breaking the map into smaller sections. If you have to digitize a map in sections, allow a 35 percent overlap along the edges of a map tile and digitize both linear and point features on each tile that are common to both tiles of the map. If you are using different coordinate systems for the tiled maps, establish a base map in the current drawing and then perform location queries to retrieve the maps using different systems.

Understanding Drawing Cleanup

95

Understanding Editing in Autodesk Map


When you use Autodesk Map with multiple drawings, you usually want to perform one of two operations: review source drawings and create new drawings, or edit source drawings. The following descriptions will help you decide which of these two operations you want to perform.
s

To create new drawings from objects in source drawings, you perform one or more queries to copy selected objects from the source drawing files. If you want, you can modify the objects using Autodesk Map property alteration or standard AutoCAD editing commands. You can then save your changes in the project file or use the Save As command to create a new file. You do not save the modified objects back to the source drawings; the source drawings remain unchanged. To edit source drawings, you perform queries to retrieve the objects that you want to modify or you create new objects in the project drawing. You tell Autodesk Map which objects to save back to the source drawings by adding those objects to the save set. Only objects in the save set are saved back to the source drawings. For information about save sets, see Chapter 7, Sharing and Saving Drawings.

Using Autodesk Map Editing Tools


Online Help Index
drawing cleanup, editing tools

In addition to the editing commands on the Modify menu, you can use Autodesk Map editing tools on the Map menu to perform several editing operations. You use the editing tools on the Map menu to modify maps in order to reduce unnecessary detail, correct digitizing and scanning errors, and match maps with different scales. These tools can also prepare maps for topology creation. When you modify an object in a map, the original object can be deleted, and a new object created in its place. Each new object inherits the properties of the original object, including object data and links to external databases. However, polyline vertices do not retain curve data, and the polyline cannot subsequently be decurved. Polyline width is set to a constant width equal to the end width of the original polyline. The tools work in two dimensions only and ignore Z-values. When you use the tools, Z data (indicating elevations) might be lost when processing objects at different elevations. If data is lost, a warning message appears and you can use the UNDO command to restore the information.

96

Chapter 6

Using the Drawing Cleanup and Editing Tools

Do not use any of the methods described in this chapter to edit existing topologies; you might make a topology invalid and not be able to recreate it. To edit topologies, use the topology editing functions described in Editing Topology on page 177.

Moving, Rotating, and Scaling Objects


Online Help Index
drawing cleanup, editing tools

Transformation is the uniform adjustment of a data set based on the new locations of known control points. Transformations move, rotate, and scale data without compromising the relative accuracy of the data. Transformations do not change the angle and relative distance between features. For example, in digitizing a quarter-section parcel map in which you have predefined known coordinates in all four corners, the software makes the digitized material fit relative to the four registration points during or after the digitizing process. Autodesk Map uses four points to transform the objects. The objects are moved, rotated, and scaled based on two source and two destination points.

A
1st source point

B
2nd source point

1st destination point

2nd destination point

Objects before transformation

Objects scaled, rotated, and moved

The Transform editing tool works very differently from the Simple Transformation settings in the Drawing Settings dialog box. These settings temporarily adjust the position of objects as they are retrieved during the query process. Autodesk Map reverses these transformations during save back.The Transform editing tool permanently scales, moves, and rotates objects within the project. For more information, see Setting Scale, Rotation, and Offset on page 30. Note When you use Autodesk Maps global coordinate systems with your map, the Transformation options are not available.

Understanding Editing in Autodesk Map

97

Defining Text Insertion Points


Online Help
text, insertion point

You add text to objects using the Alter Properties feature in the Define Query dialog box. By default, Autodesk Map positions the text at the centroid of the object. The following illustration shows the centroid of various shapes.

The text position relative to the object is called the label point. You can redefine the default label point using the Define Text Location feature.

centroid and default label point

new default label point

Online Help Index


text, adding to queried objects

Related To use this insertion point, choose the .LABELPT dot variable in the Define Text dialog box when you create the Property Alteration definition in the Define Query dialog box.

Filling Polygons
Online Help Index
drawing cleanup, editing tools

You can fill polygons in your drawing with solid fills and hatch patterns to clearly differentiate them. For example, you can use one hatch pattern to show properties with a value between $200,000 and $300,000 and another hatch pattern to show properties over $300,000.

98

Chapter 6

Using the Drawing Cleanup and Editing Tools

The ADEFILLPOLYG command always creates a hatch object with the solid fill hatch style. Related You can also use the BHATCH command to fill polygons.

Note If you move polygons that you filled using ADEFILLPOLYG, you must move the hatch object as well. Autodesk Map considers the polygon and the hatch object as separate objects.

Online Help Index


queries, adding hatch to retrieved objects

Also, if you set the Create Associative Hatch Objects option on the Query tab of the Autodesk Map Options dialog box, Autodesk Map creates associative hatch objects when you use the ADEFILLPOLYG command, the ADEQUERY command (using Alter Properties), or the MAPTHEMATIC command (using a fill) to fill polygons. To fill polygons automatically with hatch patterns or solid fills when performing queries, use the Alter Properties feature in the Define Query dialog box. For more information, see Altering the Properties of Queried Objects on page 152.

Rubber Sheeting
Online Help Index
drawing cleanup, editing tools

Rubber sheeting is a nonuniform adjustment of a data set based on the movement of known control points to new locations. For example, data collected by aerial survey may be inaccurate because of flight alignment and camera inaccuracies. By comparing this data with accurate ground survey data, the aerial data can be stretched or rubber sheeted over the accurate data using control points and monuments common to both data sets. Use rubber sheeting only when absolutely necessary because it can severely compromise the accuracy of the data. Use rubber sheeting as a last resort after exhausting other methods of object editing and coordinate adjustment.

Use rubber sheeting when attempting to get two or more different data sets from different sources to align geographically. For example, when stretching a new subdivision map into a preexisting parcel map. However, rubber sheeting should not be used to match maps of different scales.

Understanding Editing in Autodesk Map

99

In the following illustration the second map has become distorted. Data on the second map will be rubber sheeted to match the data on the first map.

Map 1 (not distorted) with three reference points

Map 2 (stretched) with three base points

After rubber sheeting to match maps

Note Because rubber sheeting is not a linear transformation, it is difficult to reverse the effects of the transformation and return a drawing to its original status. You should save your drawing before you perform a rubber sheet operation. Autodesk Map performs rubber sheeting by moving base points that you specify to new points that you specify. The more base points you use, the more accurate the results. You can select objects manually, or you can select all objects that cross the original sheet area. As a rule of thumb for complex curved figures, the more vertices you enter, the more accurate the proportionate stretching will be. Note that AutoCAD entities that have a given shape, such as circles, arcs, and ellipses, retain their original shape. Rubber sheeting works only on objects in the project.

Online Help Index


digitizing, tips

Rubber sheet the less accurate data to fit the more accurate data. Perform a query to bring in the source drawing and apply rubber sheeting to the two maps. If you have set up a system of control points, or monuments, use this data as the reference to which you rubber sheet other maps.

Breaking Objects at Map Boundaries


Online Help Index
drawing cleanup, editing tools

Using the Boundary Break option on the Map Tools menu, you can break any objects that cross a given line. This capability lets you save maps back to source drawings with clean edges or plot maps without overlapping borders. It functions like the AutoCAD BREAK command for a selected set of objects and a polyline boundary.

100

Chapter 6

Using the Drawing Cleanup and Editing Tools

The following illustration shows the behavior of objects after you cut the boundaries of a map using the Boundary Break option. The map of the lake is broken into three areas. The resulting maps are shown as separated plots for clarity although the command does not move the map sections.
Before boundary break

After boundary break

The Boundary Break option


s

Breaks vectors and edge objects with start and end points that straddle a cutting edge. Does not break objects such as blocks, text, hatch patterns, and other objects with a single insertion point that do not form edges; the insertion point determines which map contains the object.

Note that the text Thonon-les-Bains remains in the central map because the text has a MiddleCenter justification and insertion point. The edges of the boundary do not have to form a rectilinear shape. If you are breaking using lines of latitude and longitude, the edges are, at best, trapezoidal. You can use existing boundaries or define the boundaries once you start the command. Once the objects are broken, you can save the data back to the source drawings. For information on saving back, see Chapter 7 Sharing and Saving Drawings. You can erase objects outside the required area and plot the data inside the boundary. You can also use the WBLOCK command with the same boundary to create a new DWK of the area you break. For information about plotting maps, see Chapter 16 Plotting Maps.

Understanding Editing in Autodesk Map

101

You can also use Boundary Break to show an enlargement of a selected area. In the following illustration, a rectangle with a dashed line was drawn, boundaries were broken inside the rectangle and the objects from the enclosed area were copied and then rescaled. The rectangle is offset to emphasize the inset.

Adding an inset to a map avoids using two maps to illustrate one feature and communicates the focus of the map better.

Trimming Objects Using a Closed Boundary


Using the Boundary Trim option on the Map Tools menu, you can specify a closed boundary as a trimming edge for a selected set of objects. You can use this option to trim objects inside or outside a boundary. Use Boundary Trim to quickly clear a circular or rectilinear area in a complex map in order to insert a legend or label. You can use this command to enhance plotted maps. An example of this is shown in the following illustration. A rectangle is drawn in an area where

102

Chapter 6

Using the Drawing Cleanup and Editing Tools

text annotation is required; after trimming objects inside the area, you can add text that will not be obscured.

Rectangle showing area to be trimmed

Text in trimmed area

You can use a boundary to trim all objects within (inside) the boundary or outside the boundary. The following illustration shows two lines running through a lake. The lake is the boundary. If the lines indicate zones inside the lake, such as areas of contamination, you use the Trim Outside Boundary option in the Trim Objects At Boundary dialog box to retain the boundaries inside the lake. If you want to show boundaries that cross the lake, such as soil types or solid geology, use the Trim Inside Boundary option to show that the boundaries end at the lake.

Boundary Trim outside boundary

Line objects

Trim inside boundary

Understanding Editing in Autodesk Map

103

Creating Closed Polylines from a Topology


Online Help Index
polylines, creating from polygons

You can create closed polylines from polygon topology. Use the Create Closed Polylines function when you have created a polygon topology and you want to
s s

Give data to an AutoCAD user so the user can hatch polygonal areas. Export data to an external file format that does not support topologies.

While creating closed polygons from polygon topology, you have the option to create a group containing all the elements of complex areas, such as islands. If the islands themselves have nested islands or other polygons, these nested polygons will form a separate grouping automatically, creating different levels of grouping. If two or more inner polygons are not nested but share the same outer boundary, they will be treated as one group. You can manipulate grouped data with the GROUP command as described in Editing Drawings of the online AutoCAD Users Guide. You can also copy the object data and external database links held in the centroids to the closed polylines. For more information about topologies, see Understanding Topology Functions on page 166.

104

Chapter 6

Using the Drawing Cleanup and Editing Tools

Sharing and Saving Drawings

In This Chapter

With Autodesk Map, you can work with more s than one source drawing at a time, using only the s parts of the drawings that you need. For example, if you want to work on objects at the intersection of four tiled drawings, you can execute a location query that spans the intersection and retrieve only the objects you need, regardless of drawing boundaries. You can edit queried objects, create new objects, and then save your changes back to the source drawings. You can also choose not to save your changes back to the source drawings. Multiple users in a network environment can share drawings. Understanding save sets Sharing drawings with other users

105

Understanding Save Sets


Online Help Index
save sets

If you intend to edit queried objects and then save them back to source drawings, you must specify the objects you want to save back to source drawings by adding them to the save set. Then, when you save the project drawing, Autodesk Map prompts you to save the objects in the save set back to their source drawings. If you have not added modified objects to the save set, you can save the modifications to the project drawing or to a new drawing, but the changes are not saved back to the source drawings.
Define a query Reviewing and working with source drawings without modifying them Editing source drawings Execute a Draw mode query

Review, modify, add, and delete objects

Modify, add, and delete objects

Select objects for save back (create save set)

Save the drawing with a new name or plot the results

Save changes and new objects back to the source drawings

106

Chapter 7

Sharing and Saving Drawings

The editing process involves the following general steps: 1 Use the query feature to retrieve objects for editing. For information on defining and running queries, see Chapter 10, Using Queries to Analyze Data. 2 Modify, add, or delete objects. 3 Add the objects to the save set. For information, see Adding Objects to the Save Set in the following section. Note If you are sharing source drawings with other users, you need to add the objects to the save set before you modify them. This locks the objects so other users cant edit them at the same time as you. For more information on locking objects, see Sharing Drawings with Other Users on page 109. 4 Save the objects back to the source drawings. For information, see Saving Your Changes on page 108.

Adding Objects to the Save Set


Online Help Index
save sets, options

You can either add objects to the save set automatically when you modify them or manually select objects to add to the save set.
s

Any time you edit a queried object, Autodesk Map asks if you want to add the object to the save set. If you intend to save the object back to the source drawing and you want to lock the object, choose Yes. If you choose No, any changes will not be saved back to source drawings. You can manually add an object to the save set. When you create a new object, Autodesk Map does not prompt you to add the object to the save set. If you want to save new objects to source drawings, you can manually add them to the save set or save them directly to the source drawings.

s s

After you add objects to the save set, you can view the objects currently in the save set, and remove objects from the save set if you want.

Understanding Save Sets

107

Saving Your Changes


Online Help Index
save sets, options

When you finish editing, you can save your changes, additions, and deletions back to the source drawings. When you save the objects, you have a number of options.
s

You can save the changes to the source drawings, to the project drawing, or to both. You can save modified objects, new objects, or both new and modified objects. When you save new objects to the source drawing, you must specify which drawing to save them to. (Modified objects are saved back to their original source drawing.)

You can set additional options related to the save back operation. For example, you can delete saved objects from the project after you save them. If you are working with a source drawing from a previous release and save back your changes, Autodesk Map updates the source drawing to the current format. If you want to retain the source drawing as a previous release, do not save back your changes.

You can use the SAVE, QUIT, NEW, and OPEN commands to end the current session and display the Save Objects To Source Drawings dialog box. The commands QUIT, NEW, and OPEN give you the opportunity to save changes or discard edits. If you choose to save your changes, the Save Objects To Source Drawings dialog box appears. If you want to save your changes to the project drawing only and not to the source drawings, cancel the Save Objects To Source Drawings dialog box. If you have enabled the automatic save option, you will be prompted to save objects to the source drawings if there are objects in the save set. If you do not save back when prompted, Autodesk Map creates an automatic save file called autoX.sv$ for the project. The automatic save does not maintain the association between the source drawings and the project. Once you have saved changes back to the source drawings, you cannot undo the operation. Therefore, you should make back up copies of the source drawings before you begin working with them.

108

Chapter 7

Sharing and Saving Drawings

Sharing Drawings with Other Users


Online Help Index
sharing drawings

Using Autodesk Map, multiple users in a network environment can share drawings, and if a superuser enables object locking on your system, edit different objects in the same drawing at the same time. In addition, Autodesk Maps internal file locking mechanism tracks and controls file access so that multiple users can open, activate, query, save back objects, and perform other tasks without losing data. Autodesk Map creates a DWK file for each attached source drawing you activate. While a DWK file exists, no other user can open the associated drawing file. The DWK file has the same base file name as the DWG file and contains information about the users working with the drawing, drawing status, and so on. When all users deactivate the source drawing, Autodesk Map deletes the DWK file. Do not delete the DWK file unless there is a system crash and you are unable to access the drawings. Be sure that no one else has activated the source drawings in the directory in the meantime.

Understanding File Locking


Online Help Index
locking drawings

Autodesk Maps internal locking mechanism controls access by other users to your open drawing files and the active source files attached to open projects. The following cases describe Autodesk Maps response as you work with these files.
s

If a drawing file is open, using File Open, you and other users can attach the drawing to a project, but cannot activate that drawing. If a drawing file is attached to a project and active, you and other users can use File Open to open the file as read-only, but cannot insert or externally reference the drawing. If a drawing file is attached to a project and not active, you and other users can use File Open to open the drawing, or can activate the drawing from a different project file.

Sharing Drawings with Other Users

109

Enabling Object Locking


Online Help Index
locking objects

The object locking feature lets multiple network users simultaneously retrieve, edit, and save back different objects while working in the same source drawing. If object locking is not selected, only one user can have write access to an active drawing. If object locking is enabled, two network Autodesk Map users can edit different objects in the same drawing at the same time, but cannot edit the same object at the same time.

Online Help Index


users, setting up

Only a superuser can change object locking settings. Note You cannot disable object locking while drawings are active.

Editing Drawings in a Multi-User Environment


When you share a source drawing with other users who are making changes and saving them back to the source drawing, you must make sure you have the latest version of the objects you plan to edit. If you and another user retrieve the same objects from a source drawing and the other user changes them, adds them to the save set, and saves them back, your project will not reflect those changes. When you add objects to the save set, Autodesk Map notifies you that the drawing has been changed by another user since you performed your query. To ensure that you have the most current version of all objects, perform a Draw query just before you add objects to the save set.

Online Help Index


locking objects

Note If you plan to modify an object, add the object to the save set before you begin your modifications. This locks the object and prevents other users from adding it to their own save sets. If another user is in the process of retrieving objects or saving changes to source drawings at exactly the same time you try to add objects to the save set, Autodesk Map will notify you if it is unable either to add the objects to the save set or save back, and presents three options:
s s

RetryLets you wait until the drawing is free and retry the save back. SkipLets you skip to the next drawing if you are processing objects from more than one source drawing and you reach a drawing that is locked. CancelCancels the save back.

110

Chapter 7

Sharing and Saving Drawings

Identifying the User Who Has an Object Locked


Online Help Index
locking objects, viewing lock owners

Autodesk Map prevents you from editing locked objects in the following circumstances:
s

If you attempt to edit an object in a file locked by another user, Autodesk Map warns you that the file is locked and identifies the user. Autodesk Map presents you with three options: Retry, Skip, and Cancel. If you attempt to edit an object that was locked by another user, Autodesk Map displays a message that the object has been locked when you try to add the object to the save set.

You can use the Who Has It operation at any time to find out who locked an object. Note If the DWK file has been deleted, user names are no longer available. When this happens, Autodesk Map displays user names and project names as *UNKNOWN*.

Releasing Locked Objects


Online Help Index
locking objects, releasing locks

If a system failure occurs while objects are locked, you must manually release the object locks. However, only a superuser can remove locks set by other users. Note If a drawing is activated in another users project, you will not be able to release locks in that drawing. When you remove locks, the object is also removed from the save set. You can restore the locks by adding the objects to the save set again.

Sharing Drawings with Other Users

111

112

Saving Attribute Data in the Drawing

In This Chapter

Autodesk Map can store related information with s every object in a drawing, such as the color, lines type, layer, etc. of the object. Autodesk Map can also store user-defined attribute data with each object in a drawing. When stored in the drawing, this attribute data is called object data and can include property values, installation dates, etc. After you add object data, you can use queries to retrieve objects and perform property alteration based on object data values. s s s Understanding object data Defining object data tables Attaching object data to objects Editing object data Using object data in queries

113

Understanding Object Data


Object data allows you to create a simple database in a drawing and store text and numeric data in your drawings directly attached to any object. It is far more powerful than block attributes because object data works with any object, not just blocks. Using object data, you can use your maps for decision making and analysis. You can define queries to retrieve objects based on their object data values, for example, retrieving all properties with an assessed value greater than $100,000, or all pipes installed before 1993. You can also use object data to create thematic maps, showing, for example, all paved roads as solid lines and all gravel roads as dotted lines. Object data can associate an object with documents from other applications. For example, a parcel number can be linked to land record documents, tax assessments, scanned images, pictures, or video clips. You can select an object and view the attached documents. You can also write applications that move data into and out of object data. Object data can serve as an Autodesk Map database for many applications. You can define object data by creating and defining object data tables that can include any information you want, such as property values, installation date, flow direction, soil type, and so on. The data is easy to view and edit. When you define an object data table, you specify what fields it should have and what type of information each field will contain. You can even specify a default value for each field. When you attach object data to an object, Autodesk Map creates a new record in the selected table and attaches it to the object. You can use the default values or enter new values for the object. You can attach more than one record to an object, either from the same table or from different tables. Autodesk Map makes it easy to create object data for any object or set of objects. Creating object data is a two-step process:
s s

Define object data by creating object data tables. Attach the object data to objects in your drawings.

After you define and attach object data, you can edit it as necessary.

114

Chapter 8

Saving Attribute Data in the Drawing

The following table shows the field definitions for an object data table called HOUSES.
Field definitions for the HOUSES table Field OWNER FLOORS VALUE DATE Description Owner name Number of floors House value Date assessed Type Character Integer Integer Integer 2 100000 Default

This table has four fields: OWNER, FLOORS, VALUE, and DATE. When you attach this object data table to an object in your drawing, you can use the default value or specify a new value to use for each field. The following illustration shows the data attached to three house objects.
Smith 2 142000 1955 Ames 1 197000 1993 Jones 2 173000 1972

The following table shows these records in the HOUSES object data table.
HOUSES object data table Owner Smith Ames Jones Floors 2 1 2 Value 142000 197000 173000 Date 1955 1993 1972

Note Autodesk Map works with object data created only in Autodesk Map and . does not recognize object data from other applications, including AutoCAD

Understanding Object Data

115

Defining Object Data Tables


Online Help Index
object data, creating tables

When you define an object data table, you specify a set of fields for the table and assign a name, description, data type, and default value to each field. After you define an object data table, you use a separate procedure to attach a record from the table to an object. You can create multiple object data tables in a single drawing. For example, you can create one table with pipe flow information and a separate table with inspection information. If you plan to use multiple applications with the same drawings or objects, create an object data table for each application. Because each application may use different data, you can avoid conflicts by using separate tables. Take care when naming your tables. If you use the same table name in more than one drawing, be sure the table definition (or structure) is the same in all the drawings. If your project has more than one source drawing, Autodesk Map uses the object table definition for the first drawing that you activate. When you perform an object data query, Autodesk Map warns that it is ignoring duplicate definitions. (See Finding Objects Based on Internal Data on page 142.) The definition you want might not be the definition that Autodesk Map retrieves. To prevent this problem from occurring, be sure that all tables with same name have the same definition. If necessary, you can rename or redefine an object data table.

Renaming and Deleting Object Data Tables


Online Help Index
object data, modifying tables

You can rename or delete object data tables if you have superuser privilege, but you cannot rename or delete an object data table if you have already queried any object from a source drawing. If you rename a table, the new name must not duplicate an existing table name. Note When you delete an object data table from a project, the table is deleted from all attached, active source drawings.

116

Chapter 8

Saving Attribute Data in the Drawing

Modifying an Object Data Table


Online Help Index
object data, modifying tables

You can modify an object data table by adding, modifying, and deleting fields in the table; however, you must have superuser privilege, and you cannot modify an object data table if you have already queried any object from a source drawing. When you modify an object data field, Autodesk Map updates all instances of the field attached to objects. If the object data table is large, this process may take a long time.

Attaching Object Data to Objects


Online Help Index
object data, attaching to objects

After you define an object data table, you can associate it with one or more objects. When you attach object data to an object, Autodesk Map creates a new record for the selected table and attaches the record to the object. You can create more than one record for each object, and you can attach records from more than one table to an object. You can attach object data in these ways:
s

Attach object data manually to selected objects by specifying the data values for each object. Automatically create and attach object data based on existing block attributes or text in the drawing. Attach object data as you digitize objects.

When you attach object data to queried objects, Autodesk Map prompts you to add the object to the save set.

Editing Objects with Attached Object Data


Keep these points in mind:
s

When you edit an object with object data using the BREAK or TRIM command, and break the object into multiple segments, the object data remains with only the one segment that contains the start point of the original object. When you copy an object that has object data attached, the object data is also copied.

Attaching Object Data to Objects

117

If you place an object with object data inside a block, the object data remains attached to the object that is placed into the block. You can access the object data by selecting the Nested Data option.

After you attach object data to an object, you can edit it or detach it at any time.

Editing Object Data


Online Help Index
object data, editing

After you attach object data to an object, you can edit the object data record, add another record to the same object, or delete a record from an object. You must have Edit Drawing privilege to edit object data. By adding multiple records for the same object, you can keep track of historical information related to the object. For example, if you have a table called PipeMaintenance, with fields called Inspector, InspectionDate, and Condition, you might have the following records attached to a single pipe object:
PipeMaintenance table Inspector InspectionDate Condition McGovern 11-08-95 Satisfactory

PipeMaintenance table Inspector InspectionDate Condition Shen 01-20-96 Replace

If you select a nested object, such as a line within a block, the Nested Data check box is selected and the type of nested object appears in the list.

118

Chapter 8

Saving Attribute Data in the Drawing

Using Object Data in Queries


Online Help Index
queries, data conditions

Once you have attached object data to objects, you can define query conditions that retrieve objects based on the object data. For example, if you have attached object data to all the nodes that represent wells in your drawing, you can define a data query condition that retrieves all wells with a depth greater than 100 feet. See Defining Queries on page 140.

Using Object Data with Property Alteration


Online Help Index
queries, altering properties of retrieved objects

You can also use object data with the Property Alteration feature to modify objects based on their attached data. For example, you could define a query to retrieve all pipes in a selected location, then alter the line width of the pipe in the drawing based on the pipe diameter information stored in the attached data file. For more information on Property Alteration and range tables, see Altering the Properties of Queried Objects on page 152. See also Creating Advanced Thematic Maps on page 163. Note Using the automated thematic map design capabilities of Autodesk Map is one method of creating thematic maps. For more information, see Creating Thematic Maps on page 158.

Using Object Data in Queries

119

120

Saving Attribute Data in External Databases

In This Chapter

Using Autodesk Map, you can link information s from an external database to objects in your draws ing, and then retrieve objects from source drawings, using the linked information. After creating the links, you can use the Data View to select, highlight, view, and edit records in the database table. Saving the project saves the connection to the external databases. s s s Understanding databases Attaching data sources to a project Viewing tables in the Data View Using the Data View Linking database records to drawing objects

121

Understanding Databases
When you have additional information about objects in your drawing, you can store this information in an external database table and link the data in the table to objects in your drawing. Then, you can view and query the data, display it in the drawing, or find objects based on the data linked to them. Because of the way Autodesk Map connects to the data, you can work with an external database table without using the database application itself. You do not even have to have the database software installed on your computer. Note Autodesk Map supports two methods for connecting to external databases: the Data Source Attach command on the Map menu and the dbConnect command. To use the features described in this chapter, you must connect databases using the Data Source Attach command on the Map menu (which is also activated by dragging and dropping a database onto the Project Workspace). For information on using the dbConnect command and features, refer to Accessing External Databases in the online AutoCAD Users Guide.

What Is a Data Source?


A data source is a database table or a set of tables containing logically related information. The table below illustrates a simple data source that might be used by the Public Works department to schedule road maintenance.

ID

Route Number
I25 I40 US85 US85 0066

Width

Traffic Volume
42000 27045 19822 16487 210

Last Maintenance Project


95-1604A 90-4001 96-0147 92-1131

Notes

I25_W I40_D US_8517 US_8569 SFC_66

6 4 2 2 1

Graded gravel

122

Chapter 9

Saving Attribute Data in External Databases

This table consists of six columns, or fields, labeled ID, Route Number, Width, Traffic Volume, Last Maintenance Project, and Notes, and one or more individual rows, or records, that contain the information for a specific road. Each box, or cell, contains the value for a specific field of a specific record. With most databases, database tables can be easily modified. You can add new fields or delete existing fields, add or delete records, and edit existing records. You can also define relationships between multiple tables. For example, if you have two tables that share a common field, Room ID, you can effectively join these two tables using their common field. Using a relational database helps you avoid having to maintain and input duplicate data across multiple tables.

Benefits of Linking External Data to Objects


You can use Autodesk Map to associate data contained in an external database table with graphical objects in your drawing through the process of linking. Links are pointers to specific records in a database table. Here are some examples of linking objects to database records:
s

Linking oil or water wells to a database of information such as aquifer depth, type, volume, and water quality. Linking parcel lots in a drawing with a tax assessor database. Linking transformers and utility poles in a drawing to a database of maintenance information.

s s

When you link data in an external database to objects in your drawing, you add intelligence to the map; instead of simply producing maps, you can use your maps for decision making and analysis. For more information, see Linking Database Records to Drawing Objects on page 132.

Understanding Databases

123

Data Sources and the Project Workspace


The Project Workspace includes nodes that list data sources attached to the project, as well as link templates for those data sources. Using the Project Workspace, you can open the Data View to view or edit a database table.

Attached data source Database tables

Link template

The Project Workspace contains the following data source related nodes: Data Sources Node Link Templates Node Displays all data sources attached to the active project. and lists the tables and queries for each data source. An unconnected data source has a red x on its icon. Displays link templates defined in the active project or attached to objects in the drawing.

For information about an item listed in the Project Workspace, right-click the item, and then choose Properties from the shortcut menu. For example, right-click a table and choose Properties to display the Table Properties dialog box, which lists the column names and types for the selected table. To open a table or database query, double-click the item. To open a linked table or query, double-click the link template name. If the Project Workspace does not immediately display a data source or link template, right-click on a blank space in the Project Workspace and choose Refresh from the shortcut menu.

124

Chapter 9

Saving Attribute Data in External Databases

Attaching Data Sources to a Project


Online Help Index
data sources, attaching

When you attach a data source to a project, the data source is listed in the Project Workspace in the same way an attached drawing is listed. Once a data source is attached, the attachment is saved with the project. Whenever you open that project again, the attached data source is displayed. In addition to attaching the data source to the project, you also need to connect to the data source. Connecting to a data source opens a channel of communication between Autodesk Map and the data source. Some Database Management Systems (DBMS) limit the number of database connections you can open, so you might want to connect only when you want to run a query or edit the data in the table. Some DBMS require that you obtain access privileges before you can connect to a data source. They may prompt you for a user name and a password. For information on obtaining a password, refer to the documentation for your DBMS, or check with your database administrator. For most DBMS, you can attach a data source to an Autodesk Map project by simply dragging the database file onto the Project Workspace, and Autodesk Map will automatically create the files it needs to communicate with the DBMS. However, for some database types, you will need to create some of these files yourself. Autodesk Map can use information from many different DBMS. To read these external data files, Autodesk Map uses drivers that translate the data to a standard format. If you make changes to the data from inside Autodesk Map, these drivers translate the data back to the database format. The first time you use a data source with Autodesk Map, Autodesk Map determines the appropriate driver for the data source. It stores this information, along with the location and data type of the data source, in a Universal Data Link (UDL) file. Autodesk Map supports these drivers: the Jet provider, which works with Microsoft Access database files, the SQL Server provider, the Oracle provider, and the ODBC driver, which works with ODBC-compliant databases. These drivers are installed with Autodesk Map. Because the ODBC driver works with many different database types, it requires additional information about each specific DBMS. It gets this information from a Data Source Name (DSN) that registers information about your DBMS. You need only one DSN for each database type.

Attaching Data Sources to a Project

125

For the following ODBC-compliant databases, Autodesk Map creates a DSN for you when you attach the database:
s s s s

dBASE 3 and 5 Microsoft Excel 97 Paradox 7.0 Microsoft Visual FoxPro 5.0

For other ODBC-compliant databases, you need to create the DSN yourself and enter the settings manually before you can connect. The following database types require manual configuration:
s s

Oracle 7.3 and 8.0 SQL Server 6.5

By default, Autodesk Map connects to Microsoft Access 97 using the Jet provider, which does not require a DSN. If you want to connect to Microsoft Access using the ODBC driver, you must create a DSN. For information on creating a DSN, refer to your Microsoft Windows documentation.

Universal Data Link (UDL) Files


Online Help Index
data sources, configuring

Microsoft Windows uses a UDL file as a pointer to a specific data source. The UDL file lists the location of the data, the type of database, the version of the database, and the appropriate database driver. For each data source that you use with Autodesk Map, you must have a UDL file. Autodesk Map uses these UDL files as shortcuts to open a data source. For each data source you use, you must have a UDL file in the Autodesk Map data source directory. Once the UDL file exists in the data source directory, you can use the UDL file at any time to attach the data source to a project. For most data sources, Autodesk Map creates this UDL file automatically when you attach a database, and for Access and Excel files, gives the UDL file the same name as the database file. For other database types, Autodesk Map gives the UDL file the same name as the directory containing the selected database file. For some database types, you will need to manually create the UDL file. When you edit or create a UDL file, you use the Microsoft Windows Data Link Properties dialog box. For more information on using this dialog box, refer to your Microsoft Windows documentation.

126

Chapter 9

Saving Attribute Data in External Databases

Connecting and Disconnecting Data Sources


Online Help Index
data sources, connecting

To free up memory or database connections, you can disconnect a data source but keep it attached to the project. When you want to use the data source, reconnecting is a one-step process. You can also set an option to connect automatically to all attached data sources each time you open a project.

Viewing Tables in the Data View


Online Help Index
data view, opening tables data view, running a database query

Once you have attached and connected a data source, you can use the Data View to view the database tables. The Data View provides two modes for opening tables. View mode You can change the way the table looks on screen by formatting columns, sorting records, or filtering records, and you can create links between the data and objects in your drawing. You cannot edit the contents of the database table. When you open a table in View mode, the table has a grey background and the words Read Only appear in the Data View title bar. Edit mode In addition to formatting the table onscreen, you can edit the data in the table and add or delete records.

You can also use the Data View to create links from database records to graphical objects in your drawing, then highlight records in the database that are linked to selected objects in your drawing. For information on creating links, see Linking Database Records to Drawing Objects on page 132. In the Project Workspace, each data source lists the tables and queries defined for that data source. You can
s s

Open a table to view all the data in a single table Open a query (sometimes called a view or a join) to view a part of a table or a combination of tables

Viewing Tables in the Data View

127

Viewing Database Queries


Online Help Index
data view, running a database query

Some Database Management Systems (DBMS) support the use of database queries or views. Database queries can determine which data from a table displays and how that data displays. For example, you can use a database query to limit the displayed columns to a subset of the overall table. You can also use database queries to define relationships between tables, effectively creating a new table that displays records from the original tables. Autodesk Map can reference an existing database query, but it cannot create a new one. To create a database query, refer to the documentation for your DBMS.

Database query

128

Chapter 9

Saving Attribute Data in External Databases

Using the Data View


Online Help Index
data view

The Data View displays the data source tables records in a spreadsheet-like window. You use the scroll bar or the buttons on the navigation bar to move through the records.

Title bar Menu Column header Current record

New record

Go to first record Go to previous record

Go to last record Go to next record

The table grid in the Data View contains the following elements:
s s s s

Column headerClick to select an individual column. Record headerClick to select an individual record. Grid cellsClick to select one cell of a given record. Grid headerClick to display the table shortcut menu.
Column header

Grid header Record header Grid cell

You can select single and multiple records and make any record current.

Using the Data View

129

Formatting Columns
Online Help Index
data view, customizing

You can move and resize the Data View as you would any standard window. In addition, you can change the width of the columns and customize column formatting.

Freezing and Hiding Columns


You may have some columns in your Data View that you want to display at all times, such as the parcel owners name, while hiding other columns. For example, you could hide maintenance comments when you print the table.
s

If you have columns that you want to remain visible at all times, no matter where you scroll in the Data View, freeze the columns. The selected columns move and become the left-most columns in the Data View. They are frozen in that position and do not scroll off the screen. If you dont want to display or print columns, hide the columns. The columns remain part of the database, and you can redisplay them at any time.

Sorting Records in the Data View


Online Help Index
data view, sorting records

You can sort the records in a table based on a single column or on multiple columns. You can sort in ascending order (1, 2, 3, ..., A, B, C, ...) or in descending order (Z, Y, X, ..., 9, 8, 7, ...). If you sort based on multiple columns, you can select ascending or descending order for each column. For example, you might select the Street Name column to be sorted in ascending order, and the Property Value column to be sorted in descending order. These selections would produce a table in which the records are sorted alphabetically by street name; and within each street grouping, properties are sorted by value, with the most expensive listed first.

Filtering Records in the Data View


Online Help Index
data view, filtering

You can filter, or limit, the data displayed in the Data View. Filters let you view only the records you want. This can improve performance in scrolling

130

Chapter 9

Saving Attribute Data in External Databases

through many records or in highlighting records. You can filter your data in the following two ways:
s

Filter records based on the data in the record. Use an SQL filter to display only records whose data matches the conditions you specify. For example, you can view only records with a specific street name or records where the property value is over a specific amount. A SQL filter is similar to a database query, except that when you use a SQL filter, you can edit the resulting table.

Filter records based on the objects to which they are linked. Use a spatial filter to display only the records that are linked to objects you select in your drawing.

You can use SQL filters and spatial filters individually, or you can combine them. If you define both a SQL filter and a spatial filter, the Data View displays only those records that match both filters.

Editing Tables in the Data View


Online Help Index
data view, editing records

You can edit a table in the Data View as you would any database table. You can add or delete records, or edit a records values. You can also search a particular column for occurrences of a specific value or find and replace data within the current column. To edit the values in the table, you must have the proper user authorizations, and you must have opened the table in Edit mode.

Printing Reports from the Data View


Online Help Index
data view, printing tables

You can print the active table. Before you print, you can set a number of print options. If you have filters in effect, only the records that match the filter are printed.

Exporting Data from the Data View


You can copy the contents of the Data View to the Windows Clipboard and paste it into an external program, such as Microsoft Excel, using the standard Windows Copy and Paste commands. The data is inserted into the external program in tab-delimited format. You can also export a report of records that are linked to selected objects in your drawing.

Online Help Index


data view, exporting linked data

Using the Data View

131

Linking Database Records to Drawing Objects


You can create a link between a record in an external database and an object in your drawing, and once this link exists, use the information in the database to help you analyze, select, and display objects in your drawing. Note that you cannot create links for nongraphical objects such as layers and linetypes. For example, if you have a database containing property parcel information and a drawing that shows parcel boundaries, you can link a specific parcel in the drawing to the record in the database that contains ownership, zoning, and land value information for that parcel.

You establish the association between the object and the database table by creating a link, which points to one or more records stored in the table. Once this link exists, you can use the information in the database to select objects in the drawing or find all records in the database that are linked to selected objects in the drawing. Using the Autodesk Map query feature, you can also create SQL conditions that retrieve objects based on linked data in the table and combine them with other types of conditions, such as object property or location conditions. For more information, see Chapter 10, Using Queries to Analyze Data.

132

Chapter 9

Saving Attribute Data in External Databases

Note AutoCAD Map Release 1 through AutoCAD Map Release 3 communicated with external databases using ASE (AutoCAD SQL Environment). Beginning with AutoCAD Map 2000, the program uses Microsoft Windows standards for communicating with a database. If you are using drawings from a previous release of Autodesk Map, be sure to look up database tables, migrating in the Autodesk Map online Help Index. When you create a link, the information about that link is stored on the object in the drawing. If you move or copy the object, the link data is moved or copied with it. If you delete the object, the link information is also deleted. However, deleting the object and its link information does not affect the data in the table.

Online Help Index


link templates, editing link templates, exporting

You can view the link data attached to an object, modify the link data value for an object, or delete links from an object. You can also export links, which creates a report of all the records linked to selected objects in your drawing. Whenever you open a drawing that includes database links, Autodesk Map automatically creates a database link index and keeps it in memory. This feature is especially useful when you edit your source drawings directly. To save this database index in the drawing, select Options from the Tools menu, and then click the System tab. Select the Store Links Index In Drawing File option.

Understanding Links and Link Templates


When you link an object in a drawing to a record in a database, link data is stored on the object, creating a relationship between the database table and the object. When you update the table, the changes are immediately available to the drawing object. Autodesk Map needs some way to track which database record is linked to the object. It does this by comparing the link data stored on the object with a specified column in the table. When it finds a match to the link data in the specified column, it links the record to the object. To set up this checking system, you must do the following:

Online Help Index


link templates, creating

Create a link template that specifies which data source, table, and column to check. The column is called the key column. Ideally, a key column has a unique value for each record. The link template is stored in the project drawing and appears in the Project Workspace. You can edit link templates, delete them from a project, and import them into or export them from a project. For information about link templates, refer to the online AutoCAD Users Guide.

Linking Database Records to Drawing Objects

133

Specify the value to look for in the key column.

For example, suppose you have a drawing of a county and a database of tourist information that lists the hotels in the county, including the hotel ID, the name of the hotel, the town in which the hotel is located, and the room rate. You want to link buildings in the drawing to the appropriate records in the table. You create a link template that includes the name of the data source and the table, and specifies Hotel_ID as the key column. Use Hotel_ID as the key column because each value in the column is unique. You can then create a link between a specific building in the drawing and the appropriate record in the table. The link data stored on the object has two parts: the name of the link template to use (which specifies where to look) and the actual value (which specifies what to look for). For example, the Hotel_LT link template in the example below tells Autodesk Map to look in the Hotels data source and the Location table and check the Hotel_ID column. The value part of the link data tells Autodesk Map to look for the value WA024. Once the link has been established, the object is linked to the whole record, not just that key column. In the example on the next page, the hotel ID was used to create a link between the data source record and the drawing object. But the object is linked to all the columns in the record. So you can search for all the hotels in Fairfax and highlight them in your drawing.

134

Chapter 9

Saving Attribute Data in External Databases

Autodesk Map drawing with link data Link template Object Hotel_LT Unique value in key column WA024 Link data = Link template + Unique value in key column

Link Template Hotel_LT =

Data Source Hotels

Table Location

Key Column Hotel_ID

Location table Hotel_ID WA024 WA016 WA045 Name Hotel Christopher Megans Inn Redwood Lodge Location Fairfax Fairfax San Francisco

You can link more than one record in the table to an object. Also, you can link a single record in the table to more than one object.

Linking Objects to Data


You can connect or link objects in your drawings with information in an external database in several ways. You can
s

Connect objects and records manually, one object and one record at a time. See Linking Data to Objects Manually in the following section. Create links automatically if information in your drawing matches the values in the data source table. See Linking Data to Objects Automatically on page 136. Create links while digitizing. See Linking Data to Objects While Digitizing on page 136. Convert existing object data to linked external database tables. See Converting Object Data to External Database Tables on page 137.

Linking Database Records to Drawing Objects

135

Linking Data to Objects Manually


Online Help Index
linking records to objects

You can select a specific record in your table to link with a specific object in your drawing. For example, you might want to link a record with a specific key field value with the drawing object identified by the same number. See Linking Database Records to Drawing Objects on page 132 for an illustration.

Linking Data to Objects Automatically


Online Help Index
linking records to objects

If information in your drawing, such as text or block attribute data, matches information in a table, you can automatically create links from each selected object to a matching record in the table. For example, you might have a district code stored as block attribute data or printed in each district of a map. If you also have a table that has a column for district codes, you can automatically link each code in the map to the corresponding record in the table.

District table District Name NorthWest NorthEast SouthWest SouthEast Population 15254 2469 10957 16637 Schools 4 1 3 6 Code NW NE SW SE

You can create a link between the text printed in the drawing and the matching text in the database table record.

Linking Data to Objects While Digitizing


Online Help Index
link templates, creating

You use the Attach Data option in the Digitize Setup dialog box to attach data in an external database to objects as you digitize. You can select one link template for nodes and another for links. Before you begin this process, be sure the link templates already exist. When you begin digitizing, Autodesk Map will prompt you for a key value for each object. The database validation option you select determines what happens as you enter a value for each digitized object.

136

Chapter 9

Saving Attribute Data in External Databases

Highlighting Objects Linked to Selected Records


Online Help Index
highlighting linked objects

After you link your database records to objects in your drawing, you can highlight objects in the drawing that are linked to selected records in the database table. You can set options to have Autodesk Map automatically highlight objects linked to the records you select, automatically zoom in on highlighted objects, or automatically create a selection set of highlighted objects.

Highlighting Records Linked to Selected Objects


Online Help Index
highlighting linked records

After you link your database records to objects in your drawing, you can highlight records in the database table that are linked to selected objects in the drawing. You can navigate through all highlighted records using the options on the Data View Highlight menu or using the highlighted records toolbar that appears on the right side of the Data View.

Highlight color Highlighted records toolbar

Online Help Index


object data, converting to external data

Converting Object Data to External Database Tables


Object data is an efficient method of storing smaller amounts of attribute data that you want to associate with objects in a drawing, but external databases store larger amounts of data more efficiently, and allow for more complex queries.

Linking Database Records to Drawing Objects

137

With Autodesk Map, you can convert object data into a linked database table that has the same data structure as the object data table. For each object containing object data in the specified table, Autodesk Map does the following:
s s s

Reads the object data. Creates a new record in the external database table. Attaches link data to the object that links the object to the record.

138

Chapter 9

Saving Attribute Data in External Databases

Using Queries to Analyze Data

In This Chapter

10

With Autodesk Map, you can create queries that s retrieve a subset of objects and related information s from source drawings for use in a single project. By defining a subset of objects, you can also retrieve s information that is linked to objects and stored in external databases. You can save and revise query definitions, edit them, and supplement them using s property alteration. s s s s Understanding queries Defining queries Understanding indexing Editing queries Executing queries Altering the properties of queried objects Saving queries Troubleshooting

139

Understanding Queries
Online Help Index
queries

A query uses a set of conditions to search the active source drawings, select the objects that match the set of conditions you specify, and place the retrieved objects in the project drawing. When you define a query, you set the criteria for selecting objects. Queries retrieve objects based on the criteria. You can use four types of criteria: location, property, data, and SQL.
s

LocationUse the location in the source drawing. For example, use a location query to retrieve all the buildings within a circular region that you specify. PropertyUse object properties. For example, use a property query to retrieve all the objects on a specific layer or of a specific color. DataUse information stored as nongraphic object data in a drawing file. For example, if you store pipe diameters in object data, use a data query to retrieve all pipes of a specific diameter. SQLUse information in linked external database tables. For example, if you store valve information including valve type in an external database, use a SQL query to retrieve valves of the type you specify.

You can also use combinations of these query types to create compound queries. Note Only objects in the Model Tab (model space) are queried. Objects from the Layout Tab (paper space) are ignored. If you plan to use SQL information, you must first connect to the data source. See Chapter 9, Saving Attribute Data in External Databases. For information on queries based on topology data, see Querying Topology Data on page 187.

Defining Queries
After you define the query you can execute it immediately or save it in the Query Library. See Executing Queries on page 149, Saving Queries on page 153, and Using Saved Queries on page 153. Note When querying nonindexed drawings, Autodesk Map displays a status message as it processes each drawing.

140

Chapter 10

Using Queries to Analyze Data

Finding Objects Based on Location


Online Help Index
queries, location conditions

Location conditions retrieve objects in a specified location in the source drawings. The location can be relative to a specific point or drawing element, or within a specified area. For example, you can search for objects that lie within a given radius of a specified point or within a given distance on either side of a specified line. The Location Condition dialog box provides a number of ways to specify the location you want to query. The following illustration shows some of them. The objects shown in dashed lines are retrieved by the specified location query. Objects shown in solid lines are not retrieved by the specified location query.
Buffer fence Circle

Fence Point

Polygon

Window

Finding Objects Based on Properties


Online Help Index
queries, property conditions

Property conditions retrieve objects based on Autodesk Map object properties such as color, elevation, layer, linetype, and so on. For example, you can search for objects on a given layer or of a specified color. You can use more than one object property in a query, but you must define them one condition at a time.

Defining Queries

141

In the Property Condition dialog box, select the property you want to query, an operator, such as = or <, and the value the selected property must match to be selected by the condition. You can enter a value in the Value box, or click Values to display a list of available values for the selected property.

Online Help Index


wild-card characters

You can use wild-card characters to enter values for the following properties: Block Name, Color, Object Type, Group, Layer, Linetype, and Text Style. Note If you query against Object Type and click Values, although you have a raster image in an attached drawing you might not see IMAGE listed in the Select dialog box. You must have an Image command loaded. You do not need to attach an image. Simply exit the query dialog boxes and choose Image Manager from the Insert menu. In the Image Manager dialog box, click OK. Then define the query again. When you click OK, the property query you just defined appears under Current Query in the Define Query dialog box.

Online Help Index


queries, options

If the property query you define uses text values, you can set an option to specify case-sensitive text.

Defining Numeric Range Property Queries


To define a numeric range property condition, combine condition statements that define the upper and lower limit of the range. For example, to define an elevation between 21.0 and 47.0, use the following condition statements: AND Property: ELEVATION > 21 Property: ELEVATION < 47

For information on creating multiple conditions and combining them in one query, see Combining Criteria to Create Compound Queries on page 145.

Finding Objects Based on Internal Data


Online Help Index
queries, data conditions

Data conditions retrieve objects based on nongraphic information. To define a data condition, you first specify the type of data to query (Attribute, Database Link, or Object Data). Then you specify the information to query, such as a specific field in an object data table. Finally, you create an expression that specifies the condition that data must match in order to meet the query criteria. For example, to find all pipes wider than four feet, select the object data table and field that contains pipe diameter information. In the expression area, specify > 4. You can also use data conditions to retrieve objects based on block attributes and database link data. To retrieve objects based on block attributes, you specify a block attribute tag. To retrieve objects based on database link data,

142

Chapter 10

Using Queries to Analyze Data

you specify a link template and key column. You cannot retrieve objects based on constant block attributes. You must define and attach object data to objects in the source drawings before you can use an object data query. For example, in a map that contains several streets, you can store the width for each street segment as object data. See Chapter 8, Saving Attribute Data in the Drawing.

Finding Objects Based on External SQL Data


Online Help Index
queries, SQL conditions

SQL conditions retrieve information from external databases. You can use information stored in external Structured Query Language (SQL) databases to specify the set of objects you want to retrieve. For example, if a database table stores information on supplier, owner, and cost of furniture in a set of drawings, you can define a query to show all chairs purchased from a specific supplier. For more information about connecting to external databases and editing information in external databases, see Chapter 9, Saving Attribute Data in External Databases.

Using SQL Conditions in Map Queries


After you link objects in the drawing to information in external tables, you can use the information in the tables to find the objects you want in the drawing. To locate and retrieve objects, you create a Structured Query Language (SQL) condition in a Map query. A SQL query condition looks for specific values in an external table, then finds and displays all the objects linked to those values. You can search for all records that exactly match a specified value or a range of values, or that do not match the specified value. SQL query conditions can be combined with other SQL conditions, Location conditions, Property conditions, and Data conditions. Before you can run SQL queries on external databases, you must set up the databases for your project. Start by reviewing the databases associated with the source drawings attached to the project. Determine which databases you will use with this project and which link templates you will use with those databases. Then attach the selected data sources to this project.

Defining Queries

143

Creating a SQL Condition


Online Help Index
queries, SQL conditions

Once you link objects to information in the database, you can retrieve objects based on that information. Autodesk Map supports standard SQL syntax as formally defined in the ISO/IEC 9075 standard, 1992. However, you dont have to know SQL syntax to create a SQL condition; instead, you use the SQL Link Condition dialog box to create the SQL conditions (criteria) for your query. You choose the column you want to search, enter a value, and specify how the data in the column should match that value. For example, you might specify that the data be equal to the value, or be greater than or less than the value. Note Queries are used to retrieve objects from source drawings. They do not apply to objects that are already in the project drawing. For this reason, you can query data linked to objects in an active source drawing, not data linked to objects in the project drawing.

Combining SQL Conditions with Other Conditions


You can combine a SQL condition with any other condition. For example, you could combine a Property condition to find all objects on the CONTROL layer with a SQL condition to find traffic signals installed before 1987; or you might combine a Location condition to find all homes within three miles of a proposed new school with a SQL condition to select those homes with children under 18. For information on creating and combining Location, Property, and Object Data conditions, see Defining Queries on page 140.

Typing a SQL Condition


If you are familiar with SQL syntax, you can type a condition directly. Autodesk Map automatically supplies most of the condition. You type only the column name, the operator, and the value.

144

Chapter 10

Using Queries to Analyze Data

Combining Criteria to Create Compound Queries


You can combine location, property, object data, and SQL conditions to form compound criteria queries, for example, to retrieve all red objects in a specified area. The combination can include more than one instance of a query type. For example, you can specify more than one location condition in addition to the conditions for any other query type. The result of a compound query is a list of query conditions linked by one of the joining operators And or Or. You can also combine Not with either of these operators to create conditions that exclude certain objects from the query. The following illustrations describe how And, Or, and Not join single query conditions into compound query conditions.
A U B A And Bonly objects in both A and B

U A B

A Or Ball objects in either A or B

U A B

A And Not Ball objects that are in A but excluding any objects that are in B

U A B

A Or Not Ball objects that are in A or all objects that are not in B

Defining Queries

145

Grouping Compound Query Conditions


Online Help Index
queries, combining conditions

If you have more than two conditions in a compound query, you can group conditions using parentheses to specify how Autodesk Map should evaluate them. If you dont group conditions, Autodesk Map gives precedence to the following operators:
s s

And takes precedence over Or. Not takes precedence over And and Or.

This means that when Autodesk Map evaluates a query containing both an And operator and an Or operator, the program performs the And operation before it performs the Or operation. For example, you might use the following query: AND Location: CROSSING CIRCLE Property: LAYER = SEWER OR Property: LAYER = VALVE

Autodesk Map retrieves objects in this order: objects that meet the two conditions joined by And (objects that are in or crossing the specified circle and are also on the SEWER layer); objects that meet the condition joined by Or (objects on the VALVE layer). If you group the conditions in the above query, you could create the following query: AND Location: CROSSING CIRCLE (Property: LAYER = SEWER OR Property: LAYER = VALVE)

Autodesk Map evaluates the grouped conditions first. In the previous example, it retrieves all the objects that are in or crossing the specified circle and that are also on either the SEWER or the VALVE layer. Therefore, even though Autodesk Map gives precedence to the And operator over the Or

146

Chapter 10

Using Queries to Analyze Data

operator, Autodesk Map evaluates the conditions joined by Or first, because they are grouped. You can create a nested group, which is a group within a group. The following sample query illustrates a nested group. ((Property: LAYER = SEWER OR Property: LENGTH > 5) AND Location: CROSSING CIRCLE) NOT Property: LAYER = STREETS

AND

To make a group, you must select at least two conditions. You cannot group conditions that are part of other groups without first ungrouping them.

Understanding Indexing
Autodesk Map executes most queries more quickly if you create indexes. Instead of searching all location, property, object data, or database links to find matching data, Autodesk Map searches only the relevant index. You can create indexes for Location, Property, Data, and SQL queries. However, creating indexes takes time and disk space. To find out if creating an index would be useful, create one; if it doesnt significantly improve performance, remove it from the drawing file. Autodesk Map stores indexes in the source drawing file. You must have write permission for the drawing file if you want to create indexes. Note Creating indexes requires additional memory. If memory is low, Autodesk Map might be unable to create the index. Increase memory and recreate the index. Refer to the online AutoCAD Customization Guide, which can be found by opening Autodesk Map Help, choosing the Contents tab, and then choosing AutoCAD Online Manuals > Customization Guide > Customization Basics > Optimize AutoCAD. When you save changes back to source drawings, Autodesk Map updates the existing indexes. However, if you use the Open command on the File menu to open and modify a source drawing, the index is no longer valid. When you execute a query, Autodesk Map notifies you if the index is no longer valid and executes the query without the index. To use the index you must recreate it. To improve the performance of Data and SQL queries, create object data and SQL indexes for all drawings in the data set, even if they dont contain object data or SQL link information.

Understanding Indexing

147

Note With queries that involve all or almost all the objects in a drawing, for example, a Location All query, indexing does not improve performance. As you query, edit, and save back over time, indexes can degenerate causing a loss of performance. If you execute queries that previously ran faster but now run more slowly than you expect, regenerate the index. You should see an improvement in performance.

Checking a Drawing for Indexes


Before you create an index for a drawing you should verify that a current index does not already exist. If the selected drawing does not have an index or the index is out of date, the check box beside the index type under Generate Index is selected. If you select more than one source drawing, all the check boxes are selected.

Creating Indexes
Online Help Index
indexes, creating for drawings

You need to create an index for the type of query you plan to execute. You can create the following kinds of index.
s

LocationDivides drawings into regions. Autodesk Map queries only the regions you specify. PropertyOrganizes object properties. Autodesk Map queries only the objects with the properties you specify. SQL LinksOrganizes the drawings link templates and key fields. Autodesk Map queries only the objects with the link templates and key field values you specify. EEDOrganizes Extended Entity Data (EED) attached to objects in drawings created in AutoCAD Data Extension (ADE) 1.0. You cannot create EED in Autodesk Map 5. Object DataOrganizes object data. Autodesk Map queries only the objects with the object data you specify.

After you generate an object data index, a status message appears beside each indexed field name. The status Current means that the object data index on that field is valid and consistent with the attached object data. The status Out-of-Date means that the object data index on that field is not consistent with the attached object data. An index could become out-of-date if you modify objects without first loading Autodesk Map. Note When you create an index, you may receive a warning message to the effect that Autodesk Map Cant calculate object extents. This indicates that a

148

Chapter 10

Using Queries to Analyze Data

third-party application might have created the object and that the application is not loaded, or the object may not support the geometric extents methodology of Autodesk Map.

Removing Indexes
Online Help Index
indexes, creating for drawings

If you create an index, Autodesk Map updates the index each time you change the drawing and saves it back to the source drawing. If you dont need the index, you can remove it to reduce drawing size and to reduce the time it takes to perform the save back operation.

Editing Queries
When you edit a query, you can modify a condition but you cannot change its type (location, property, data, or SQL). If you want a different query condition type, you must delete the existing condition and define a new one. You can also change the joining operator (And, Or, Not) for a condition.

Executing Queries
Online Help Index
queries, running

After you define a query you can execute it in Preview, Draw, or Report mode.
s s s

Preview mode verifies that the query will retrieve the objects you need by simply displaying them instead of copying them into the project. Draw mode retrieves the objects and copies them into the project so you can edit them. Report mode generates an ASCII file that contains the results of the query.

After you execute a query, the query definition remains as the current query in the current mode. You can execute the query in other modes, edit the query, or save the query in the Query Library or to a file for later use. Once Autodesk Map copies the objects that meet the query criteria into the project, it does not duplicate those objects if you run the query again. If an object meets the criteria of more than one query, Autodesk Map retrieves only one copy of that object. Therefore, you will never have multiple copies of the same object in a project. You can query objects only in the Model Tab, not in the Layout Tab. Note Before you execute a query you should adjust the project extents to match the extents of the source drawings you are querying. For information, see Zooming the Project Extents on page 36.

Editing Queries

149

Using Preview Mode


Preview mode provides a quick preview of the objects the query will display in the active project. You can run a query in Preview mode and check the objects the query produces. If there are too few or too many objects, or objects are displayed in the wrong location, revise the query as necessary. Queries in Preview mode show objects on layers that are locked; however, Preview mode does not show objects on layers that are Off or Frozen. Although you see many elements in the project drawing following a Preview query, Autodesk Map treats each set of objects as a single object from each drawing. If you attempt to select several objects, Autodesk Map reports one object found for each of the source drawings queried. The display of objects is temporary and disappears when you redraw or regenerate. You can zoom and pan to examine the queried objects, but you cannot edit them.

Using Draw Mode


Draw mode retrieves objects from source drawings and copies them into the project. You can save the objects in your project drawing, or you can edit the objects and save them back to the source drawings. If you decide to edit the queried objects and you have set object locking in System Options, Autodesk Map locks the individual objects so other users cannot edit them. See Sharing Drawings with Other Users on page 109. Queries in Draw mode retrieve objects from layers that are Off, Locked, or Frozen. Whether the objects remain on layers that are Off, Locked, or Frozen when they are brought into the project depends on the layers in the project: if the layers exist in the project, the objects take on the characteristics of the existing layers; if the layers do not exist, Autodesk Map creates new layers with the characteristics of the source drawing layers. Autodesk Map preserves the status of objects on locked layers when it copies them into the project. When you retrieve objects that are on locked layers you cannot save changes back to the source drawing. If you want to save changes back, open the source drawing and unlock the layer before performing the query.

150

Chapter 10

Using Queries to Analyze Data

Using Report Mode


Report mode saves the results of a query to a text file, which you can use in a spreadsheet program or database. For example, you might want a list of all pipes in a system with their lengths and diameters included. The diameters might be stored in object data. Using Report mode, you can retrieve this information and direct it to a text file. Queries in Report mode retrieve objects from layers that are Off or Frozen. You control the information that is included in the report by defining a report template. Depending on your use of blocks, layers, object data, links to external databases, block attributes, color, and other Autodesk Map data, you can create various printed reports, for example:
s

Asset managementYou can query tax assessment or zoning status based on any graphic or non-graphic parameters. Mailing listsYou can automatically inform landowners in an area about changes in zoning. Event listsYou can list the number of burglaries in a zone or the repairs to light standards over a set period of time. Well locations and groundwater featuresYou can list toxicity and chemical levels. Timber standsYou can show harvest schedule and expected yields.

The output file is in comma-delimited format (CDF). Although this format is ideal for a database, you need to use the Table or Replace function of a word processor or spreadsheet to create columns or cells.

Executing Queries with SQL Conditions


You execute a query with a SQL condition as you would execute any other query type. However, because a SQL condition relies on the ability to connect to a data source, the condition will not work if any part of the connection is broken.
s s s s

The query must specify a valid link template. The data source must be attached and connected. The data source must be in the same directory as when you connected to it. (You must not have moved it after connecting.) Links must exist between drawing objects and records in the specified data source.

Executing Queries

151

Altering the Properties of Queried Objects


Online Help Index
indexes, altering properties of retrieved objects

Using the property alteration feature, you can modify many of the properties of queried objects as they are queried into the project drawing without affecting source drawings. Whether you are creating a presentation for others or retrieving queried objects for your own use, you can modify object properties such as color, linetype, or polyline width, or added text, to present information more clearly. For example, you might have a set of city maps that show roads as black polylines of the same width. You can plot a map for a contractor that shows the roads to be repaired in red and roads to be inspected in blue. You can alter the width of the polylines to show road widths. You can also add text to identify elements of your drawing. Property alteration involves the following three general steps:
s s s

Define the query to retrieve the objects you want to alter. Create a property alteration definition. Execute the query in Draw mode. You cannot use property alteration in Preview or Report mode queries.

Autodesk Map performs the query, applies the property alteration definition to the queried objects, and displays the modified objects in the project. If you want your project drawing to include additional objects that are unaltered or altered in a different way, remember that the order in which you run the queries is very important. A query will not retrieve objects from source drawings if those objects are already in the project drawing, so the second query you run will not retrieve objects that were retrieved by the first query. For example, if you have a set of maps that display all the roads in the county and you want to color the roads that need to be repaved, first run a property alteration query to retrieve the roads that need to be repaved and color them red. Then run a second query to retrieve all objects (using a Location:ALL condition). Because the roads that need to be repaved have already been retrieved, the second query will retrieve everything except those roads. You can define various types of property alterations. A simple property alteration modifies every retrieved object in the same way. For example, you could change the color of every queried object to red. To do this, simply enter a value in the Expression box. An advanced property alteration lets you specify how to alter the selected property based on specified characteristics of the object. For example, you could define a query that retrieved all the lines that represent roads in your map, then specify that every line with a thickness of greater than .5 be colored red while all other retrieved lines be colored black. You can also use

152

Chapter 10

Using Queries to Analyze Data

Online Help Index


Defining Range Tables

data attached to the object to determine the modification. For example, if the roads have object data attached to them that specifies the pavement type, you could specify that every line with an attached value of gravel be drawn with a dotted line, while roads with an attached value of paved be drawn with a solid line. You can use one or more of the following types of information to create a property alteration definition:
s s s s s

Object properties, such as color, layer, block name, and thickness. Information attached to the object as object data, such as part number, material, cost, manufacturer, and supplier. Information in a linked external database table. Link data stored on the object. Block attributes.

Saving Queries
If you plan to use a query more than once, you can save it.

Online Help Index


queries, library queries, saving

Query categories allow you to organize your queries within a project. You assign a query to a category when you save it. You can change a querys category at any time, and add, delete, and rename categories. You can save the query with the project in the Query Library or to an external file. External queries are easy to share with other users. If you save the query to an external file you can specify a number of additional settings. If you save the query with the project, you can modify it from within Autodesk Map. If you save the query to a file, it is saved as an AutoLISP script. Using a text editor, you can modify an external query file and include AutoLISP API commands. For more information, refer to Using Interface Function Editing Query Files in the online AutoLISP/ADSRX Help.

Using Saved Queries


After you save internal queries with the project in the Query Library, you can load, revise, and execute them. You execute external queries using the Run External Query option. After you execute a query, it becomes the current query and appears in the Define Query dialog box. You can then modify it if necessary. Note Do not set Auto Execute in the Save Current Query dialog box if you want to modify a saved external query before executing it.

Saving Queries

153

Troubleshooting
Several issues can arise when you retrieve blocks, text, externally referenced drawings (xrefs), groups, and hatch patterns from drawings. For information about resolving these issues, refer to the online help.

154

Chapter 10

Using Queries to Analyze Data

Thematic Map Design

In This Chapter

11

Thematic maps use graphical properties and values, s such as size or color, to represent data on a map. s You can use thematic maps to show the distribution of data over a physical area, for example, the distribution of population across a country or the s distribution of property values across a city. Using the thematic design capabilities of AutodeskMap, you can define the data you want to display, change the properties of the queried data, assign display parameters, and create a legend. s Understanding thematic maps Creating thematic maps Creating thematic maps using thematic queries Creating advanced thematic maps

155

Understanding Thematic Maps


Thematic mapping is the process of displaying the characteristics and data properties of objects using graphic elements. Thematic maps make information more visible by changing how objects look. You can use thematic maps to tell a story by changing the map colors, linetypes, symbols, text, or other features of your information. For example, use a larger dot to display cities with a larger population, or use a wider line to draw roads with high traffic volume, or color blue all pipes older than 20 years. You can add a legend to a thematic map to explain the colors, symbols, and other alterations used in the map. To create a thematic map, you determine the following:
s

What information do you want to emphasize in the map. For example, if you have a map of roads in an area, you could emphasize information about road widths, about traffic density, about pavement type, about traffic direction, or about any other object data, external database data, or property associated with the roads.

How you will display the information. For example, if you are displaying information about road widths, you could modify the width of the line used to draw the road. To display information about pavement type, you could use different line types, such as solid or dotted, or you could use different colors. To display information about traffic direction, you could add an arrow symbol to show the direction of one-way streets. You can display information in a thematic map by using color (either outline, hatched, or filled), line format (line width and linetype), annotation, or symbols (blocks already in the current or attached drawings).

You use a thematic query to retrieve the objects that you want to alter for your map. To include other, unaltered, objects in your map, for example rivers, unmodified roads, or other landmarks, you can also define and run a standard query.

156

Chapter 11

Thematic Map Design

The following thematic map shows the land use type associated with each polygon by using modified shadings. This map also includes unmodified streams and rivers that were retrieved by a standard query.

Do not include too much data in your thematic maps. They lose effectiveness when they become cluttered and overwhelming. It is better to produce two or more maps showing a series of features than to include everything on one map.

Understanding Thematic Maps

157

Creating Thematic Maps


Online Help Index
thematic maps

Autodesk Map provides three methods to create thematic maps.


s

The Thematic Wizard provides the fastest and most convenient way to create thematic maps. The wizard steps you through the process of selecting a datasource, specifying how to display the data, and creating a legend. You can create a thematic map based on either objects or topology. You access the wizard from the Thematic Manager, which provides a central location in the project workspace for viewing and organizing thematic maps. When you open Map, you will see the Thematic tab in the Project Workspace. Clicking the tab opens the Thematic Manager and gives you access to any themes that have been created and stored in the drawing.

The Thematic Query option on the Map menu provides similar features to the wizard. You can run more than one thematic query, and you can combine thematic queries with standard queries. See Creating Advanced Thematic Maps on page 163. The Property Alteration option of the Define Query command lets you produce more complex thematic maps.

Online Help Index


queries, altering properties of retrieved objects

Thematic Queries have the following limitations:


s

You can specify objects only by location, by layer, and by block attributes. You cannot specify the objects you retrieve for the map based on object data, external data, or properties. When specifying the objects you retrieve, you can combine the criteria using only the AND operator, that is, objects must meet all selected criteria. You cannot combine criteria using OR and NOT combinations. When selecting the data to use for the object modification, you can select only one SQL expression, object data value, or property. You cannot use multiple data sources. If you modify the objects by adding text, you can add only static text for each range. That is, you can add a specific text string to all the objects that fall within that range. You cannot add variable text that is based on object properties or on data stored in an object data table or an external database table. You can add only one line of text per object. You cannot add multiple lines.

158

Chapter 11

Thematic Map Design

Creating Thematic Maps Using Thematic Queries


Whether you use the wizard or one of the older methods to create your thematic map, you will need to perform similar tasks.

Selecting Objects of Interest


To create a thematic map, you select the criteria for retrieving the objects that will appear in it. If you select more than one criteria, only objects that meet all criteria will appear. For example, if you specify a location and a layer, the object must be inside the location and on the layer. If you specify a location for a topology query, objects must be in the topology and in the specified location. You can set a query option to specify how blocks and text are retrieved if you limit by location. You can specify that a block or text object should be retrieved if either its insertion point lies within the query area or its bounding box lies within the query area. For more information on specifying a location condition, see Finding Objects Based on Location on page 141. Keep in mind that while all objects in the selected location, layer, and block will appear in the thematic map, the objects will be modified only if they fall into one of the categories you define for the display parameters.

Online Help Index


queries, options

Creating a Thematic Expression


You must also specify which property or attached data of the retrieved object you want to use to modify the object. For example, you can modify roads based on data stored in an object data table. You can modify objects based on the following criteria:
s s s

A property, such as Area, Elevation, Layer, or Object Type Object data, block attributes, or database link data Linked data in an external database table

Creating Thematic Maps Using Thematic Queries

159

Setting Display Parameters


You also need to specify how to modify the objects:
s

Specify the display property you want to change for the object. For example, you can change the color, fill, line format, or symbol for the object, or you can add text to the object. Specify whether you want the map to be discrete or continuous. Discrete information is data where each value is a distinct category, such as pipe material, land use, or pavement type. For example, an agricultural thematic map might show different crops in different colors or shading. Continuous data is data where the data can be any value along a continuum, such as property value, temperature, or population. When you display this type of data, you define ranges for the values. For example, you could divide property values into three ranges: 0 to $50,000, $50,000 to $100,000, and over $100,000.

Online Help Index


thematic maps, legends

Optionally, you can create a legend for your thematic map.

Sample Thematic Maps


This section shows some examples of thematic maps. The following map shows the number of contaminated groundwater locations for each county. The base map was linked to an external database that listed the number of contamination locations for each county.

160

Chapter 11

Thematic Map Design

To create the previous map, the Thematic Expression used the SQL option to specify the appropriate field and table for the groundwater data. The Display Parameter is Symbol, and each range specified the block name, scale, and color for the symbol, and the description to include in the legend. In the resulting thematic map, the scale and color of the GWATER block is determined by the number of contaminated locations in the county. The following map shows average traffic counts for roads in a city. Object data is attached to each segment of the highway.

To create the previous map, the Objects of Interest were limited to the STREETS layer. The Thematic Expression used the Data option to specify the appropriate field and table for the traffic counts. The Display Parameter is Line Format, and for each range the user has specified the linetype, width, and color for the line.

Creating Thematic Maps Using Thematic Queries

161

In the following illustration, earthquake risk in the USA is shown by different shading density.

The following map is a work order showing the street locations of valves that need to be replaced with a newer version.

To create the previous map, a standard query was used to retrieve the streets. Then a thematic query was used to retrieve the valve blocks. The Thematic Expression used the Property option to specify Block Name. The Display Parameter was Text and the range table had one line, specifying that blocks named VALVE be annotated with the text string ID 4715.

162

Chapter 11

Thematic Map Design

Creating Advanced Thematic Maps


Online Help Index
queries, altering properties of retrieved objects

This section provides some examples of advanced thematic maps you can create using the wizard or the Property Alteration feature. For information on creating queries, see Chapter 10, Using Queries to Analyze Data. See especially Altering the Properties of Queried Objects on page 152. Note As with the Thematic Query feature, the Property Alteration feature does not modify the original objects in the source drawings. It modifies only the copies of the objects that are retrieved into the project drawing. If you wish, you can save these modifications back to the source drawings. Here are some of the things you can do in advanced thematic maps:
s

In addition to retrieving objects based on their location, you can retrieve objects based on their properties or on data associated with the object in an object data table or in an external database table. For example, you could retrieve only objects that have an area of greater than 50,000 feet, or only objects with a pavement surface (stored in an object data table) of gravel, or only objects with an inspection date (stored in a linked external database table) earlier than 1989. When retrieving objects, you can combine conditions using the AND, OR, and NOT operators. For example, you can retrieve objects that are on the STREETS layer but are not limited access streets. When you modify objects, you can modify more than one property of the object. For example, you could change the color of the object and add text, or you could move the object to a different layer, change its color, and change its linetype. If you add text to an object, the text can be customized for each object by using values stored in an object data table or an external database table. For example, if you stored parcel ID numbers in an external database table, you could add the parcel ID number to each parcel in the map. You can add multiple lines of text to an object. The following illustration shows a well with object data identifying a reference number, water depth, and aquifer type.

Note The default insertion point for text property alteration is the text label point, which is the midpoint of a linear object or center of an arc or circle. For more information, see Defining Text Insertion Points on page 98.

Creating Advanced Thematic Maps

163

You can save a query for later use. When you next use the query, you can, if you wish, edit the conditions or the property alterations. If you save the query to an external file, you can share the query with other projects and other users. You then need to edit the query using a text editor. You can also add other expressions and AutoLISP API commands to the file. See Saving Queries on page 153 for more information.

Online Help Index


queries, using expressions

164

Chapter 11

Thematic Map Design

Creating Map Topology

In This Chapter

12

Topology describes how lines and polygons cons nect and relate to each other. It forms the basis for s advanced GIS functions, such as network tracing and spatial analysis. Autodesk Map introduces a map-based topology that allows you to create, modify, and query topology in a map. Tools are available to detect errors in the topology, to correct these errors, and then to recreate a topology. s Understanding topology functions Defining and creating topology Administering and editing topology

165

Understanding Topology Functions


Spatial and geographic analyses are key components of geographic information systems (GIS). With Autodesk Map, you can organize graphical and related textual data in three types of topologies: node, network, and polygon, and use these topologies to perform spatial analysis, including network tracing, shortest-path routing, polygon overlay, and polygon buffer generation. You can also determine conditions of adjacency (what is next to what), containment (what is enclosed by what), and proximity (how close something is to something else). Topology describes how objects connect and relate to one another.

Node topology: oil wells

Network topology: rivers

Polygon topology: county boundaries

Node topologyA node topology defines the interrelation of nodes (point objects). Node topologies are often used in conjunction with other topologies in analysis. Unconnected water or oil wells are examples of a node topology. Network topologyA network topology onsiders the interconnection of links (lines) forming a linear network. Links can connect nodes. An example of network topology is a water-distribution application that traces the flow of water from a pumping station to residences. A street network is another example. Polygon topologyA polygon topology defines polygons that represent enclosed areas such as land parcels and census tracts. A single link defines the common boundary between adjacent areas. Uses of polygon topology include tax assessment and land planning in which parcels of land are represented by polygons. Political boundaries, such as voting districts, city, state, or provincial boundaries, special districts, and school districts, are other examples of the use of polygon topology.

See Topology Applications on page 189.

166

Chapter 12

Creating Map Topology

Advantages of Using Topology


Topology allows you to analyze map-related information more flexibly. You can use topology to define relationships between adjacent objects and groups of objects, and store the information as object data. The topology can then be analyzed to determine spatial and geographic relationships between objects. There are several advantages of using topology. You can
s s s

Define and analyze relationships between map data Analyze more data very quickly Combine topologies to produce one overall topology. This topology can later be dissolved into constituent topologies

Topology is easy to create and edit; for example, if you change a node, an associated polygon is modified. Topology is also an effective way to store large amounts of data; for example, boundaries between adjacent polygons are stored as a single boundary.

The Autodesk Map Topology Model


Topology is built from three graphic primitives: nodes, links, and polygons.

Nodes X,Y Coordinate Data Dimensions Single X,Y coordinate None (point)

Links Series of X,Y coordinates Length

Polygons Boundary of X,Y coordinates Area

Three types of topology relationships can be built from these primitives: linknode, link-polygon, and left-right.

Link-Node Relationships
With link-node relationships, linear features (links) are connected to other linear features at their end points (nodes). This concept provides the linear intelligence necessary for network tracing, routing, and more.

Understanding Topology Functions

167

Every link can have two nodes: a beginning node and an ending node, and nodes can be shared by two or more links. A link (like a polyline) can have an unlimited number of intermediate vertices. You can assign a direction to a link; the default direction value is 0, which represents bidirectional or twoway directions. The connection between two links occurs at the same node. Each node has a unique identification (ID) number. Each node knows all of the links that connect to it. In a network topology, a node does not exist without a link. A dangling node is a node with only one link attached as shown in the following illustration. A dangling node is an error when it is part of a polygon topology.

Vertex

Link Dangling nodes Node Node Pseudo node

A pseudo node is a node with exactly two links attached. These nodes may be unnecessary but may be needed for representing change from one link to another. For a water utility, nodes can represent valves, and links represent the water lines. You can use topology to model the connections between water lines. For example, the topology can show all water lines closed off when a valve is shut. For emergency services, the links can represent street segments, and nodes represent the intersection of two or more streets. You can use topology to determine the shortest path between two locations along the set of streets.

Link-Polygon Relationships
Connected links can form polygons. A polygon may contain links with any direction. A polygon can have donut holes or islands, polygons within the area that are not included in that area. These islands can also form a polygon or set of polygons.

168

Chapter 12

Creating Map Topology

The following illustration shows an example of connected links forming a polygon, and the object data stored with a polygon.

Area Island

Centroid

Link

Node

A polygon contains a centroid, which is not always at the center of a polygon, and can be on a different layer. The centroid is a point physically within the polygon, outside of any islands. The centroid is used as an identification point for a polygon and can be represented as text (using DTEXT), a block, or point object.

Left-Right Relationships
If you place yourself at the beginning node and look along the link toward the ending node, the link has a left side and a right side. If that link forms the boundary between two polygons, the link identifies a polygon on the left and a polygon on the right.

Left polygon

Right polygon

Understanding Topology Functions

169

Left and right sides of the link are important for more than finding adjacent area relationships. The US Census Bureau TIGER files, which contain geographic coordinates, street name, and address information, are encoded with a left and a right side for each street segment and store address ranges for each side of the street.

Topology Data in Autodesk Map


Topology information is stored as object data on each element that makes up the topology. Topology data can be saved as part of the current map or saved back to a source drawing. You can load topology data when a map is opened or attached to a project. See Chapter 8, Saving Attribute Data in the Drawing, and Storing Topology Data on page 172. Because topology is definable for a map, identifiers used to store the topology are unique to the map. Topology in each drawing must be separate and unique. Autodesk Map does not support topology data that spans several drawing files (such as tiled maps) unless they are combined in a project. You can create a topology by retrieving the required geometry from attached maps and creating the topology in the project. Topology can also be loaded from any active map file attached to the active project.

Defining and Creating Topology


The graphical data in a topology can be derived from existing maps, scanned into a map, or digitized. Nodes and centroids can be created during the topology creation process.

Removing Erroneous Data


Online Help Index
topology, cleaning drawings

The first step in using graphical data for topology is to clean up the data. You must clean up data before you define a topology; if you do not, you will get meaningless results, and in some cases you will not be able to create a topology. For information about the kinds of errors that may occur, see Chapter 6, Using the Drawing Cleanup and Editing Tools.

170

Chapter 12

Creating Map Topology

Creating a Topology
Online Help Index
topology, creating

When you create a topology, all the nodes, links and centroids for the topology must be in the current drawing. Information for the topology can come from multiple drawings, such as tiled drawings of a road network or district maps of parcels. To create information for a topology from attached source drawings, you define a query to retrieve the information. Make sure any changes are saved in the current save set. Note Before you create a topology, freeze all layers containing objects in paper space. If you do not freeze these layers, paper space objects are included in the topology creation. After you create a topology, you can use the topology edit and administration functions, described later in this chapter, and the query and analysis functions described in Chapter 13, Analyzing Map Topology.

Saving a Topology
Online Help Index
topology, saving topology, saving to source drawings

You can save the topology in the current drawing or save it back to the attached source drawings. For data queried from source drawings, you can save back the topology information to the source drawings, and save the project drawing. Future work with the topology should be done in the project drawing with the source drawings active and attached. This method ensures that complete and correct object data associated with the topology is available.

Defining and Creating Topology

171

Storing Topology Data


Information about each topology you create is stored in an object data table in the current drawing like the one shown in the following table.

Topology Name EXAMPLE

Object Data Table TPMDESC_EXAMPLE

Object Data Field TYPE TOLERANCE LINK_LAYER LINK_COLOR CREATE_NODE NODE_LAYER NODE_TYPE NODE_BLOCK CREATE_CNTR CNTR_LAYER CNTR_COLOR CNTR_TYPE CNTR_BLOCK

Information Stored Topology type Setting of VIEWRES when created or edited Layer for links Color of links Nodes in topology; 0=No, 1=Yes Layer for nodes Type of nodes Block used for nodes Centroids in topology; 0=No, 1=Yes Layer for centroids Color of centroids Type of centroids Block used for centroids

This information can be included in a topology query. See Chapter 13, Analyzing Map Topology. Depending on the type of topology, other object data tables are created and attached to the elements of the topology; these elements, with object data tables examples, are described in the following sections.

172

Chapter 12

Creating Map Topology

Creating a Node Topology


Online Help Index
topology, node

You can create a node topology with point objects, blocks, or text. A node topology used in association with a network or polygon topology can hold information about junctions and intersections between elements of the topology. Information about a node topology is held in an object data table like the one shown in the following table.

Topology Name SAMPLE_NODE

Object Data Table TPMNODE_SAMPLE_NODE

Object Data Field ID

Creating a Network Topology


Online Help Index
topology, network

Network topology defines the interconnection of links and, optionally, nodes at link junctions. Networks may contain loops, and network segments have a specified direction. Links can be lines, open polylines, or arcs. You can use information from different layers to define a network topology. Before you create a network topology, you should clean up your data. However, pseudo nodes and dangles are often acceptable and can provide useful information in a network topology. For example, dangles can represent cul-de-sacs in a road network. Links can cross each other and not intersect; for example, one road on a network might pass over or under another without an intersection, or a road might go over a railroad on a bridge. In these cases, do not use Break Crossing Objects to create intersecting links.

Non-intersecting links

Non-intersecting links

Intersecting links in a network topology

When you create the network topology with nodes at each intersection, the nodes do not significantly increase file size, and you can use the nodes for path trace and flood trace analysis. See also Network Tracing Analysis on page 182.

Defining and Creating Topology

173

Network topology information is stored on the links and nodes as object data. Each element of the network topology has different object data values.
Topology Name SAMPLE_NET Object Data Table TPMLINK_SAMPLE_NET Object Data Field ID START_NODE END_NODE DIRECTION DIRECT_RESISTANCE REVERSE_RESISTANCE

See also Chapter 8, Saving Attribute Data in the Drawing. If you create nodes when you create the network topology, the object data table for each node has the following information.
Topology Name SAMPLE_NET Object Data Table TPMNODE_SAMPLE_NET Object Data Field ID RESISTANCE

After the topology is created, you can view the object data tables that are automatically created.

Online Help Index


Specify Direction for a Link Specify Resistance for a Link or Node Editing a Network Topology

Network topology information about direction and resistance can be used for analysis. By default, each link has a bidirectional direction. Both resistance and direction are stored as object data. You can edit both direction and resistance values by using the topology editing tools described in Editing Topology on page 177.

174

Chapter 12

Creating Map Topology

Creating a Polygon Topology


Online Help Index
topology, polygon

Polygon topology is an extension of network topology and focuses on areabased relationships. Every area forms a polygon; and each polygon in a topology consists of a set of links. A polygon in a topology has a centroid, which is a point or block element located within the polygon, and containing information about the area enclosed by the polygon boundary. You can use polygon topology for analysis as explained in Understanding Spatial and Geographic Analysis on page 182. Here are some key points about polygon topology:
s

Polygons almost always share links; most links belong to two polygons, one on the left and one on the right. Polygons can have islands; the most common example is actual islands within lakes. Note that islands can also have islands. Polygons have areas and perimeters, which are calculated and stored with the centroids. Multiple topologies can share edges. For example, a river can be part of several topologies.

You should clean up your data before you create polygon topology; there must be no gaps, intersections, or overlaps between any of the line work in a polygon topology. When Autodesk Map cannot create a polygon topology because the links in the polygons that cross each other do not have a node where they meet, the intersections are marked by an X. You can remove the markers with the REDRAW command. Then use drawing cleanup to break the crossing objects and create the topology again. See Removing Erroneous Data on page 170 and Chapter 6, Using the Drawing Cleanup and Editing Tools. You cannot create a polygon topology from ellipses or from closed polylines that share an edge or intersection with other polygons. Before you create the topology, you must explode a closed polyline. You can use information from different layers to define a polygon topology. Creating polygon topology is similar to creating network topology, except that you must also create centroids. Information to define centroids, links, and nodes can be derived from layers; information for centroids and nodes can also be derived from named blocks. Any selected point, text, or inserted object inside a polygon can be used for the centroid; if there are no suitable objects, you can specify a centroid block and layer. Each centroid holds data about the number of links in the polygon and the area and perimeter of that

Defining and Creating Topology

175

polygon only. Links and nodes hold object data for all topologies that use them. Information about a polygon topology is held in the centroids and links. The object data table for each centroid has the following information.
Topology Name SAMPLE_POLY Object Data Table TPMCNTR_SAMPLE_POLY Object Data Field ID AREA PERIMETER LINKS_QTY

The object data table for each link in a polygon topology has the following information.
Topology Name SAMPLE_POLY Object Data Table TPMLINK_SAMPLE_POLY Object Data Field ID START_NODE END_NODE DIRECTION DIRECT_RESISTANCE REVERSE_RESISTANCE LEFT_POLYGON RIGHT_POLYGON

If you create nodes when you create the polygon topology, the object data table for each node has the following information.
Topology Name SAMPLE_POLY Object Data Table TPMNODE_SAMPLE_POLY Object Data Field ID RESISTANCE

176

Chapter 12

Creating Map Topology

Administering and Editing Topology


Using the topology administration and editing tools, you can
s s s s s s s

Load and unload a topology from memory Delete and rename a topology Add a link or node to a topology Audit the geometry of a topology Complete and recreate a topology Edit part of a topology Determine statistics for a topology

Administering Topology
Online Help Index
topology, managing

Using the topology administration tools in Autodesk Map, you can load, unload, rename, and delete an existing topology, audit or check the status of a topology to ensure its integrity, and get statistics on the topologies in an active project. If a topology was edited with commands other than the topology editing tools, you can also recreate it. All source drawings associated with a named topology must be attached and active when you use these tools. Because a drawing can contain more than one topology, all the topology functions prompt you to specify a topology name.

Editing Topology
Online Help Index
topology, editing

The topology editing commands on the Map menu allow you to make changes to a topology without losing the integrity of the topology. If you use object editing commands such as ERASE or STRETCH to modify a topology, important data may be lost. To repair a topology edited with these commands, use the Update options; to edit a topology, use the appropriate edit option in the Edit Topology dialog box. To edit a topology, the topology data and geometry must be loaded in the active project. Only one topology can be active, and edited, at a time, and multi-user editing of a topology is not permitted. When you load a topology, an automatic audit checks topology integrity. This audit is concerned not with geometry, only with topology data. Any incomplete objects are registered, because only complete objects can be edited. The Complete and Audit Geometry options make objects complete for editing. See Topology Completeness on page 178. If you want to add or insert objects into a topology, the current drawing must be the drawing where the topology was created. If the topology was created

Administering and Editing Topology

177

in a source drawing, you must open that drawing directly to add objects to the topology. Make the layer containing the topology objects the current layer. New objects will then have the same properties as objects already in the topology. Note If you edit a topology and then use the Undo command, the altered geometry is restored to its former state but the altered topology remains current. To perform further editing on the topology, unload and reload the topology. This applies to all topology functions. Here are some examples of editing topologies:
s

Node topologyMoving a survey control point and adjusting any surrounding polygons. Network topologyExtending power or water lines into a new housing area. Polygon topologyDividing a parcel of land into two lots. Polygon topologyMerging two polygons. For example, when a state joins two taxation regions into one, a utility company has to merge its database.

s s

Topology Completeness
If parts of the topology are incomplete (not closed or only part of a polygon), they are marked and excluded from editing. Two examples of incomplete topologies created by queries are shown in the following illustration. The outer polygons in the grid are incomplete because their outside links are parts of polygons not included in the query.

Source drawing

Polygon that cannot be edited Polygon that cannot be edited Queried data

Polygons that can be edited

178

Chapter 12

Creating Map Topology

If you use a location query to retrieve polygons, make sure you use a Crossing window. If you are using data that is shared with other users, use the Load option of Topology Administration to ensure that you are using current data.

Completing a Topology
The Complete option looks at the objects and object data in a drawing, and attempts to complete a network or polygon topology by retrieving further drawing objects, such as links and centroids referenced by the topology object data tables. Complex polygons, with one or more islands, must be fully represented, and all internal islands referenced by a polygon must be present for the Complete option to work. This option completes dangling edges in a network topology and all incomplete areas in polygon topologies; however, it might fill islands as well.

Auditing and Recreating a Topology


The Audit Geometry option checks that a topology is complete and contains no errors. Any errors found are marked but are not fixed. Errors in a node topology are not marked. You can use the Recreate option to reestablish a topology that was edited with nontopology editing commands such as STRETCH and PEDIT; however, topology data might be lost. You can only recreate a topology in the current drawing; for topology in an attached drawing, use a query to retrieve the geometry first. Use the Load option before using Recreate. If you want to modify the geometry of a topology (the nodes, links, or polygons), use the Topology Editing tools explained in Editing Topology on page 177. If you need to create closed polygons for a non-Autodesk Map user, or if you are exporting data to an external file format that does not support topologies, use the Create Closed Polylines option of the Topology menu. See Creating Closed Polylines from a Topology on page 104.

Administering and Editing Topology

179

180

Analyzing Map Topology

In This Chapter

13

Topology describes how lines and polygons cons nect and relate to each other and forms the basis for advanced GIS functions, such as network tracing and spatial analysis. You can query and analyze a topology to derive information about spatial relationships and distribution. s Understanding spatial and geographic analysis Topology applications

181

Understanding Spatial and Geographic Analysis


Once a topology is created, you can use it as a basis for spatial analysis and geographic analysis. Spatial analysis is the process of extracting or creating new information about a set of geographic features. It refers to techniques that determine the distribution of a feature, or features, over a network or area, and the relationships between those features. The location of, proximity to, and orientation of objects can be analyzed with spatial analysis. It is useful for evaluating suitability and capability, for estimating and predicting, and for interpreting. Geographic analysis identifies conditions at a geographic location, in a spatial area, or along a linear network, and predicts the effects of future events on these features. Autodesk Map allows you to analyze spatial and geographic information in these ways:
s s s s s

Network tracing analysisUsing a network to perform shortest-distance analysis and flood tracing. Overlay analysisUsing two existing topologies to create a third topology based upon the interaction of the first two. Buffer analysisIdentifying objects inside or outside a specified distance from an existing topology. QueryingPerforming queries based on a stored topology. DissolvingBreaking a polygon topology into multiple polygon topologies with common values.

For examples of spatial and geographic analysis, see Topology Applications on page 189.

Network Tracing Analysis


You can perform two types of network tracing:
s s

Path TraceA path between two points. Flood TracePaths radiating from one point.

For both types, you can specify a resistance for any link in the network. This resistance specifies the difficulty in traversing the link. The default resistance is the length of the link. Both types of network tracing work with a loaded network topology only. You can create a new network topology from the tracing. See Topology Applications on page 189.

182

Chapter 13

Analyzing Map Topology

Path Trace: Tracing between Two Points


Online Help Index
topology, shortest path trace analysis

Using a network topology, you can calculate the shortest path between two points or determine the optimal route based on values of direction and resistance. This process is known as a shortest path trace analysis. In a street network, for example, you might find the shortest path between a fire station and a school. To analyze a network with a time factor, you need to assign a speed or speed limit to each link using an object data field or a field in a linked external database. You then set the Direct Resistance parameter. For a complete example of tracing between two points in a street network, refer to Tutorial V of the online Mapping Tutorials. To open the tutorials, choose Tutorials from the Help menu.

Flood Trace: Tracing Out from a Point


Online Help Index
topology, flood trace analysis

This process is known as network flood trace analysis. To trace out from a point in all directions, you specify the point where the network starts and the maximum distance the network can traverse. The analysis determines how many links and nodes can be travelled before the accumulated resistance exceeds the specified maximum resistance. For example, you might want to find all restaurants within a 10-minute walk of a hotel. You can use flood trace analysis to check the integrity of a network topology. If some links are not flooded, the topology is incomplete; you can use the map editing tools to correct the geometry, and then recreate the topology.

Analysis of Topology Overlays


A powerful form of analysis is possible when you overlay two or more topologies. There are three types of overlay analysis:
s s s

Nodes with polygons Networks with polygons Polygons with polygons

Understanding Spatial and Geographic Analysis

183

Nodes with Polygons


You can attach information associated with polygons to a set of points inside the polygon. For example, you can overlay crime incidents with demographic data to identify correlations between income and crime.

Nodes in topology

Polygon topology

Networks with Polygons


You can identify relationships between linear and regional data, such as the length of roads in a highway district.

Network topology

Polygon topology

184

Chapter 13

Analyzing Map Topology

Polygons with Polygons


You can combine and analyze data from different areas and data sets. Overlaying polygons with polygons can be used for suitability analysis, such as, overlaying data sets for earthquake risk, flood risk, surface geology, and zoning to help determine where to locate a new landfill. You can overlay or combine a series of polygon topologies into a single topology, as shown in the following illustration, which shows a soil and a geological survey combined into one set of polygons as part of an integrated terrain unit (ITU). ITUs are mapping areas that are homogeneous for a group of data values. For more information about overlay analysis, see the following section.
SOIL Composite Object Data 1 2 3 BEDROCK Granite Sandstone Slate 4 ID 1 2 3 4 Soil Gravel Gravel Sand Sand Bedrock Granite Sandstone Sandstone Slate

You can later dissolve the topology into its constituent polygons with Topology Dissolve. Dissolving a topology makes data management easier because you can break out a single element to its original form for data sharing, selected projects, or other analysis. For more information, see Dissolving Topologies on page 188. See the online help and Dissolving Polygons on page 188.

Analyzing Topology Overlays


Online Help Index
topology, overlaying

To overlay two topologies, both must be loaded into the current drawing. Use the Load option of Topology Administration to load topologies from the current drawing or from attached source drawings.

Understanding Spatial and Geographic Analysis

185

Explicit Nodes in Overlay Analysis


During polygon or network topology overlay you cannot copy the original explicit nodes to a new topology. Explicit nodes are blocks or point objects; implicit nodes exist where two links connect without an object connecting them. To convert an added explicit node into an implicit node, use the ERASE command to delete the explicit node, and then unload the topology.

Buffer Analysis
Online Help Index
topology, buffering

Using buffer analysis, or buffering, you can easily identify objects within a specified offset of elements in node, network, and polygon topologies. A buffer is a zone that is drawn around a topology. For example, you might specify a buffer on either side of a river to show the extent of a flood plain. For buffering, you create a new polygon topology from an existing node, network, or polygon topology and specify a buffer offset. The following illustration shows how buffer analysis functions with different topologies.

Buffering Point Topologies

Buffering Network Topologies

buffer offset

merged point buffers buffer offset

Buffering Polygon Topologies

positive buffer offset negative buffer offset

186

Chapter 13

Analyzing Map Topology

The buffer offset can be a positive or negative numeric value, an expression, a value specified by object data, or a value linked to an external database record. You can use buffer analysis to show the location and extent of a topology. Specify a small offset for the topology and put the new topology on a layer with a distinct color; afterwards, you can delete the new topology from the Topology Administration dialog box.

Example of Buffer Analysis


To find potential locations for a dump site, you might create two sets of polygons: one representing areas that are not residential, and the other a buffered area around major roads.

Querying Topology Data


Online Help Index
topology, querying

A topology query allows you to retrieve a loaded topology and its associated data from the active project or an attached drawing. You can also query part of a topology in a source drawing and work on that part of the topology without having to retrieve all the objects that make up the topology. You can use a topology query when working with topologies only, or when you want to select one topology to query. Use a standard query for nontopology or mixed data. Combining object property and topology queries may give unpredictable results. You can use all four types of query conditions:
s s s s

Location Property Data SQL

There are three differences between using standard queries and topology queries:
s

Topology queries work with only one topology; standard queries work with all objects in the attached drawings. Topology Property queries can be based on polygon values of Area, Length, Perimeter, and Direction; links also have predefined object data for Direct Resistance and Reverse Resistance. Property alterations work differently with polygon topologies.

Understanding Spatial and Geographic Analysis

187

Creating a Result Topology


Online Help Index
topology, result

When you use a topology query, you can hold the retrieved information in the active project in three types of topology:
s s

NoneNo information is added to the geometry in the current drawing. TemporaryInformation is retrieved and stored in memory as a topology with a name preceded by an asterisk (*). You cannot save back the temporary topology to the queried drawings. However, you can use Topology Administration to rename the temporary topology, or you can retain the topology in the project.

PermanentThe query retrieves data and creates a topology in the active project. You can save back this topology to the source drawings. The topology name must not be preceded by an asterisk (*).

Dissolving Topologies
Online Help Index
topology, dissolving

You can break a polygon or network topology into its constituent elements by dissolving a topology. You select a Dissolve Field to define the process. The Dissolve Field can be an object data variable or a column in a linked external database. Data is broken down into the lowest common denominator.

Dissolving Polygons
The dissolving polygons option checks each boundary between polygons to see if the Dissolve By field value is the same for both. If so, the boundary and one of the centroids are removed. All object fields except for the dissolve and any new topology fields are removed as shown in the following illustration.
1 2 3 4 Composite Object Data ID Soil Bedrock 1 Gravel Granite 2 Gravel Slate 3 Sand Sandstone 4 Sand Mudstone Simplified Object Data ID Soil 1 Gravel 2 Sand Dissolve on Soil

188

Chapter 13

Analyzing Map Topology

If adjacent polygons do not contain the Dissolve By field, the boundary is not dissolved and the resulting polygon has a blank value for that field.

Dissolving Network Links


The dissolving network links option checks nodes between lines to see whether two lines intersect at a specified node and whether the Dissolve By field is the same. If so, the node is removed, and the two links are joined to form one link. All object fields except for the dissolve and any new topology fields are removed as shown in the following illustration.

ID 1 2 3 4 5

River Agua Fria Grande Caliente Grande Grande

Depth 97 204 42 351 363

ID 1 2 3 4

River Agua Fria Grande Caliente Grande

If adjacent lines do not contain the Dissolve By field, the node is not dissolved and the resulting polyline has a blank value for that field.

Topology Applications
This section contains examples of the use of topology in spatial and geographic analysis for help in planning and decision making. Many applications of topology and topology analysis involve some elements of node, network, and polygon topology.

Examples of Network Topology


Here are some examples of the use of network topology with comparisons of flow-direction limitations:
s

A river drainage is a tree type network with more branches the further upstream you go. River junctions are nodes, but generally these nodes are

Topology Applications

189

not identified or used. Every segment of a river drainage has a distinct flow direction.
s

A water-distribution network generally has a series of loops to provide redundancy and to balance flows. The water in some of the system can flow in either direction. Water systems have nodes (or junctions) at the intersections of pipes. A single link may be very long with a single identifier; but nodes may occur for junctions, service connections, valves, hydrants, and so on. A sewer network is very much like a river or drainage system, with singledirection downstream flow. Unlike a river, however, there are many explicit nodes where manholes are located. Some of these nodes occur at junctions, but many occur within a segment of pipe to provide service access.

You can use object data to specify flow direction in all these cases. Other applications of network topology include street plans, oil pipelines, and electrical, telephone, storm drainage, and gas networks.

Street Networks
A street network has many loops and interconnections, and most of the segments are bidirectional. However, there are segments that are one way and allow traffic flow in only one direction. Every street segment can be stored as a link with nodes at street intersections, and because a link has direction, you can define the direction of each street segment. You can also define information about flow along that segment as a resistance. This resistance information is stored as object data, so you can reference a different object data table to view resistance at different times of day. Information on streets (links) is stored at a given intersection (node). The network topology is used for the shortest-path trace function. Note To carry out network path trace and flood trace analysis on a road network based on time rather than distance, you need to define an object data table and a field containing data for each street.

190

Chapter 13

Analyzing Map Topology

Examples of Polygon Topology


Polygons can represent many things on a map, but they often represent data for given areas. Different sets of polygons can represent different sets of area types of data. Polygon topology can show population density, voting by region, land use, soil types, drainage patterns, and other area types of data. Here are some applications and examples of polygon topologies:
s

s s s s s

City blocks, which are formed by the surrounding streets. (Census data often includes information on which block is on the left and which is on the right on each city street.) Watersheds, which are the drainage areas for sets of streams and rivers, represent a dividing line between different drainage systems. Land use and land cover. Defining fire or police districts; assigning parcels to the districts. Defining water pressure zones; assigning addresses to zones. Utility district service boundaries.

Emergency Services
An emergency call is received by a radio dispatcher, who locates the address of the caller. The dispatcher needs to determine the reporting district of the address, and uses street information stored as a polygon topology. The polygons define each reporting district, and the topology allows you to locate the polygon (for example, the left side of the street points to the polygon on the left side) based on the street segment (matching an address to a street segment side). Once the district is determined, the dispatcher uses the street network to determine the fastest way to get from the emergency center to the caller by using shortest-path tracing.

Topology Applications

191

192

Using Coordinate Systems

In This Chapter

14

Most maps use some form of coordinate system to s represent the curvature of the Earths surface on a s flat plane. Each coordinate system uses a different mathematical model to calculate this representation. With AutodeskMap, you can combine maps created with different coordinate systems by converting data using various coordinate systems in several source drawings to a single global coordinate system in one base map. s Understanding map projections Understanding coordinate systems Global coordinate systems in Autodesk Map

193

Understanding Map Projections


It is difficult for map makers to represent a spherical surface area, such as the Earths surface, on a flat plane. Projections provide many methods for converting a point from a spherical coordinate (latitude and longitude) to a planar Cartesian (X,Y,Z) coordinate. Because CAD systems describe objects with Cartesian coordinates, a planar coordinate system must be in place and evident on the map before you can begin digitizing or importing maps with different coordinate systems. Keep the following points in mind:
s

It is important to annotate all maps with the projection and related parameters of a digitized map. This information is required for calculations with global coordinate systems. You can digitize a map based on its latitude and longitude coordinates, however you must apply a global coordinate system to give an accurate representation of an area. See Global Coordinate Systems in Autodesk Map on page 197 for information about selecting a suitable system.

Map Projections in Autodesk Map


All map projections distort the Earths surface to some extent, stretching it in some directions and compressing it in others. Distortions resulting from different projections include area, shape, distance, direction or azimuth, and angles. A map or parts of a map can show some of these features:
s s s s

True direction True distance True area True shape

For example, only the Mercator projection represents the true direction of straight lines, yet it greatly distorts distances and areas near the poles. No one projection is best overall. Projections that preserve area are called equivalent, or equal-area, projections. Others, called conformal projections, maintain local angles. However, the farther one gets from predefined standard lines on the map, the more equal-area projections distort the shape of the objects and the more conformal projections distort the area. On an equidistant map, distances are true only along lines radiating from the center of the projection. Area sizes on conformal maps are distorted although shapes are true; equal-area maps distort shapes. The extent and kinds of distortion also vary according to the projection used.

194

Chapter 14

Using Coordinate Systems

Choosing a Projection System


A projection system can be visualized as the method used to wrap a flat sheet of paper around the Earth. Data is then projected from the Earths surface to the paper. You can choose a projection system based on the area that you want to map. Based on your map shape, you can use one of these map projection types: Wide To map a wide area, such as the state of Montana in the USA, you want latitude lines to show the least distortion. You can use a coordinate system based on the Lambert Conformal Conic projection. For a tall area, such as the state of Idaho in the USA, in which the north-south extent is the greatest, you want longitude lines to show the least distortion. You can use a system based on the Transverse Mercator projection. For areas that include both hemispheres, such as North and South America, you can use the Mercator projection.

Tall

Large

Tall area Wide area

Map Scales and Distortion


A map scale is a proportion or ratio between a map measurement and the corresponding measurement on the ground. Scale is usually expressed as a ratio or fraction. For example, a scale of 1 to 10,000, means that a measurement of 1 unit on the map represents 10,000 units on the ground. A map with less detail is termed a smaller-scale map because the scale expression is a smaller fraction; 1/10,000 is larger scale than 1/100,000.

Understanding Map Projections

195

Map scales can be divided into three categories:


s s s

Small-scale maps with scales smaller than 1:1,000,000 Medium-scale maps with scales between 1:75,000 and 1:1,000,000 Large-scale maps with scales larger than 1:75,000

The map scale for a given projection determines the usefulness of a map. For example, a Mercator projection of North America shows great distortion at small scales but is ideal for a small area such as a 1:24,000 scale county map.

Understanding Coordinate Systems


Autodesk Map uses a global coordinate system to convert latitude and longitude coordinates into a Cartesian (X,Y,Z) coordinate system. A global coordinate system is usually defined by a projection, ellipsoid definition, datum definition, one or more standard parallels, and a central meridian.

Coordinate Systems and Origins


Many different coordinate systems and origins are used across the world, and each country has its own coordinate system and origin. For example, the Ordnance Survey in Britain has an origin point southwest of the Isles of Scilly, and the system in the Netherlands uses an origin point near Paris. In some cases, individual counties, states, and cantons have their own origins and systems.

Coordinate Transformation
When you retrieve objects from source drawings, Autodesk Map automatically converts them to the global coordinate system of the project drawing. This operation is called coordinate transformation. When you save objects back to source drawings, Autodesk Map reverses the conversion.

Online Help Index


coordinate systems, transformation options

Coordinate transformation allows the manipulation of the coordinate geometry using various mathematical projections, adjustments, transformations, and conversions. By making adjustments for size, scale, rotation, and elevation, you can modify how Autodesk Map performs coordinate transformations. After you bring objects into the project, if you plan to save changes back to source drawings, do not change the coordinate transformation options. The save-back process uses the original settings to determine whether adjustments are necessary to restore objects to the correct coordinate system when you save them back to source drawings.

196

Chapter 14

Using Coordinate Systems

Note The Autodesk Map simple transformation options, available in the Drawing Settings dialog box, cannot be used with coordinate transformations. If you assign a global coordinate system code to a map drawing, the simple transformation options are not available.

Geodetic and Non-Geodetic Coordinate Systems


Online Help Index
coordinate systems, geodetic

All geographic data is created in some coordinate system, and in the context of some datum. A datum refers both to the ellipsoid information and the techniques used to determine positions on the Earths surface. Some coordinate systems only specify the ellipsoid; these are non-geodetic. Coordinate systems that specify the complete datum are geodetic. Before you assign coordinate systems to project or source drawings, you should know what type of coordinate systems you are using, what datums they use, and what kind of conversions you will be performing. You need to know which conversion option you are using and what the results of the option will be. Most of the coordinate systems supplied with Autodesk Map are geodetic, but about ten percent are non-geodetic. Therefore, you should determine whether the coordinate systems you use are geodetic or non-geodetic before you assign a global coordinate system to a project drawing. Extra care should be taken when using non-geodetic coordinate systems. If you have data in a drawing that uses a non-geodetic coordinate system, but don't know what datum the data came from, you might introduce errors if you convert the drawing to a geodetic coordinate system.

Global Coordinate Systems in Autodesk Map


The global coordinate system is a description of the origin of your map, the projection system used, and the units you are using; it describes how the sphere of the Earth is projected onto a sheet of paper and converted to the Cartesian coordinate system.

Choosing a Global Coordinate System


With Autodesk Map, you assign a global coordinate system for your project drawing and for the attached source drawings if the systems are different. See Chapter 2, Setting Up a Project, for more information about setting up a project.

Global Coordinate Systems in Autodesk Map

197

If you do not have a specific global coordinate system to use, or if you need to decide which system to use in your office or department, consider your options in this order:
s s s s

Use the same global coordinate system as other staff in your organization. Use the same coordinate system as your most common data source. Choose the global coordinate system used by people who share data with you. If the area is small, use the same global coordinate system as your local city or county government. If the area is large, use the same system as the state, regional, provincial, or national mapping group. Ask surveyors, cartographers, consultants, and other mapping professionals for suggestions.

Assigning a Global Coordinate System


Online Help Index
coordinate systems, assigning to project coordinate systems, assigning to source drawings coordinate systems, removing from drawings

If you are working with data that uses a variety of projections and origins, you need to set a default global coordinate system for the project drawing. Once you have assigned a global coordinate system, that coordinate system is used when you work with that drawing. This default should be changed only after thorough consideration and should apply to all project drawings. A code identifies the global coordinate system used for source drawings and project drawings. For example, if you created a map using Universal Transverse Mercator, Zone 27, US Survey Feet, you assign the code UTM-27F to the map. The global coordinate system code and definition are stored in the drawing file. This allows you to share the drawing with anyone using AutoCAD Map 2000i Release 4.5 or later and be sure that they are using the correct coordinate system when working with the drawing. If the current project drawing uses a different global coordinate system from that of the source drawing, Autodesk Map converts retrieved objects from the source drawings global coordinate system to the project drawings global coordinate system. You must first provide Autodesk Map with the global coordinate system of the source drawing. You can assign a global coordinate system to the current project drawing and to attached source drawings only if no objects have been queried from the source drawings. When the coordinate system you choose is assigned to the selected attached drawings, a backup file, with a .bak extension, is made of each source drawing without assigning the global coordinate system information.

198

Chapter 14

Using Coordinate Systems

Autodesk Map mapping and query options are ineffective if different projections and coordinate systems are used for a series of maps and data is combined for the different maps. You can set options to ensure that parts of a map are not adjusted when you use a global coordinate system. Using the Autodesk Map global coordinate systems requires many complex calculations and can decrease performance for operations such as querying and saving back objects.

Identifying a Drawings Global Coordinate System


Online Help Index
coordinate systems, viewing for sources drawing

If an active drawing has an assigned global coordinate system, you can view its code in the Drawing Settings dialog box.

Defining and Modifying Coordinate Systems


If no suitable coordinate system exists, you can define a customized coordinate system. You might need to define your own system if your map
s s s

Online Help Index


coordinate systems, defining coordinate systems, modifying coordinate systems, deleting

Spans one or more countries or states that use different coordinate systems. Shows a large geographical feature rather than an administrative boundary. Does not match the alignment of the state plane or national standard coordinate system. For example, you might be mapping an area with a greater east-west extent in an area that uses a Transverse Mercator (designed for greater north-south extents) projection.

For small (less than a square kilometer) projects that will not be integrated with other maps, a random, assumed coordinate system is sufficient; and the effects of the curvature of the Earth can be ignored. Digitizing maps for small projects from state or national maps that use their own coordinate systems, or base meridian, should not cause problems. The available coordinate systems are stored in the coordsys.csd file. You cannot edit this file directly. Instead, you must use the Autodesk Map coordinate system functions to remove custom systems that you do not require or to rearrange the way that the categories and systems appear in the Define Global Coordinate System and Assign Global Coordinate System dialog boxes.

Global Coordinate Systems in Autodesk Map

199

When you define a global coordinate system you must specify the following parameters:
s

Map ProjectionUsed to convert points from latitude and longitude to Cartesian coordinates. and either

DatumReference point, line, or surface for mapping. or

EllipsoidGeometric surface whose plane sections are all circles or ellipses.

You can create a completely new coordinate system based on your own data or use a predefined coordinate system as a basis for creating your own. You can also modify or delete any coordinate systems that you define. You cannot delete any of the predefined global coordinate systems supplied with Autodesk Map. Note Autodesk Map 5 installs updated versions of the files that store the coordinate system definitions. The updated files include a number of new coordinate systems and are installed in a shared location, typically c:\Program Files\Common Files\Autodesk Shared\GIS\Coordsys\10. During installation, Autodesk Map 5 uses the Coordinate System Update Utility, CSUPDATE.EXE, to automatically update the newly installed files, incorporating any custom coordinate systems you defined in a previous release of AutoCAD Map. Do not copy the coordinate system files from previous releases of AutoCAD Map directly into the Autodesk shared coordinate system folder. For details on using the CSUPDATE utility manually, refer to the csupdate.hlp file, located in the Help folder of the Autodesk Map 5 install directory. When defining a custom coordinate system, you may want to enter a False Origin, with Northing and Easting values. For example, if you use the Transverse Mercator projection and the central meridian bisects the mapping region, half of the X coordinates are negative values. Coordinate system definitions usually include a false origin that is added to all coordinates to make them positive. The X coordinate of this offset is called the False Origin Easting. The Y coordinate of this offset is called the False Origin Northing. Note You must annotate all maps with the coordinate system and related parameters, including the datum and ellipsoid, of a digitized map. This information is required for accurate calculations with global coordinate systems.

200

Chapter 14

Using Coordinate Systems

Setting Additional Projection Parameters


Depending on the projection you use to define a custom coordinate system, you must provide some additional information. For example, you might use the Transverse Mercator projection that is based on a cylinder that touches the Earth at a single circle of longitude. For minimum distortion, you should use the longitude at the center of the region you are mapping. You enter this longitude value in the Longitude Of The Central Meridian (degrees) edit box. By specifying the longitude of the central meridian you are establishing a zero point for the X coordinate. You must also specify a zero point for the Y coordinate. This selection is arbitrary but is usually outside of and to the south of the region you are mapping so that you can work with positive numbers. You enter this latitude value in the Latitude Of The Origin Of Projection (degrees) edit box. To produce the smallest possible distance between the projection surface and any point in the region you are mapping, you must specify a scale reduction factor. This is particularly important when you are mapping large regions. For the Transverse Mercator projection, you enter this value in the Scale Reduction Factor At The Central Meridian edit box.

Defining, Modifying, and Deleting Datum Definitions


Online Help Index
datum, defining datum, modifying datum, deleting

You can define new datum definitions based on your own data or use a predefined datum definition as a basis for creating your own. You can also modify or delete any datum definitions that you define. You cannot delete predefined datum definitions supplied with Autodesk Map. If you modify or delete a datum that you have defined, you must also modify or delete any coordinate systems that reference that datum. When defining a custom datum, you choose the conversion technique you want to use, either Molodensky, Bursa/Wolfe, or Seven Parameter Transformation. After choosing the conversion technique, you must specify the appropriate conversion parameters for the technique you chose.

Defining, Modifying, and Deleting Ellipsoids


Online Help Index
ellipsoid, defining ellipsoid, modifying ellipsoid, deleting

You can define new ellipsoid definitions based on your own data or use a predefined ellipsoid definition as a basis for creating your own. You can also modify or delete any ellipsoid definitions that you define. You cannot delete predefined ellipsoid definitions supplied with Autodesk Map.

Global Coordinate Systems in Autodesk Map

201

If you modify or delete an ellipsoid that you have defined, you must also modify or delete any coordinate systems that reference that ellipsoid. When defining a custom ellipsoid, you must specify the calculation method and values used to determine the dimensions of the ellipsoid. After choosing the calculation method, you supply two of the required values, and Autodesk Map determines the remaining two values for you.

Tracking Coordinates
As you move the cursor around in a drawing window, you can display the cursor location in the coordinate system you specify. For example, if your source drawings use one coordinate system and your project drawing uses another, you can track the source drawings coordinates as you move the cursor around in the project drawing. You can digitize new points in existing maps with precision by using the Track Coordinates feature to specify the exact coordinates of the points.

Measuring Geodetic Distance


You can measure the geodetic distance between points in your maps and specify the units in which to display the distance. Geodetic distance is different from simple straight line distance in that it takes into account the curvature of the Earth. So, the geodetic distance between any two points is longer than the straight line distance between the same two points. For example, if you want to calculate the driving distance between points, you would use the geodetic distance, because cars drive on the curved surface of the earth.

202

Chapter 14

Using Coordinate Systems

Using Images

In This Chapter

15

With Autodesk Map, you can add raster images to s your vector-based drawings and then view and plot s the resulting file. You combine raster images with vector drawings for a number of reasons: to add scanned documents, faxes, or microfilm drawings; s to use aerial and satellite photographs; to use digis tal photographs; to create effects such as watermarks and logos; and to add computer-rendered images created by visualization programs. s s s s s Understanding raster images Inserting raster images Hiding, unloading, detaching, and erasing images Changing the image display order Viewing image information Changing image file paths Selecting images Modifying image properties Clipping images

203

Understanding Raster Images


Raster images, such as photographs, consist of grids of individually colored dots called pixels. Some image-editing applications, such as AutodeskCAD Overlay let you , specify information about image location and store this correlation information in the raster image file, or in an associated correlation source file, or in defaults that you set. This correlation information, also known as georeferencing information, takes the guesswork out of inserting your images. If you insert a raster image using the Raster Extension Image Insert command, Autodesk Map reads the coordinate correlation information and places the image accurately in the precise coordinate location in the drawing. This correlation information, also known as georeferencing information, takes the guesswork out of inserting your images. Like other Autodesk Map drawing objects, raster images can be copied, moved, or clipped. You can modify an image with grip modes, adjust an image for contrast, clip the image with a rectangle or polygon, or use an image as a cutting edge for a trim. Raster images add significantly to the display and impact of vector drawings. The following illustration shows a map of an urban area.

204

Chapter 15

Using Images

With a satellite image inserted in the same map you get a realistic view of conditions on the ground.

Supported Image Formats


Autodesk Map supports the most common image file formats used in major technical imaging application areas: computer graphics, document management, and mapping and geographic information systems (GIS). Images can be bitonal, 8-bit gray (grayscale), 8-bit color (indexed color), or 24-bit color (true color). Several image file formats support images with transparent pixels. When image transparency is set to on, Autodesk Map recognizes those transparent pixels and allows graphics on the Autodesk Map screen to show through those pixels. (In bitonal images, background pixels can be treated as transparent.) Transparent images can be grayscale or color. In addition, you can select the transparent color for grayscale or color images.

Using the Raster Extension Features


Raster Extension features, such as selecting the transparent color or displaying the Raster Extension shortcut menu, are available only when the Raster Extension is currently loaded. When you start Autodesk Map, it does not load the Raster Extension until you use a Raster Extension command.

Understanding Raster Images

205

Inserting Raster Images


Online Help Index
raster images, inserting

When you insert an image in a drawing, Autodesk Map links the image to the drawing file through a path name or a data-management document ID. When you update a linked image, the updates appear in the drawing. You can modify the path to a linked image or remove the link at any time. Because the image itself is not included in the drawingonly the link to the image is includedthe image does not increase the drawing size. Once youve inserted an image, you can reinsert it multiple times treating it as if it were a block. Each insertion has its own clip boundary and its own settings for brightness, contrast, fade, and transparency. A single image can be cut into multiple pieces that can be rearranged in your drawing.

Online Help Index


raster images, memory use

Note If you are inserting large images or multiple images at once, you can set Raster Extension memory options.

Correlating Images During Insertion


You can specify the following correlation settings when inserting an image:
s s s s s s s

Correlation source Insertion Point georeferencing correlation information Rotation Scale Density Units for insertion point and density Color

If you modify the correlation settings, Autodesk Map saves the changes with the Autodesk Map drawing. The changes are not saved back to the original image file or to the correlation source file. Note To modify the settings stored in the image file, you must use an imageediting application such as Autodesk CAD Overlay. If you do modify the original settings in the image, those changes will not be reflected in the Autodesk Map drawing unless you reinsert the image.

206

Chapter 15

Using Images

Hiding, Unloading, Detaching, and Erasing Images


When you insert an image in your drawing, Autodesk Map stores information about the image in the drawing, loads the image into memory, displays it onscreen, and locks the image file on the disk.

Online Help Index


raster images, options

You can increase redrawing speed by hiding or unloading images that you do not need in the current drawing session. Hidden images are not displayed or plotted; only the drawing boundary is displayed. You can choose to hide an image regardless of the current viewport coordinate system. If you no longer need the image in the drawing, you can erase a single instance of the image or erase all instances of the image and unload the image information. Aside from locking the image file, none of these actions modify the original image file itself.

Hiding Images
When you hide an image, the image does not display onscreen, nor does it plot. Only the image boundary displays onscreen. However, the image is still loaded in memory, and the image file is still locked on the disk. It cannot be deleted or modified. Hiding images is a convenient way to speed regeneration time. You can easily redisplay the image when you are ready to plot.

Unloading Images
When you unload an image, you remove the image from memory. It does not display onscreen, nor does it plot, and it is no longer locked on the disk. Only the image boundary displays onscreen. Information about the image, such as its path and scale, remains in the drawing. Before you can plot the image, you must reload it into memory. Unloading images improves performance.

Detaching Images
When you detach an image, all instances of the image are removed from the drawing, the image information is deleted, and the image file is unlocked. Detach images that you no longer need in the drawing.

Hiding, Unloading, Detaching, and Erasing Images

207

Erasing Images
When you erase an image, that instance of the image is erased from the drawing. Erasing an image does not delete the image information. You can set an option so that when the last instance of an image is erased from the drawing, Autodesk Map automatically detaches the image and deletes the image information from the drawing.

Changing the Image Display Order


Online Help Index
raster images, display order

When you insert raster images, the images display in the order in which you insert them. You can manually change the display order of your images if you want one image to be displayed on top of another image. You can change the display order in two ways:
s s

Change the order of only the raster images. Change the order of raster images and vector objects.

Viewing Image Information


Online Help Index
raster images, viewing information

You can view information about any image in your drawing in the following ways:
s

Use the Image Management dialog box to view information about the number of instances of an image in the drawing, the draw order of images, and other image information. Use the Image Manager dialog box to view information about whether an image is currently loaded, to list images attached to xrefs, and to modify the path to an image. Use the Image Information dialog box to view information about the file, the image itself, and its properties and correlation information. Use the Properties window to view and modify image properties.

208

Chapter 15

Using Images

Changing Image File Paths


Online Help Index
raster images, changing path raster images, using project files search path

When you insert an image, Autodesk Map stores the file path of the image in the drawing file. When you open a drawing, Autodesk Map searches this stored location for the file. If Autodesk Map cannot find the image because it has been moved or deleted, Autodesk Map searches the Project Files Search Path. You can change the image location that is stored in the drawing, or you can specify a Project Files Search Path.

Naming Images
Online Help Index
raster images, renaming

Image names are not necessarily the same as image file names. When you attach an image to a drawing, Autodesk Map uses the file name without the file extension as the image name. You can change the image name without affecting the name of the file.

Selecting Images
Online Help Index
raster images, selecting

You can select an image in the following ways:


s s

Click the frame that surrounds an image. Use Shift+left-click anywhere in the image.

Note If this option is not working, check that you have the setting turned on in the Raster Extension Options dialog box and that you have loaded Raster Extension by using any Map Image command. If you have inserted multiple images, selecting in an area where the images overlap produces the Image Select dialog box.

Changing Image File Paths

209

Modifying Image Properties


Online Help Index
raster images, modifying

You can use the Properties window to modify image properties such as the following:
s s s s s

Frame color, layer, linetype, and linetype scale Image brightness, contrast, and fade Location Rotation, width, height, and scale Image transparency and transparency color

Each of these modifications is described in the following sections.

Changing Image Frame Properties


Online Help Index
raster images, displaying frames

When you attach an image to a drawing, the image frame inherits the current color, layer, linetype, and linetype scale.

Adjusting Image Brightness, Contrast, and Fade


Online Help Index
raster images, brightness

When you adjust image brightness, contrast, and fade in Autodesk Map, the changes you make affect the display of the image as well as the plotted output, but do not affect the original raster image file. Adjust brightness to darken or lighten an image. Adjust contrast to make poor-quality images easier to read. Adjust fade to make vectors easier to see over images or to create a watermark effect in your plotted output.

Changing Image Location


Online Help Index
raster images, correlating raster images, manually adjusting

You can specify a precise location for an image. Note You can change the location of the image manually by using the Grips mode.

Changing Image Rotation, Width, Height, or Scale


Online Help Index
raster images, changing correlation

As with any Autodesk Map drawing object, you can change the image properties of rotation, width, height, and scale.

210

Chapter 15

Using Images

Modifying Image Transparency and Transparency Color


Online Help Index
raster images, making transparent

You can make all pixels that are a specific color in a grayscale or color image transparent. (The transparency color of a bitonal image is always the background color of the image.) This is useful if you want to overlay two images or place an image in front of objects. Note The transparency color is stored in the drawing as an Autodesk Map custom object. If you send the drawing to other users, they can see the transparency color only by opening the drawing in Autodesk Map or Autodesk CAD Overlay. If , they open the drawing in AutoCAD they see a message that AutoCAD cannot reference the custom object and will not display the transparent color.

Modifying Bitonal Image Color and Transparency


Online Help Index
raster images, modifying properties

Bitonal raster images consist only of a foreground color and a background color. When you attach a bitonal image, the foreground pixels in the image inherit the current Autodesk Map color. You can change the foreground color and turn the transparency of the background on or off. Note The foreground of bitonal images and bitonal image frames is always the same color.

Modifying Image Properties

211

Clipping Images
Online Help Index
raster images, clipping

By clipping an image, you can display and plot only a portion of the image. The clipping boundary can be a rectangle or a two-dimensional polygon with vertices constrained to lie within the boundaries of the image. Multiple instances of the same image can have different clipping boundaries. Note To clip an image, the image boundary must be visible.

Rectangular clipping boundary drawn

Image after applying clipping boundary

A clip boundary is a display-only feature that you can use for viewing and plotting purposes. It does not permanently change image data. When you delete a clipping boundary, the original image boundary is restored.

212

Chapter 15

Using Images

Plotting Maps

In This Chapter

16

Creating a plot of your map is the last stage of pres senting your mapping information. AutodeskMap s gives you tools to facilitate the production of tiled maps as map books, improve the look of your s maps, and create title blocks. You can save a plotting configuration for later use. s Plotting with Autodesk Map Creating a plot set General plotting techniques Creating effective and attractive maps

213

Plotting with Autodesk Map


This section describes how to produce high-quality maps and map books with Autodesk Map. If you are plotting only one map, you can use the PLOT command as described in the online AutoCAD Command Reference. See also Chapter 11, Thematic Map Design, in this manual.

Understanding Layouts
Autodesk Map uses a feature called layouts to make plotting easier. Layouts simulate working on a sheet of paper and show views of your drawing as it would look within the printable area of the paper. A layout displays what will actually be printed, reducing the need for time-consuming plot checks. The layout also stores settings for the page setup, including plot device, print area, rotation, plot offset, paper size, and scale. You specify these settings when you create the layout. For more information about layouts, refer to Creating a Layout to Plot in the online AutoCAD Users Guide. You can also save output device and page setup settings as named page setups. When you are ready to plot, you can specify a named page setup. You can apply different named page setups to the same layout to achieve specific results when plotting. For example, to control scaling and paper size, you might create the sample named page setups in the following table.

Page setup name


NoScaling - Esheet Scale1to2 - Csheet Draft - Dsheet Final - Dsheet Scale-to-Fit - Asheet

Description
Plot at scale 1:1, E-size sheet Plot at scale 1:2, C-size sheet Plot to the draft-quality plotter Plot to the high-quality plotter Scale to fit, A-size sheet

You need to specify a page setup for the layout only oncewhen you create the layout. You dont need to specify these settings again each time you plot. If you want to plot the same layout more than one way or if you want to specify the same output options for several layouts, use named page setups.

214

Chapter 16

Plotting Maps

Defining a Plot Map Set


A plot map set is a complete definition of all the parameters needed to plot a map or series of maps. You can save a series of plots and plot option settings to a plot set, and then plot all the maps as a map book in one operation. You can also save the plot configuration and plot a series of maps at regular intervals to reflect changes made in the interim. Plotting a map set bypasses the standard PLOT command. Four components are required to define a plot set:
s s s s

Attached source drawing files A plot template block A saved plot query to bring in required objects Map sheet boundaries

You must completely define all four components before you start the Plot Map Set function. The plot set information is stored in an object data table in the active project. The following sections provide information about each component.

Attach Source Drawings


You must attach all source drawings you need for the plot before you start the Plot Map Set function. Drawings do not have to be activated.

Create a Plot Template Block


Online Help Index
plotting maps, creating plot template block

The plot template block defines how each plot in the plot set is laid out. The plot template block also acts as the title block (or title page) for a map. You must define a plot template block before you define a plot set. Each plot template block must contain at least one floating viewport in paper space on a separate layer. You use floating viewports to contain different views of your map. In paper space, you can treat floating viewports as objects that you can move and resize to create a suitable layout. Refer to Working in Paper Space and Creating Floating Viewports in Creating a Layout to Plot in the online AutoCAD Users Guide.

Plotting with Autodesk Map

215

The plot template block can also include a secondary viewport, known as a reference view, which is a viewport showing the boundaries of the pages in the map book. The reference view should also be on a separate layer.

Reference viewport showing map sheet boundaries

Main, floating viewport

Plot template block

The block should include all the map annotation you want to plot: scale bar, legend, table of symbols, north arrow, and so on. You can use an existing title block as a plot template block, but the title block must meet the following criteria:
s s

Be defined in paper space Contain at least one floating viewport in paper space

If there is more than one floating viewport, the main viewport must be on a specified unique layer. The title block must be defined in the current drawing used to create the plot set. You need to draw your title block in paper space with the model space viewport. For more information about using paper space and floating viewports, refer to Creating a Layout to Plot in the online AutoCAD Users Guide.

216

Chapter 16

Plotting Maps

Define and Save a Plot Query


Plot queries must be available before you use the Plot Map Set function. You cannot define a plot set query while you are using the Plot Map Set function. You can make queries available in the following ways:
s s s

Online Help Index


queries, library

Define a query in the active project and save the query. Use a saved query in the query library. (The query library is part of the active project.) Run an external query and then save it as part of the active project.

In all these cases, you can execute a query in Preview mode to check that the data you query is the data you require. See Saving Queries on page 153.

Create Map Sheet Boundaries


Online Help Index
plotting maps, creating map sheet boundary drawing

To plot a large mapped area at a large scale, you can divide a map into a tiled series of maps used as a map book or atlas. The Plot Map Set function requires predefined boundaries in a separate drawing file. Each plot boundary must be a closed two-dimensional polyline, identified by a name stored as object data on a specified layer. You can use one of the following methods to define a set of 2D polylines:
s s s

PLINE command BOUNDARY (BPOLY) command Create Closed Polylines command on the Topology menu

See Creating Closed Polylines from a Topology on page 104. You use object data to set a plot boundary name and attach it to a plot boundary in two ways:
s

Define a new object data table; then create object data for each polyline and attach the data. See Defining Object Data Tables on page 116 and Attaching Object Data to Objects on page 117.

Create text in a drawing, or use existing text or block attributes as the basis for object data. Then attach the object data to the 2D polylines.

The Generate Links command attaches existing text as object data to objects. From the Map menu, choose Database Generate Links. You can create the polylines by querying information from attached drawings into the active project. You need to create a new object data table and use text as object data values, and then attach the data to the polylines.

Plotting with Autodesk Map

217

Creating a Plot Set


Online Help Index
plotting maps

Once you have all the components ready, you can create the plot set. If your drawing contains any objects that are in a save set, the Plot Map Set function will not work. See Chapter 7, Sharing and Saving Drawings. To define a new plot set, you must complete the steps described in the following sections. If you have already defined a plot set, you can simply run the existing plot set.

Selecting the Plot Template Block


Online Help Index
plotting maps, specifying plot template block

First, you need to specify the block to use as the plot template block, the layer containing the viewport for the map, whether to use a reference view, and the layer holding that viewport.

Selecting Source Drawings


Online Help Index
plotting maps, source drawings

After specifying the template block, select the source drawings required for the map plot. The drawings must be attached to the active project; however, they do not need to be active before you start the Plot Map Set function. You must choose the drawings you want to include in the plot set. Do not select the attached boundary drawing. If any of the drawings you want to plot are not active, you can select the Activate Drawings At Plot Time option.

Retrieving Data to Plot


Online Help Index
plotting maps, specifying query

The next step is to retrieve the data that you want to plot from the source drawings. If you select more than one query, the queries are combined with an AND operator.

Selecting Boundaries for the Plot Set


Online Help Index
plotting maps, specifying boundary information

Next, you choose the boundaries of the map sheets for the new plot set. If the boundary drawing is not already attached to the project, you can attach it at the same time that you select it. If you want to use object data from the boundary file in the title block, see the following section, Mapping Object Data to the Title Block.

218

Chapter 16

Plotting Maps

When you complete the Boundary Object Data, you can select boundaries from the external file.

Mapping Object Data to the Title Block


If the plot template block you chose contains block attributes, you can map values from the object data table in the boundary file to those attributes. For example, the boundary file object data table can hold data such as the map source, scale, and district. If the plot title block has attributes corresponding to such data, you can map the data to the plot title block, so the plot title block appears when you plot the data.

Specifying Plot Set Options


Online Help Index
plotting maps, options

Finally, you specify the plot set options that control the appearance of the plot. The plot set options control the actual plotting of the data defined by the previous options. The following sections explain the various options. All the information you set here and in the foregoing procedures is stored in the plot set definition. When you click OK in the Plot Set Definition dialog box, the settings are saved to the current plot set name.

Main View Scale


Using the options in this section you can set a scale or fill the plot sheet with the plot. To set a scale, enter a value in the form X:Y, for example, 1:25000. This scale corresponds to the paper space:model space scale. You can use the Plot To Fit option to fit the data inside each boundary into the viewport, but you wont know the scale used for the plot. For more information on map scales, see Map Scales and Distortion on page 195. For information on setting plot scales, refer to Creating a Layout to Plot in the online AutoCAD Users Guide.

Reference View Scale


This section is available only if you specified a reference view. The command scales the reference view to show all the current boundary, and then reduces the image size by the Reference Scale. For example, if you set Reference Scale to 0.25, the view zooms out by a factor of four. This is similar to using the ZOOM command with a scale factor of 0.25x.

Creating a Plot Set

219

Boundary Edge Options (Buffer)


Using the Buffer Boundary option, you can define an area around a plotted map to act as a continuation to surrounding maps. In the following illustration, the larger map is divided into a series of tiled maps.

Defined map boundaries Plotted area (includes map buffer)

The defined map boundary need not be defined as a rectangular shape, although the buffer is clipped to the minimum bounding rectangle required. You can specify the buffer distance by entering a value or by choosing Select and picking a plotted distance on screen. Generally, you should allow a 35 percent overlap on each map edge. The True option specifies an offset of an existing plot boundary line; Rectilinear offsets the minimum bounding rectangle for a map boundary polyline.
Rectilinear boundary True boundary Map extents

220

Chapter 16

Plotting Maps

Boundary Edge Options (Trim)


Using the Trim Objects At Boundaries option, you can clip objects that cross over a map boundary edge, with the following results:
s

Linear or edge objects, such as lines, polylines, and arcs, break into two objects. Objects with a defined insertion point, such as text, blocks, and hatch, are placed in a map area according to the location of their insertion points.

See Breaking Objects at Map Boundaries on page 100. For a complete example of using the Plot Map Set function, work through Lesson 2, Creating a Map Book, in Tutorial VI of the online Autodesk Map tutorials. To open the tutorials, choose Tutorials from the Help menu.

Template Block Settings


There are two sets of layers that you can control:
s

Reference View Layers To DisplayUse this option if you selected Reference View Layer in the Plot Template Block dialog box. You can display the objects used for the map boundaries and major features, such as roads or coastlines with this option, but keep in mind that too many objects create a cluttered, unclear view. For more explanation, see Selecting the Plot Template Block on page 218.

Main View Layers To FreezeThe main view layer holds the viewport definition. You can freeze this layer so an artificial boundary does not appear on the plotted map. You can also freeze layers holding details with such fine high scale that the plot would be fuzzy or unclear.

General Plotting Techniques


The effectiveness of a map depends on the amount and type of information shown on the map, and on its appearance. Appropriate annotation choices and the uses of color, linetypes, and other display properties make a map more complete and easier to interpret. See Chapter 10 Using Queries to Analyze Data, and Creating Advanced Thematic Maps on page 163. For information about creating raster output, see Exporting Raster Images on page 66.

General Plotting Techniques

221

Using Linetypes to Annotate Contour Lines


The following illustration shows a topographic map with contours annotated at 100-meter intervals. You can create a custom linetype for each contour height.

Note The direction in which you draw the line affects the orientation of the text. The lines in the preceding illustration were drawn in a clockwise direction starting in the top left corner. For example, the linetype definition for the 500 contour in the illustration is added to a .lin file and assigned to a layer:
*500_Contour,----500----500----500----500 A,1,-.2,["500",STANDARD,S=.1,R=0.0,X=-0.1,Y=-.05],-.25

For more information on customizing linetypes, refer to Linetypes and Hatch Patterns in the online AutoCAD Customization Guide.

Creating Effective and Attractive Maps


The appearance of a map determines its effectiveness. Follow these guidelines to present map data effectively:
s

The map should be made up of elements of nearly equal size with no features dominating the map. Text size should be neither too small to be read nor so large that the text dominates or obscures features. If the map covers more than one sheet, there should be a 35 percent overlap between sheets. Text labels, such as town or feature names, should be in the same relative position on each sheet. Use different symbols (blocks) to represent different features or landmarks, such as hospitals, churches, and cemeteries. Draw symbols at an appropriate scale so they are legible and do not obscure other data.

222

Chapter 16

Plotting Maps

Use linetypes and colors to represent different features. Representing roads as double lines can be helpful for small areas, such as subdivisions, or for maps in which right-of-way information is important. Do not use too many colors or the map becomes too bright and the colors dominate. Try to use only four colors. Do not try to present too much data on the map. Maps are more effective when they show topics clearly. If you have a great deal of data to draw, consider making two or more maps.

The following annotations make a complete and effective presentation. Some maps may not require all of these items:
s s s s s s s s

Complete legend showing all symbols used on the map and their meanings, not obscuring map data Scale bar, representative fraction, or other statement of scale North arrow Global coordinate system used for the map Source of the map data, including the base map and source of added details Date of completion and any revision dates List of cartographers and map editors involved in creating the map Drawing file name of the map

The following optional items greatly help the presentation and analysis of map information:
s s s s

Legible road names positioned in the center of the road or offset from the center, and drawn at suitable intervals Coordinate annotation and a border along the outside of the map area Grid lines of the coordinate system Hatch filling of closed polygonal features, such as lakes

Placing Text
Online Help Index
annotations for plotted maps

For guidelines on placing text in a map, see the online help.

Creating Effective and Attractive Maps

223

224

Glossary

This glossary contains definitions for mapping terms. If the term you are looking for is not here, you may find it in the online glossary of drawing terms.
ADE query API See Map query.

Application Programming Interface. The ratio of the width of a raster image to its height.

aspect ratio

attribute data Text data that describes the characteristics of map objects. Attribute data is stored in tables and databases, which are linked to selected drawing objects. Compare with spatial data, block attribute, and data element. See also external data and object data. ASE (AutoCAD SQL Environment) In previous versions of AutoCAD Map, provided links to data in external database management systems. These links are now handled using data source connections. azimuth The angle between a base line radiating from a center point and another line radiating from the same point. Normally the base line points north, and measurements are made clockwise from the base line. block attribute Text associated with a block object.

Boolean operator The logical operators used to join conditions in a query or expression, named for the logic algebra devised by nineteenth-century mathematician George Boole. See also intersection and union. buffer A zone drawn around a topology with a specified offset.

buffer fence A fence, or line, at a specified distance from a center line. Used to define a selection boundary. Cartesian coordinate system A coordinate system defined using three perpendicular axes (X, Y, and Z) to specify locations in three-dimensional space. Compare with spherical coordinate system. cartographic coordinate system A coordinate system that is referenced directly to an ellipsoid. Compare with geodetic coordinate system. catalog For some SQL database systems, the alias for the path that contains subdirectories for database files. See also schema. cell The specific data value in the box where a row and a column in a database table intersect. See also table.

Glossary

225

centroid A point or block that is part of a polygon in a topology. The centroid holds information about the polygons area and perimeter. cleanup The process of using Map editing tools to remove errors and unnecessary data from digitized, scanned, or imported maps before the data is used to create topology. Cleanup is also useful before creating thematic maps. color depth The amount of information stored with each pixel of a raster image to define its color. column A specific category of information in a table, such as Address or Diameter, also called a field. In a grid, columns are displayed vertically. See also table. conformal projection, conformality Conformal projections maintain local angles. A map projection is conformal when the scale is the same in every direction at any point. Meridians and parallels intersect at right angles; the shape of small areas and angles with very short sides are preserved. Most larger area sizes are distorted. conic projection A map projection in which the earths surface is drawn as it would appear if projected on a cone wrapped around the earth. The Lambert Conformal Conic is often used for maps of the continental United States, France, and other countries. continuous data Data that can fall anywhere in a broad range. For thematic maps, continuous data is usually organized into smaller ranges that show data trends. For example, property value is continuous data that can be placed into the ranges 0 to $50,000, $50,000 to $100,000, and over $100,000, with each range displayed in a different color. Compare with discrete data. control points Locations with established latitude and longitude, and often elevation, used for accuracy and precise location of maps. A system of geodetic control points covers the entire United States. Similar systems exist for all countries, such as Bench Marks and Trigonometry Points in the United Kingdom. See also monuments. coordinate system See global coordinate system.

cylindrical projection A map projection, in which the earths surface is drawn as it would appear if projected on a cylinder wrapped around the earth in a north-south direction. Compare with transverse cylindrical projection. See also Mercator projection and conic projection. dangle A link or line, one end of which lacks a connection to another link or node. See also cleanup. data element Information in an external file format, such as DGN, MIF, or SHP, which provides additional textual information about features. See also attribute data. data file A set of data records (or table rows). Same as table.

data source A UDL (universal data link) file that points to a collection of data and provides information on how to access the data.

226

Glossary

data type The type of data that a field in a table can contain, such as text, date, Boolean, or long integer. The data type determines the type and range of values that can be entered in the field, the amount of storage space available, and the amount of space allocated in the database to store the data. You specify the data type when you create the field in the table. database A table or a set of tables containing data related to a particular subject or purpose that is organized so that its contents can easily be accessed, managed, and updated. database connection Provides links to data in external database management systems such as Access, dBASE, and Oracle. database driver The communication link between Autodesk Map and a database management system. Typically, this is an OLE DB driver provided by the database vendor. Database Management System (DBMS) A computer-based system or application software used to create and maintain a database, for example, Access, dBASE, or Oracle. database query A set of conditions for specifying the selection of records from a database. External database queries, also called joins and views, are created using your database software and can be run from the Project Workspace. When you run a database query and view the results in the Data View, the data is not editable. Use a Data View SQL filter to limit the records displayed in the Data View, while still being able to edit the data. See also Map query. datum A mathematical model that provides a smooth approximation of the earths surface. Each datum includes both an ellipsoid, which specifies the size and shape of the earth, and a base point for latitude and longitude. If two maps use different datums, points on the map may not line up. Also called a geodetic coordinate system. digitize To convert existing data from paper maps, aerial photos, or raster images into digital form by tracing the maps on a digitizer. Object locations are recorded as X,Y coordinates. discrete data Data that falls into explicit categories. For thematic maps, each value is displayed differently. For example, an agricultural thematic map might show each crop in a different color. Compare with continuous data. display information A description of the appearance of a drawing object: includes color, hatch pattern, line type, and so on. dither To use a pattern of solid dots to simulate more colors than are actually available when displaying images. dot variable Variable that refers to an object property. It consists of a period (.) followed by the variable name for that property. Dot variables can be entered in expressions used for building a template file for Report mode queries and for property alteration. See also query and expression. drawing cleanup The process of removing errors or unnecessary data from a digitized, scanned, or imported map. See cleanup. drawing set The set of drawings attached to a project.

Glossary

227

edge matching A map cleanup function that allows for distortion between adjacent maps, and produces a true match of objects at the edges of maps. element (Oracle Spatial database) The basic building block of an Oracle Spatial geometry. The supported spatial element types are points, line strings, and polygons. For example, elements might model water wells (point clusters), roads (line strings), and county boundaries (polygons). ellipsoid An approximation of the earths shape that does not account for variations caused by the nonuniform density of the earth. Synonymous with spheroid. See also geoid. environment An SQL environment contains the Database Management System (DBMS), the databases it can access, and the users and programs that can access those databases. equal area A map projection in which every part, as well as the whole, has the same area as the corresponding part on the earth, at the same reduced scale. No flat map can be equal area and represent true shape. Equator The line of latitude drawn around the middle of the earth equidistant from the North and South Poles, used as the origin for latitude measurements. equidistant projections Projections showing true distances only from the center of the projection or along a special set of lines. No flat map can be both equidistant and equal area. expression The statement you enter in the Expression box in the Output Report Options dialog box or the Property Alteration dialog box. The expression directs Autodesk Map in performing operations on queried objects. expression evaluator The mechanism that analyzes the statement you enter in the Expression box in the Output Report Options dialog box or the Property Alteration dialog box. extents The smallest rectangle that contains all objects in a map, that is, the outermost boundaries of the map. external data Attribute data linked to a drawing object but contained in a database apart from the drawing file. See also attribute data and object data. features, geographic features points, lines, and areas on a map. Natural and man-made objects represented by

field A specific category of information in a data file, such as Address or Diameter. Also called a column. See also record and table. field data type field value record. The format of data stored in a field, such as character or numeric.

The value of a specific field for a specific record. See also field and

filtered record A record that matches the conditions of an SQL filter or spatial filter and is therefore available for selection. geodetic coordinate system A coordinate system that is referenced directly to a datum. Compare with cartographic coordinate system.

228

Glossary

geographic analysis Analytical techniques that identify existing conditions of a geographic location, a spatial area, or a linear network, as well as predict the effects of certain future events on these features. geographic data Information about geographic features. See features.

geoid An ellipsoid with a highly irregular surface used to describe the shape of the earth. See also ellipsoid. geometry (Oracle Spatial database) The representation of a spatial feature, modeled as an ordered set of primitive elements. geometry mapping The process of transforming the geometry elements of Autodesk Map objects to Oracle Spatial geometry, and transforming the geometry elements of the records back to Autodesk Map objects. GIS (Geographic Information System) A computerized decision support system that integrates geographic data, attribute data, and other spatially referenced data. A GIS is used to capture, store, retrieve, analyze, and display spatial data. global coordinate system A method that converts the earths spherical coordinates representing latitude and longitude into an Autodesk Map drawings Cartesian coordinate system, and accounts for the curvature of the earths surface with a projection. A coordinate system is usually defined by a projection, an ellipsoid definition, a datum definition, one or more standard parallels, and a central meridian. hatch A regular pattern used to fill an area with a series of cross-angled lines.

intersection (expression) Two or more conditions joined with the logical operator And. An item is selected only if the item meets all specified conditions. Compare with union. intersection (geometry) The location where one line, surface, or solid crosses another so as to have one or more points in common. join To link two or more tables in a relational database on the basis of a common item or field. You create joins using your Database Management System (DBMS). You can run joins from the Autodesk Map Project Workspace. key column One or more columns in a table whose values are used to uniquely identify a record. To provide useful links, a key column should contain a unique value for each record. Also called a key field. key value A value stored on an object that specifies that value to match in the key field of a table. latitude The first part of a spherical coordinate system used to record positions on the earths surface. Latitude indicates the angular distance north or south of the equator. See also longitude. legend values. A key to or an explanation of the symbols in a map, and their meaning or

link (geometry) An element of geometry that connects nodes. In a polygon topology, a link defines a polygon edge. Links can contain vertices and true arcs, and can be represented as a line, polyline, or arc. See also node.

Glossary

229

link (external databases) The connection between a drawing object and its related database data. The link data is stored on the linked drawing object and contains the name of the link template and the key value used to identify the associated record in the linked table. An object may have more than one link. link template A data structure that contains the path information to a database table and specifies one or more key fields in that table. lock To make all or part of a disk file read-only so that it cannot be modified by other users on a network. Object locking applies to objects that are being edited by another user. File locking applies to entire files, for example when an AutoCAD user wants to open a file while the file is in Autodesk Map editing mode. logical operator A symbol such as And, Or, Not, =, >, >=, <, and <= used to define logical relationships. See also intersection, union, query, and Boolean. longitude The second part of a spherical coordinate system used to record positions on the earths surface. Longitude measures angular distance east or west of the prime meridian, which runs through Greenwich, England. See also latitude. map An abstract representation of the physical features of a portion of the earths surface graphically displayed on a planar surface. Maps display signs, symbols, and spatial relationships among the features. They typically emphasize, generalize, and omit certain features from the display to meet design objectives. For example, railroad features might be included in a transportation map but excluded from a highway map. map cleanup The process of removing errors or unnecessary data from a digitized, scanned, or imported map. See also cleanup. map projection A systematic representation of a spherical body, such as the earth, in a flat (planar) surface. Each map projection has specific properties that make it suitable for specific mapping needs. Map query A set of conditions that specify the selection of drawing objects from source drawings. Conditions in a Map query can be based on the location or properties of an object or on data stored in the drawing or in a linked database table. See also topology query and database query. MDI (Multiple Document Interface) The ability to have more than one window open in an application. In Autodesk Map, you can have multiple projects open at one time. To switch between projects, click the Window menu and choose the project you want. The Project Workspace displays information for the current project. Mercator projection A map projection, designed by Gerhardus Mercator, in which the earths surface is drawn as it would appear if projected on a cylinder wrapped around the earth. See also cylindrical projection. meridian A great circle passing through both poles, corresponding to a line of longitude. metadata Additional descriptive information about data, such as the data source, extents, and degree of accuracy. monuments Features with known coordinates, used to establish accurate and precise location on a map. See also control points.

230

Glossary

network topology A description of the spatial relationship between linear geographic features (links and, sometimes, nodes). For example, a network topology can represent pipelines, streets, electrical transmission lines, and rivers. node A single point or a link end point or intersection in a topology. A node can be represented as a block or point object. node topology A description of the spatial relationship between geographic point features. Examples of node topologies include point sources of pollution and road signs. normalizing In thematic mapping, the scaling of data values relative to another data value. A common example is adjusting the thematic value based on the area, length, or perimeter of the entity. object data Attribute data attached to an object and stored in the drawing file. Compare with external data. ODBC Open Database Connectivity, a standard API (Application Programming Interface) used to communicate with Database Management Systems (ODBC), developed by Microsoft. pan To move the active view up, down, or sideways to display areas in the map that, at the current viewing scale, lie outside the window. parallel A degree of latitude that circles the earth parallel to the Equator.

plot template block An AutoCAD block that contains plotting information such as title page text, plot layouts, legend, and other map annotations. polygon A set of geometric links that form an enclosed area in a topology. Polygons contain a centroid. polygon topology A description of the spatial relationship between geographic area features. Polygon topologies contain geometric links, nodes, and centroids. Examples of polygon topologies are land use and land cover maps, political boundaries, parcels, and soil types. prime meridian The line of longitude drawn through Greenwich, England, used as the origin for longitude measurements. project A drawing file that includes links to a set of source drawings and other associated data such as saved queries, databases, link templates, and themes. You can open any drawing file as either a project file or as a source drawing attached to a project. Project Workspace Autodesk Map window that displays files and definitions available in a project. The Project Workspace contains two tabs: Project and Thematic. The Project tab displays attached source drawings, databases, queries, and link templates. The Thematic tab displays available themes and enables you to create new ones. You can resize the Project Workspace window and place it where you want. property alteration definition during a query. The definition of properties you want to change

pseudo node An unnecessary node in a geometric link. A pseudo node can be used to store information about geographic point location or to represent change from one link to another. See also cleanup.

Glossary

231

purge

To remove all unused object definitions from an open drawing.

query A set of criteria for specifying the selection of objects or records. Autodesk Map supports many types of queries. See Map query, topology query, database query, and thematic query. Query Library The set of queries saved in a project. You can add, delete, and modify queries in the Query Library. ramp A sequence of display properties used to render a thematic map; for example, a sequence of colors, linestyles, or hatch patterns. range of values In thematic mapping, a segment of data along a continuum, such as property value, temperature, or population. raster Images containing individual dots (called pixels or cells) with color values, arranged in a rectangular, evenly spaced array. Aerial photographs and satellite images are examples of raster images used in mapping. Compare with vector. record In a data file, a uniformly structured set of data items, or field values. Also called a row. See also table. registration The preparation of a map for digitizing by calibrating a digitizing table to convert an analog source to a digital file. See digitize. render, rendering The process of taking an Oracle Spatial record and representing it as an Autodesk Map object with display properties. resolution In a raster image, the density of pixels-per-inch (ppi) or dots-per-inch.

row A set of data in a table, also called a record. In a grid, rows are displayed horizontally. See also table. rubber sheeting An editing method, used only when necessary, that attempts to correct errors by stretching a map to fit known control points or monuments. save set Objects that have been created or modified in the project drawing and are marked to be saved back to source drawings. SDF (Spatial Data File) The proprietary Autodesk MapGuide file format that contains the spatial data (such as roads, cities, and countries) used in maps. When you view a map in Autodesk MapGuide Author or the Autodesk MapGuide Viewer, requests are sent to Autodesk MapGuide Server, which reads the SDF and sends the correct map data back to the client for display. Note that if a map layer contains points or text, the data may come from an SQL database instead of an SDF. scale The ratio of the distance on a paper map to the distance on the ground. If a paper map has a scale of 1:100,000 (also represented as 1/100000), then a distance of 1 unit on the paper map corresponds to 100,000 units on the ground. On a digital map, scale represents the scale of the map from which the digital map was derived. schema For some SQL database systems, a schema contains the actual database tables. Each schema includes tables related to a particular subject or purpose. See also table. service An Oracle database.

232

Glossary

simplify linear objects A map cleanup function that reduces the number of vertices on a line to reduce unnecessary complexity. Typically used with digitized data. Also known as weeding or generalizing. See also cleanup. source drawing A drawing file attached to a project. The set of all source drawings attached to a project is called the drawing set. Use a Map query to retrieve selected objects from multiple source drawings. spatial data. A generic term used to reference the mathematical concept of n-dimensional

spatial analysis The process of understanding, extracting, or creating information about a set of geographic features. Spatial analysis includes techniques used to determine the distribution of a feature, or features, over a network or area, and the relationships between those features. The location of, proximity to, and orientation of objects can be analyzed with spatial analysis. It is useful for evaluating suitability and capability, for estimating and predicting, and for interpreting. spatial data Information about the location and shape of geographic features, and the relationships between those features. See also features. spatial database A database containing information indexed by location.

spatial filter A selection of objects in the drawing that specify which records to display in the active table or query. When a spatial filter is active, the Data View displays only those records linked to selected objects. Compare with SQL filter. spatial index An index created in an Oracle Spatial database by dividing the extents of the drawings in the database into rectangular tiles. Autodesk Map uses the index to locate the geometry to be imported. spherical coordinate system A coordinate system measured on the surface of a sphere and expressed as angular distances. Compare with Cartesian coordinate system. spheroid See ellipsoid.

SQL Structured Query Language. A language designed to standardize communication with databases. SQL filter A series of SQL expressions that specify which records to select in the active table or query. When an SQL filter is active, the Data View displays only those records that match the filter criteria. Compare with spatial filter. superuser A user who controls user IDs, passwords, and access to sensitive procedures. symbol table A term referring to the storage of named objects, including linetypes, layers, text styles, and blocks. table A set of data arranged in records (rows) and fields (columns). When a table is displayed in a grid, records display in horizontal rows and fields display in vertical columns. Each field value in the table displays in a cell. Same as data file. template file A file that formats another file, such as a text file for saving information from queried objects. See also dot variable, query, and link template.

Glossary

233

thematic map A map that depicts selected types of information related to one or more specific themes. Data is highlighted, classified, or emphasized using display properties and values such as color and line width. Examples are property assessment, housing quality, population density, and rainfall maps. thematic query A collection of saved settings identified by a unique name for the purpose of generating a thematic map. The thematic query specifies which spatial and attribute data to query, and how to display the thematic objects. theme A single layer or component of a thematic map.

tolerance (drawing cleanup) The minimum distance allowed between linear objects or nodes during drawing cleanup. If two linear objects or nodes are separated by a distance less than the tolerance, Autodesk Map corrects the error. topology A set of geometric relationships between links, nodes, and centroids. Topology describes how lines, nodes, and polygons connect and relate to each other, and forms the basis for advanced GIS functions such as network tracing, spatial analysis, buffer analysis, overlay analysis, and dissolving a polygon topology. topology query An extension to a Map query that applies to a loaded topology. See also Map query and thematic query. transverse cylindrical projection A map projection, in which the earths surface is drawn as it would appear if projected on a cylinder wrapped around the earth in an east-west direction. Compare with cylindrical projection. UDL (Universal Data Link) File with .udl extension that includes the name and location of the database table and the software used to create the file. Windows uses a UDL file to identify a data source. Using the information in this file, programs such as Autodesk Map can view and update data from external databases. union Two or more conditions joined with the logical operator Or. An item is selected only if the item meets at least one of the specified criteria. Compare with intersection. Universal Transverse Mercator (UTM) projection A specific implementation of the Mercator projection, designed for use around the world. See also Mercator projection. unlock To release objects that were locked for editing.

vector A mathematical calculation of an object with precise direction and length. Vector data is stored as X,Y coordinates that form points, lines, and areas. Compare with raster. wavelet A multiple resolution image file compressed using a lossy compression that enables large graphics to load much faster due to the reduction in file size. Wavelet compression is based on a mathematical algorithm in which graphic images can be reduced to a small fraction of their original size. zoom To change the display magnification so that it focuses on progressively smaller areas (when you zoom in) or larger areas (when you zoom out) of an image. zoom extents To magnify a drawing based on its extents so that the view shows the largest possible view of all spatial objects.

234

Index

A acadmap.ini file, 47 acadmap.sys file, 47 accuracy, in digitizing data, 57 adding components to stand-alone installations, 19 ade.pro file. See coordsys.csd file ADEWHOHASIT, 111 ADEZEXTENTS, 36 administering topology, 177 aliases. See drive aliases annotation guidelines, 222 maps, 222 ASE. See databases and links to databases associative hatches, 99 atlases, 217 attaching databases, 125 auditing topology, 179 authorizing Autodesk Map, 18 AutoCAD Map upgrading to Autodesk Map, 15 using customized files and settings from Release 3, 17 Autodesk CAD Overlay, 204, 206, 211 Autodesk Map 5 adding components, 19 authorizing, 18 registering, 18 reinstalling on stand-alone computers, 20 repairing on stand-alone computers, 20 stand-alone licenses, 21 uninstalling on stand-alone computers, 21 using customized files and settings from AutoCAD Map Rel 3, 17 Autodesk MapGuide, 63, 65 exporting to, 65 importing from, 63 SDF files, 63, 65 azimuth, 194

B backgrounds bitonal image transparency, 211 image transparency, 211 BHATCH, 99 bitonal raster images foreground color, 211 frame color, 211 block attributes querying, 142 blocks attributes, 219 object data, 219 title, 219 boundaries breaking objects, 100 plotting, 221 Rectilinear option, 220 trimming objects, 102 True option, 220 Boundary Break command, 101 boundary edge clipping, 221 breaking crossing objects, 89 objects at boundaries, 100 buffer analysis, topology, 186 Buffer Boundary option, 220 buffer, defining, 186 C Cartesian coordinate system, 194, 196, 197, 200 categories of queries, 153 cells, 129 selecting, 129 central meridian, 201 centroids, 98, 169, 175 cleaning up maps, 56, 83, 84 boundaries, breaking objects, 100 boundaries, trimming, 102 closed polylines, creating, 104 conversion options, 85 crossing objects, breaking, 89

Index

235

cleaning up maps (continued) dangling objects, erasing, 90 duplicates, deleting, 87 edge matching, 95 for topology, 170 linear objects, simplifying, 91 markers, 86 nodes, correcting, 93 nodes, snapping clusters, 93 order of, 86 overdigitized maps, 85 overshoots, 85 pseudo nodes, dissolving, 94 rubber sheeting, 99 short objects, erasing, 88 undershoots, 85 undershoots, extending, 90 clipping raster images, 212 closed polylines, creating, 104 codes, global coordinate systems, 198, 199 coloring bitonal raster images, 211 raster images, 211 columns formatting, 130 freezing and unfreezing, 130 header, 129 hiding, 130 key columns, 133 redisplaying, 130 resizing, 130 selecting, 129 sorting by, 130 Compact installation, 15 components adding to stand-alone installations, 19 conditions combining, 145 Data View filter, 130 editing, 149 grouping, 146 location, 141 object data, 142 precedence, 146 property, 141, 142 SQL, 144 configuring data sources, 126 conformal projections, 194 connecting databases, 125, 127 continuous thematic maps, 160 contour lines, 222 coordinate correlation of raster images, 204, 206 coordinate systems, 196 coordsys.csd file, 199 latitude/longitude, 52

coordinate systems (continued) state plane coordinates, 199 tracking, 202 updating, 200 See also global coordinate systems coordinate transformation, 196 options, 43 coordsys.csd file, 199 correlation coordinates, 204, 206 modifying during insertion, 206 Create Closed Polylines command, 104, 217 crossing objects, breaking, 89 CSUPDATE utility, 200 Custom installation, 15 customized files using from AutoCAD Map Rel 3, 17 customized settings using from AutoCAD Map Rel 3, 17 customizing Data View, 130 D dangles, 85, 90 dangling nodes, 168 data exporting, 64 importing, 60 object data queries, 142 SQL queries, 143 storing externally, 44, 54 storing internally, 44, 54 verifying accuracy, 57 data sources attaching, 125 configuring, 126 connecting, 127 defining, 122 disconnecting, 127 links to, 125 See also databases Data View, 127, 129 column header, 129 customizing display, 130 displaying hidden columns, 130 editing tables, 131 exporting data, 131 formatting columns, 130 linking records to objects manually, 136 modifying the display, 129 opening, 127 printing tables, 131 record header, 129 sorting records, 130 spatial filter, 131 SQL filter, 131

236

Index

Data View (continued) viewing tables, 127 window, 46 Data View columns displaying, 130 freezing, 130 header, 129 hiding, 130 key columns, 133 selecting, 129 unfreezing, 130 Data View records copying to Windows clipboard, 131 filtering by linked objects, 131 filtering by SQL data, 131 header, 129 linking to objects, 132, 135 navigating highlighted records, 137 printing, 131 selecting, 129 sorting, 130 viewing for selected objects, 137 viewing linked records, 137 database administrator, 70 database queries, 127, 128 opening, 128 viewing, 128 viewing properties, 124 databases, 5, 54 attaching, 125 compared to object data, 44 configuring, 126 connecting, 125, 127 copying records to Windows Clipboard, 131 data sources. See databases database tables defining link templates, 133 disconnecting, 127 drivers supported, 125 DSN (data source name), 125, 126 filtering, 130 highlighting linked objects, 137 highlighting records, 137 key columns, 133 linking. See databases, links to objects navigating highlighted records, 137 querying, 144 records. See records UDL (data link) files, 125, 126 viewing, 127 viewing in Data View, 127 viewing linked objects, 137 viewing linked records, 137 databases, links to objects, 132, 133 creating automatically, 136 creating from object data, 137

databases, links to objects (continued) creating manually, 136 creating while digitizing, 136 managing, 133 datums, 200 defining, 201 deleting, 201 ellipsoids, 201 modifying, 201 deleting topologies, 177 detaching raster images, 207 Digitize Setup dialog box, 136 digitizing creating database links, 136 defining, 50 double-digitized lines, 85 errors, 84 linetypes, 53 maps, 50 networks, 55 nodes, 54 overdigitizing maps, 85 planning, 51 polygons, 56 projective, 52 rubber sheeting, 95, 99 tablet, 50 using layers, 52 verifying data, 57 disconnecting databases, 127 discrete thematic maps, 160 display order, 208 dissolving pseudo nodes, 93 topologies, 188 distortion, in maps, 194 documents attaching to objects, 38 viewing, 38 double-digitized lines, 85 Draw mode queries, 150 draw order. See display order drawing cleanup types of errors, 84 drawing sets, 4, 41 drawings, 7 cleanup, 83 editing, 106 extents, 32 global coordinate systems, 198 indexing, 42, 147 locking, 109 opening previous releases, 8 querying, 140 querying with SQL, 144

Index

237

drawings (continued) retrieving objects, 140 save back extents, 32 save back options, 108 saving as previous release, 108 saving queried objects, 108 sharing, 109, 110 transforming coordinates, 196 viewing, 35 viewing locks, 111 zooming to extents, 36 drive aliases default, 27 DSN (data source name), 125, 126 duplicates, deleting, 87 DWG project drawing, 4 .dwk file, 109 DXF file format, 63, 66 E edge matching, 95 editing shared drawings, 110 tables, 131 tools, AutoCAD Map, 96 ellipsoids, 200 defining, 201 deleting, 201 modifying, 201 emergency services example, 191 enlargements, in insets, 102 environments attaching, 125 erasing raster images, 208 exporting Autodesk Mapguide files, 65 data, 64 file formats, 64 object data, 137 raster images, 66 SDF files, 65 SIF files, 65 to previous versions, 66 extents of drawings, 32 zooming to, 36 extents, save back, 32 external databases. See databases F False Origin Easting option, 200 False Origin Northing option, 200 fields, 114

adding, 117, 118 fields (continued) attaching, 117 deleting, 117 modifying, 117 file formats .lin, 222 .dwk, 109 DXF, 63 MLF, 65 MWF, 65 raster, 205 SDF, 63, 65 SIF, 65 file locking, 109 releasing, 111 file sharing, 109 files using customized from AutoCAD Map Rel 3, 17 filtering records (Data View), 130 floating viewports, plotting, 215 flood trace topology, 183 travel time, 190 formatting modifying for Data View tables, 130 freezing columns, 130 Full installation, 15 G generalizing lines, 91 Generate Links command, 217 geodetic distance measuring, 202 georeferencing, 204, 206 global coordinate systems, 5, 43 assigning to drawings, 198 choosing, 197 codes, 198, 199 coordsys.csd file, 199 datums, 201 defining, 199, 200 ellipsoids, 201 geodetic, 197 modifying, 200 non-geodetic, 197 projection parameters, 201 projections, 194 state plane, 199 transformation options, 43 transforming coordinates, 196 viewing a drawings code, 199

238

Index

grid cells, 129 header, 129 H hard disk requirements for stand-alone computers, 12 hardware requirements for stand-alone computers, 12 hatch patterns adding, 98 associative, 99 hidden columns, redisplaying, 130 hiding columns, 130 raster images, 207 I Image Manager dialog box naming images, 209 Image Select dialog box, 209 IMAGECLIP, 212 images. See raster images importing Autodesk Mapguide, 63 data, 60 DXF files, 63 file formats, 60 indexes, 42, 147 removing, 149 types of, 147 inserting, raster images, 206 insertion points modifying for raster images, 210 insets, in maps, 102 installation types Compact, 15 Custom, 15 Full, 15 Typical, 15 Installation wizard for stand-alone computers, 14 installing Autodesk Map on stand-alone computers, 13 installation types, 15 Volo View Express, 16 write permissions required, 13 Volo View Express on stand-alone computers, 16 islands, topology, 168

J Jet provider for Microsoft Access, 125 joining operators, 145 precedence, 146 joins. See database queries K key columns, 133 Key View, 37, 47 L label points, 98 Lambert Conformal Conic projection, 195 latitude/longitude coordinates, 52 layers displaying, 37 filtering from view, 37 for raster images, 210 main view, 221 organizing, 52 reference view, 221 layouts, 214 applying page setups to, 214 left-right relationships, topology, 169 License Manager for stand-alone computers, 21 licenses managing stand-alone licenses, 21 stand-alone, 21 transferring stand-alone licenses, 21 .lin file, 222 linear objects, 84 simplifying, 91 linetypes as contour lines, 222 digitizing, 53 link indexes, 42, 133 link templates, 45, 133 defining, 133 querying, 142 link-node relationships, topology, 167 link-polygon relationships, topology, 168 links, 123 links to databases, 132, 133, 135 creating automatically, 136 creating from object data, 137 creating manually, 136 creating while digitizing, 136 managing, 132, 133 querying, 144 viewing linked objects, 137 viewing linked records, 137

Index

239

links, in topology, 166, 173 loading raster images, 207 location conditions, 141 editing, 149 locking, file, 109 locking, object, 8, 107, 109 locks, 109 viewing, 111 M main view layers, 219, 221 scale, 219 map books, 217 map projections, 194, 200 mapping, plot map sets, 215 maps annotation, 222 atlases, 217 boundaries, breaking objects, 100 boundaries, trimming, 102 cleanup, 56, 83, 84, 170 closed polylines, creating, 104 contour lines, 222 creating, 49, 59 crossing objects, breaking, 89 dangles, 85 dangling objects, erasing, 90 digitizing, 49, 50 distortion, 195 duplicates, deleting, 87 edge matching, 95 effectiveness, 222 errors, 84, 170 exporting, 59 importing, 59 insets, 102 layers, 52 linear objects, simplifying, 91 linking to databases, 136 nodes, correcting, 93 nodes, snapping clusters, 93 overdigitizing, 85 overshoots, 85 plotting, 214, 218 projections, 194, 195, 200 pseudo nodes, dissolving, 94 rubber sheeting, 99 scale, 195 sheet boundaries, 217 short objects, erasing, 88 stacking, 42 suitability, 51 thematic, 47, 156 tiling, 42, 53, 56, 217 transformation, 97

maps (continued) undershoots, 85 undershoots, extending, 90 matching edges, 95 measuring geodetic distance, 202 Mercator projection, 194, 195 meridian, central, 201 MLF files, 65 model space, queries, 140 Modify Global Coordinate System dialog box, 200 moving objects, 97 moving raster images, 210 multiple projects, working with, 40 MWF files, 65 N naming raster images, 209 network flood trace, 183 travel time, 190 network topology, 166, 173, 183 checking integrity, 183 creating, 173 digitizing, 55 direction, 168 dissolving, 188, 189 emergency services example, 191 examples, 189, 190 overlay analysis, 184 travel time, 190 network trace, 182 networks and polygons, 184 networks, sharing drawings, 109 node topology digitizing, 54 nodes, 84, 166 clusters, 93 correcting, 93 creating topology, 173 dangling, 168 dissolving, 94 overlay analysis, 184 pseudo, 168 snapping clusters, 93 tolerances for cleanup, 93 topology, 167 with polygons, 184 O object data, 5, 54, 114 attaching, 117 break command, 117 compared with external databases, 44 converting to database links, 137 defining, 116 detaching, 118

240

Index

object data (continued) editing, 117, 118 querying, 142 ranges, 119 tables, 114, 116 topology, 170 trim command, 117 object data conditions, 142 editing, 149 object locking, 8, 107, 109 set by superuser, 110 See also objects, locking objects adding hatch patterns, 98 altering properties, 152 associating documents, 38 attaching multiple records, 118 attaching object data, 117 centroid, 98 detaching data, 118 editing, 96, 106 editing object data, 118 filtering records by, 131 highlighting by linked data, 137 linear, 84 linking to external databases, 132, 135, 136 locking, 8, 107, 109 moving, 97 querying, 140, 144 removing data, 118 retrieving, 150 rotating, 97 save back options, 108 saving to source drawings, 108 scaling, 97 text insertion point, 98 transforming, 97 transforming coordinates, 196 viewing linked data, 137 viewing locks, 111 ODBC driver, 125 operating system requirements for stand-alone computers, 12 options, 47 acadmap.ini file, 47 acadmap.sys file, 47 coordinate transformation, 43 save back, 108 Oracle Spatial Map schema, 73, 74, 76 requirements for stand-alone computers, 13 tips and suggestions, 82 overlay analysis, 183, 185 overshoots, 85

P page setups, applying to layouts, 214 paper space, queries, 140 path trace, topology travel time, 190 paths raster images, 209 performance improvements creating indexes, 147 speeding up raster image display, 207 plotting, 214 boundaries, 218, 221 boundary buffer, 220 floating viewports, 215 main view layers, 219, 221 main view scale, 219 maps, 8, 218 plot map sets, 215 plot template blocks, 215, 218, 221 queries, 217 Rectilinear option, 220 reference view (viewport), 216 reference view layers, 219, 221 reference view scale, 219 techniques, 221 title blocks, 216, 219 True option, 220 viewports, 221 polygon topology, 166, 168 creating, 175 digitizing, 56 dissolving, 188, 189 examples, 191 incomplete polygons, 85 incomplete polylines, 85 overlay analysis, 184, 185 with polygons, 185 polygons filling, 98 polylines creating closed, 104 incomplete, 85 Portable License Utility, 21 Preview mode queries, 150 clearing, 150 previewing drawings, 35 previous release, saving drawings as, 108 printing database tables, 131 printing drawings. See plotting processor requirements for stand-alone computers, 12 profiles, 67 Project Workspace, 3 Data Sources node, 124 projection parameters, 201 projections, 194, 195, 200 choosing, 195

Index

241

projections (continued) conformal, 194 Mercator, 194 reducing distortion, 194 projective digitizing, 52 projects, 4, 41 attaching databases, 125 DWG file format, 4 global coordinate systems, 198 multiple, 40 saving, 40 sharing, 40 switching between, 40 properties modifying for raster images, 210 properties, modifying for raster images, 210 property alteration, 152 in map queries, 119 thematic maps, 163 property conditions, 141, 142 editing, 149 ranges, 142 pseudo nodes, 93, 168 dissolving, 94 Q queries, 140 altering properties, 152 categories, 153 combining conditions, 145 defined, 6 editing, 149, 164 executing, 149 external, 42 grouping conditions, 146 internal, 42, 153 library, 153 loading, 153 location conditions, 141 model space, 140 modes, 149 nested group conditions, 147 object data conditions, 142 paper space, 140 plot, 217 precedence of conditions, 146 property conditions, 141, 142 ranges, 142 reloading, 153 reports, 151 saving, 42, 153 SQL conditions, 144 thematic maps, 163 topology, 187 types, 140 writing results to a file, 151 queries, database. See database queries

Query Library, 153 Query Properties dialog box, 124 Quick Views, 35 R RAM requirements for stand-alone computers, 12 ranges in property conditions, 142 of object data, 119 Raster Extension, 204, 205, 206, 209 raster image frames bitonal images, 211 modifying, 210 properties, 210 when clipping images, 212 raster images, 7, 204 bitonal, 211 brightness, 210 clipping, 212 coloring, 211 contrast, 210 coordinate correlation, 204 correlation coordinates, 204, 206 detaching, 207 display order, 208 displaying, 212 erasing, 208 fade, 210 file formats, 205 georeferencing, 204, 206 hiding, 207 inserting, 206 layers, 210 loading, 207 modifying, 210 modifying frames, 210 modifying properties, 210 moving, 210 naming, 209 path files, 209 performance improvements, 207 redrawing speed, 207 rotating, 210 scaling, 210 search paths, 209 selecting, 209 transparency, 211 unloading, 207 viewing image information, 208 Readme file, 16 records, 114, 118 adding, 118 copying to Windows Clipboard, 131 filtering by SQL data, 131 flitering by linked objects, 131 header, 129

242

Index

records (continued) highlighting, 137 linking to objects, 132, 135 navigating highlighted records, 137 printing, 131 removing, 118 selecting, 129 sorting, 130 viewing for selected objects, 137 viewing linked objects, 137 Rectilinear option, 220 reference view layers, 219, 221 scale, 219 reference viewports, plotting, 216 registering Autodesk Map, 18 reinstalling Autodesk Map on stand-alone computers, 20 renaming topologies, 177 repairing Autodesk Map on stand-alone computers, 20 damaged or missing files, 20 Report mode queries, 151 result topology, 188 river drainage network example, 189 rotating objects, 97 rotating raster images, 210 rows. See records rubber sheeting, 99 S save back to source drawings, 106 save back extents, 32 resetting, 32 setting, 32 viewing, 32 save sets, 7, 106 adding to, 107 saving, 108 saving changes, 108 scaling maps, 195 objects, 97 raster images, 210 SDF files, 65 Autodesk MapGuide, 63, 65 importing, 63 search paths for raster images, 209 Select statements, typing, 144 settings using customized from AutoCAD Map Rel 3, 17

sewer network example, 190 shapes display in Quick View, 35 sharing drawings, 109 sheet boundaries, maps, 217 short objects, erasing, 88 shortest path trace, 183 Show Who Has It command, 111 SIF files, 65 simplifying linear objects, 91 snapping clustered nodes, 93 software requirements for stand-alone computers, 12 sorting records in Data View, 130 spatial analysis, 182 spatial filter, 131 SQL Filter command (Data View), 131 SQL query conditions combining, 144 creating, 144 syntax standards, 144 typing, 144 stacking, maps, 42 Stand-Alone License Manager, 21 street network example, 190 symbol tables, 47 system folder write permission requirements, 13 system registry write permission requirements, 13 system requirements for stand-alone computers, 12 T Table Properties dialog box, 124 tables, 114 tables (external database), 127 customizing display, 130 defining link templates, 133 Edit mode, 127 editing in Data View, 131 filtering records, 130 linking to objects, 123, 135 navigating highlighted records, 137 printing, 131 sorting records, 130 View mode, 127 viewing properties, 124 tables (object data), 114 adding fields, 117, 118 adding records, 118 attaching, 117 deleting, 116 editing, 118 modifying fields, 117 renaming, 116

Index

243

templates, 151 text, 222 adding to queries objects, 162, 163 as object data, 217 defining insertion point, 98, 163 generating links, 217 Thematic Mapping command supported options, 158 thematic maps, 47, 156 advanced, 163 continuous, 160 creating, 158 discrete, 160 examples, 160 expressions, 159 property alteration, 163 queries, 163 query options, 158 tiling, maps, 42, 53, 56, 95, 217 title blocks, plotting, 216, 219 tolerances for cleanup errors, 84 node cleanup, 93 simplifying linear objects, 92 topologies defined, 2 topology, 166 administration, 177 auditing, 179 buffer analysis, 186 buffer examples, 187 centroids, 169, 175 completing, 178, 179 creating, 170, 171 deleting, 177 dissolving, 188, 189 editing, 177 editing examples, 178 errors, 170 examples, 189 flood trace, 183 islands, 168 left-right relationships, 169 link-node relationships, 167 link-polygon relationships, 168 links, 166, 167, 168 links, intersecting, 173 model, 167 network, 55, 166, 173 network examples, 189, 190 network flood, 183 network trace, 182 network, creating, 173 node, creating, 173 nodes, 54, 166, 167 object data, 170 overlay analysis, 183, 185

topology (continued) polygon, 56, 166, 168 polygon examples, 191 polygon, creating, 175 primitives, 167 queries, 187 recreating, 179 renaming, 177 result, 188 saving, 171 shortest path trace, 183 storing data, 172 travel time example, 190 undo, 178 trace network flood, 183 shortest path, 183 tracking coordinates, 202 transferring stand-alone licenses, 21 transformation for coordinates, 43, 196 for objects, 97 maps, 97 transparency bitonal raster images, 211 raster images, 211 setting color, 211 Transverse Mercator projection, 195, 199, 201 travel time using network topology, 190 trimming objects at boundaries, 102, 221 True option, plotting, 220 Typical installation, 15 U UDL (data link) files, 125, 126 creating, 126 creating automatically, 126 editing, 126 undershoots, extending, 90 unfreezing columns, 130 uninstalling Autodesk Map on stand-alone computers, 21 Universal Transverse Mercator projection, 198 unloading raster images, 207 updating coordinate systems, 200 upgrading to Autodesk Map from AutoCAD Map 2000 or 2000i, 15 from AutoCAD Map Rel 3, 15 on stand-alone computers, 13 options, 14 user-defined extents, 32

244

Index

V viewing drawings, 35 viewports, 215, 216 floating, 215 plotting, 215, 221 reference, 216 secondary, 216 views. See database queries Volo View Express, 16 W water-distribution network example, 190

weeding, 91 Who Has It command. See Show Who Has It command work sessions. See projects write permission requirements for stand-alone installations, 13 Z zoom controlling layers viewed, 37 to extents of source drawings, 36

Index

245

246

Potrebbero piacerti anche