background image

46

|

Chapter 2

Understanding Autodesk MapGuide

Phase Three: Implementation

In Phase Three, you implement your Autodesk MapGuide application 
according to the plan you developed in Phase Two.

To implement your application

1

If you will be installing additional servers, do so now, and test them as you 
did in Phase One.

2

Create a skeleton of your application (without the MWF), creating place-
holders and pseudo-code for your features and functions. 

3

If you are not using a data provider to access data directly, perform data 
conversion, and then put the converted files in the necessary locations. If 
you create any additional databases, go back to Phase One and create and 
test OLE DB data sources for each database you add.

4

Create the report scripts or applications that Autodesk MapGuide will use 
to generate reports.

5

Create the Zoom Goto data.

6

Build the map according to your plan. This includes creating the layers, 
and then adding the reports and Zoom Goto categories to the Map 
Window Properties dialog box. 

7

Add the MWF to the application skeleton, then test all layers, reports, 
Zoom Goto categories, and so on.

8

Build the placeholder functions and test them.

Summary of Contents for 15606-011408-9008 - MAPGUIDE R6.3 NAMED-100U PK

Page 1: ...15306 010000 5000 October 2001 Autodesk MapGuide Release 6 User s Guide ...

Page 2: ...itectural 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 Software Developer s Kit Autodesk Streamline Autodesk View DwgX AutoFlix AutoSnap AutoTra...

Page 3: ...thor Requirements 15 Autodesk MapGuide Server Requirements 16 Autodesk MapGuide Viewer Requirements 17 What s the Fastest Way Through This Book 18 Conventions Used in This Manual 21 Where to Get More Information 22 Autodesk MapGuide User Documentation 22 Autodesk MapGuide Developer Documentation 25 Third Party Documentation 26 Autodesk MapGuide Web Site 27 Online Discussion Groups 27 Autodesk Deve...

Page 4: ...rectory Structure 48 Directory Structure Guidelines 48 Security 50 Using Windows NT or Windows 2000 Security 51 Using Web Server Security 51 Using Autodesk MapGuide Security 51 Architecture and Performance 54 Which MapAgent to Install 54 Using a Remote MapAgent 55 Using Multiple Servers 56 Additional Performance Considerations 61 Choosing a Viewer Browser Environment 63 Chapter 4 Assembling and Ad...

Page 5: ...p Layer Access Log 91 Adding Geocoding Data 91 Chapter 5 Working with Data in Autodesk MapGuide 93 Basic Steps for Working with Data 94 Working with Spatial Data 94 Map Features 95 Creating a Spatial Data File 96 Working with Attribute Data 97 Linking Attribute Data to Spatial Data Files 98 Linking Attribute Data to Another Database 98 Preparing Attribute Data for Themes 99 Setting Up Your Attribu...

Page 6: ...alling Autodesk MapGuide Author 124 Starting Autodesk MapGuide Author 125 About Map Window Files and Map Window XML Files 126 Introduction to the Program Window Layout 127 Using the Map Window Popup Menu 127 Using the Toolbar 130 Setting Preferences 132 Opening a Map 132 Moving Around on a Map 133 Zooming to a Location 134 Zooming to a U S Street Address or ZIP Code 134 Using Bookmarks to Save the...

Page 7: ...Map Layers in the Map Explorer 155 Creating a Vector Layer 156 Creating a Raster Layer 157 Creating an Autodesk GIS Design Server Theme Layer 158 Creating an Autodesk DWG Layer 158 Creating a Layer Group 159 Specifying General Properties for Layers 159 Specifying Data Source Properties for Layers 160 Setting Style Properties for Layers 162 Setting Style Properties for Raster Layers 163 Specifying ...

Page 8: ...viii ...

Page 9: ...the Autodesk MapGuide products work together suggestions for using this guide in the most effi cient way and where to go for more information This chapter may be helpful to All Autodesk MapGuide users New Autodesk MapGuide users In this chapter Overview Key features of Autodesk MapGuide What s new in Release 6 System requirements What s the fastest way through this book Where to get more informati...

Page 10: ...tion requests generated by users as they interact with the application Key Features of Autodesk MapGuide Autodesk MapGuide Author Key Features Ability to open maps and save maps in XML format Map and resource security control Thematic map settings and symbology Complete layer setup and definition including support for layer groups Multiple Document Interface MDI support Global property settings in...

Page 11: ... data providers allowing direct access to Oracle Spatial SHP and Autodesk GIS Design Server databases Serves interactive maps and drawings to users who have installed Autodesk MapGuide Viewer Serves maps and drawings with limited interactivity without requiring installation of Autodesk MapGuide Viewer requires Autodesk MapGuide LiteView Autodesk MapGuide Viewer Key Features Access to dynamic secur...

Page 12: ... Viewer from the following Web site http www autodesk com mapguideviewerdownload Dynamic Authoring Toolkit The Dynamic Authoring Toolkit DAT is a new product offered within the Autodesk MapGuide product suite and designed to significantly increase the flexibility of Autodesk MapGuide application development This toolkit is used for supporting applications that incorporate dynamic map authoring inc...

Page 13: ...olkit Developer s Guide Symbol Manager Now you can create your own symbol SMB files that include many different file formats including bitmap and DIB graphics and TrueType fonts You can set up libraries of symbol files based on a theme or on the frequency with which you use certain symbols Support for Autodesk DWG This release of Autodesk MapGuide includes the capability to serve design or map dat...

Page 14: ...nclude both bitmap images and vector graphics in the same symbol file What s New in Autodesk MapGuide Server Improved Load Balancing Changes to the MapAgent files improve load balancing between servers All MapAgents now distribute requests evenly between the available servers even at low load MapAgents rank the available servers into an ordered list starting with the best candidate to process the ...

Page 15: ...ntly and under what conditions a map displayed in Autodesk MapGuide Viewer redraws Also new map redrawing functionality removes the flash that was visible when a map displayed in Autodesk MapGuide Viewer redraws System Requirements Following are the system requirements for using Autodesk MapGuide Author Autodesk MapGuide Server and Autodesk MapGuide Viewers Autodesk MapGuide Author Requirements Au...

Page 16: ... Service Pack 1 MDAC 2 5 is included on the Autodesk MapGuide product CD in the following location MDAC2 5 MDAC_TYP EXE MDAC 2 6 RTM with Microsoft Jet 4 0 with Service Pack 5 Pentium based PC 128 MB of memory 85 MB of free disk space plus additional space for your data VGA or higher resolution video adapter Mouse or compatible pointing device OLE DB providers required for access to relational dat...

Page 17: ... Windows NT 4 0 with Service Pack 4 or later or Windows 2000 Professional 486 or Pentium based PC with 16 MB of memory 24 MB required if using Windows NT 4 0 Mouse or compatible pointing device Web browser Netscape Navigator 4 x Autodesk MapGuide Viewer Java Edition Requirements Microsoft Windows 98 Second Edition Windows NT 4 0 with Service Pack 4 or later or Windows 2000 Professional 486 or Pent...

Page 18: ...ide which chapters to read I already have Autodesk MapGuide up and running If you already have data that you are using read Chapter 5 Working with Data in Autodesk MapGuide for information about how to optimize your data to improve performance If you want to evaluate how well you have set up your project whether to use multiple servers instead of a single server and other system design considerati...

Page 19: ...urces Data engineers need to work with map authors to determine what spatial data is needed for the maps and then either create or acquire that data Data engineers will find information they need in Chapter 5 Working with Data in Autodesk MapGuide and Chapter 6 Planning and Designing Maps Map Author The map author uses the resources provided by the data engineer to create maps in Autodesk MapGuide...

Page 20: ...iewer Webmasters will find information they need in Publishing a Map on page 151 Application Developer The application developer uses programming skills to build custom Autodesk MapGuide Viewer applications and server side scripts and reports Applica tion developers need to be able to perform the following tasks Create HTML pages with embedded Java JavaScript JScript or VBScript code that accesses...

Page 21: ...d or phrase Indicates this Choose Edit Properties Click the Edit menu and then choose Properties from the Edit menu If three levels of menus are shown it means that there is a secondary or submenu For example the text Click Start Settings Control Panel indicates that when you click the Settings menu item in the Start menu a submenu appears from which you choose Control Panel the Netscape home Comp...

Page 22: ...py code samples for use in your own work To copy text from a PDF file 1 Click the Text Select tool on the Acrobat Reader toolbar 2 Drag to select the text you want to copy 3 Right click and choose Copy from the shortcut menu The text is copied to the Clipboard Autodesk MapGuide User Documentation Following is a list of all of the guides and Help systems available for Autodesk MapGuide users Autode...

Page 23: ...elp system is provided with Autodesk MapGuide Viewer It includes information about using Autodesk MapGuide Viewer but does not include information for developers You can access this Help file from the Autodesk MapGuide Viewer popup menu by choosing Help Contents or by clicking the Help button on the main toolbar SDF Loader Help This Help system documents the SDF Loader command line utility It cont...

Page 24: ...ess this guide from the Start menu by choosing Programs Autodesk MapGuide Release 6 Docu mentation Provider for SHP Guide Provider for Oracle Spatial This guide is installed with the Autodesk MapGuide Provider for Oracle Spatial and is written both for system administrators who need to configure the product and for users who need to work with it You can access this guide from the Start menu by cho...

Page 25: ...Help system from the Autodesk MapGuide Documentation installer on the Autodesk MapGuide CD You can access this Help system from the Start menu by choosing Programs Autodesk MapGuide Release 6 Documentation Autodesk MapGuide Viewer API Help Dynamic Authoring Toolkit Developer s Guide This guide which is installed with the Dynamic Authoring Toolkit includes information about working programatically ...

Page 26: ...ping applications for Autodesk MapGuide LiteView You can access this guide from the Start menu by choosing Programs Autodesk MapGuide Release 6 LiteView Developer s Guide LiteView Sample Application Help These HTML files which are included with Autodesk MapGuide LiteView demonstrate the functionality of LiteView Third Party Documentation Many excellent third party books are available Your tastes m...

Page 27: ...these examples Tip From Autodesk MapGuide Author you can go directly to the Autodesk MapGuide Web site by choosing Help Autodesk MapGuide Web Site Online Discussion Groups The Autodesk online discussion groups located at http www autodesk com discussion are open forums for Autodesk customers partners or anyone with an interest in Autodesk s products You can post information or questions answer oth...

Page 28: ... and sample code Technical training Direct comprehensive technical support Marketing support Developer consulting services Access to private newsgroups ADN membership is open to experienced professional software developers who develop products and services that interface or integrate with Autodesk products For more information about membership requirements and fees go to the Autodesk developers We...

Page 29: ... products This chapter may be especially helpful to Server administrators Application developers New Autodesk MapGuide users In this chapter What is Autodesk MapGuide How Autodesk MapGuide components work together Map authoring products Map viewing products Map serving products Developing applications with Autodesk MapGuide What is Autodesk MapGuide application development Overall strategy ...

Page 30: ...rt of all customers affected by a particular transformer when it goes out of service You could also create a facilities map of your company including information about personnel in each office such as telephone extension title department and so on Keep in mind that when you use Autodesk MapGuide you are not limited to using geographically projected maps you can also use drawings floor plans schema...

Page 31: ...r to create a map or Autodesk MapGuide Viewer to view a map requests are made to Autodesk MapGuide Server to provide the required data in that map via the Internet an intranet or an extranet using the services of a Web server and a Web browser How Autodesk MapGuide Products Work Together The three core products in the Autodesk MapGuide suite of products are Autodesk MapGuide Author Autodesk MapGui...

Page 32: ...apGuide Viewer appears and displays the map Clients Clients Application Servers Application Servers Web Server Autodesk MapGuide Server Data Servers Data Servers Data Data Utilities Utilities Raster Workshop Raster Images CAD GIS Files DGN MID MIF VISION Cache ORACLE SDF MWF VISION Oracle Spatial Autodesk MapGuide LiteView Autodesk OnSite Servlet Autodesk OnSite Client Java Viewer ActiveX Viewer P...

Page 33: ...c Authoring Toolkit conversion component to convert the MWF to MWX and apply the user s changes Using the Dynamic Authoring Toolkit conversion component you can then convert the MWX back to MWF and send the modified map to the user s Viewer Symbol Manager Symbol Manager enables you to create and modify symbol SMB files so that the symbols in the SMB files are based on criteria you define You can a...

Page 34: ...DFs Write applications that modify SDFs generated by Autodesk Map Autodesk World or SDF Loader Create server side applications that read and modify existing SDFs These applications can interact with client side scripts allowing for dynamic updates based on user input For more information refer to the SDF Component Toolkit Help SDFCOMTK HLP located in the Help folder in the SDF Component Toolkit fo...

Page 35: ...d run helper programs such as Autodesk MapGuide Viewer Autodesk MapGuide Viewer Autodesk MapGuide Viewer displays a map in your Web browser when you open a Web page that contains an embedded MWF or when you click a link to an MWF Autodesk MapGuide Viewer is available in three versions A Plug In for use with Netscape Navigator on Windows systems An ActiveX Control for use with Microsoft Internet Ex...

Page 36: ...WFs When a user requests map data that request is received by the Web server and passed to Autodesk MapGuide Server For information about the type of Web servers Autodesk MapGuide supports see Autodesk MapGuide Server Requirements on page 16 Autodesk MapGuide Server Autodesk MapGuide Server serves map data in response to requests from Autodesk MapGuide Author and Autodesk MapGuide Viewer when a us...

Page 37: ...desk MapGuide Author or Autodesk MapGuide Viewer Autodesk MapGuide Server Admin Autodesk MapGuide Server Admin gives you complete operational control over Autodesk MapGuide Server You can set security generate log files configure data source directories and database access and start and stop the server Autodesk MapGuide Data Providers Autodesk MapGuide data providers enable Autodesk MapGuide to se...

Page 38: ...d in a Web page that has buttons and other controls on it that interact with the map Example of an Autodesk MapGuide application Autodesk MapGuide applications can be client side or server side A client side application runs in the user s browser using the processing power of the user s client computer It is typically an HTML page that hosts Autodesk MapGuide Viewer and contains code to access the...

Page 39: ...ion The HTML page might contain form elements such as buttons and list boxes and code that access the Web browser API and the Autodesk MapGuide Viewer API You can also display the map full screen not embedded in an HTML page by using the A HREF tag in an HTML page and creating a link to the MWF For more information refer to the Autodesk MapGuide Viewer API Help Web Browser Scripts Autodesk MapGuid...

Page 40: ...s the Viewer The API is available when you install any version of Autodesk MapGuide Viewer For more information refer to the Autodesk MapGuide Viewer API Help Web Browser APIs The Netscape and Internet Explorer APIs give you programmatic access to browser and document functionality The APIs include a Document Object Model DOM that exposes the elements in an HTML page With the browser APIs you can ...

Page 41: ... third party tool like ColdFusion by Macromedia Corporation or Microsoft Active Server Pages ASP Report scripts combine database queries and HTML tags to dynamically generate pages on the server These pages are then sent to the browser as standard HTML Because the design of the HTML page is specified as part of the report script the author of the report controls the way the page displays in the br...

Page 42: ...hat Is Autodesk MapGuide Application Development The Autodesk MapGuide application development process allows you to add Autodesk MapGuide functionality to your Web site The entire process includes writing the client side and server side code as well as the steps involved in designing your Autodesk MapGuide project and server layout setting up an Autodesk MapGuide Server and a Web server gathering...

Page 43: ...applications that allow you to modify your Spatial Data Files SDF by editing deleting or adding geographic features from the browser Overall Strategy Setting up Autodesk MapGuide and developing an application is much like cooking rather than working on one task at a time you need to work on several of them at once going back and forth between the tasks as needed This section uses this approach and...

Page 44: ...r URL in the Web browser to make sure that the browser is communicating with Autodesk MapGuide Server 4 Install Autodesk MapGuide Author and then open tutorial mwf to make sure you can access the Internet through Autodesk MapGuide Author If you will be using Autodesk MapGuide on an intranet only skip this step 5 If you are using a data provider to access data directly install the data pro vider as...

Page 45: ...nding on the current scale If so create multiple layers of the same area that turn on and off at particular display ranges Will the data on this layer be used in any reports If so make a note to add this layer to the Report tab when you set up your reports 4 Design your Autodesk MapGuide application This involves determining the following How will the user interact with Autodesk MapGuide Viewer an...

Page 46: ...r to access data directly perform data conversion and then put the converted files in the necessary locations If you create any additional databases go back to Phase One and create and test OLE DB data sources for each database you add 4 Create the report scripts or applications that Autodesk MapGuide will use to generate reports 5 Create the Zoom Goto data 6 Build the map according to your plan T...

Page 47: ...ad this chapter to decide how you want to design your system what type of security you need and what type of Viewer and browser environment you want to support before you install or configure any software This chapter may be especially helpful to Server administrators Application developers In this chapter Planning your directory structure Security Architecture and performance Choosing a Viewer br...

Page 48: ...d Web servers in the Autodesk MapGuide Help index Directory Structure Guidelines You will need to create a directory structure for any of the file types you use with Autodesk MapGuide In some cases you will also have to create virtual directories that map to physical directories Your main security strategy is to keep your data repositories hidden from the Internet You do this by placing spatial an...

Page 49: ...e Group files into projects with project directories After you group files into projects with project directories map virtual direc tories to the project name web directory For example if you create two project folders on the file system of your Autodesk MapGuide Server Projects project1 and Projects project2 map virtual directories to Projects project1 web and Projects project2 web but do not put...

Page 50: ...figuration file that points to the MapAgent_NSAPI dll file Typically the MapAgent_NSAPI dll directory is C Program Files Autodesk MapGuideServer6 MapAgents If you are going to use the CGI agent you must create a CGI directory and create a mapping to that directory in the Netscape Administrator Security Security is an important consideration when setting up any kind of server application With Autod...

Page 51: ...ervice provides the access permis sions which are in addition to the permissions provided by the NTFS file system Note that ColdFusion template files cfm files interact with the Web server in a similar manner to a CGI scripting process so any directory containing these files must also have Execute access The security considerations for your Autodesk MapGuide site are the same as those for any othe...

Page 52: ...assigning access keys to them using Autodesk MapGuide Server Admin An access key is a unique string that can include a start and end date To use a resource that has an access key assigned to it the map author embeds the access key in the layer or Zoom Goto definition that will access that resource Each time a user attempts to access that map layer such as by panning or zooming or Zoom Goto definit...

Page 53: ... the same account the System account or a user account Other wise the resources you see in Autodesk MapGuide Server Admin might not be the same resources that are available to Autodesk MapGuide Server See Config uring Autodesk MapGuide Server under a Different Account on page 75 for more information Accessing Data from the Autodesk MapGuide Viewer API Map authors can control whether developers can...

Page 54: ... are not distributing or mirroring your map data across multiple servers you might want to install the CGI MapAgent instead of the ISAPI or NSAPI MapAgents to avoid complications Note that the CGI MapAgent is slower than the ISAPI and NSAPI MapAgents because it does not run as part of the Web server ISAPI The ISAPI Internet Server Application Programming Interface MapAgent is an ISAPI server exten...

Page 55: ...ables anyone to use your maps but minimizes the possi bility of hackers accessing your data files or taking advantage of the commu nication between Autodesk MapGuide Server and your databases You can specify exactly which ports you want DCOM to use for communication between Autodesk MapGuide Server and the MapAgent The data passed between them is only useful for display in Autodesk MapGuide Viewer...

Page 56: ...equests This means that instead of using one server to process a large request or sending smaller requests one at a time multiple servers can process all smaller requests at the same time You do this by setting up your map layers to use data from different Autodesk MapGuide Servers Autodesk MapGuide Viewer will then send off requests for data for all of those layers in parallel where they are all ...

Page 57: ... of this the CGI MapAgent cannot track the number of requests dispatched to each server It randomly selects an available server for each request and then ranks all other servers based on their proximity to this server in the list that appears in the Window s registry The CGI MapAgent distributes requests evenly among all available servers regardless of their current workload Autodesk MapGuide Serv...

Page 58: ...ibuted Data vs Mirrored Systems There are two approaches to using multiple servers distributed data and mirrored systems In the distributed data model the servers contain different resource files so that the map data is distributed across the servers In the mirrored model you have multiple servers with identical setups and data so that the additional servers act as backups if the first server is b...

Page 59: ...repeated requests are made for the same data only the server containing that data will process the requests To make this model work you must plan the placement of your data carefully so that requests are distrib uted equally among the servers Example of distributed data Attribute Data MapGuide Server 1 Web Server 1 MapGuide Server 2 Web Server 2 MapGuide Server 3 Web Server 3 still more spatial da...

Page 60: ...hen requests are made to Web Server 2 all requests it receives are distributed for processing among three Autodesk MapGuide Servers each of which contains exactly the same data Thus in this example using a combination of methods several Web servers use the distributed data model and one of the distributed Web servers also uses the mirrored data model to handle its individual requests Setting Up Mu...

Page 61: ...guration Bandwidth is a critical factor This includes internal and external band width as well as network traffic particularly at peak hours on the Internet Your hardware has many factors that affect performance including processor speed memory and disk space This type of data Must be available to Comments Map source data SDFs data accessed using a data provider raster images OLE DB data sources A...

Page 62: ...inking it to a SQL table for the attribute data consider storing the points in the SQL table as well and using that table as the source for the layer Whenever you link an SDF to a SQL table it takes longer to process than a layer based on just an SDF or a SQL table This is not true of themes how ever When setting up a theme it doesn t matter whether the data source and theme source are the same SQ...

Page 63: ...o that a browser is not necessary Autodesk MapGuide Viewer LiteView Depending on which operating system and browser your users have they will use the Autodesk MapGuide Viewer ActiveX Control Autodesk MapGuide Viewer Plug In or Autodesk MapGuide Viewer Java Edition If all of your users are running the same operating system and browser such as on a corporate intranet you can develop your application...

Page 64: ...avigator Autodesk MapGuide Viewer Plug In HTML JavaScript Netscape Navigator Autodesk MapGuide Viewer Java Edition HTML JavaScript Java Any browser that supports PNG file format LiteView ColdFusion CF Active Server Pages ASP Java Server Pages JSP or Perl none stand alone application Autodesk MapGuide Viewer ActiveX Control Visual Basic Mac OS Internet Explorer Autodesk MapGuide Viewer Java Edition...

Page 65: ...on see Autodesk MapGuide ActiveX Control Viewer Requirements on page 17 Autodesk MapGuide Viewer Plug In for Netscape The Autodesk MapGuide Viewer Plug In exposes an API that is accessible from JavaScript and Java The Plug In API objects are exposed via Netscape LiveConnect technology If you develop an application only for the Plug In version of the Viewer users can access that application with Ne...

Page 66: ... has been compiled to directly instantiate MGMapApplet or MGMapComponent For platform infor mation see Autodesk MapGuide Viewer Java Edition Requirements on page 17 For implementation information see the Autodesk MapGuide Devel oper s Guide and the Autodesk MapGuide Viewer API Help LiteView LiteView is a Java program that runs on the server side as a servlet It converts an MWF file into a PNG imag...

Page 67: ...you decide how to set up your server security and architecture This chapter may be especially helpful to Server administrators Application developers In this chapter Setting up your servers Autodesk MapGuide Server Admin overview Starting and stopping the server Setting general server properties Setting up your data sources Managing server security Tracking server requests Adding geocoding data ...

Page 68: ...The Autodesk MapGuide Server installation program requires that you have Microsoft Windows Installer MSI on your computer MSI is included with Microsoft Windows 2000 If you do not have MSI on your computer the Autodesk MapGuide Server installation program will install the MSI soft ware for you You will then need to restart your computer and manually restart the Autodesk MapGuide Server installatio...

Page 69: ...s to install see Which MapAgent to Install on page 54 If during the installation you select a MapAgent for which you have not yet installed a Web server you will need to perform the following steps after you finish installing Autodesk MapGuide Server 1 Copy each MapAgent listed in the MapAgents Not Supported screen of the Autodesk MapGuide Server installation from the installation directory MapAge...

Page 70: ...that meets the criteria listed in Autodesk MapGuide Server Requirements on page 16 Netscape Navigator installed on your machine Either install Netscape Navigator from the Netscape Developer s CD or download it from http www netscape com An entry in a DNS server Make sure that the administrator of the DNS server in your network enters the computer on which you are installing Autodesk MapGuide Serve...

Page 71: ...uide Server installation process However if you want to use the MapAgent on a different computer from Autodesk MapGuide Server or if you want to take advantage of load balancing for multiple servers read the following sections for configuration information Setting Up a Remote MapAgent The MapAgent uses a Distributed Component Object Model DCOM to forward client requests for map data to the Autodes...

Page 72: ...uble click the Mapserver_IP value 3 By default the value is blank which directs the MapAgent to the local computer To direct the MapAgent to Autodesk MapGuide Server on a remote computer enter that computer s IP address If your Autodesk MapGuide Server IP address is assigned via DHCP the IP will vary over time in this case enter the DNS host name of the Autodesk MapGuide Server instead of the IP a...

Page 73: ...s For more informa tion see Understanding Multiple Simultaneous Server Requests on page 56 You may also want to consider purchasing a third party load balancing solution such as Microsoft Windows NT Load Balancing Service WLBS the F5 Networks 3DNS Controller or the RADWARE Web Server Director WSD products Firewalls When you use a remote MapAgent you need to configure your firewall to permit DCOM p...

Page 74: ...or your network administrator Warning This section does not address any security concerns regarding the con figuration of your firewall As with all changes to your firewall s configuration your network administrator should assess the risks that a change may bring If you set up more than one MapAgent see Using Multiple Servers on page 56 be sure to specify the correct MapAgent when you set up the m...

Page 75: ... run them under a user account that has access to that computer Follow these steps after installing Autodesk MapGuide Server To change the account for Autodesk MapGuide Server Service 1 Do one of the following In Windows NT choose Start Settings Control Panel and double click the Services icon In Windows 2000 choose Start Settings Control Panel Admin istrative Services 2 In the Services dialog box...

Page 76: ...s listed under Administering Your Autodesk MapGuide Server Starting and Stopping the Server You can start and stop the server using Autodesk MapGuide Server Admin Starting the server brings it online so that it is ready to accept and process requests Stopping the server takes it offline so that it cannot accept or process requests For step by step instructions choose Help Contents click the Index ...

Page 77: ...ster image files Autodesk GIS Design Server configuration data source Services that must start before starting Autodesk MapGuide Server To open the Properties dialog box In Autodesk MapGuide Server Admin choose Edit Properties The Properties dialog box is displayed You use the six tabs in this dialog box to specify all of the properties for Autodesk MapGuide Server This chapter includes basic info...

Page 78: ...Guide Autodesk MapGuide Server can access attribute data from an Autodesk DWG data source or any standard OLE DB data provider including Microsoft Access SQL Server Oracle or any ODBC data source using the Microsoft OLE DB Provider for ODBC Drivers Spatial Data Providers SDPs are similar to OLE DB Providers but with extended functionality that enables Autodesk MapGuide Server to access data stored...

Page 79: ... for ODBC MDAC 2 5 is included on the Autodesk MapGuide product CD in the following location MDAC2 5 MDAC_TYP EXE Tip If a native OLE DB provider is not available for your data source for example if you are using Lotus Notes you can use the Microsoft OLE DB Provider for ODBC Drivers Managing Your Data Sources Using Autodesk MapGuide Server Admin you can view a list of your data sources make data s...

Page 80: ...dd another level of security by using Autodesk MapGuide Server to control access to the resources SDFs DWG files raster image files SQL data tables and Zoom Goto Address definitions used by these published maps This means that you can set up Autodesk MapGuide Server to require additional authorization before providing resources requested by a map even if a user has access to the map You can do thi...

Page 81: ...ecurity model the user name and password are required only once for each layer that uses the restricted resource providing a high level of security without unnecessary impact on the user Together access keys and user passwords provide a great deal of flexibility in solving security problems over a variety of Internet intranet implementa tions The following table provides a summary of the differenc...

Page 82: ...n Map Layer File option If users want to add that layer to a map or create a new layer they must enter the correct access key for the resource or Autodesk MapGuide Server will not respond to a request for that resource Limit access to confidential data to a specific list of users Assign users to a group and assign that group to the confidential resources changing the pass words regularly Provide s...

Page 83: ... Contents click the Index tab and look up users and groups Assigning Users to the Authors Group Autodesk MapGuide Server contains a predefined group called Authors When creating a map layer in Autodesk MapGuide Author members of the Authors group can query Autodesk MapGuide Server for a list of the available data sources Such queries elicit a prompt for a user name and password which are validated...

Page 84: ... that uses data from lakes sdf Then whenever a user zooms in or out on the map or works with a feature on that layer Autodesk MapGuide Viewer sends the access key along with the request for data This happens automatically without the user being aware of the access key or needing to enter any information Autodesk MapGuide Server verifies that the access key is on the list of access keys assigned to...

Page 85: ...Edit Properties Then click the Access Keys tab Restricting Access to Resources You can restrict access to your resources data sources by adding the resources to the Resources tab in the Autodesk MapGuide Server Admin Properties dialog box To display the Properties dialog box choose Edit Properties Then click the Resources tab Click for details about the options in this dialog box ...

Page 86: ...Directory containing multiple SDF or raster image files OLE DB data source and all of its tables optionally a specific table ADL data source optionally a specific DWG file Zoom Goto specification Autodesk GIS Design Server data source optionally a configuration and theme Note that you add resources on this tab only if you wish to restrict access to those resources Click for details about the optio...

Page 87: ... MapGuide Server and Autodesk MapGuide Server Admin can access the same User DSNs To change the access properties of a resource you must first add the resource to the Resources tab of the Properties dialog box For step by step instructions on adding resources choose Help Contents click the Index tab and look up resources adding Taking Data Sources Offline When you need to update or replace a data ...

Page 88: ... can also rename and rotate log files and customize the access and map layer access log files For step by step instructions on viewing log files choose Help Contents click the Index tab and look up log files viewing Access Log File The access log file records all requests to Autodesk MapGuide Server and gives you a record of the activity at your site An access log record is created for each reques...

Page 89: ...nique Autodesk MapGuide Viewers for each day of the past twelve months and the total number of unique Autodesk MapGuide Viewers for each month The Summary Usage report displays the total number of bytes requests and users served each month These usage reports are not designed to provide absolute numbers they can help you spot trends in usage This helps you determine when you might need to improve ...

Page 90: ...les For a complete list of format codes you can use choose Help Contents click the Index tab and look up log files rotating Customizing the Access Log When a user sends a request to build map layer data in Autodesk MapGuide Author or Autodesk MapGuide Viewer the program sends a Map Layer Data MLData request Autodesk MapGuide Server site administrators can customize the information that is recorded...

Page 91: ... HKEY_LOCAL_MACHINE SOFTWARE Autodesk MapGuide Server 6 0 Log MapLayerAccessLog For a complete list of parameters that you can use to customize the map layer access log file choose Help Contents click the Index tab and look up map layer access log customizing Adding Geocoding Data Before you can enable zooming to a US street address or ZIP code Autodesk MapGuide Server must have access to a geocod...

Page 92: ...92 ...

Page 93: ... about the different kinds of data you can use with Autodesk MapGuide This chapter may be especially helpful to Data engineers Map authors In this chapter Basic steps for working with data Working with spatial data Working with attribute data Working with raster images Working with symbols Working with other types of spatial data ...

Page 94: ...00 7 Create reports and add them to the map For more information see Working with Reports on page 149 This chapter is designed to give you an understanding of the different types of data you can use with Autodesk MapGuide and how you create or procure the data For information about using the data in map layers see Chapter 9 Working with Map Layers Working with Spatial Data Coordinates that represe...

Page 95: ...n a map such as a telephone pole or a city Every point corresponds to a single coordinate pair that locates the point s symbol or text on the map To use the points from a Spatial Data File in a map you create a point layer Lines Polylines Polypolylines A line represents a linear feature such as a street river or sewer pipe A polyline is simply a line with multiple segments such as a winding road A...

Page 96: ... pair associated with it Creating a Spatial Data File Typically you use a GIS application to create your spatial data then export it to an Autodesk MapGuide SDF If the application you are using does not support the SDF format you can use SDF Loader or the SDF Component Toolkit to convert the data to SDF format Then Autodesk MapGuide Server reads the SDF data and sends it to Autodesk MapGuide Autho...

Page 97: ...ation that works with SDFs The SDF Component Toolkit provides powerful access to SDFs including the ability to work with individual features within an SDF This means that your program could convert individual features in the SDF rather than the whole file at once so you have more control of your conversion than you do with the SDF Loader For complete information refer to the SDF Component Toolkit ...

Page 98: ...DF only by their keys For more information see Setting Display Styles for DWG Layers on page 171 To avoid potential conversion problems be careful when creating the key field Depending on the type of database you might not be able to use the attribute data unless the key field in the database is exactly the same size as the key field in the SDF to which you are linking it Some databases when queri...

Page 99: ... in such a way as to show how heavy the traffic is a column indicating whether it s an interstate highway or city street will not be useful you will need a column that indicates how much traffic each road has You can then use this third column to specify how the roads are drawn to show traffic For example you might create four theme categories fewer than 200 cars per month between 201 and 5 000 be...

Page 100: ...re are two types of Zoom Goto data Zoom Goto Location categories and Zoom Goto Address data Zoom Goto Location Categories A Zoom Goto category enables users to zoom in on a specific location that falls within the current category For example if you have a category called Airports the user would be able to select from a list of airports and zoom to the selected airport on the map Features that need...

Page 101: ...based images such as digital photographs satellite images for example Raster images are very useful as background images underneath your vector data for example an aerial photograph of a city with a layer of streets overlaying it Autodesk MapGuide supports various raster image file formats The following section contains a complete list of supported file formats Raster Image File Formats The follow...

Page 102: ...iles and tiled TIFF files is dramatic You can use Raster Workshop to generate tiled TIFFs from other raster file formats ECW Files ECW supported by ER Mapper is a wavelet based image compression format with high quality results at high compression rates MrSID Files MrSID Multi Resolution Seamless Image Database supported by Lizard Tech Inc is a wavelet based image compression format designed speci...

Page 103: ...ses performance as only the necessary data is stored in memory instead of the entire image It is important to keep in mind that the RIC file only determines which images might be visible Georeferencing information for each individual raster image must still be available as this information not the information in the RIC file is used to place them in the correct position on the map Note that the ra...

Page 104: ...e background area of the top image For detailed information about creating a raster layer choose Help Contents click the Index tab and look up raster layers creating The extents outer boundary of each raster image must be specified using the xMin yMin xMax and yMax parameters These parameters specify the center or middle position of the lower left and upper right pixels of the image as opposed to ...

Page 105: ...sible The georeferencing informa tion from each image will be used to georeference the image within the tiled suite Georeference File Formats A georeference file indicates how to place a raster image on a map Autodesk MapGuide Author supports four georeference file formats ESRI world files MapInfo tab files GeoTIFF files and header files ESRI World File An ESRI world file is an ASCII text file tha...

Page 106: ...er image It contains control points to map pixel coordinates in a raster image to world or map coordinates To work in Autodesk MapGuide Author you need to specify the control points so that linear scaling is possible The raster image formats supported by the MapInfo tab file are TGA CALS PNG BMP JPEG and TIFF The following is an example of a tab file Example table version 300 charsest WindowsLatin...

Page 107: ...ains both the raster image and its georeference information Header File A header file is an ASCII text file containing keywords and values for speci fying the georeference information of the raster image This format works only with the GeoSPOT BIL raster image format The following is an example of a header file Example GIS GEOSPOT Header File Image Information DELTA_X_ORIGIN 0 0 M DELTA_Y_ORIGIN 0...

Page 108: ...ith associated HDR files Autodesk MapGuide Server can access BIL files randomly increasing performance over regular non tiled raster images in some situa tions For information about ER Mapper go to http www ermapper com Adding Raster Images to Your Map As stated earlier you can use raster images as layers that underlay vector layers so that for example street data could appear on top of an aerial ...

Page 109: ... for different purposes all three symbol managers support the following functionality Pasting symbols of any graphic file format from the Windows Clipboard into the Symbol Manager Creating complex symbols that contain both bitmap images and vector graphics Renaming symbols Making the color of a bitmap within a symbol transparent Importing symbol files of the following type Bitmap BMP Device Indepe...

Page 110: ...ymbols in the SMB file to a point layer or redline layer Using the Point Layer Symbol Manager dialog box from within Autodesk MapGuide Author you can select a point layer and add symbols For more information see Point Layers and the Point Layer Symbol Manager on page 111 Using the API Symbol Manager dialog box from within Autodesk MapGuide Author you can make symbols available to a redline layer F...

Page 111: ...x available in Autodesk MapGuide Author You use the Point Layer Symbol Manager dialog box to access symbol files within SMB files symbols saved to a local or networked location and symbols pasted to the Windows Clipboard The symbols you add to point layers are visible to Autodesk MapGuide Viewers and denote map features such as state capitals or other point layer features For details about adding ...

Page 112: ...in their native format and use the Autodesk MapGuide Provider for SHP with Autodesk MapGuide Server Oracle Spatial data Leave Oracle Spatial data in their native format and use the Autodesk MapGuide Provider for Oracle Spatial with Autodesk MapGuide Server GIS Design Server Theme Data Leave GIS Design Server Theme data in their native format and use the Autodesk GIS Design Server Extension with Au...

Page 113: ...s from the database to an SDF or OLE DB data source For example you could use Visual Basic with Autodesk GIS Design Server Objects and the SDF Component Toolkit This kind of utility is beyond the scope of this docu mentation and should be implemented by a system administrator who is familiar with Autodesk GIS Design Server and Autodesk MapGuide Parsing Map Feature Keys If you will be developing re...

Page 114: ...base The version mode number indicates whether the feature is from the Autodesk GIS Design Server permanent version or from one of the more recent versions as defined in the following table Version Mode Value Description 0 Permanent version Always version number 0 in the Autodesk GIS Design Server database 1 A recent version The most recent version number in relation to when the theme was generate...

Page 115: ... details about designing the maps and the information you will need from your server administrator This chapter may be especially helpful to Map authors Data engineers In this chapter Planning the data Planning layers Designing the map Information you need from your Autodesk MapGuide Server administrator ...

Page 116: ...the data set Do you want to show different versions of the data each of which is used at different display ranges Will you need to use raster data Where is the raster data referenced How is this data georeferenced Planning Layers After you have created gathered converted and prepared all of your data authors can use it to create their maps Remember that when you create a map and add data to it you...

Page 117: ... trying to click a street Note that if a particular data set will be selectable you should divide it by feature types transformers on one layer fire hydrants on another If the data set will be unselectable divide it the way you want it to display red lines on one layer green lines on another Do you want to display more or less data depending on the current scale If so create multiple layers of the...

Page 118: ...act point on the Earth Some types of arbitrary XY systems such as the state plane coordinate systems make use of both of these concepts Each coordinate system repre sents a specific area usually a state or a section of a state Within that area the coordinates are meaningful and represent exact locations on the Earth So a point with the coordinates 100000 100000 will always represent a specific loc...

Page 119: ...unit of the map is already very small such as inches on a facilities manage ment map of office equipment single precision will probably be sufficient For more information refer to the Coordinate Precision White Paper at http www autodesk com utilitypapers Choosing a Coordinate System If you do not know which coordinate system to use or if you need to decide which coordinate system to use in your o...

Page 120: ...tart adding several layers to achieve different results at various scale ranges it can become difficult to manage the process so taking an organized approach is critical during planning In addition to the columns shown in the example you could also add columns that indicate which server each layer uses whether it is selectable the layer type the layer group to which a particular layer belongs and ...

Page 121: ...as such as subdivisions or for maps in which right of way information is important Do not use an excessive number of colors Otherwise the map becomes too bright and the colors dominate Try to limit the map to four colors If you are not using themes use one color per layer For example if you have an SDF that contains roads and highways and you want to draw them in different colors it s usually best...

Page 122: ...this information The location of the resources and any access keys or passwords assigned to the resources You will use this information when setting up a layer The URL of the Autodesk MapGuide Server Agent or MapAgent If your organization has more than one Autodesk MapGuide Server you may have more than one MapAgent to choose from You specify the MapAgent you want to use when you set up a layer Ty...

Page 123: ...aps and layers and other map authoring fundamentals This chapter may be especially helpful to Map authors In this chapter Installing Autodesk MapGuide Author Starting Autodesk MapGuide Author Introduction to the program window layout Setting preferences Opening a map Moving around on a map Using the Map Explorer Viewing map information Measuring distances Selecting map features Creating buffers ar...

Page 124: ...art automatically when you insert the CD in the drive click the Start button on the Windows Taskbar and then choose Run In the Run dialog box enter e setup where e is your CD ROM drive 2 On the CD Browser screen click Autodesk MapGuide Author Products 3 In the Autodesk MapGuide Author Release 6 Setup dialog box click Next The Software License Agreement dialog box appears 4 Select your country of r...

Page 125: ...inder dialog box will appear every time you start Autodesk MapGuide Author From this dialog box you can access the dialog box in which you enter your serial number and authorization code Starting Autodesk MapGuide Author To work with your map you need to gain access to your server for example log on to your network so that you have access to the server before you start Autodesk MapGuide Author If ...

Page 126: ... Both MWFs and MWXs contain map informa tion such as the map boundary the background color data source informa tion SQL databases SDFs and raster image files layers of cartographic data such as roads and countries layer display information such as attributes and visible scales and map display configuration specifications such as menus and legends MWFs can only be modified using Autodesk MapGuide A...

Page 127: ...s You use the commands in the popup menu to modify map prop erties move around on a map or get information about map features As a map author you can modify the popup menu to show or hide functionality in Autodesk MapGuide Viewer You can customize all but the first item on the popup menu by adding or deleting commands or by modifying the actions assigned to specific commands For more information s...

Page 128: ...es dialog box where you can specify the name location and coordinate system of a map file set up reports specify locations that can be zoomed to by name customize the popup menu and assign a pass word to the map This command does not appear in Autodesk MapGuide Viewer Pan Moves the map to display areas that are outside the current view Drag the hand cursor to move a different area of the map into ...

Page 129: ...oom commands see Moving Around on a Map on page 133 Bookmarks Accesses the Bookmark commands You can use these commands to add a bookmark for the cur rent view to the Bookmark menu so that you can quickly access this same view of the map again select a bookmark or delete existing bookmarks Select Accesses the Select commands which you can use to select features on the map in various ways View Acce...

Page 130: ...ap Window Properties dialog box where you can specify the name location and coordinate sys tem of a map file set up reports specify locations that can be zoomed to by name customize the popup menu and assign a password to the map Print Prints the current map view Copy Copies the current map view to the Clipboard as an Enhanced Windows Metafile EMF Programs that can not display Windows metafiles WM...

Page 131: ...you click Zoom Previous Returns to the previous zoom magnification and loca tion Zoom Goto Zooms to a specified location Unzoom Redraws the map so that Autodesk MapGuide Author displays the full extents of the map in the current window Stop Stops or interrupts Autodesk MapGuide Author from updating the map display Reload Reloads the map from the last saved version This option discards any changes ...

Page 132: ...sing File Preferences For step by step instructions choose Help Contents click the Index tab and look up preferences Opening a Map Autodesk MapGuide Author can open maps saved as Map Window Files MWF and Map Window XML Files MWX in the following ways Open a map located on a local or network drive using the File Open command Download and open a map from a Web server using the File Open Location com...

Page 133: ...point on the map to indicate the center of the magnified area To zoom to a specific area drag a rectangle around the area and then release the mouse button to zoom to the enclosed area Zoom Goto Zooms to a specified location Select a category enter the name of a location and then specify the width of the area you want to view Autodesk MapGuide Author zooms to the specified width using the specifie...

Page 134: ...ocation To open this dialog box choose Edit Zoom Goto and then click the Location tab For step by step instructions choose Help Contents click the Index tab and look up zooming to a location Zooming to a U S Street Address or ZIP Code If the map was authored to include a United States geocoding database you can type in a street address or ZIP code and zoom right to it on the map You use the US Str...

Page 135: ...u type or select for your bookmark cannot contain any commas question marks ampersands or pound symbols For step by step instructions on using bookmarks choose Help Contents click the Index tab and look up bookmarks Using the Map Explorer The Map Explorer which appears on the left side of the Autodesk MapGuide Author window contains the Design tab and the View tab Both tabs display the layers and ...

Page 136: ...d in the legend in black and those that are unavailable at the current scale are dimmed gray The check boxes in front of the layer names indicate whether or not the available layers are visible by default when the layers are within the current display range You can turn a layer s visibility on or off simply by clicking its check box Selected layers are highlighted When a layer is selected you can ...

Page 137: ...ave finished creating a map you can use the View tab to see how the map s legend will appear in Autodesk MapGuide Viewer This can help you verify that you have created your layers as you planned You can turn layers and layer groups on and off from the View tab by clicking the check box next to a layer or layer group name Note The default width of the View tab is 275 pixels while the default width ...

Page 138: ...els so that you can set the Viewer legend to a specific width Viewing Map Information You can easily get information about the map as well as about individual features on the map The status bar displays information about the map For example it displays the current map scale width and height as shown in the following illustration The status bar also displays information about individual features on...

Page 139: ...oints in succession you can view the distance between each segment you measure as well as the cumulative total of all segments measured For each map you create using Autodesk MapGuide Author you can specify whether to use the Euclidean or Great Circle formula for measuring distances If your map uses arbitrary XY coordinates you must use the Euclidean formula For maps using geographic coordinate sy...

Page 140: ...s the same as the distance of the segment Selecting Map Features When you select features on the map you can then view a report that provides information about the selected features or you can adjust the map display to zoom to the selected features The number and type of selected features are displayed on the status bar at the bottom of the map You can select map features only if you enable the Ma...

Page 141: ...Portions of unselected map features also change color if a feature in a layer beneath them is selected These color changes differentiate the different layers Creating Buffers Around Map Features A common GIS spatial query involves finding all features within a specified distance or a buffer of one or more other features A buffer is a polygon that defines its boundaries at a specified distance from...

Page 142: ...r a new store or substa tion you might want to print out the map that accompanies a report you generated to present to others on your team You can customize your printed maps by including a title a legend a scale bar a North arrow the map s URL and the current date and time Also you can specify the scale of the map you want to print or you can have MapGuide automatically scale the map to fit the p...

Page 143: ...on about customizing the Map Window popup menu working with reports and keeping track of how and when users access your map This chapter may be especially helpful to Map authors In this chapter Creating a new map Specifying a coordinate system Specifying a password to protect a map Creating and modifying Zoom Goto location categories Customizing the popup menu Working with reports Tracking user ac...

Page 144: ...eate using the File New command in Autodesk MapGuide Author The file used to create new maps is called Newmap mwf If you prefer to start with a different map for all new maps that you create you can do so by saving your own map as Newmap mwf over writing the default new map For more information choose Help Contents click the Index tab and look up newmap mwf Specifying a Coordinate System The coord...

Page 145: ...ng the information stored in its MWF file When you assign a password to a map users must enter the correct password each time they open the map Warning Don t forget your password Autodesk MapGuide Author has no mechanism for accessing passwords so assign them thoughtfully and record them in a secure location You use the Security tab of the Map Window Properties dialog box to specify a password for...

Page 146: ...k MapGuide Viewer which zooms to the specified location For example if you have a database containing the coordinates for each country in the world you could create a category called World Country This would allow users to zoom directly to a country simply by typing the name of the country in the location box Adding location categories to your map can save users a lot of time You can create modify...

Page 147: ... and you want to include newline characters to create multi line MapTips from the feature names In this case you should add a second field for use as feature names in MapTips that contains the same name Field Type of Data It Contains Location name The name to display if one or more features have been found that match the query you specify Minimum latitude The minimum latitude for polylines and pol...

Page 148: ...ries US Street Address Customizing the Popup Menu The Map Window popup menu provides quick access to Map Window commands from the menus and toolbar buttons You can customize all but the first item on the popup menu by adding or deleting commands or by modifying the actions assigned to specific commands The changes you make to the popup menu in Autodesk MapGuide Author will appear when users view y...

Page 149: ...are using In addition to the report itself you need a data source that contains the infor mation you will use in the report Each record in the data source must either contain a key that matches the key of the spatial feature to which you want it linked or it must contain coordinates in latitude longitude format For more information see Specifying Data Source Properties for Layers on page 160 To ad...

Page 150: ... Access to a Map To keep track of access to your map you can set a tracking ID that is stored with the map When users access a map that has a tracking ID every action they perform such as panning or zooming can be logged by Autodesk MapGuide Server Using Autodesk MapGuide Server Admin you can then run a report to monitor usage based on the tracking ID This can be useful for example if you want to ...

Page 151: ...g maps Publishing a Map You can publish a map by copying or uploading the map to your Web server Note You must have either FTP access or Write access to the maps directory If you are not able to save the map to the Web server you should ask your server administrator to post it for you For step by step instructions choose Help Contents click the Index tab and look up publishing maps After you have ...

Page 152: ...152 ...

Page 153: ...ng layers This chapter may be especially helpful to Map authors In this chapter About map layers Working with map layers in the Map Explorer Specifying general properties for layers Specifying data source properties for layers Setting style properties for layers Specifying security for layers Modifying multiple layers simultaneously Saving a layer Adding a saved layer to the current map Rebuilding...

Page 154: ...he map Autodesk MapGuide Server sends the data for the visible area only not for the entire map Dynamic layers are most appropriate for medium to large data sets and for maps that cover a large area A static map layer stores a snapshot copy of the layer data for the entire Map Window and embeds it in the map file Because all of the data is already in the map the layer takes a little longer to load...

Page 155: ...ctor layers which you might place over a single raster image that you use as a background image If you have Autodesk GIS Design Server theme data and the Autodesk GIS Design Server Extension you can create Autodesk GIS Design Server theme layers If you have Oracle Spatial data and the Autodesk MapGuide Provider for Oracle Spatial you can create Oracle Spatial layers If you have Autodesk DWG files ...

Page 156: ...y one map feature type You create vector map layers from spatial data provider SDP data sources if you are creating point or text layers you can also create them from points in a SQL database table that you have set up as an OLE DB data source You can also use SQL database tables to link style information to the features in a layer For example you could link a layer of roads to a table that provid...

Page 157: ...ther a single raster image or a Raster Image Catalog RIC file A RIC file lists all the raster image files that tile the area covered by a map or map layer When you access a layer that references a RIC file Autodesk MapGuide Server scans through the RIC file to determine the images or portions of images that correspond to the area being viewed It then sends the data for that area only Keep in mind ...

Page 158: ...efinitions of the features in the Autodesk GIS Design Server theme on which the layer is based For step by step instructions choose Help Contents click the Index tab and look up Autodesk GIS Design Server creating Autodesk GIS Design Server theme layers Creating an Autodesk DWG Layer If you have Autodesk DWG files you can create Autodesk DWG layers by choosing New Layer Autodesk DWG Layer from the...

Page 159: ...hat you can turn on or off all of the layers in a layer group with a single command For step by step instructions choose Help Contents click the Index tab and look up layer groups Specifying General Properties for Layers You use the General tab of the Map Layer Properties dialog box to assign a name to the map layer You can also specify properties that control how it will be listed in the legend w...

Page 160: ...that you created with the View Buffer command the Data Sources tab is not available To specify data source properties 1 Double click a layer in the Design tab of the Map Explorer and then click the Data Sources tab in the Map Layer Properties dialog box 2 Do one of the following For an SDP Spatial Data Provider or OLE DB Data Source select from the Draw Features From drop down list For a DWG Autod...

Page 161: ...ferent secondary tabs as shown below Note The Position Size Alignment Rotation tab is available only for text and point layers based on an OLE DB data source If you choose DWG Data Source the following dialog box appears Secondary tabs for OLE DB Data Sources OLE DB Data Source and Position Size Alignment Rotation ...

Page 162: ... data Note Raster layers have different style properties from vector layers For more information see Setting Style Properties for Raster Layers on page 163 When specifying the style properties for a layer you are setting up one or more style sets Each style set has a display range and at least one style that controls how the data displays By default there is only one style set per layer but you ca...

Page 163: ...the Index tab and look up layers style properties Styles tab for vector layers Setting Style Properties for Raster Layers The style properties that you can set for raster layers are different from those you can set for other types of layers For step by step instructions choose Help Contents click the Index tab and look up raster layers styles Help Index raster layers styles ...

Page 164: ... is within the display range currently shown in the Display Ranges box When the current zoom level of Autodesk MapGuide Author or Autodesk MapGuide Viewer is within the visible display range of a particular layer the program redraws that layer as specified in the associated style set Most map layers have only one style set but multiple style sets can be useful for some polyline map layers In the f...

Page 165: ...e as the previous style set s To value Do not set one range to 0 20 000 and then set the next range to start at 20 001 If you want to draw the same data multiple times in different ways to create the effect of complex line styles you can specify multiple styles for a single style set For details see Creating Complex Line Styles with Polylines on page 170 For step by step instructions on specifying...

Page 166: ...ings for each theme category separately For more information see Setting Display Styles for DWG Layers on page 171 Specifying Size Units for Text and Point Layers With text and point layers you can specify whether to use screen units inches or centimeters or mapping coordinate system units to express the width and height of features in the map To specify size units you click the Size Units button ...

Page 167: ...files EMF Bitmaps BMP Device Independent Bitmaps DIB and pictures from the Clipboard as symbols Additionally you can create your own symbols in Autodesk Map and import or paste them into Autodesk MapGuide Author For details about working with SMB files and symbols see Working with Symbols on page 109 To specify styles for point layers you double click a style or click Change in the Styles tab of t...

Page 168: ...or point layers For details about working with SMB files and symbols see Working with Symbols on page 109 Setting Display Styles for Text Layers You can specify the font color background alignment height and rotation of text layer features To specify styles for text layers double click a style in the Styles tab of the Map Layer Properties dialog box to display the Text Style dialog box Help Index ...

Page 169: ...ers You can specify the line style color and thickness of polyline layer features To specify styles for polyline layers you double click a style in the Styles tab of the Map Layer Properties dialog box to display the Polyline Style dialog box For step by step instructions choose Help Contents click the Index tab and look up polyline layers styles Help Index polyline layers styles ...

Page 170: ...Map Layer Properties dialog box In the preview box the right half of each style shows the style you specified for it and the left half of each style shows the cumulative effect of drawing that style on the previous style the first style in the list is drawn first the second style is drawn on top of that and so on Thus the left side of the last style shows you the final style that will be used to d...

Page 171: ...e display styles of Autodesk DWG layers including the display range at which the layer is visible the number of times the user can zoom in before the layer is redrawn and whether to render fonts describing layer features using TrueType fonts or polygons For step by step instructions choose Help Contents click the Index tab and look up DWG layers setting styles Help Index DWG layers setting styles ...

Page 172: ...tep by step instructions choose Help Contents click the Index tab and look up themes creating Specifying Layer Feature Labeling and Overposting Use the Labels And Overposting area in the Styles tab of the Map Layer Prop erties dialog box to specify the font size color and map display range of automatic labeling for this style set and to control how features overlap on a layer Labels And Overpostin...

Page 173: ...ta If keys do not match access to the resource data is denied If the resource does not use an access key the access key embedded in the layer is ignored You can also control whether Autodesk MapGuide Viewer API users can obtain coordinate information from map features in your map and whether they can access the map layer setup Disabling API access to the coordinates prevents developers from writin...

Page 174: ...Help Contents click the Index tab and look up layers modifying multiple Saving a Layer After you save a layer as a Map Layer File MLF you can use it to create new layers in the same map or in different maps This can save you time if you create similar layers repeatedly because you can simply add the MLF as a new layer and make modifications to its existing settings Therefore you should consider sa...

Page 175: ... data Using a saved layer saves you the work of having to recreate the same layer for each map Before you can add a layer from one map to another you must save the layer To add a saved layer to a map 1 Right click over the Map Layers item in the Design tab of the Map Explorer and then choose Add Layer From File 2 Navigate to the folder where the saved layer s MLF file resides select the folder and...

Page 176: ...e that deleting a layer group deletes all of the layers in the group To delete a layer or layer group 1 In the Design tab of the Map Explorer select one or more layers or layer groups to delete 2 Right click and choose Remove from the popup menu A message appears to confirm the deletion 3 Click Yes to delete the selected layer s or layer group s ...

Page 177: ...ation counts Attribute data is used either to label map features create themes or generate reports See also spatial data attribute table See database and table Autodesk Data Link file ADL A file that establishes a connection between Autodesk MapGuide Server and Autodesk DWG files ADL files are similar to UDL files but have an adl file extension You can create or modify ADL files using Autodesk Map...

Page 178: ... parallels and a central meridian coordinate system origin The reference location for a planar coordinate system that is stored with a map Coverage A data format that includes files created in ESRI Arc Info You can convert these files to latitude longitude SDFs using the SDF Loader CTRL click A method of selecting multiple non contiguous items in a list by holding down the CTRL key and then clicki...

Page 179: ...yers without themes typically have only one display style which defines how to display all of the data on the layer Layers with themes typically have multiple display styles one for each category in the theme You specify different properties for each display style such as color fill style line width or point symbol Display styles are defined for each style set on a layer drive alias A name for the...

Page 180: ...w to scale and translate the raster image onto the current map GIS See Geographic Information System handle A unique numeric identifier for an Autodesk Map object hatch A regular pattern used to fill an area with a series of cross angled lines IntelliMouse A pointing device designed by Microsoft that has a wheel control a rotating wheel that is also a third button The IntelliMouse provides extende...

Page 181: ...of the symbols in a map and their meaning or val ues In the View tab of the Autodesk MapGuide Author Map Explorer and in Autodesk MapGuide Viewer you can use the legend to turn layers on and off so that the map fea tures they contain are no longer visible or selectable line A drawing entity with start and end coordinates connected by a single straight line Lines typically represent the shape of ma...

Page 182: ...get to a scale of 1 1 life size the larger the scale is Map Window File MWF Created with Autodesk MapGuide Author Map Window Files MWFs contain the specifications of the map window These specifications include the boundary of the map the background color data source information SQL data bases Spatial Data Files and raster image files layers of cartographic data such as roads and countries layer di...

Page 183: ...display areas in the map that at the current viewing scale lie outside the window paper boundary A rectangle with a drop shadow that represents the printable area It is also called the Printable Page pattern A property of a fill entity that consists of an artistic or mechanical design A pattern typically incorporates lines or symbols that are equidistant from each other in the form of a matrix For...

Page 184: ... ability to overlay vector data on raster data is a key feature of Autodesk MapGuide For example you can display a raster image file containing a photograph of a particular area and then overlay a layer of streets and ZIP code boundaries to help identify landmarks in the pho tograph Because raster images store a value for every pixel in the grid rather than stor ing only the vertices of the lines ...

Page 185: ...in SQL databases See also attribute data and raster image file Spatial Data File SDF The Autodesk MapGuide native file format for files that con tain spatial data such as roads cities and countries Spatial Data Provider SDP An OLE DB data provider that can process spatial queries and access spatial data SQL See Structured Query Language SQL Select statement A SQL statement that you specify to sele...

Page 186: ...es might be property assessment housing qual ity population density and average rainfall TIFF See Tagged Image File Format ToolTip An online Help feature that displays a brief explanation of a toolbar button when you hold the mouse pointer over the button for more than a second See also MapTip TrueVision Targa 2 0 TGA A format for compressing raster images also referred to as TARGA UCS A coordinat...

Page 187: ... progressively smaller areas when you zoom in or larger areas when you zoom out of an image Zoom Goto category A set of locations you can zoom to For example a Zoom Goto category Offices might allow you to type the name of one of your offices and zoom directly to it on the map ...

Page 188: ...188 ...

Page 189: ... annotations about 96 API Symbol Manager adding symbols to redline layers 110 redline layers adding symbols to 112 API See Autodesk MapGuide Viewers API Apple Macintosh 63 and the Autodesk MapGuide Viewer Java Edition 35 APPLET tag using 39 application developers responsibilities and required skills 20 application development See also Autodesk MapGuide Viewer API applications client side 38 overal...

Page 190: ...ntation 47 66 online Help 21 product architecture 30 roles and required skills 18 20 security 51 54 understanding 30 Web site URL 27 Autodesk MapGuide Author about 32 and map authors 19 CD installation 124 evaluation period 125 hard disk requirements 15 installing 124 installing and testing 44 key features 10 Map Explorer 135 memory requirements 15 new features 14 online Help 22 opening a map 132 ...

Page 191: ...nversion and the SDF Loader 97 responsibility for 19 BIL Band Interleaf files 108 bitmap symbols 109 bitmaps making transparent 109 bookmarks setting 135 browser requirements 15 buffer layers 157 160 172 rebuilding 175 restrictions 172 themes 172 buffers creating 141 defined 141 C C writing applications with 34 36 40 categories for zoom locations 146 CGI designing reports 45 MapAgent 54 changing m...

Page 192: ...location categories 147 formats 147 properties specifying 160 data sources continued renaming 79 restricting access to 85 87 specifying properties 160 specifying type for layer 160 taking offline 87 tracking with spreadsheet 120 updating 87 viewing 79 databases linking to SDFs 44 second database 98 responsibility for access 20 updating via the map 42 viewing using a Web browser 42 datum shifts and...

Page 193: ...es 105 extranet defined 35 F FAT file system 51 fault tolerance distributed data 58 features creating buffers around 141 keys 113 labels for 172 measuring distances between 139 new in Autodesk MapGuide Release 6 12 on a map 95 features continued security 173 selecting 140 selecting from a list 100 viewing information about 138 fields for zoom location categories 147 file systems FAT and NTFS 51 fi...

Page 194: ...3 intermediate Autodesk MapGuide users getting started 18 Internet Explorer supporting 65 intranet defined 35 IP address editing remote server 72 ISAPI MapAgent 54 J Java choosing as scripting language 63 skills for application developers 20 writing applications with 36 40 Java Viewer See Autodesk MapGuide Viewers JavaScript and client side scripting 39 choosing as scripting language 63 skills for...

Page 195: ... about 95 LINK switch 63 linking an SDF and an SQL table 62 reports 149 SDFs to databases 44 to GIS Design Server map features 113 LiteView about 36 66 development considerations 66 understanding 36 load balancing 72 and third party software 73 loading Web documents linked to map features 139 location categories adding 146 Zoom Goto 100 locations creating zoom categories 146 zooming to 134 146 log...

Page 196: ... static 154 styles 162 171 map layers continued styles 162 171 symbols for 109 112 168 text styles 168 tracking with spreadsheet 120 understanding 154 155 units for text and point 166 map legend previewing 137 map performance exporting theme categories 62 improving with Raster Workshop 63 improving with tiled TIFF files 63 reducing data resolution 62 storing points in an SQL table 62 trimming feat...

Page 197: ...ck 70 Microsoft Windows Installer MSI 68 MIME types configuring manually 69 Minimum 147 mirrored data combining mirrored and distributed servers 60 distributing requests to mirrored servers 60 features 58 limitations 58 mirrored systems vs distributed data 58 Mobile Device Usage report 89 mobile devices Mobile Device Usage report 89 monitoring server requests 88 MrSID files 15 and RIC files 103 mu...

Page 198: ...F Autodesk MapGuide Developer s Guide 25 Autodesk MapGuide User s Guide 23 performance 54 63 determining needs for 45 improving via data preparation 61 via map authoring 61 via raster images 102 via site configuration 61 improving via raster images 103 MapAgents compared 54 multiple simultaneous server requests 56 scalability 56 using multiple servers 56 61 photographs See raster images pixel base...

Page 199: ...s 103 exporting from ER Mapper 108 file formats supported 101 grouping into catalog files 103 locating 104 raster images continued optimizing 34 placing on maps 105 resolution specifications 104 role of data engineers 19 selecting transparent background 104 specifying extents 104 parameters 104 search path 104 tiled TIFFs 102 working with 101 raster layers adding to maps 157 creating 108 157 data ...

Page 200: ...20 scale to limit visibility 117 scaling layer visibility 164 scripting languages 39 63 scripts client side 38 for reports 46 server side 38 SDF Component Toolkit about 34 and application developers 20 converting SDFs with 97 online Help 26 34 understanding 34 writing applications 34 SDF Loader about 33 and data engineers 19 and datum shifts 33 converting file formats 97 creating SDFs using 97 ins...

Page 201: ... categories 100 tables improving map performance 62 Where clause 100 stand alone applications 40 Standard Usage report 89 starting Autodesk MapGuide Author 125 starting Autodesk MapGuide Server 76 static map layers 154 improving performance 62 154 stopping Autodesk MapGuide Server 76 strategy for Autodesk MapGuide development 43 style sets 162 styles combining for polyline layers 170 display range...

Page 202: ...mwf using to test installation 44 U UDL files 78 UDP protocol 55 unlock method enabling access 53 updating data sources 87 updating via the map databases 42 SDFs 42 URLs linked to map features in GIS Design Server layers 113 US Street Address location category 148 requirements 148 Zoom Goto 101 usage reports 89 user accounts creating 83 user groups 80 81 creating accounts 83 editing accounts 83 us...

Page 203: ...ment 63 Windows OS Active Server Pages ASP 64 Java Server Pages JSP 64 Perl 64 Windows security setting 51 working with maps dynamically 41 World ESRI georeferencing files 105 X XY coordinates 118 Z ZIP codes zooming to 134 Zoom Gotos 147 address data 100 controlling access to address definitions 80 creating data 46 creating location categories 146 definitions viewing 136 geocoding files for 91 il...

Page 204: ......

Reviews: