(1. 中南大學(xué) 有色金屬成礦預(yù)測教育部重點實驗室,長沙 410083;
2. 中南大學(xué) 地球科學(xué)與信息物理學(xué)院,長沙 410083)
摘 要: 地理標(biāo)記語言(GML)作為使用XML信息編碼來表達(dá)地理數(shù)據(jù)的標(biāo)準(zhǔn),其主要目的是實現(xiàn)數(shù)據(jù)共享與互操作。隨著GML廣泛應(yīng)用,GML數(shù)據(jù)存儲管理成為研究熱點。面向服務(wù)架構(gòu)(SOA)已經(jīng)廣泛應(yīng)用于地理信息服務(wù),表述性狀態(tài)轉(zhuǎn)移(REST)作為一種專門為分布式調(diào)用而設(shè)計的輕量級架構(gòu)技術(shù),在構(gòu)建SOA方面有著明顯的優(yōu)勢。論文采用對象數(shù)據(jù)庫對GML進(jìn)行存儲管理,探討如何利用REST架構(gòu)技術(shù)實現(xiàn)GML空間數(shù)據(jù)的管理與共享。分析了REST架構(gòu)的關(guān)鍵技術(shù),設(shè)計了GML數(shù)據(jù)管理服務(wù)框架。詳細(xì)論述了基于微軟WCF框架的REST API的實現(xiàn)過程,最后實現(xiàn)了一個調(diào)用GML數(shù)據(jù)管理服務(wù)的數(shù)據(jù)管理系統(tǒng)。通過客戶端實例驗證表明REST適合于GML地理數(shù)據(jù)的管理與共享。
關(guān)鍵字: 面向服務(wù)架構(gòu);表述性狀態(tài)轉(zhuǎn)移;地理標(biāo)記語言;數(shù)據(jù)管理
(1. Key Laboratory of Metallogenic Prediction of Nonferrous Metals, Ministry of Education,
Central South University, Changsha 410083, China;
2. School of Geosciences and Info-Physics, Central South University, Changsha 410083, China)
Abstract:It is necessary that geography markup language (GML) which uses XML as the encoding information to express the geographic data provides data sharing and interoperability. As the application of GML is more extensive, GML data storage and management is one of the hot spots. With the development of the network technology and GIS technology, service oriented architecture (SOA) was widely used in geographic information services. Representational state transfer (REST) is a lightweight architecture technology for distributed call, which has a distinct advantage in building SOA. The object database is used in GML data storage, and how to use REST architecture technology to realize the management and sharing of GML spatial data is mainly discussed. First, the key REST architecture technology and the design guidelines of GML data management service were introduced. Then the process of realizing the API based on the WCF framework was introduced. Finally, a data management system that is called GML data management service is achieved. This system shows that REST is ideal for GML geographic data management.
Key words: service oriented architecture (SOA); representational state transfer (REST); geography markup language (GML); data management


