• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
GISdevelopment.net ---> Technology ---> Geographic Information System
Implementing Web GIS Applications using Open Source Software
V. Raghavan
Osaka City University, 3-3-138 Sugimoto, Sumiyoshi-ku, Osaka, JapanEmail :raghavan@media.osaka-cu.ac.jp 
P. Santitamont
Survey Engineering Department, Chulalongkorn University, Bangkok, Thailand
S. Masumoto
Osaka City University, 3-3-138 Sugimoto, Sumiyoshi-ku, Osaka, Japan
K. Honda
ACRoRS, Asian Institute of Technology, Pathumthani, Thailand
Introduction
Internet based geographical data services involve management spatial and non-spatial (attribute) data.Geographic Information System (GIS) has come to be an indispensable tool for analyzing and managingspatial data. Data pertaining to spatial attributes can be efficiently managed using Relational DatabaseManagement System (RDBMS). The development of a Web-based system by integrating GIS and RDBMSwould serve two crucial purposes. Firstly it would allow the user to operate the system without having tograpple with the underlying intricacies of GIS and RDBMS technology. Secondly, it would allow sharing of information and technical expertise among a wide range of users. In the present paper we describe thesalient features of spatial database that was developed by integrating the Open Source Software (OSS)GRASS GIS and PostgreSQL Object-Relational database into a Web based client/server environment. Thesystem described in this paper aims at providing a web-based platform for collaboration and data sharingbetween specialists, planning agencies, citizens, and private entities. In order to access the spatialdatabase, the user need only have a Web browser and access to the Internet. The system can be used toreadily build and manage spatial databases pertaining to landslides (RAGHAVAN et al. 2001) and ispresently being adapted to suit other applications such as a Water Infrastructure Inventory System(RAGHAVAN, HERATH & DUTTA 2001). Since the system is developed using OSS, it can be easilyimplemented in a distributed spatial database environment at a low overall cost. In this presentation wediscuss salient features of an online system that offers public access to landslide information related toJapan (Japan Society of Landslides, 1996). The basic framework of the system is shown in Figure 1.Further, we also present an overview of our ongoing efforts to improve the interoperability and compliancewith the OpenGIS Consortium (OGIS) Web Mapping Testbed (Web Mapping Testbed).
Figure 1 Components and Information Flow within the Prototype System
GIS Component
 
GRASS (Geographical Resource Analysis Support System) was used to provide the basic GIS framework.GRASS GIS was originally developed at the United States Army, Construction Engineering ResearchLaboratory. Presently, the development and distribution is coordinated by the GRASS Development Team(http://www.geog.uni-hannover.de/grass/ index2.html) and is made available under the GNU GeneralPublic License (http://www.gnu.org). GRASS is a hybrid vector-raster GIS designed to provide digitizing,image processing, map production, and GIS system capabilities to its user. GRASS contains severalroutines for importing spatial data of a wide variety of commonly used formats. GRASS files can also bedirectly imported into many commercially available GIS packages or exported to suitable data formats. Thespatial data included in prototype system consists of GRASS raster, vector and site data layers thatprovide the geographical reference.
RDBMS Component
RDBMS enables the fast storage and retrieval of large amounts of information. The interface that is used toinsert, manipulate, and extract data is called the Structured Query Language (SQL). In case of theprototype system, the PostgreSQL database server has been used to manage the attribute data and multi-media content (e.g. image files). PostgreSQL is an Object-Relational DBMS, supporting almost all SQLconstructs, including sub-selects, transactions, and user-defined types and functions. The databaseconsists of tables that hold all the available attribute data. The attribute table includes fields that can beused to store binary data (images, multi-media contents etc.). Remote update of the database by permittedusers is also made possible. An authentication mechanism to check which users can be allowed to enter new data or update the existing attribute data in the relational database is also provided.
Web Component
The system includes of two kinds of web interfaces that enable online access to the GIS layers andattribute information. Access to spatial data (GRASS database) is provided using the GRASSLinksinterface (HUSE 1995) and PHP (PHP Hypertext Preprocessor) is used as an interface to access theattribute data (PostgreSQL). Since a majority of GRASS commands can be executed in the commandmode, it is quite easy to enhance the GRASSLinks interface to provide added functionality to the system.In prototype system, several additional features were incorporated into the GIS web-interface to tailor thesystem for its present requirements. PHP is a server-side scripting language. PHP scripts are includedwithin an HTML document to confer it the capacity of generating web contents on demand. BothGRASSLinks and PHP are distributed under the GNU General Public License and can be deployed onvariety hardware platforms. PHP can be used to connect to several database engines such asPostgreSQL, MySQL etc.
System Features
An online demonstration of the basic features is available at http://gisws.media.osaka -cu.ac.jp/slink/.“Spatial Query” option allows the user to retrieve attribute data from the RDBMS table by selecting alocation on the raster image displayed on the web browser. The user selects the GRASS data layers froman interactive menu based on which the GRASS raster layer is displayed on the web-browser. The user can also select vector maps and site data as overlays for raster map layer (Figure 2). Interactive zoom/pancapability allows the user to view the displayed maps in greater details or to choose different areas for display. Once the desired area is displayed on the web-browser, the user is allowed to view the attributetable by “clicking” on respective site. The relation database is queried based on the geographical location(Figure 3a) of the “clicked” site. Attribute data is displayed in two stages. Firstly, a brief summary (Figure3b) of the attribute information is presented. The summary table also includes a hypertext link, which canbe followed to view more detailed information including figures and field photographs is also provided(Figure 4a and 4b).
 
Figure 2 Query basemapFigure 3 (a) Location (b) Query results.Figure 4 Detailed attribute information on individual landslide. (a-left, b-right)
“Database Search” option allows the user to retrieve attribute information by keyword searching (Figure 5).Search fields include name, location and date. In addition full-text searching is also provided. The results of the text based searching are the same as those shown in Figure 3b and Figure 4.“Database Administration” option allows registered user to insert new attribute information into the RDBMStable (Figure 5). Access to this module requires authentication of the user. User can select the option(Figure 6) to upload data by clicking a location on the base map or directly input the location coordinatesinto the data upload form (Figure 7). This module also allows direct uploading of binary files from theclient’s computer to the database server. Apart from static images such as field photographs other kinds of multi-media contents such as sound, animations, and video images can also be handled. In order to easethe administrative overload in maintaining the database, other options such as edit and delete and updatefunctions will also be added in the final version of the system.3D visualization through the use of Virtual Reality Modeling Language (VRML) is currently possible withinthe system’s framework. VRML models can be interactively generated and view on the client browser. Inaddition, the GRASS GIS now incorporates advanced visualization called the “nviz”. “nviz” is allows usersto realistically render multiple surfaces in a 3D space. Options for using thematic coloring, vector/site dataoverlay and rendering of animation sequences are also supported. The Figure 8 is an example of digital
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...