Adoption of open source GIS in South Africa: some case studies



Similar documents
County of Los Angeles. Chief Information Office Preferred Technologies for Geographic Information Systems (GIS) September 2014

Institute of Computational Modeling SB RAS

Standardized data sharing through an open-source Spatial Data Infrastructure: the Afromaison project

The GeoMedia Architecture Advantage. White Paper. April The GeoMedia Architecture Advantage Page 1

Web and Mobile GIS Applications Development

Implementation of information system to respond to a nuclear emergency affecting agriculture and food products - Case of Morocco

WP 3. Elaboration database Architecture Features (Software Architecture Document)

Analysis of the Free GIS Software Applications in respect to INSPIRE services and OGC standards

AN INTRODUCTION TO MAPBOX TOOLS AND SOFTWARE. Matt Gregory 24 July 2013

Cloud-based Infrastructures. Serving INSPIRE needs

Choosing the right GIS framework for an informed Enterprise Web GIS Solution

Oklahoma s Open Source Spatial Data Clearinghouse: OKMaps

OSM GB. Introduction. Users Requirements. Abstract OSM GB

CentropeSTATISTICS a Tool for Cross-Border Data Presentation Manfred Schrenk, Clemens Beyer, Norbert Ströbinger

UK Location Programme

WEB MAPPING WITH DRUPAL Ranel O. Padon

MapServer and OGC Standards in real life (and saving real lives) Daniel Morissette, Mapgears

ArcGIS Online School Locator

Pennsylvania Geospatial Data Sharing Standards (PGDSS) V 2.5

Developing of A GIS Based Enviromental Monitoring System with Open Source Softwares

OSGeo Web Mapping Typification: GeoMajas, Mapbender, MapFish and OpenLayers. Christoph Baudson Arnulf Christl FOSS4G 2010 Barcelona

Managing a Geographic Database From Mobile Devices Through OGC Web Services

Leveraging Geospatial Information Across the Enterprise: Bentley s Flexible Geospatial Approach

Web Mapping in Archaeology

ishare in the Cloud Service Definition v5.0

SUMMER SCHOOL ON ADVANCES IN GIS

Portal for ArcGIS. Satish Sankaran Robert Kircher

OSM-in-a-box A Ready-Made Highly Configurable Map Server

Geodata-Management in the Thünen- Institute. Till Kirchner Thünen-Institute for Forest Ecosystems, Eberswalde

An Esri White Paper August 2010 Product Library in Esri Aeronautical Solution: Enabling Seamless Product, Data, and Document Management

How To Use Gis

Web Map Service Architecture for Topographic Data in Finland

An Introduction to Open Source Geospatial Tools

Inframoura. Migrating from ArcGIS to Boundless OpenGeo Suite. Diogo Vitorino

Guidelines on Information Deliverables for Research Projects in Grand Canyon National Park

ArcGIS. Server. A Complete and Integrated Server GIS

Chapter 1: Introduction to ArcGIS Server

ARCHITECTURE OF INTEGRATED GIS AND GPS FOR VEHICLE MONITORING

INSPIRE in practice: Experiences with INSPIRE data and services

Vision. South Pacific GIS/RS Conference /17/2015. Applying Geography Everywhere. Applying Geography Everywhere

An Android based Quantum GIS prototype. Ramon Carrillo, Daniel Ochoa

Location Based Asset Management Application for Railway: AMS-R

Leveraging Geospatial Information Across the Enterprise: Bentley s Flexible Geospatial Approach

Geographic Web Application

Making Your Mobile Workforce More Efficient

Making Your Mobile Workforce More Efficient

smespire - Exercises for the Hands-on Training on INSPIRE Network Services April 2014 Jacxsens Paul SADL KU Leuven

Extending the Survey123 for ArcGIS Mobile App

GIS Cloud Computing Solutions

Institute of Natural Resources Departament of General Geology and Land use planning Work with a MAPS

A water network in QGIS

Standards based spatial data management, GIS and web mapping. Spatial data management, analysis & sharing the free & easy way!

Nexus Professional Whitepaper. Repository Management: Stages of Adoption

A Web services solution for Work Management Operations. Venu Kanaparthy Dr. Charles O Hara, Ph. D. Abstract

Combining Drupal Content Management System with OGC Web Services

Documentation of open source GIS/RS software projects

Neues vom QGIS Server und QGIS-Webclient

Chapter 6: Data Acquisition Methods, Procedures, and Issues

gvsig: A GIS desktop solution for an open SDI.

Cloud application for water resources modeling. Faculty of Computer Science, University Goce Delcev Shtip, Republic of Macedonia

GeoMedia Smart Client

DEVELOPMENT AND COMPARISON OF OPEN SOURCE BASED WEB GIS FRAMEWORKS ON WAMP AND APACHE TOMCAT WEB SERVERS

HTML5. Turn this page to see Quick Guide of CTTC

City of Memphis Purchase of Data Migration Services


ArcGIS Web Mapping. Sam Berg, esri

Mobile GIS Guide. About The Author. Getting your mobile GIS project off the ground

Enabling embedded maps

Inside the Digital Commerce Engine. The architecture and deployment of the Elastic Path Digital Commerce Engine

FOSSGIS: What is the future of Geonetwork? What changes are planned?

TEST AUTOMATION FRAMEWORK

CAPITAL REGION GIS SPATIAL DATA DEMONSTRATION PROJECT

GEOENGINE MSc in Geomatics Engineering, Master Thesis Gina Campuzano

Altiris IT Management Suite 7.1 from Symantec

Step 1 Preparation and Planning

Publishing geospatial data to the web using the EEA infrastructure

Open Source GIS The Future?

Big Data Volume & velocity data management with ERDAS APOLLO. Alain Kabamba Hexagon Geospatial

GIS Databases With focused on ArcSDE

Big Data Analytics - Accelerated. stream-horizon.com

How To Improve Gis Data Quality

GeoPackage, The Shapefile Of The Future

owncloud Architecture Overview

Introduction to the Mapbender OWS Security Proxy

Figure 2: System Flow Diagram for Workflow Management

GIS AS A DECISION SUPPORT FOR SUPPLY CHAIN MANAGEMENT

Web and Mobile development Engineer

Transcription:

Adoption of open source GIS in South Africa: some case studies by Gavin Fleming, Kartoza and OSGeo Abstract A number of companies and government departments in South Africa have adopted or migrated to open source GIS in the recent past and the trend is on the increase. This paper showcases some of these success stories and delves into the rationales behind the moves and the practical considerations needed to make them work. Keywords FOSS, open source, case studies Introduction At the 2012 Ukubuzana, I reported on a survey of free and open source software (FOSS) GIS implementations in South Africa [1]. It demonstrated that FOSS GIS was being used in diverse applications in the private and public sectors. I conducted the survey to get a sense of the uptake of FOSS GIS in general and especially after the South African cabinet s statement on open source in February 2007 [2]. I was expecting FOSS uptake to be strong in the government sector, but it emerged that private sector uptake was arguably stronger. Private companies are adopting FOSS for a variety of reasons, including: lower total cost of ownership; functionality that meets their needs; full control of application development; and non-cost-constrained scaling. After having worked with FOSS in the GIS industry for over ten years, at CSIR, Mintek, SAEON, AfriSpatial and now Kartoza, I have gained personal experience and insight which others might find useful. Here I report on three private companies which have made full or partial migrations to FOSS GIS over the past few years. These are Tracks4Africa, i@ Consulting and Kirchhoff Surveyors. The qualitative study of each company is broken into these sections: previous status; objectives and management rationale; current status; migration details; management response; and staff response. I have attempted to be objective and balanced. Views expressed are my own based on hands-on experience and communication with management and staff. Tracks4Africa Tracks4Africa 1 produces compiled map products for navigation devices, geospatial web and mobile applications, and books and hardcopy maps for the tourism industry. Tracks4Africa crowdsources its data from the travel community, mainly in the form of GPS tracks and waypoints. It uses the crowdsourced data to build and maintain its own routable road network and point of interest (POI) database covering the whole of Africa. Fig. 1: Example of Tracks4Africa website. 1 http://tracks4africa.co.za 44

Previous status As Tracks4Africa grew from a community that started by sharing GPS tracks on CD ROMs, a diverse ecosystem of tools and techniques grew around geospatial data management. Some aspects of this ecosystem are shown in Table 1. Data Tools Outputs Dbase files FoxPro Compiled IMG files for Garmin navigation devices ESRI shape files ArcGIS Ad hoc digital and paper maps GPX files GlobalMapper High quality country-level travel maps Garmin Mapsource The Padkos website of travel-related POIs Table 1: Tracks4Africa GIS ecosystem prior to FOSS migration. Objectives and management rationale In 2010, Tracks4Africa wished to build a bespoke web presence which integrated its various offerings and would include interactive web maps. While doing so the company wanted to minimise costs and pro-actively investigate development using FOSS. Coupled with FOSS application development, Tracks4Africa also wished to reduce its dependence on old technology, legacy code and dependence on specific individuals, as well as reduce its dependence on proprietary software for data processing and management. Table 2 outlines the current status. Data Tools Additional, new outputs PostGIS database (OGC compliant) GPX files (open standard) QGIS 2 (FOSS) Django 3 (FOSS) PostGIS 4 (FOSS) ArcGIS GlobalMapper Garmin Mapsource Integrated website including dynamic content, web maps, data submission and e-commerce REST API supporting local and third-party applications igo/topmap compiled navigation products ios mobile app Android app Table 2: Tracks4Africa GIS ecosystem after FOSS migration. Migration details PostgreSQL 5 /PostGIS was chosen as the enterprise database. The new web application was built with Django, with the first core set of online data being the Padkos POIs, now called Listings. Web mapping was implemented with PostGIS as a data source. Mapnik 6 was used to render the new base map. Styling was done in Mapnik XML. MapServer 7 was used to render the POIs and to render road layers when public base maps were drawing instead of the Tracks4Africa base map. Tilecache 8 was used to seed and serve 2 http://qgis.org 3 http://djangoproject.com 4 http://postgis.net 5 http://postgresql.org 6 http://mapnik.org/ 7 http://mapserver.org/ 8 http://tilecache.org/ 45

pre-seeded map tiles. Finally, Tracks4Africa webmapping is migrating to CartoCSS 9 styling and Tilemill 10 and now Mapbox with Mapbox Studio 11. For a long time while PostGIS supported the website, data management was still done in ArcGIS on shapefiles and in FoxPro on Dbase (dbf) files. Tracks4Africa had a geographically distributed data management team and were using ftp to synchronise shapefiles across sites. This practice was fraught with issues. Shapefile management was made more reliable by zipping them and committing them to a Subversion 12 version control repository. Coordination among distributed office staff were also improved. Subversion (and code versioning systems in general) was not designed with such a use in mind, but it worked well for many years. Although diffs can not be made on binary files, previous versions could be recovered. During this time, shapefiles were loaded into the PostGIS database on a release basis so that the web map could be updated based on recent work on the shapefiles. Ultimately, all shapefiles were loaded for the last time into PostGIS and data management was switched almost completely to a combination of QGIS and PostGIS: In-database SQL functions have replaced the FoxPro dbf routines that play a significant role in cleaning data, generating statistics and maintaining integrity. Spatial (geometry) and attribute management is done almost exclusively in QGIS and through SQL in the database. All database, web and map servers run Ubuntu Linux. Desktop users still run Windows. All code, styles and other documentation is maintained in a self-hosted Git 13 repository, and ArcGIS, GlobalMapper and other legacy tools are used occasionally for some tasks. For training purposes key staff attended an Enterprise GIS with FOSS course presented by Kartoza where they were exposed to PostGIS, SQL and web mapping (through Geoserver and OpenLayers). Indirect training occurred through general consultation. A significant amount of self-learning took place. This speaks to the availability and quality of documentation and free community resources available online. Notably: no staff ever attended a QGIS course, yet it is their core day-to-day tool, while a key staff member has completely grokked 14 SQL and GIS in a database and is really flying, pretty much on her own. Custom development Tracks4Africa funded improvements in the simplification tool in core QGIS 15. This is a typical argument for and advantage of adopting FOSS: If there is something a FOSS tool does not do, fund its development instead of, in the proprietary case, waiting and hoping for the functionality to be included in a future release. All other users benefit from the improvements you fund. Conversely, you benefit from the many improvements others in a similar position fund. Management response The management objectives mentioned above have been achieved. Additionally, great freedom has been achieved to generate multiple and unforeseen products off a well-managed ORDBMS (object-relational database management system). There is flexibility in office systems to accommodate diverse tools and workflows and no vendor lock-in. Staff response Staff enjoy working with QGIS and PostGIS. They trust these tools and find them intuitive to use. 9 https://github.com/mapbox/carto 10 www.mapbox.com/tilemill 11 www.mapbox.com/design/#mapbox-studio 12 https://subversion.apache.org/ 13 https://git-scm.com/ 14 https://en.wikipedia.org/wiki/grok 15 http://changelog.qgis.org/qgis/version/2.8/#246 46

i@ Consulting i@ Consulting 16 is a firm specialising in town and regional planning and land use management consulting and systems. A key product relevant to this discussion is CitySolve, which is a hosted land use management platform, of which a municipality and its staff are typically users. Fig. 2: A CitySolve view showing one of the web mapping components. Previous status Spatial data management was done using shapefiles and ArcGIS in the GIS department. Engineers and town planners typically used CAD. In a common scenario, these two user groups have to frequently share data indeed many workflows go back and forth between these departments. Objectives and management rationale There was a requirement to bring spatial functionality and web mapping into the recently developed CitySolve product. i@ chose to do this with FOSS tools. i@ also wished to migrate internal data management operations to better practice methodologies, specifically those built around a database and to do this using FOSS. The long term vision for all spatial data management at i@ is for it to be database driven and for all workflow, CAD and GIS, to be centred around a common database platform, using FOSS tools wherever possible. Current status CitySolve web mapping components run on the OpenGeo Suite 17, which consists of this FOSS stack: PostGIS database Geoserver 18 web map server GeoWebcache 19 tile caching server GeoExt 20 and PHP-based custom application The CitySolve database is maintained in a PostGIS instance on the office local area network (LAN), through QGIS and SQL. It is replicated to a PostGIS slave instance at the internet service provider (ISP), so changes appear instantly online. The web application is also configured by editing the database in the office. Other office GIS management tasks are gradually being migrated to PostGIS and QGIS. 16 http://iatconsulting.co.za 17 http://boundlessgeo.com/opengeo-suite/ 18 http://geoserver.org/ 19 http://geowebcache.org/ 20 http://geoext.org/ 47

A particularly convenient FOSS tool is the OpenGeo Suite plugin 21 for QGIS, which facilitates direct control and management of PostGIS and Geoserver from within QGIS. All database, web and map servers run Ubuntu Linux. Desktop users still run Windows. Migration details The CitySolve web mapping application was a turnkey development, so did not entail much migration other than training and documentation. Most of the spatial data consists of static layers loaded from shapefiles into PostGIS as they are received from municipalities. Non-spatial and more dynamic components of CitySolve are based on PHP 22 and MySQL 23. Integration between spatial and non-spatial components is achieved through web-services and MySQL foreign data wrappers in PostgreSQL. CitySolve implementation did entail the introduction of PostGIS and QGIS into the office environment. On-the-job training was done with key staff members. More general migration of internal data management and workflows to PostGIS and QGIS is occurring gradually as staff acquire new skills and on a per-project basis. Management response The originally stated objectives have been achieved. Migration is occurring at a managed and manageable pace. Staff response Staff find QGIS and PostGIS intuitive and productive to work with. A recently hired GIS manager had PostGIS training from Afrispatial five years ago and so is primed for the position. Kirchhoff Surveyors Kirchhoff Surveyors 24 is a firm of professional land surveyors. Survey firms are increasingly venturing beyond the bounds of strict land surveying and into GIS, for data management, map making and other ancillary services that can expand their offerings and improve their internal data management practices. Until recently this firm had not done much GIS. That changed when it landed a contract that required land surveying expertise and professional oversight, but was in fact a GIS project at its core. Fig. 3: A QGIS screenshot of a remote work environment for Kirchhoff Surveyors, where live data capture takes place through WFS services provided by Geoserver running on the office LAN. Previous status Land surveyors traditionally use CAD and specialised survey tools, most of which are proprietary (such as Revit) and this practice was no different. 21 http://qgis.boundlessgeo.com/static/docs/intro.html 22 http://php.net/ 23 www.mysql.com/ 24 http://kirchhoffsurveyors.co.za 48

Objectives and management rationale Kirchhoff Surveyors won a substantial contract which was really a GIS project requiring professional land surveyor oversight. The firm had the foresight to invest in a dedicated GIS server and establish in-house GIS capacity based on FOSS GIS. Current status The survey firm maintains a dedicated GIS server running Ubuntu Linux on the office LAN. The server runs OpenGeo Suite, consisting of PostGIS, Geoserver and Geowebcache, and QGIS. A team of GIS data capturers work on Windows workstations running QGIS. They simultaneously edit data in the central PostGIS database and use forms in QGIS to improve data capture efficiency and quality. Layers and tables which need to be edited or styled dynamically come into QGIS via direct PostGIS connections. The rest of the layers which are used for orientation and would otherwise consume unnecessary resources and waste users' time to style, are served from Geoserver as web map services (WMS) and used in QGIS as a base map. A GIS specialist works on the GIS server in QGIS and PostGIS, managing data and doing analyses, and reporting and quality control not only for this project, but for new business that the firm can now take on because it has GIS capacity. Kirchhoff Surveyors funded the development by Kartoza of the Surveyor General (SG) Diagram Downloader plugin 25 for QGIS. This is another example of the power of FOSS. Many people need survey diagrams and it is a laborious task to find and download them from the SG website, especially when you have to download thousands, as was the case in this project. Developing a FOSS tool in the form of a QGIS plugin solved the immediate problem by automating downloads, but has also benefitted hundreds of other users in South Africa. Migration details This was a turnkey development in the sense that GIS capacity at Kirchhoff Surveyors started out as a FOSS solution. Consulting, documentation and training helped establish in-house capacity, which is now almost independent. Management response The project is ongoing at this time of writing, but objectives are being met and the proprietor of Kirchhoff Surveyors is very happy with his firm's new-found GIS capacity. The fact that it is FOSS has meant that it has come at a very low cost. Furthermore, highly skilled and motivated GIS staff have been hired, who come with academic and practical experience and training in FOSS GIS, specifically QGIS and PostGIS, in this case from the University of Pretoria. Staff response Staff enjoy working with QGIS and PostGIS. For many of the data capturers, this was their first experience with GIS and it has proven easy to learn and to teach. Conclusion This paper highlights three use cases among many private companies, government departments and educational institutions in South Africa where FOSS GIS is being applied successfully. Awareness of FOSS GIS in the market is growing and the service provider ecosystem is growing accordingly, offering consulting, training and support services. Transitioning to FOSS is certainly a viable proposition. Acknowledgments The author is grateful for permission and inputs from the case study subjects and the opportunities to work on these projects. References [1] GJ Fleming: An overview of open source GIS implementations in South Africa, Proceedings of the GIS Ukubuzana 2012. [2] Quoted in http://gissa.org.za/special-interest-groups/open-source/foss-documents/statement-on-cabinet-meetingof-21-february-2007 Contact Gavin Fleming, Kartoza, Tel 021 863-0660, gavin@kartoza.com 25 https://plugins.qgis.org/plugins/sgdiagramdownloader 49