【文章內(nèi)容簡介】
nt that the link is in. _self Loads the link into the same window in which the link was clicked. _top Loads the link into the full body of the window from which the link was clicked. Chapter Summary At the pletion of this chapter, you learned how to: ? 應(yīng)用 MapGuide Viewer 的瀏覽功能。 ? 在地圖上生成緩沖區(qū)和報(bào)告。 ? 應(yīng)用 ?Select Within? 功能進(jìn)行 functional reports。 ? 應(yīng)用 Scale 和 Latamp。Lon URL 參數(shù)用戶化一個地圖。 ? 應(yīng)用 URL 參數(shù)從地圖上去除狀態(tài)欄。 ? 應(yīng)用 URL 參數(shù)選擇一個特征。 Chapter 3: Introduction to Autodesk MapGuide Author 本章將介紹 Autodesk MapGuide Author 應(yīng)用程序,這在 Autodesk MapGuide 產(chǎn)品解決方案中是一個重要的組成部分。應(yīng)用 MapGuide Author 可以生成、編輯和管理地圖窗口文件( MWF), MWF 文件是最終要放到 web 服務(wù)器的公共內(nèi)容區(qū)域中,為了客戶來瀏覽地圖內(nèi)容。本章會把重點(diǎn)集中在如何生成一個新的地圖窗口文件,并為此地圖設(shè)置屬性。在后面幾章中還會介紹如何向一個地圖中增加圖層。 Objectives After pleting this chapter, you will be able to: ? 理解 Author 在 Autodesk MapGuide 產(chǎn)品線中所能夠?qū)崿F(xiàn)的功能。 ? 生成一個新的 MWF 文件。 Chapter 4: Working with Map Layers in Autodesk MapGuide Author 10 ? 明確在地圖窗口屬性對話框中的組成成分和相關(guān)功能。 ? 改變坐標(biāo)投影系統(tǒng)。 ? 保存一個 MWF 文件。 Chapter 4: Working with Map Layers in Autodesk MapGuide Author 11 Autodesk MapGuide Author 通過 MapGuide Author 可以生成 MWF 文件,它的界面 Autodesk MapGuide Viewer 的界面,然而具有更多的功能。下表列出的是在 MapGuide Author 中的所有功能,但不包括 MapGuide Viewer 的功能 。 可以配置一個附件來用戶化報(bào)告、 Zoom Goto 和彈出菜單。 生成靜態(tài)和動態(tài)地圖圖層。 在一個圖層中用光柵目錄文件生成多個光柵圖像。 通過比例來控制地圖圖層的顯示。 通過比例改變多個屬性設(shè)置。 支持用戶定義的符號和固定大小的符號 for both points and API。 設(shè)置自動標(biāo)簽特征 with overposting reconciliation。 ??? 遠(yuǎn)程編輯地圖。(例如打開地圖: :\\maps\)。 配置多服務(wù)器 /多數(shù)據(jù)庫連 接。 象征性地預(yù)覽比例和圖例。 通過圖例進(jìn)行 Web 預(yù)覽。 對 MWF, 圖層,和坐標(biāo)數(shù)據(jù)進(jìn)行安全控制。 可以生成永久的緩沖區(qū)圖層。 打印預(yù)覽 可以通過一個跟蹤 ID來標(biāo)記地圖,為了將來的監(jiān)視使用。 ??? Chapter 4: Working with Map Layers in Autodesk MapGuide Author 12 地圖窗口屬性結(jié)構(gòu) 本章會主要介紹地圖窗口屬性( Map Window Properties )對話框中的 General 和 Coordinate System 選項(xiàng)卡,并對其他的選項(xiàng)卡做一簡短介紹,詳細(xì)內(nèi)容在第 5 章中介紹??梢酝ㄟ^彈出菜單和工具欄按鈕來打開地圖窗口屬性對 話框,如圖 。 Figure : Popup menu amp。 toolbar button to access Map Window Properties Web 預(yù)覽 圖層列表 設(shè)計(jì)視圖 工具欄 報(bào)告配置 Configuration Zo m Goto 配置Configuration 彈出菜單配置 地圖 Chapter 4: Working with Map Layers in Autodesk MapGuide Author 13 General 在 General 選項(xiàng)卡中(圖 )可以為一個地圖命名,設(shè)置整體的背景顏色,加載符號,并設(shè)置地圖的中心和尺寸。 Figure : General tab of the Map Window Properties dialog box While naming a map or changing the background color might be selfexplanatory, the Take Center And Size From Current Zoom function might not be. In order to begin the process of creating a map for an application, you typically start by defining the maximum extents of the map. Then you can determine map layer properties for additional levels of specificity. By zooming into a country so that its geographic boundaries are within the view of the Autodesk MapGuide Author window, you can use Take Center And Size From Current Zoom to center the map within that window. This map is the base on which additional map layers are transposed and overlaid. Coordinate System The Coordinate System tab enables you to specify or change a map39。s coordinate system (Figure ). Chapter 4: Working with Map Layers in Autodesk MapGuide Author 14 Figure : Coordinate System tab of the Map Window Properties dialog box A global coordinate system is a description of the origin of a map, the projection system used, and the units being used. It describes how the sphere of the earth is projected onto a flat plane and converted to the Cartesian coordinate system. The following options should be considered when selecting a coordinate system for your maps: IV. Use the same coordinate system as the other staff in the anization. V. Use the same coordinate system as the most mon data source. VI. Use the same coordinate system used by people sharing the same data. the area is small, use the same coordinate system as the local city or county government. If the area is large, use the same system as the state, regional, provincial, or national mapping group. surveyors, cartographers, consultants, and other mapping professionals for suggestions. Note that Raster images will usually be georeferenced to a specific coordinate projection. Map makers have to cope with the problem of taking lines that appear straight on the earth39。s curved surface and drawing them on a flat map. Map projections refer to the techniques cartographers and mathematicians have devised over the centuries to depict all or part of a threedimensional, roughly spherical surface (like the earth) on a twodimensional, flat surface (like this page) with minimal distortion. Traditionally, cartographers did not routinely change from one projection to another, largely because of the plex mathematical calculations required. However, with the advent of digital mapping, changing projections has bee both essential and easier. It is important to annotate all maps with the projection and related parameters of a digitized map. This information is required for calculations with global coordinate systems. Chapter 4: Working with Map Layers in Autodesk MapGuide Author 15 NOTE: Changing a map?s coordinate system only affects how the map is presented to the client. The source data in the SDF files on the Autodesk MapGuide Server must remain in generic decimal Lat/Long coordinates or conform to the predominant projection. The following Map Window Properties dialog box tabs will be discussed in Chapter 5: Reports The Reports tab enables you to create, change or provide access to dynamic reports. Zoom Goto The Zoom Goto tab enables you to specify direct zooming to a selected location on the map. Popup Menu The Popup Menu tab enables you to create or change the popup menu. Popup menus appear in Autodesk MapGuide Viewer map window when you rightclick over the map. Security The Security tab allows you to implement windowbased password protection for a map. A word of caution here: MWF passwords can not be overridden. Should you fet the password embedded in an MWF file,