Professional Documents
Culture Documents
Web-Based Mineral Information System of Thailand U
Web-Based Mineral Information System of Thailand U
Web-Based Mineral Information System of Thailand U
Article
1) 1) 2)
Nutjaree CHAROENBUNWANON ,Koji WAKITA ,Joel C. BANDIBAS
Abstract : This paper introduces the technique of mineral resources information management and distribution. It is
a Web-based Mineral Information System of Thailand using FOSS and OGC based web services and standards. It
distributes the geospatial content on the web through the formulation of web services such as WMS and WPS, launched
on a customized WebGIS portal. The web-based mineral information system plays a critical role in the national
dissemination of mineral information. It also supports the activities of the WGMID of the ASOMM. The approaches of
sharing mineral resources information, formulation of web services, and the setting up of a WebGIS portal for mineral
information processing and dissemination are presented. The primary advantages of these approaches are its cost
efficiency in the development and system maintenance, and the applicability of the server software and web-based system
to other geosciences fields.
Key words : Mineral, FOSS, OGC, WMS, WPS, WebGIS, Web service, Thailand
2015). Most WebGIS are powered by WPS and WMS. WebGIS • OpenLayers JavaScript Library (http://openlayers.org)
consists of 3 components, which are the Database, Web Services in the role of the web client (interface).
and Web Application modules as shown in Fig. 1. The Database Client Side Software:
module is setup on the server to store spatial and a-spatial data. • QuantiumGIS (http://www.qgis.org)
It mainly uses both the object-relational database management in the role of shape file and WMS Viewer.
system PostgreSQL and its spatial information processing • GoogleEarth (http://earth.google.com)
extension PostGIS. The Web Services Module is setup on the in the role of KML Viewer.
server to process and disseminate the geospatial content online.
The web services follow the OGC standard, i.e. WMS and WPS 3. Methodology
(Castronova et al., 2013; OGC, 2015a). The Web Services 3. 1. Formation of WMS and WPS Server
Module receives requests from the Web Application Module. WMS and WPS were formulated using UMN MapServer.
And then it implements the requests on the Database Module. UMN MapServer is an open source web mapping software
The Web Application Module provides web-based graphic user developed by University of Minnesota to display and query
interface that allows users to access. The interface retrieves spatial databases over the internet. It also supports OGC
the data and visualize spatial content using web browsers such specifications such as WMS and WPS. In its most basic form,
MS Internet Explorer, Mozilla Firefox and Google Chrome. MapServer is a CGI program that sits inactive on a web server.
The Web Application Module uses the OpenLayers JavaScript When a request is sent to MapServer, it uses information passed
libraries for the rendition of spatial content generate from the through a Universal Resource Identifier (URI) to query the
Web Services Module. database and generate a response. MapServer uses a Mapfile,
a structured text file defining maps coverage area, map data,
projection, symbology and other relevant information. It
provides MapServer information on how to query the database
and where to output the map images. The request may also return
images for legends, scale bars, reference maps and values passed
as CGI variables (MapServer, 2015). The WMS and WPS server
Fig. 1. The major components of a WebGIS system. architecture is shown in Fig. 2.
3. 2. Preparation of geospatial database and geospatial data interface also provides a control panel to pan and zoom the maps
Geospatial database is a database that is optimized to store on the left side of the window.
and query data that represents objects defined in a geometric
space. The PostgreSQL software and its PostGIS extension 3. 3. 1. Access and retrieval of geospatial data
(PostGIS, 2015) that handle geospatial data were used in this The WMS Openlayer menu of the main page contains the
paper. PostgreSQL is an open source object-relational database choices GetMap, GetCapabilities and GetFeatureInfo WMS
management system software that supports simple feature requests. These functions use the WMS that provides a simple
defined by OGC and simple feature Structured Query Language HTTP interface for requesting geo-registered map images
(SQL). It could implement simple and complex spatial queries, from one or more distributed geospatial databases. A WMS
and functionalities that are very important for handling mineral request defines the geographic layer(s) and area of interest to be
resources related information. PhpPgAdmin, the Web-based user processed using a set of instructions in the form of URI, which
interface of the database was also installed in the server. consists of the WMS Universal Resource Locator (URL) and the
Geospatial data are information that describes either request parameters. The response to the request is one or more
location or shape that is stored in a database. The original data geo-registered bit map images (returned as JPEG, PNG, etc.) and
were generated using ArcGIS software, which handles data in XML documents that can be displayed in a browser application
shape format (.shp). The ArcGIS data were then uploaded to the (OGC, 2015b). OpenLayers is an open source software WMS
server and entered into the PostgreSQL database using a Web client, whose JavaScript mapping library constructors are used
application, which will be described in the next section. The to display results from WMS request responses. It provides
original shapefile data are provided by the Mineral Resources Graphic User Interface for implementing WMS requests
Information Center of the Department of Mineral Resources and viewing results in map images, table or xml-formats
of Thailand (DMR). The geospatial data that entered into the (OpenLayers, 2015). These requests were used to retrieve
geospatial database as shown in the Table 1. mineral resources information as shown in Fig. 4a. The figure
shows the GetFeatureInfo response for the mineral resource and
Table 1. List of geospatial data (table) in the geospatial database. reserve information in tabular form and the GetMap response for
Table name Type Description the mineral resource area, mineral occurrences and geological
1) minarea250k Polygon Mineral resources information in maps of Thailand in map images.
Thailand. GetMap request is used extensively to retrieve a map image
2) minoccur250k Point Mineral occurrence information for a specified area and content in a WebGIS. An example of
in Thailand a GetMap request URI for the mineral areas in Chiangmai is
3) geology250k Polygon Geology information in Thailand shown below. Fig. 4b shows the result of the request.
4) min_vchm Polygon Mineral resources and reserves
information in Chiangmai,
http://localhost/cgi-bin/dmr_wms/min_vchm_wms?
Thailand.
REQUEST=GetMap&SERVICE=WMS&
3. 3. Development of the web application VERSION=1.1.1&LAYERS=min_vchm&
A web application was developed using JavaScript and FORMAT=image/png&SRS=EPSG:24047&
PHP to incorporate the different FOSS based software into one BBOX=401900.03,1909732.19,529893.30,
composite application. Google Maps and OpenLayers APIs are 2220672.02&WIDTH=500&HEIGHT=700
also extensively used to render the maps online. JavaScripts
are used to incorporate Google Maps and OpenLayers based The GetCapabilities is a WMS request to retrieve metadata
functions in the development of a Web-based dynamic spatial about the service including supported projections, map extent,
data viewing system. The web application provides the user- available layers, data owner and additional information in the
friendly interface and forms for the users to access data, abstract and usage constraints. The URI of the GetCapabilities
implement spatial data processing, database queries, data upload request for the layer of Chiangmai mineral information is shown
and download. It is also used to implement WMS and WMS below. Fig. 4c shows the result of the request.
requests and to display the request results like maps, feature
information and legends. The user interface consists of graphical http://wms4.dmr.go.th/cgi-bin/dmr_wms/min_vchm_wms?
window showing Google base maps and geospatial layers (Fig. SERVICE=WMS&
3). The radio buttons on the right side of the window are used VERSION=1.1.1&
to choose the base maps and the geospatial map layers. The REQUEST=GetCapabilities&
34 Nutjaree CHAROENBUNWANON, Koji WAKITA, Joel C. BANDIBAS
a single mineral query implementation indicates a limestone area 3. 3. 3. Overlay and analyze
on the map shown in Fig. 5. WMS overlay function is used to overlay multiple WMS
layers. Thailand Geology and Thailand Mineral Area are base
overlays in this application. Users can add available WMS layer
by entering the WMS URL and layer name. Fig. 8 shows the
Chiangmai and Kanchanaburi mineral layers overlays using
the application. Overlaying WMS layers is very useful for data
analysis. Users can obtain information from each WMS layer
and can use the delete, hide, show and adjust opacity functions
provided in this application. GetFeatureInfo request can also
be implemented to retrieve layer attributes. Adding Chiangmai
Mineral Area and Thailand Geology layers can provide
information for comparison or analysis as shown in Fig. 8b.
Fig. 5. WPS Openlayer Query and its result with single mineral query form.
easily because of its rigid design. The database structure, 4. 3. Advantage of the proposed “Web-based Mineral
especially of the mineral resources, did not improve consistently Information System”
with rapid changes of information technology. The un-updated The advantage of FOSS and OGC standards in the
mineral information may affect the resource evaluation process. development of WebGIS are discussed in this chapter. The
In order to solve these problems, this paper proposes to use proposed MIST is a WebGIS using FOSS software in the
FOSS and OGC standard for the dissemination of the mineral formulation of OGC based web service. This paper describes
information. how they are used in the implementation of the MIST in
FOSS has extensively used by many organizations in previous chapters. In this section, the advantages of using FOSS,
their information management system. The IT trend of moving OGC standards and WebGIS for the mineral resources database
the functionality of information system onto the web make of Thailand and ASEAN countries is discussed.
Linux based FOSS more attractive, not only because of their Thailand mineral database faces problems of outdated data
cost effectiveness, but also of their robust capabilities. OGC model and format, and the difficulty of sharing data. Thailand's
serves as a global forum for the collaboration of developers current information system was developed by a private company
and users of spatial data products and services, and to advance using commercial software. It is characterized by a rigid design
the development of international standards for geospatial and non user-friendly interface which is difficult to change
interoperability. The use of open standards helps to advance the after the contract expired. The cost of signing a new contract to
profit and benefits of investments thereby, reducing operating update the WebGIS system could be prohibitive.
costs in the long term. Besides, governments face the challenges The ASEAN mineral database faces different difficulties.
of next generation data sharing and collaboration. Sharing is It is using a WebGIS system using OGC standards and FOSS
often necessary among different communities. Thus, OGC can software. It is similar to the one proposed in this paper.
help define how OpenGIS standards are put to their best use for However, the system is centralized and data is stored in a single
future requirements and mission (Trakas, 2010). OGC proposed server. The system requires member countries to also input their
various international standards for spatial data such as WMS, mineral resources data to the central ASEAN server. Hence,
WFS, WPS and WCS. The proposed WebGIS system uses WMS each member country needs to input their data twice, one to their
and WPS. WMS is an internet interface, which provides a simple local server and the other to the ASEAN server.
HTTP interface for requesting geo-registered map images from The experiences from the previous ASEAN WebGIS
distributed geospatial databases (OGC, 2015b). WPS provides created awareness among ASEAN member countries that a new
rules for standardizing how inputs and outputs (requests and database system should be a distributed WebGIS. The server of
responses) for geospatial processing services, such as polygon each ASEAN member country should be used for storage and
overlay (OGC, 2015c). WMS and WPS are very important maintenance of its mineral resource information. Fig. 10 shows
interoperable tools to distribute the geospatial data through the the proposed ASEAN distributed WebGIS. However, it is not
World Wide Web. easy to establish a distributed WebGIS using distributed database
The web services that use FOSS and international standards among ASEAN member countries. This requires individual
such as WMS and WPS are necessary to share the ASEAN WebGIS system to formulate the web services for the ASEAN
mineral resource information online. ASEAN member countries WebGIS. This difficulty is compounded by the insufficient know
developed their own database using different software, data how of most ASEAN member countries to formulate the needed
formats and data models. Most of their data are encoded web services.
using their own language together with English. Sharing these
information online makes standardization very important. In
the proposed distributed WebGIS, it is necessary for member
countries to exchange data using standard format through the
use of WMS and WPS. In the proposed system (MIST), FOSS
software such as MapServer, PostgreSQL, PostGIS and PHP and
Linux operating system are used in the formulation of WMS and
WPS. The standardized web services make it possible to easily
share and exchange ASEAN mineral resources data.
To solve the aforementioned problems, this paper proposes include approaches of sharing mineral resources information,
the distributed WebGIS using FOSS and OGC standard. The formulation of web services, and setting up of the WebGIS
proposed system contains the WMS concept model for its portal for mineral information processing and dissemination.
formulation which enables member countries to formulate WMS The benefit of FOSS, OGC and WebGIS for data
by just filling up an html template page. By using this concept dissemination was discussed. The primary advantages of these
model, member countries can input geospatial data in shape file approaches are the cost efficiency in the development and
format into the database through the web application form. system maintenance, and the applicability of the server software
The proposed dissemination system only uses FOSS for all and web-based system to other geosciences fields due to its
components of the applications. By using FOSS, the application compliance with established standards.
can be freely modified to fit with the newly developed system.
OGC standards are essential requirements for interoperability. References
Using the standards, the mineral data can be exchanged and Bandibas, J., Wakita, K. and Ohno, T. (2013) ASEAN mineral
distributed freely among ASEAN member countries. resources information system using FOSS and OGC-based
This paper introduces the WebGIS for Thailand mineral standards. Bulletin of the Geological Society of Malaysia,
resources database. It will be beneficial to further improve vol.59, pp.9-12.
the database management system using distributed servers Castronova, M.A.., Goodall, L.J. and Elag, M.M. (2013) Models
instead of the centralized architecture used by the DMR and as web services using the Open Geospatial Consortium (OGC)
other government agencies. The change may lead to increase Web Processing Service (WPS) standard. Environmental
database accessibility and usage accountability in each bureau Modelling & Software, vol.41, pp.72-83.
of the organization. Once the bureau updates and publishes Chuanrong, Z., Tian, Z. and Weidong, L. (2015) Geospatial
the information, the central unit can use WMS to efficiently Semantic Web. Springer International Publishing Switzerland,
disseminate the information. The proposed system can be 194 p.
applied not only to the Thailand mineral database but also to MapServer (2015) An Introduction to MapServer. http://
the ASEAN Mineral database. It should be a model for other mapserver.org/introduction.html (accessed: 2015/06/02).
ASEAN member countries to follow and to establish the OGC (2015a) OGC® Standards and Supporting Documents. http://
distributed ASEAN mineral information system. The distributed www.opengeospatial.org/standards (accessed: 2015/05/27).
server system will improve the database management, increase OGC (2015b) Web Map Service. http://www.opengeospatial.
database accessibility and usage accountability among the org/standards/wms (accessed: 2015/07/30).
ASEAN countries. OGC (2015c) Web Processing Service. http://www.
Future plans include the improvement of the information opengeospatial.org/standards/wps (accessed: 2015/07/30).
system and increase of the contents stored and served by the OSGeo (2015) Service Providers - Search. http://www.osgeo.
data sharing system. This will further promote the integration org/search_profile (accessed: 2015/06/01).
and interoperability of spatial information system in the ASEAN OpenLayers (2015) OpenLayers.Layer.WMS. http://dev.
region for their sustainable development. This paper proposes openlayers.org/docs/files/OpenLayers/Layer/WMS-js.html
a new mineral resources information dissemination system (accessed: 2015/06/04).
of Thailand and ASEAN countries. This distributed WebGIS PostGIS (2015) About PostGIS. http://postgis.net (accessed:
using FOSS and OGC standard is a powerful tool for decision 2015/06/02).
makers and general public in the formulation of policies for the Scott, M. (2000) GIS, modern mineral potential modeling and
management and sustainable utilization of natural resources in quantitative resource assessment: implications for the geological
the ASEAN region. survey of Queensland. AIG Journal-Applied geoscientific
research and practice in Austraria, paper 2000-02, pp.1-16.
5. Summary Singh, S.P.,Chutia, D. and Sudhakar, S. (2012) Development
A new disseminating system of mineral database of of a web based GIS application for spatial natural resources
Thailand and ASEAN countries was proposed. It distributes the information system using effective open source software and
geospatial content on the web through the formulation of web standards. Journal of Geographic Information System, vol.4,
services such as WMS and WPS, launched on a customized no.3, pp.261-266. doi:10.4236/jgis.2012.43031.
WebGIS portal. Smith, M., Goodchild, M. and Longley, P. (2015) Geospatial
The processes of development of the dissemination Analysis, A Comprehensive Guide to Principles, Techniques
system of Thailand mineral database were described. They and Software Tools, 5th Edition. The Winchelsea Press,
Web-based Mineral Information System of Thailand Using Free and Open Source Software and Open Geospatial Consortium Standards: A Case Study of ASEAN Region 39
要 旨
1) 1) 2)
ヌトウジャリー チャロエンブンワノン ・脇田浩二 ・ジョエル C. バンディバス
本論文では,新たに構築した,オープンソースソフトや国際標準(OGC 標準)などをベースにしたタイの鉱物資
源のウェブ情報流通システムを紹介する.このシステムでは,新しくカスタマイズした WebGIS ポータルにおいて,
OGC 標準である WMS や WPS に基づいて空間情報コンテンツの流通を行う.この新しいウェブベースの鉱物資源情
報システムは,タイ国内における鉱物資源情報の普及において重要な役割を持っている.また,このシステムは,
ASEAN の鉱物資源に関する事務レベル会議における鉱物資源情報作業部会の活動にも貢献している.本論文では,
鉱物資源情報の共有,ウエブサービスの構築,WebGIS ポータルの立ち上げなど,このシステムが完成するプロセス
を提示している.このシステムは,構築や維持管理においてコストパフォーマンスが高く,他の地球科学分野にお
けるウェブベースの情報流通においても適用可能である.
1 )山口大学理工学研究科
2 )産業技術総合研究所