SOURCE GEOSPATIAL TOOLS IN CLIMATE CHANGE RESEARCH AND NATURAL RESOURCES MANAGEMENT

Similar documents
Bentley Map Advancing GIS for the World s Infrastructure

Karsten Vennemann, Seattle. QGIS Workshop CUGOS Spring Fling 2015

Existing Open Source Tools and Possibilities for Cadastre Systems

Among various open-source GIS programs, QGIS can be the best suitable option which can be used across partners for reasons outlined below.

Free and Open Source Software for Cadastre and Land Registration : A Hidden Treasure? Gertrude Pieper Espada. Overview

ArcGIS Web Tools, Templates, and Solutions for Defence & Intelligence. Renee Bernstein Esri Solutions Engineer

Bentley Geospatial update

Thales Canada, System Division. BattleView: Integrating ArcGIS Into Canadian Army s Command And Control Application

Leveraging Your Geo-spatial Data Investments with Quantum GIS: an Open Source Geographic Information System

Transactions on Information and Communications Technologies vol 18, 1998 WIT Press, ISSN

USING GIS IN WATER SUPPLY AND SEWER MODELLING AND MANAGEMENT

OGC GEOPACKAGE AND HOW OPEN SOURCE IS CHANGING THE WAY GOVERNMENTS THINK ABOUT STANDARDS. Nathan Frantz Geospatial Research Lab

Using OGC standards to improve the common

The File Geodatabase API. Craig Gillgrass Lance Shipman

Design and implementation of a new meteorology geographic information system

Bentley Map V8i (SELECTseries 3)

Introduction to geoprocessing services using SEXTANTE. Víctor Olaya SEXTANTE Geospatial Services

Overview of Geospatial Open Source Software which is Robust, Feature Rich and Standards Compliant

Application of WebGIS and VGI for Community Based Resources Inventory. Jihn-Fa Jan Department of Land Economics National Chengchi University

DP Project Development Pvt. Ltd.

A BASE SYSTEM FOR MICRO TRAFFIC SIMULATION USING THE GEOGRAPHICAL INFORMATION DATABASE

Performing Map Cartography. using Esri Production Mapping

Developing 3D Geoportal for Wilayah Persekutuan Iskandar

Oakland County Parks and Recreation GIS Implementation Plan

YYT-C3002 Application Programming in Engineering GIS I. Anas Altartouri Otaniemi

Exelis and Esri Technologies for Defense and National Security. Cherie Muleh

ESRI Survey Summit August Clint Brown Director of ESRI Software Products

GIS Workshop Data Collection Techniques

The Standard Infrastructure

INTRODUCTION TO GEOGRAPHIC INFORMATION SYSTEM By Reshma H. Patil

Esri UC2013. Technical Workshop.

Enabling the Image Analyst (IA) to use the geodatabase

GEOGRAPHICAL INFORMATION SYSTEMS. GIS Foundation Capacity Building Course. Introduction

Enabling ENVI. ArcGIS for Server

How to make R, PostGIS and QGis cooperate for statistical modelling duties: a case study on hedonic regressions

Innovation. The Push and Pull at ESRI. September Kevin Daugherty Cadastral/Land Records Industry Solutions Manager

How do I do that in Quantum GIS: illustrating classic GIS tasks Edited by: Arthur J. Lembo, Jr.; Salisbury University

Geographical Information System in Managing Mega Infrastructure Projects

Features and Benefits

Imagery and the Location-enabled Platform in State and Local Government

Web-GIS based Framework for Solid Waste Complaint Management for Sustainable and Smart City

Esri Overview for Mentor Protégé Program:

THE MILITARY GIS OF THE SPANISH ARMY (SIGMIL)

These modules are covered with a brief information and practical in ArcGIS Software and open source software also like QGIS, ILWIS.

ArcGIS. for Server. Understanding our World

Desktop GIS for Geotechnical Engineering

GIS = Geographic Information Systems;

Spatial Data Infrastructure Concepts and Components. Douglas Nebert U.S. Federal Geographic Data Committee Secretariat

EXPECTATIONS OF TURKISH ENVIRONMENTAL SECTOR FROM INSPIRE

NEW CONCEPTS - SOIL SURVEY OF THE FUTURE

EXPLANATION OF G.I.S. PROJECT ALAMEIN FOR WEB PUBLISHING

Introduction to GIS. Dr. M.S. Ganesh Prasad

APPLICATION OF GIS IN ELECTRICAL DISTRIBUTION NETWORK SYSTEM

Overview. Everywhere. Over everything.

One platform for desktop, web and mobile

Esri Training by Microcenter Prepare to Innovate. Microcenter Course Catalog

a system for input, storage, manipulation, and output of geographic information. GIS combines software with hardware,

A Technique for Importing Shapefile to Mobile Device in a Distributed System Environment.

ENV208/ENV508 Applied GIS. Week 1: What is GIS?

Understanding Geographic Information System GIS

17/07/ Pick up Lecture Notes... WEBSITE FOR ASSIGNMENTS AND TOOLBOX DEFINITION DEFINITIONS AND CONCEPTS OF GIS

Leveraging Web GIS: An Introduction to the ArcGIS portal

When Map Quality Matters

Development of Univ. of San Agustin Geographic Information System (USAGIS)

Production Line Tool Sets

Introduction to Portal for ArcGIS

Write a report (6-7 pages, double space) on some examples of Internet Applications. You can choose only ONE of the following application areas:

A Spatial Data Infrastructure for Landslides and Floods in Italy

Introduction to Portal for ArcGIS. Hao LEE November 12, 2015

Free Open Source Software for Geoinformatics (FOSS4G) A Practical Example System for Automated Geoscientific Analyses (SAGA)

OPEN SOURCE TECHNOLOGIES IN GEOGRAPHIC INFORMATION SYSTEMS

DATA SOURCES AND INPUT IN GIS. By Prof. A. Balasubramanian Centre for Advanced Studies in Earth Science, University of Mysore, Mysore

QGIS FLO-2D Integration

Basics of GIS. by Basudeb Bhatta. Computer Aided Design Centre Department of Computer Science and Engineering Jadavpur University

GENERALIZATION IN THE NEW GENERATION OF GIS. Dan Lee ESRI, Inc. 380 New York Street Redlands, CA USA Fax:

Data Aggregation with InfraWorks and ArcGIS for Visualization, Analysis, and Planning

Personal Field Data Collection by UM-FieldGIS (Integration of Google Map API to Mobile GIS)

Coordinate systems, measured surveys for BIM, total station for BIM, as-built surveys, setting-out

THE DEVELOPMENT OF ROAD ACCIDENT DATABASE MANAGEMENT SYSTEM FOR ROAD SAFETY ANALYSES AND IMPROVEMENT

INTRODUCTION TO GIS. Dr. Ori Gudes

Canadian Board of Examiners for Professional Surveyors Core Syllabus Item C 5: GEOSPATIAL INFORMATION SYSTEMS

CHAPTER 22 GEOGRAPHIC INFORMATION SYSTEMS

NATO Headquarters The Situation Center GIS experience.

How to Pick a GIS. GIS Software Chapter 8 in Longley, Goodchild, Maguire, and Rhind,, 2001

GIS-based Smart Campus System using 3D Modeling

Geometric Algorithms in GIS

ArcGIS 10.1 An Overview of the System

ArcGIS Enterprise: What s New. Philip Heede Shannon Kalisky Melanie Summers Sam Williamson

gvsig a real tool for GIS technicians

Geog 469 GIS Workshop. Managing Enterprise GIS Geodatabases

State of GIS at the High Performance Computing Cluster

Salisbury University: Eric Flint, John O Brien, & Alex Nohe

GIS in Weather and Society

Introducing ArcGIS Engine

Geo-enabling a Transactional Real Estate Management System A case study from the Minnesota Dept. of Transportation

Introduction-Overview. Why use a GIS? What can a GIS do? Spatial (coordinate) data model Relational (tabular) data model

IMPERIAL COUNTY PLANNING AND DEVELOPMENT

PostGIS Cookbook. open source I community experience distilled

How GIS can be used for improvement of literacy and CE programmes

CARTOGRAPHIC WEB SERVICES AND CARTOGRAPHIC RULES A NEW APPROACH FOR WEB CARTOGRAPHY

Transcription:

OSGEO-India: FOSS4G 2015 - Second National Conference "OPEN SOURCE GEOSPATIAL TOOLS IN CLIMATE CHANGE RESEARCH AND NATURAL RESOURCES MANAGEMENT 8 10th JUNE 2015 Title : QGIS Customization for defence needs Select Theme : Foss4G Technology 1 Vivek Saxena, Sc-E, DTRL, DRDO, Delhi 110054, India Vicky_rnd@yahoo.com Ms. Suchitra Chaudhary, Sc-C, DTRL, DRDO, Delhi 110054, India suchitra.choudhary2007@gmail.com ABSTRACT - Geographic information System (GIS) have become a tool with widespread use in numerous application based on location. GIS engine/ platform play a crucial role in designing & developing any location based service software or geo spatial analysis software. There are numerous proprietary / COTS GIS software available in the market, however they are not technically and economically viable due to various factors like proprietary data formats, limited flexibility in enhancement of functionalities, high price, large number of deployment sites (number of license) and limitation of run-time resources. Open source software provides ample potential to build application specific GIS software. All open source software including Quantum GIS are built to incorporate generalized requirements of GIS. However, to meet the requirements of Armed forces, apart from general GIS functionalities, QGIS is customized via various methods including new plug-ins development in C++ and Python and some core code/ open source plug-in tweaking. The developed software will enable the user to view, update, query and analyze geo-spatial information for effective operational planning. This paper illustrates development of a Military Application enabled GIS software for the Armed Forces by customizing Quantum GIS (QGIS). Keywords: GIS; PostgreSQL ; POSTGIS; udig; gvsig; OpenJUMP, OGC; OSGeo4W; Qt; Geo-Int; Python; C++; XML; PostGIS; GUI; COTS; QGIS;SAAS. 1. INTRODUCTION: Geo-Spatial Intelligence (Geo-Int) has played a key role in operational planning and strategic decision making by the Armed Forces. For any defensive or offensive military operation, selection of favorable terrain/site along with other location based intelligence data is highly desirable and in many instances a force with much superior fire power and size may liable to lose because of negative impact of terrain. Terrain helps in mobility, deployment of forces, deception, camouflage and many other factors that are important for successful conduct of operation. Traditionally the Armed Forces have relied on paper based maps for planning and operations. They impose certain limitations on planners such as maps require continuous upkeep and maintenance, lack

2 of envisaging the impact of various thematic layers and their inter-relation, manual calculations and analysis and moreover such paper maps are subject to slow dissemination. Digital environment (working with GIS software) on the other hand provides a platform for faster analysis of geospatial data which leads to effective decision making, planning, resource management and dissemination of information across command and control structure in near real time. This gives a high amplitude leverage for the end user to use GIS software over traditional paper based maps. DTRL has developed an Application enabled terrain analysis & visualization software named Situational Awareness & Analysis System (SAAS). It has got primarily two components i.e. 2D GIS as SAAS Analyser and 3D GIS as SAAS Visualiser. In free trade market, there are numerous Commercial Off The Shelf (COTS) GIS software and related tools are available to visualize and analyze geospatial data in order to get terrain intelligence. But these have limited technical and economical viability in the context of the Armed Forces. Installation of such software at multiple user sites leads to huge cost in terms of number of licenses and compatible hardware. Moreover such COTS software are proprietary in nature and provide limited flexibility in enhancement of functionalities specific to the Armed Forces, such as military symbology, military grid, generation of terrain intelligence reports, off road traffic-ability, deployment of ammunitions and location of camping zones. Proprietary nature of data formats and lack of interoperability make them less attractive for utilization in the Armed Forces. To overcome the limitations imposed by these COTS software, possible solutions to develop defence specific application are either to develop software from scratch or to customize free & open source software as per user requirements. Open source software helps in shortening development time. This paper illustrates development of 2D GIS software by customizing open source software. Rest of the paper is organized as follows. Section 2, describes evaluation of open source software for developing 2D GIS. Section 3,explains the customization of open source to integrate functionalities which are non-existent in any open source software and are pre-requisite for armed forces to perform geo-spatial analysis such as military symbology, military grid reference,generation of area analysis report, storage and retrieval of terrain/tactical features along with attribute information. Section 4, discusses the issues and challenges faced during development. Section 5, gives the conclusion 2. EVALUATION OF OPEN SOURCE SOFTWARE Use of open source software has its own problems in terms of reusability, modularity, availability of documentation, architecture/ design patterns and software development environment. Selection of suitable open source software is the most important task as a wrong selection will jeopardize the whole software development process leading to under utilization at the user s end[1]. Evaluation of four prominently used open source software i.e udig[8], gvsig[9], OpenJump and QGIS[4], has been carried out on the basis of functional and non-

3 functional requirements. QGIS supports most of the raster / vector data formats required to be supported.data formats such as.dted,.pix,.bil,.sid,.ttn,.grd are not supported by other three open source software. The.dgn vector data format is partially supported in QGIS and gvsig. Inbuilt projection system is supported in all mentioned open source software; however QGIS has added functionality of automatic on the fly projection change which is found to be valuable. Basic GIS functionalities such as distance and area measurement, re-sampling, merging, mosaic, buffer shapes, profile analysis etc. are available in all mentioned software. Some of the prominent functionality required by military users such as military symbology, military grid reference system, terrain analysis report generation, storage and retrieval of attribute of tactical and terrain features, multi-layer attribute based query, Zoom to Mil. Grid Coordinate location, storage of features image as attribute and its display are not available in any of the mentioned software. After evaluating open source software based on our functional requirements, QGIS was found to be most suitable to map the requirement of Armed Forces; however it is required to be customized as it does not meet all functional requirements of the users. Open source software has been further evaluated on the basis of criteria that should be considered prior to adoption of open source software. QGIS APIs[2] are well documented which helps in faster and efficient customization of QGIS. QGIS has been divided into multiple libraries which can be compiled and executed independently. Rendering is comparatively faster because of pyramid structures which can be generated manually as one time activity. It has been tested to open raster data of 6.5 GB which was satisfactorily visualized within 45-60 seconds. QGIS supports OGC standards and specifications. Its runtime requirements are not very demanding and can execute on user s existing infrastructure. It provide python console as a standard functionality through which user can experiment and develop their custom application. 3. CUSTOMIZATION METHODOLOGY QGIS software architecture provides three ways of customization. First, is to develop python based plug-in which is easiest one, as it does not require to modify internal structure of QGIS and allows hot deployment without need of compiling and building QGIS. Second way, is to develop C++ based plug-in, however this require to create a new build of QGIS code by incorporating the new plugins foot print embedded in cmakelists.txt file. Third way, is to modify the internal classes and structure of QGIS which is found to be most challenging, time consuming and not recommended also. All three approaches have been utilized for development of 2D GIS as per functional requirements.[2][5] 4. CUSTOMIZATION OF QGIS Five such prominent functionalities are incorporated by customizing QGIS which are discussed in following section. 4.1 Military Symbology: Military symbols are fundamental for any military operational planning. It enhances the communication between military professionals. It helps in understanding the common operational picture (COP) and operation s intent.

4 Quantum GIS incorporates symbols in two formats : one is.qml format and other is.svg format. It has provided style manger tool for creating symbols in.qml format which is native XML based format to QGIS.[4] However very less number of military symbols can be created using style manager tool, so military symbols have been created using free tool in.svg format which stands for scalar vector graphics format. Military symbol library with more than seventy terrain and tactical features has been integrated in SAAS 2D GIS module. Some of the military symbols are given in Fig. 1. Figure 1. Military Symbols 4.2 Military Grid Reference System: The Armed forces use their own localized grid reference system for strategic operational planning and execution. Military grid reference system has been integrated in QGIS for both old and new defense series maps. Military grid has been incorporated by modifying the core library (qgisapp.cpp) of QGIS, as it requires access to mouse cordinate on map canvas[2]. Mil grid information along with map sheet no. is displayed with mouse movement in status bar. Fig. 2 displays military grid reference values along with latitude, longitude information for the point marked on map. Mil grid information of point placed on map Figure 2. Military Grid information of mouse position on map canvas 4.3 Map index Tool: There is a frequent requirement of the user to get information about the extent of toposheet in terms of latitude and longitude details corresponding to toposheet number (both old and new) for effective and efficient military operational planning. User can give one kind of map sheet no. and can retrieve other kind of map sheet no. and vice versa. This functionality has been developed by writing a PYTHON wrapper plugin[5] for the already developed utility in visual basic. Fig. 3 shows the GUI of map index tool. Left part displaying toposheet and scale information and right part displaying corner coordinates. Figure 3. Map Index Tool 4.4 Region of Interest Locator: It has been observed that military personal frequently communicate in terms of military GR instead of latitude-longitude information.this tool provides facility to zoom to particular geo-location based on military GR values entered by the user in old or new

5 defence series maps. It helps in fast searching of geo location based on military GR which is found to very useful. This functionality has been developed using python based plug-in approach. Zoom to Cordinate a a python plugin[5] available in open domain and functionality of that plugin is further extended to implement this requirement. GUI of Region of Interest locator utility is given in Fig. 4. Figure 4. Region of Interest locator 4.4 Storage/retrieval of attribute of tactical/terrain feature: Spatial database is required to store and query geo-spatial data that represents geometry of terrain and tactical features along with attribute information. PostgreSQL is chosen as the database management tool wherein its spatial component PostGIS[6], is used to manage Spatial data. Added advantage is that it has been well integrated with QGIS. However, existing digitization functionality in QGIS and storage in PostGIS is generic for all thematic features. At runtime, user need to select the type of feature (Point, Line, and Polygon) and define the attribute name, data type and size. These attributes are to be added to the attribute list of the currently digitized vector layer and then the values can be filled at the time of digitizing each feature which is a cumbersome, time consuming and undesirable by military user. There are certain attributes like mil grid reference, latitude, longitude, length & area (based on arithmetic calculation) which require to be auto populated and there are certain alphanumeric attributes on which attribute based filtering need to be done and any mistake in data entry will lead o wrong analysis. Therefore, the digitization workflow of QGIS has been customized by associating standard attribute forms with each terrain/tactical feature. Facility is provided to create, insert, retrieve, update and delete function through five new plug-in developed in C++[7]. For creating a vector data, apart from developing a new plugin, changes are made in qgsattributedialogue.cpp so that our custom designed attbuite dialog box will be rendered instead of QGIS attribute dialog. Further, a generic validation is also performed on all attribute field before accepting the data. For spatially related features, Post GIS functionality is used to retrieve the relevant data using buffer query. This will enable the faster execution of relational query in run time and assist in faster report generation. Further Existing and customized digitization flow is shown in Fig. 5 and Fig. 6 respectively. Figure 5. Existing digitization flow

6 Figure 6. Customized digitization flow 4.5. Change Analysis: Whenever a feature is updated in database, its past history is maintained in separate table. Based on this history data in database, change analysis can be performed on all associated attribute as well as location. A Python plugin[5][6] in created to perform this task. Figue 7 shows a snapshot for this feature in tabular format. Figure 7. Visualization of history data & Change Analysis 5. ISSUES AND CHALLENGES: QGIS has been found to be most suitable; however multiple challenges and issues have been faced during development. Sometimes, error messages are not easily interpretable and debugging is comparatively cumbersome which increases the development time. It has been observed that QGIS crashes at times without displaying proper errors which made it difficult to debug. Access to whole QGIS runtime instance in python plug-in makes it challenging to pass handle to QGIS and python object and vice versa. Special need to be taken care while accessing QGIS objects. Some DEMs imageries are not visualized with reasonable contrast, so well-known contrast enhancement algorithms need to be incorporated. It has been observed that it is challenging and time consuming to build and compile QGIS on windows platform because of variation in visual studio versions. It perfectly compiles on visual studio 2008 but shows variations on visual studio 2010.Version control was challenging during development as QGIS version changes very frequently. It is highly recommended that customization of QGIS by changing internal code structure should not be followed except if unavoidable. 6. CONCLUSION: In order to meet the requirements of the defence, the customization of open source software is a possible solution. Unique effort of customizing open source software has been made taking into account user requirements, non-functional evaluation criteria and gap analysis. Core functionalities related to military operational planning have been incorporated in open source software which provides long term solution to the geo-spatial data intelligence and analysis requirement of armed forces. Challenges like error handling, version control, access control mechanism can be taken up to make it sufficiently reliable, technical and economically viable.

7 The developed software solution is targeted for minimal dependency on COTS and an effort is made for dissemination of GIS tools to wider spectrum of defence users. Provision of military specific tools will also facilitate the users to exploit military geospatial database that may not be possible without customization of COTS. Moreover, the customization of COTS software may involve huge cost. Our efforts at DTRL is targeted towards standardization of GIS tools in Defence environment. [4] QGIS User Guide Release 2.0, May 16, 2014 www.qgis.org/en/docs/index.html#20 [5] PyQGIS Developer Cookbook Release 2.0 Feb. 21 2014 www.qgis.org/en/docs/index.html#20 [6] Post GIS 2.0 Manual SVN Revision (13392) www.postgis.net/docs/manual-2.0 [7] www.osgeo.org [8] http://udig.refractions.net [9] www.gvsig.com/ 7. ACKNOWLEDGEMENT: The authors are thankful to Director, DTRL for his encouragement to write paper & present the work and also thankful to Dr. B.G.Prusty, Sc F, for his continuous guidance and support during the work. Authors thankfully acknowledges the support & contribution of scientists of our team specially Sh. Anuj Kapil, SRF and Sh. Kamal Deep, Sc-D while executing this work 8. REFERENCES: [1] Stefan Steiniger and Andrew J. S. Hunter, Aug 2012, The 2012 Free and Open Source GIS Software Map A Guide to facilitate Research, Development and Adoption. http://www.researchgate.net/publication/234 953794_The_2012_Free_and_Open_Source _GIS_Software_Map A_Guide_to_facilita te_research_development_and_adoption [2] QGIS API Documentation www.qgis.org/en/docs/index.html#20 [3] Qt Reference Documentation www.doc.qt.io/qt-4.8

8