【正文】
如圖 。 Styles 通過(guò) Styles 選項(xiàng)卡,可以指定或改變可見圖層的顯示或比例范圍,顯示主題,圖形屬性,和標(biāo)簽協(xié)議。 ??? URL Source 指定是否從特征表或從第二表格中獲得 URL名。 下表列出的是 Name, URL, Where 選項(xiàng)卡的功能 : Link To Secondary Table 選中了此項(xiàng)后即可從第二表格中獲得特征名或 URL,或者應(yīng)用一個(gè) SQL “Where” 語(yǔ)句到第二表格中。 Key Column Type 指定關(guān)鍵字段的類型。瀏覽按鈕 上有三個(gè)點(diǎn) ,表示有更多的項(xiàng)目可供選擇。 Draw Priority 是一個(gè)在 1100 間的數(shù)。 ? 連接空間和屬性數(shù)據(jù)。 ? MWF 文件是通過(guò)圖層來(lái)組織的,并且每一個(gè)圖 層有一個(gè)明確的服務(wù)器 URL 路徑來(lái)使客戶端知道到哪里申請(qǐng)地圖數(shù)據(jù)。 9. 打開 Map Window Properties 對(duì)話框 , 并單擊 Take Center And Size From Current Zoom 按鈕。 3. 單擊 Cancel 健。 打印預(yù)覽 可以通過(guò)一個(gè)跟蹤 ID來(lái)標(biāo)記地圖,為了將來(lái)的監(jiān)視使用。 設(shè)置自動(dòng)標(biāo)簽特征 with overposting reconciliation。 Chapter 4: Working with Map Layers in Autodesk MapGuide Author 11 Autodesk MapGuide Author 通過(guò) MapGuide Author 可以生成 MWF 文件,它的界面 Autodesk MapGuide Viewer 的界面,然而具有更多的功能。應(yīng)用 MapGuide Author 可以生成、編輯和管理地圖窗口文件( MWF), MWF 文件是最終要放到 web 服務(wù)器的公共內(nèi)容區(qū)域中,為了客戶來(lái)瀏覽地圖內(nèi)容。EXT=.mwf” to the end of the URL. For more information, see the “URL Parameters not supported with ActiveX control” in the Autodesk MapGuide ActiveX Control readme file. * All of the target option parameters also accept the following reserved target names: Target Name Description _blank Loads the link into a new blank browser window. The window has no name. _parent Loads the link into the immediate parent of the document 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 的瀏覽功能。 Scale 初始的顯示比例,實(shí)數(shù)和整數(shù)值都可以。 [ON | OFF] ON LayersViewWidth 制定圖例的顯示寬度,單位是屏幕上的像素。 Bookmarks Add Bookmark Display the Add Bookmark dialog box, where you specify the bookmark name under which you want to save the current view. Bookmarks Delete Bookmark Display the Delete Bookmark dialog box, where you can choose a bookmark to delete. Bookmarks (bookmark name) Adjust the map view to display the area that was saved under this bookmark name. Select Select Map Objects Display the Select Map Objects dialog box, where you select from a list of the map objects that are within the current map view. Select Select Radius Select the map features that fall within the radius you specify from a specific point. Select Select Polygon 選擇在所畫多邊形內(nèi)的所有地圖特征。 狀態(tài)欄 Autodesk MapGuide Viewer 彈出菜單 在地圖區(qū)域單機(jī)鼠標(biāo)右健可以出現(xiàn)彈 出菜單,彈出菜單是可以用戶化的,而且大多數(shù)情況下看來(lái)差不多。 Zoom Previous: Returns the zoom to prior zoom scales. Zoom Goto: 視區(qū)縮放到某一位置。通過(guò)圖例中每個(gè)圖層左面的單選按鈕可以打開和關(guān)閉圖層。 和Sun174。 Viewer 在組織地圖時(shí)支持所見即所得 可對(duì)地圖和資源進(jìn)行安全控制 進(jìn)行屬性顯示比例控制 可設(shè)置主題圖和符號(hào) Chapter 4: Working with Map Layers in Autodesk MapGuide Author 2 具有完整的圖層創(chuàng)建和定義功能 支持多文檔界面 自動(dòng)對(duì)地圖加上標(biāo)簽 可進(jìn)行全局的地圖屬性設(shè)置,包括投影信息和地圖范圍 可進(jìn)行客戶化的彈出菜單 可以把任何地圖特征連接到 Web 應(yīng)用程序上 交互的圖例和圖層控制 可以設(shè)置地圖的寬度和比例 進(jìn)行 Zoom Goto 瀏覽 縮放 /恢復(fù)縮放 /平移 測(cè)量距離 復(fù)制當(dāng)前位置到剪切板 文件打印 提供多種選擇方法:列表 /半徑 /多邊形 對(duì)地圖設(shè)置書簽 Point feature posting 智能的地圖緩存 支持多個(gè)服務(wù)器相連 生成緩沖區(qū)帶 支持矢量和光柵數(shù)據(jù)類型,覆蓋和地理引用 Autodesk MapGuide 系統(tǒng)結(jié)構(gòu) MapGuide 的三個(gè)組成元素之間是互相獨(dú)立的,都是提供在 Inter 上發(fā)布空間數(shù)據(jù)的方法。Chapter 1: 介紹 Autodesk MapGuide Autodesk MapGuide 是目前首位的把 GIS 地圖發(fā)布到 Inter/Intra 的解決方案。圖(ae) 說(shuō)明了 MapGuide 如何交互地提供地圖文件,這些文件被命名為地圖窗口文件( MWF)。 Solaris174。 Chapter 4: Working with Map Layers in Autodesk MapGuide Author 4 T o o lb ar M ap A r ea L eg en d St atu s B ar Figure : Autodesk MapGuide Viewer ponents Navigation is done using the toolbar. Autodesk MapGuide Viewer 工具欄 復(fù)制 : 可以把地圖復(fù)制到剪切板上,然后可以在粘貼到其它的應(yīng)用程序中。選擇一個(gè)種 類,然后輸入位置的名字。這里只介紹默認(rèn)的彈出菜單: Figure : Default Popup Menu 下表列出的是菜單中的每一個(gè)命令,在工具欄上的所有的功能都可以在彈出菜單中找到。 Select Select Within 選中在一個(gè)制定的地圖特征內(nèi)的所有特征。 0 值會(huì)完全隱藏圖例。這個(gè)參數(shù)只有在應(yīng)用了 Lat 和 Lon 參數(shù)時(shí)才有效。 ? 在地圖上生成緩沖區(qū)和報(bào)告。本章會(huì)把重點(diǎn)集中在如何生成一個(gè)新的地圖窗口文件,并為此地圖設(shè)置屬性。下表列出的是在 MapGuide Author 中的所有功能,但不包括 MapGuide Viewer 的功能 。 ??? 遠(yuǎn)程編輯地圖。 ??? Chapter 4: Working with Map Layers in Autodesk MapGuide Author 12 地圖窗口屬性結(jié)構(gòu) 本章會(huì)主要介紹地圖窗口屬性( Map Window Properties )對(duì)話框中的 General 和 Coordinate System 選項(xiàng)卡,并對(duì)其他的選項(xiàng)卡做一簡(jiǎn)短介紹,詳細(xì)內(nèi)容在第 5 章中介紹。 4. 雙擊 World Countries 圖層打開 Map Layer Properties 對(duì)話框 , 然后單擊 Data Sources 選項(xiàng)卡 (Figure ). 設(shè)置 Map server URL,可以通過(guò)改變 文件的此設(shè)置來(lái)一次性改變圖層的 URL 設(shè)置。通過(guò)此項(xiàng)操作就可以從單前的視圖中捕獲到緯度、精度、寬度和高度值。 ? 地圖窗口的中心和尺寸設(shè)置是將要在客戶端顯示的地圖數(shù)據(jù)的范圍和極限。 ? 生成并修改主題圖層。數(shù)目越大圖層的優(yōu)先級(jí)越高。進(jìn)入瀏覽界面后,就可以按 Refresh 按Chapter 4: Working with Map Layers in Autodesk MapGuide Author 22 鈕來(lái)刷新在 Autodesk MapGuide Server 上的文件列表或數(shù)據(jù)源。如果是通過(guò)瀏覽按鈕輸入的字段名, Autodesk MapGuide Author 會(huì)自動(dòng)確定類型。 Select Secondary Table 單擊此按鈕可以選擇第二表格。這個(gè)控件只有在選中了 Link To Secondary Table 單選框后才生效。如圖 。 Chapter 4: Working with Map Layers in Autodesk MapGuide Author 25 Figure : Theme Setting dialog box. 下表類出了在 Theme Setting 對(duì)話框中的每一個(gè)設(shè)置: Data Source SQL 數(shù)據(jù)源的名字,以此 MapGuide Server 可以生成主題。在 Theme Setting 對(duì)話框中可以定義主題應(yīng)用。 Map Server URL 指定 MapGuide 服務(wù)器中能夠提供數(shù)據(jù)的完整 URL。要生成多行地圖提示,可以在兩個(gè)字段名中間加入換行符( \n), chr(10) 或任 何 ASCII 代碼。第二表格也許會(huì)包含 lookup 表格或者用來(lái)過(guò)濾空間信息(例如土地應(yīng)用和人口)的字段。 Key Column 指定包含每個(gè)地圖特征關(guān)鍵字段的名字。 Features that are created with data from a SQL table are linked to attribute data records in the SQL table through their feature keys. Features that are created with data from a SDF can also be linked to attribute data records in a SQL table and the internal keys are shown. A feature key is used to link to the correct record in the SQL table. Autodesk MapGuide Author 在數(shù)據(jù)源部分(以及在其它的對(duì)話框中)提供了瀏覽按鈕 來(lái)使用戶可以快速地確定預(yù)先完成的設(shè)置,例如已經(jīng)建立的數(shù)據(jù)源,特征表格,關(guān)鍵字段名,等等。而靜態(tài)的圖層會(huì)下載該圖層的所有數(shù)據(jù),并把數(shù)據(jù)嵌入到MWF 文件中。 ? 生成具有下面屬性的圖層:點(diǎn),多段線,多邊形,文本和光柵。 Chapter 4: Working with Map Layers in Autodesk MapGuide Author 17 ? 每一個(gè) MWF 文件都具有全局的屬性,包括:地圖名、背景顏色、尺寸和應(yīng)用的坐標(biāo)系統(tǒng)等。 單擊 OK,這是注意這個(gè)名字現(xiàn)在顯示在 Autodesk MapGuide Author 的標(biāo)題欄上。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 spheri