Autodesk 15607-010000-5000A User manual

Category
Software
Type
User manual
15607-010000-5000A April 2004
Autodesk
MapGuide
®
What’s New in Release 6.5
12345678910
Copyright © 2004 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. This work is protected by U.S. and
international copyright laws. Its use is subject to the terms of the license agreement included with this software and agreed to
during the installation process.(c) 1982-2003 Autodesk, Inc. All rights reserved.
Autodesk Trademarks
The following are registered trademarks of Autodesk, Inc., in the USA and/or other countries: 3D Props, 3D Studio, 3D Studio MAX, 3D
Studio VIZ, 3DSurfer, 3ds max, ActiveShapes, ActiveShapes (logo), Actrix, ADI, AEC Authority (logo), AEC-X, Animator Pro, Animator
Studio, ATC, AUGI, AutoCAD, AutoCAD LT, AutoCAD Map, Autodesk, Autodesk Inventor, Autodesk (logo), Autodesk MapGuide, Autodesk
Streamline, Autodesk University (logo), Autodesk View, Autodesk WalkThrough, Autodesk World, AutoLISP, AutoSketch, backdraft, Biped,
bringing information down to earth, Buzzsaw, CAD Overlay, Character Studio, Cinepak, Cinepak (logo), Codec Central, Combustion,
Design Your World, Design Your World (logo), Discreet, EditDV, Education by Design, gmax, Heidi, HOOPS, Hyperwire, i-drop, Inside
Track, IntroDV, Kinetix, MaterialSpec, Mechanical Desktop, NAAUG, ObjectARX, PeopleTracker, Physique, Planix, Powered with Autodesk
Technology (logo), ProjectPoint, RadioRay, Reactor, Revit, Softdesk, Texture Universe, The AEC Authority, The Auto Architect, VISION*,
Visual, Visual Construction, Visual Drainage, Visual Hydro, Visual Landscape, Visual Roads, Visual Survey, Visual Toolbox, Visual Tugboat,
Visual LISP, Volo, WHIP!, and WHIP! (logo).
The following are trademarks of Autodesk, Inc., in the USA and/or other countries: AutoCAD Learning Assistance, AutoCAD LT Learning
Assistance, AutoCAD Simulator, AutoCAD SQL Extension, AutoCAD SQL Interface, Autodesk Envision, Autodesk Map, AutoSnap,
AutoTrack, Built with ObjectARX (logo), Burn, Buzzsaw.com, CAiCE, Cinestream, Cleaner, Cleaner Central, ClearScale, Colour Warper,
Content Explorer, Dancing Baby (image), DesignCenter, Design Doctor, Designer's Toolkit, DesignProf, DesignServer, Design Web Format,
DWF, DWFwriter, DWG Linking, DXF, Extending the Design Team, GDX Driver, gmax (logo), gmax ready (logo),Heads-up Design, jobnet,
lustre, ObjectDBX, onscreen onair online, Plans & Specs, Plasma, PolarSnap, Real-time Roto, Render Queue, Visual Bridge, Visual Syllabus,
and Where Design Connects.
Autodesk Canada Inc. Trademarks
The following are registered trademarks of Autodesk Canada Inc. in the USA and/or Canada, and/or other countries: discreet, fire, flame,
flint, flint RT, frost, glass, inferno, MountStone, riot, river, smoke, sparks, stone, stream, vapour, wire. The following are trademarks of
Autodesk Canada Inc., in the USA, Canada, and/or other countries: backburner, Multi-Master Editing.
Third Party Trademarks
Microsoft, PowerPoint, and Windows, are registered trademarks of Microsoft Corporation in the United States and other countries. Oracle
is a registered trademark of Oracle Corporation. ESRI is a trademark of Environmental Systems Research Institute, Inc., in the United States
and other countries. All other brand names, product names or trademarks belong to their respective holders.
Third Party Software Program Credits
Copyright © 2002 Microsoft Corporation. All rights reserved. InstallShield™ Copyright © 2002 InstallShield Software Corporation. All
rights reserved. Typefaces from the Bitstream (R) typeface library (c) 1992. Typefaces from Payne Loving Trust (c) 1996. All rights reserved.
International CorrectSpell(TM) Spelling Correction System (c) 1995 by Lernout & Hauspie Speech Products, N.V. All rights reserved. ACIS
(c) 1989-2001 Spatial Corp. All rights reserved. Active Delivery(TM) 2.0. (c) 1999-2000 Inner Media, Inc. All rights reserved. Portions (c)
1991-1996 Arthur D. Applegate. All rights reserved. Portions of this software are based on the work of the Independent JPEG Group.
AnswerWorks 4.0 (c) 1997-2002 WexTech Systems, Inc. Portions of this software (c) Lernout & Hauspie, Inc. All Rights Reserved. This
product includes software developed by the Apache Software Foundation .subject to its license terms and conditions
(http://xml.apache.org/dist/LICENSE.txt). Copyright (c) 1999-2000 The Apache Software Foundation. All rights reserved. PANTONE(R)
Colors displayed here may not match PANTONE-identified standards. Consult current PANTONE Color Publications for accurate color.
PANTONE(R) and other Pantone, Inc. trademarks are the property of Pantone, Inc. (c) Pantone, Inc., 2002. The Director General of the
Geographic Survey Institute has issued the approval for the coordinates exchange numbered TKY2JGD for Japan Geodetic Datum 2000,
also known as technical information No H1-N0.2 of the Geographic Survey Institute, to be installed and used within this software product
(Approval No.: 646 issued by GSI, April 8, 2002). OSTN97 (c) Crown copyright 1997. All rights reserved. OSTN02 (c) Crown copyright
2002. All rights reserved. OSGM02 (c) Crown copyright 2002, (c) Ordnance Survey Ireland, 2002. RAL DESIGN (c) RAL, Sankt Augustin,
2002. RAL CLASSIC (c) RAL, Sankt Augustin, 2002. Representation of the RAL Colors is done with the approval of RAL Deutsches Institut
für Gütesicherung und Kennzeichnung e.V. (RAL - German Institute for Quality Assurance and Certification, reg. Assoc.), D-53757 Sankt
Augustin. Please note that the representation of colors on monitors can only approximate the actual color shades as they are registered as
lacquered samples. Neither the quality of the present software nor the hardware used is responsible for it. (c) Stade de France - Macary,
Zublena et Regembal, Costantini - Architectes, ADAGP - Paris - 2003.
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.
Contents | i
Contents
Part 1 Autodesk MapGuide Server and Author Enhancements . . . .1
Chapter 1 Introduction . . . . . . . . . . . . . . . . . .3
Installation Notes . . . . . . . . . . . . . . . . . . 4
Upgrading From an Earlier Release . . . . . . . . . . . . . 4
Major New Features . . . . . . . . . . . . . . . . . 4
Chapter 2 Improved DWG Support . . . . . . . . . . . . . .5
Summary of Enhancements . . . . . . . . . . . . . . . 6
Dialog Box Changes: Autodesk MapGuide Server . . . . . . . . 7
Dialog Box Changes: Autodesk MapGuide Author . . . . . . . . 8
How Queries Work in Autodesk Map . . . . . . . . . . . . 9
Creating a Layer from a Query . . . . . . . . . . . . . . 10
How Themes Work in Autodesk Map . . . . . . . . . . . . 12
Creating a Layer from a Theme . . . . . . . . . . . . . . 13
Creating a Layer By Geometry Type . . . . . . . . . . . . 15
Theming a DWG Layer . . . . . . . . . . . . . . 17
Using a Secondary Table . . . . . . . . . . . . . . 19
Accessing Data Using a Link Template . . . . . . . . . . . 20
Chapter 3 DWF Support . . . . . . . . . . . . . . . . 23
Summary of DWF Support . . . . . . . . . . . . . . . 24
Setting Up a Data Source for DWF Files . . . . . . . . . . . 25
How DWFs are Published in Autodesk Map . . . . . . . . . . 28
Creating a Layer from a DWF File Sheet . . . . . . . . . . . 29
Displaying Friendly Names and URLs . . . . . . . . . . 31
Saving a View As a DWF File . . . . . . . . . . . . . . . 32
Chapter 4 Enhanced Layer Functionality . . . . . . . . . . . 35
Summary of Enhanced Layer Functionality . . . . . . . . . . 36
Providing Access to the Enhanced Layer Functionality API . . . . . 37
Using Geometry Functions . . . . . . . . . . . . . . . 39
Supported Geometry Functions . . . . . . . . . . . . 40
Sample Applied Geometry Functions . . . . . . . . . . 40
Applying Filters to Spatial Queries . . . . . . . . . . . . . 42
Turning Spatial Filtering On and Off . . . . . . . . . . 42
Changing the Dimensions of the Autodesk MapGuide Spatial Filter 44
ii | Contents
Using a Custom Spatial Query . . . . . . . . . . . . . 46
Sample 1: Running a Custom Query . . . . . . . . . . 51
Sample 2: Running a Custom Query Against an OLE Database . 52
Accessing the Oracle Linear Referencing System (LRS) . . . . 53
Using SQL Pass-Through Statements . . . . . . . . . . . 55
Tracking Enhanced Layer Features . . . . . . . . . . . . 58
Chapter 5 Oracle Spatial Data Provider Enhancements . . . . . . . 59
Dialog Box Changes . . . . . . . . . . . . . . . . . 60
Registry Structure Changes . . . . . . . . . . . . . . 61
Manually Editing a UDL File . . . . . . . . . . . . . . 61
Chapter 6 Using Buzzsaw with Autodesk MapGuide Viewer . . . . . 63
Accessing Maps and MWF Files from Buzzsaw . . . . . . . . 64
Referencing MWF Files from Autodesk MapGuide Applications . 64
Associating a Buzzsaw Document with a Map Feature . . . . . . 66
Managing the Autodesk MapGuide and Buzzsaw Interface . . . . 68
Avoiding Buzzsaw Interface Authentication . . . . . . . 69
Retaining the Current Map State . . . . . . . . . . . 71
Preventing the Non-Secure Site Warning . . . . . . . . 73
Appendix: Buzzsaw Code Integration . . . . . . . . . . . 74
Part 2 Changes and Additions to the MapGuide Viewer API . . . . 79
Chapter 7 DWG API Additions . . . . . . . . . . . . . . . 81
MGDwgDataSources Object . . . . . . . . . . . . . . 82
getFilterType Method . . . . . . . . . . . . . . 82
FilterType Property . . . . . . . . . . . . . . . 83
getQueryName Method . . . . . . . . . . . . . . 84
setQueryName Method . . . . . . . . . . . . . . 85
QueryName Property . . . . . . . . . . . . . . 86
getQueryCategory Method . . . . . . . . . . . . . 86
setQueryCategory Method . . . . . . . . . . . . . 87
QueryCategory Property . . . . . . . . . . . . . 88
getThemeName Method . . . . . . . . . . . . . 89
setThemeName Method. . . . . . . . . . . . . . 90
ThemeName Property . . . . . . . . . . . . . . 91
getThemeCategory Method . . . . . . . . . . . . 92
setThemeCategory Method. . . . . . . . . . . . . 93
ThemeCategory Property . . . . . . . . . . . . . 94
getNameSource Method. . . . . . . . . . . . . . 95
setNameSource Method . . . . . . . . . . . . . . 96
NameSource Property . . . . . . . . . . . . . . 97
getUrlSource Method . . . . . . . . . . . . . . 98
Contents | iii
setUrlSource Method . . . . . . . . . . . . . . . 99
UrlSource Property . . . . . . . . . . . . . . . 100
getWhereSource Method . . . . . . . . . . . . . 101
setWhereSource Method . . . . . . . . . . . . . 102
WhereSource Property . . . . . . . . . . . . . . 103
getSQLWhereClause Method . . . . . . . . . . . . 104
setSQLWhereClause Method . . . . . . . . . . . . 105
SQLWhereClause Property . . . . . . . . . . . . 106
isLinkedToSecondaryTable Method. . . . . . . . . . 107
LinkedToSecondaryTable Property . . . . . . . . . . 108
getSecondaryDataSource Method . . . . . . . . . . 109
setSecondaryDataSource Method . . . . . . . . . . 109
SecondaryDataSource Property . . . . . . . . . . . 110
getSecondaryTable Method . . . . . . . . . . . . 111
setSecondaryTable Method . . . . . . . . . . . . 112
SecondaryTable Property . . . . . . . . . . . . . 113
getSecondaryKeyColumn Method . . . . . . . . . . 114
setSecondaryKeyColumn Method . . . . . . . . . . 114
SecondaryKeyColumn Property . . . . . . . . . . . 115
getTreatClosedPolylinesAsPolygons Method . . . . . . . 116
setTreatClosedPolylinesAsPolygons Method . . . . . . . 117
TreatClosedPolylinesAsPolygons Property . . . . . . . 118
getTreatBlocksAsPoints Method . . . . . . . . . . . 119
setTreatBlocksAsPoints Method . . . . . . . . . . . 120
TreatBlocksAsPoints Property . . . . . . . . . . . 121
Chapter 8 DWF API Additions . . . . . . . . . . . . . . . 123
MGMap Object . . . . . . . . . . . . . . . . . . 124
saveAsDwf Method . . . . . . . . . . . . . . . 124
MGMapLayer . . . . . . . . . . . . . . . . . . 125
getLayerType Method . . . . . . . . . . . . . . 125
LayerType Property . . . . . . . . . . . . . . . 126
MGMapLayerSetup Object . . . . . . . . . . . . . . 126
getDwfDataSources Method . . . . . . . . . . . . 126
MGDwfDataSources Property . . . . . . . . . . . 127
getSourceType Method . . . . . . . . . . . . . 128
SourceType Property . . . . . . . . . . . . . . 128
MGDwfDataSources Object . . . . . . . . . . . . . . 128
getDataSource Method. . . . . . . . . . . . . . 129
setDataSource Method . . . . . . . . . . . . . . 130
DataSource Property . . . . . . . . . . . . . . 131
getDwf Method . . . . . . . . . . . . . . . . 132
setDwf Method . . . . . . . . . . . . . . . . 132
Dwf Property . . . . . . . . . . . . . . . . . 133
iv | Contents
getKeyColumn Method . . . . . . . . . . . . . . 134
setKeyColumn Method . . . . . . . . . . . . . . 135
KeyColumn Property . . . . . . . . . . . . . . 136
getKeyColumnType Method . . . . . . . . . . . . 136
setKeyColumnType Method . . . . . . . . . . . . 138
KeyColumnType Property . . . . . . . . . . . . . 139
getNameColumn Method . . . . . . . . . . . . . 140
setNameColumn Method . . . . . . . . . . . . . 141
NameColumn Property . . . . . . . . . . . . . . 142
getUrlColumn Method . . . . . . . . . . . . . . 143
setUrlColumn Method . . . . . . . . . . . . . . 143
UrlColumn Property . . . . . . . . . . . . . . . 144
getLayerFilter Method . . . . . . . . . . . . . . 145
setLayerFilter Method . . . . . . . . . . . . . . 146
LayerFilter Property . . . . . . . . . . . . . . . 147
getSheetName Method . . . . . . . . . . . . . . 148
setSheetName Method . . . . . . . . . . . . . . 149
SheetName Property . . . . . . . . . . . . . . . 150
Chapter 9 Enhanced Layer Functionality API Additions . . . . . . 151
Accessing the Enhanced Layer Functionality API. . . . . . . . 152
MGMapLayerSetup Object . . . . . . . . . . . . . . . 153
getGeometryFunction Method . . . . . . . . . . . 153
setGeometryFunction Method. . . . . . . . . . . . 154
getClipAdjust Method . . . . . . . . . . . . . . 155
setClipAdjust Method . . . . . . . . . . . . . . 156
getClipEnabled Method . . . . . . . . . . . . . . 157
setClipEnabled Method . . . . . . . . . . . . . . 158
getPreSQLStatements Method . . . . . . . . . . . . 159
addPreSQLStatement Method . . . . . . . . . . . . 159
clearPreSQLStatements Method . . . . . . . . . . . 160
getPostSQLStatements Method . . . . . . . . . . . 161
addPostSQLStatement Method . . . . . . . . . . . 162
clearPostSQLStatements Method . . . . . . . . . . . 163
getSpatialQuery Method . . . . . . . . . . . . . 164
setSpatialQuery Method. . . . . . . . . . . . . . 164
New -18 Custom Spatial Query Error Code . . . . . . . . . 165
MGMapLayerSetup Object . . . . . . . . . . . . . 166
MGDatabaseSetup Object . . . . . . . . . . . . . 166
Index . . . . . . . . . . . . . . . . . . . . . . . 169
1
Part 1
Autodesk MapGuide Server
and Author Enhancements
The chapters in Part I document the changes and additions
made to Autodesk MapGuide Server and Autodesk
MapGuide Author to support the new features in this
release.
Chapter 1 Introduction
Chapter 2 Improved DWG Support
Chapter 3 DWF Support
Chapter 4 Enhanced Layer Functionality
Chapter 5 Oracle Spatial Data Provider
Enhancements
Chapter 6 Using Buzzsaw with Autodesk
MapGuide Viewer
2
3
1
Introduction
This document describes new and changed features in
Autodesk MapGuide
®
Release 6.5.
In this chapter
Installation notes
Upgrading from an earlier
release
Major new features
4 | Chapter 1 Introduction
Installation Notes
For complete installation and licensing information, please refer to the
Installation Instructions PDF file, which is available from the menu that
appears when you insert the Autodesk MapGuide installation CD.
For late-breaking installation updates and known issues, please refer to the
Autodesk MapGuide Readme (MGReadme.htm) located on the Autodesk
MapGuide installation CD and to the Autodesk MapGuide LiteView Readme
(LVReadme.htm) located on the Autodesk MapGuide LiteView installation
CD.
Upgrading From an Earlier Release
The MWF file format has changed for this release. If you open MWF files
from Release 6.3 or earlier in this release of Autodesk MapGuide Author, they
will be converted to the new format. If you want to keep the old files, be sure
to make backup copies before you save the new files.
If you are using DWG data created by Autodesk Map 3D 2005 (released in
April 2004), note that the default location of the acadmap.ini file is now
C:\Documents and Settings\All Users\Application Data\Autodesk\Autodesk Map
3D 2005\R16.1\acadmap.ini
If you are upgrading Autodesk MapGuide from a release earlier than Release
6.3, you may also want to read the following documentation:
What’s New in Release 6.3 (PDF file)
What’s New in Release 6 section in the Autodesk MapGuide User’s Guide
Major New Features
New features in Autodesk MapGuide Release 6.5 include:
Enhanced support for DWG format, including layers created directly from
DWG queries and themes. See page 5.
Enhanced support for DWF
format, including layers created from DWF
files. See page 23.
Enhanced layer functionality, with direct access to the analytical power of
databases such as Oracle
®
. See page 39.
5
2
Improved DWG Support
This chapter describes the enhanced support for DWG files
provided in this release of Autodesk
®
MapGuide. Most of the
changes covered in this chapter apply to Autodesk MapGuide
Author—there is only one change to the Autodesk MapGuide
Server Admin program. Follow the procedures in this chapter
to learn the new methods of authoring layers directly from
DWG files.
To review the new API functions for the DWG format, see
“DWG API Additions” on page 81.
In this chapter
Summary of enhancements
Dialog box changes:
Autodesk MapGuide Server
Dialog box changes:
Autodesk MapGuide Author
How queries work in
Autodesk Map
Creating a layer from a
query
How themes work in
Autodesk Map
Creating a layer from a
theme
Creating a layer by geometry
type
Accessing data using a link
template
6 | Chapter 2 Improved DWG Support
Summary of Enhancements
This release of Autodesk MapGuide provides greatly improved support for
DWG files, particularly those created in Autodesk Map. In previous releases,
you could only bring in the entire DWG or certain layers from it. To extract
geometry of a particular type from the DWG file, it was necessary to convert
the polygons, points, or polylines to individual SDF files first.
The new release gives you much greater flexibility in working with DWG
files. The following is a complete list of DWG-related enhancements,
showing what you can now do in Autodesk MapGuide:
Create a new layer directly from an Autodesk Map query. See “Creating a
Layer from a Query” on page 10.
Create a new layer directly from an Autodesk Map theme. See “Creating a
Layer from a Theme” on page 13.
Create a new layer directly from objects of a particular geometry type. See
“Creating a Layer By Geometry Type” on page 15.
Theme layers created from objects of a particular geometry type. Autodesk
MapGuide now provides the same support for DWG data sources as it does
for SDF. See “Theming a DWG Layer” on page 17.
Link secondary tables to layers created from objects of a particular geom-
etry type. Autodesk MapGuide now provides the same support for DWG
data sources as it does for SDF. See “Using a Secondary Table” on page 19.
Access linked-template external data. All columns of linked tables are
available for selection. See “Accessing Data Using a Link Template” on
page 20.
Dialog Box Changes: Autodesk MapGuide Server | 7
Dialog Box Changes:
Autodesk MapGuide Server
New arc parameters have been added to the Autodesk Data Link Properties
dialog box. You access this dialog box by editing the properties of a DWG
data source in the Autodesk MapGuide Server Admin program. Using the
parameters, you can now specify how finely arcs are rendered as polylines
when they are brought into Autodesk MapGuide (note that finer arcs slow
performance).
New Advanced tab for Autodesk Data Link Properties dialog box
Defines the number of degrees
between the points that create the
line segments of the arc
Advanced tab has
additional content
8 | Chapter 2 Improved DWG Support
Dialog Box Changes:
Autodesk MapGuide Author
The Map Layer Properties dialog box has been rearranged and updated to
make it easier to use and to provide a logical interface for the new DWG
features.
New Map Layer Properties dialog box for DWG layer
Layer type appears
in the title bar
Map Server Agent
URL has been
moved to top of
work area
For Filter Type,
you can select
Layer, Query, or
Theme.
Name, URL,
Where tab has
been added.
(See the illustra-
tion below.)
Name and URL
fields to access
tables stored in
the DWG or
linked by a link
template
How Queries Work in Autodesk Map | 9
How Queries Work in Autodesk Map
In Autodesk Map, queries are used to extract a subset of data from a series of
DWG files. Queries can be saved in the DWG file. You can use these saved
queries to create new layers in Autodesk MapGuide. The following diagram
illustrates how a simple location query is created in Autodesk Map:
A typical query created in Autodesk Map
Three DWGs are attached.
Circle query retrieves all data within a circular area.
10 | Chapter 2 Improved DWG Support
In the illustration on the facing page, the drawing file PROJECT.DWG has
three drawings attached to it: PARCELS.DWG, SEWER_DATA.DWG, and
WATER_DATA.DWG. When the the Circle query is executed, it extracts all the
data that falls within a pre-defined circle from all three attached files.
The example in the illustration is a very simple query, called a location query
because it is based on a location in the drawing (in this case, a circular area).
Queries can be much more complex than this one, with multiple lines that
include SQL statements. However, to bring data from any Autodesk Map
query into Autodesk MapGuide Author, the procedure is the same.
Creating a Layer from a Query
Use the following steps to create a new layer from a query in Autodesk
MapGuide.
To create a new layer from a query
1 In Autodesk MapGuide Author, right-click Map Layers and then click
New Layer
Autodesk DWG.
2 On the General tab, enter a name for the new layer.
3 Click the Data Sources tab, and make sure that the map server agent path
is pointing to the correct location.
4 Click the Data Source Browse button, and select a DWG data source.
5 Click the Autodesk DWG Browse button, and select a DWG file.
6 Optionally, select a key table and key column if you want to associate
table data with the geometry on this layer. For more information, see the
topic “About DWG Data Sources” in the Autodesk MapGuide Help.
7 For Filter Type, select Query.
8 Click the Query Name Browse button, and select a query.
Creating a Layer from a Query | 11
You can also click the Query Category Browse button to select a particular
query category. If there are many queries defined in the drawing, this can
make the list more manageable.
9 Click OK.
The data specified by the query is retrieved from the server and displayed
in Autodesk MapGuide Author.
Filter type
set to Query
12 | Chapter 2 Improved DWG Support
How Themes Work in Autodesk Map
In Autodesk Map, themes are used to create thematic maps from data
contained in, or linked to, a series of DWG files. You can use these themes to
create new layers in Autodesk MapGuide. The following diagram illustrates
how a simple theme is created in Autodesk Map:
A typical theme created in Autodesk Map
The database is connected.
The DWG is attached.
The theme uses the data-
base table to change the
width of pipe lines in the
DWG.
Creating a Layer from a Theme | 13
In the illustration on the previous page, the drawing file
PROJECT_THEME.DWG has the WAT ER_DATA.D W G drawing attached to it.
The PROJECT_THEME.DWG drawing file is also linked to a database that
contains information about the pipes that make up the city’s water system.
A theme has been created to show the different pipe diameters. When the
theme is executed, it reads the data from the database and redraws the thick-
ness of the polylines in the drawing according to the diameter of the pipes.
The theme also has a legend, which was placed manually in the drawing after
the theme was created.
Creating a Layer from a Theme
Follow these steps to create a new layer from a theme in Autodesk MapGuide.
To create a new layer from a theme
1 In Autodesk MapGuide Author, right-click Map Layers and then click
New Layer
Autodesk DWG.
2 On the General tab, enter a name for the new layer.
3 Click the Data Sources tab, and make sure that the map server agent path
is pointing to the correct location.
4 Click the Data Source Browse button, and select a DWG data source.
5 Click the Autodesk DWG Browse button, and select a DWG file.
6 Optionally, select a key table and key column if you want to associate
table data with the geometry on this layer. For more information, see the
topic “About DWG Data Sources” in the Autodesk MapGuide Help.
7 For Filter Type, select Theme.
8 Click the Theme Name Browse button, and select a theme.
14 | Chapter 2 Improved DWG Support
You can also click the Theme Category Browse button to select a particular
category of theme. If there are many themes defined in the drawing, this
can make the list more manageable.
9 Click OK.
The data specified by the theme is retrieved from the server and displayed
in Autodesk MapGuide Author.
Filter type
set to Theme
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180

Autodesk 15607-010000-5000A User manual

Category
Software
Type
User manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI