Beruflich Dokumente
Kultur Dokumente
LECTURE 2. Open Source Imperative and the OpengeoStack Julius M. Bagate University of the Philippines Diliman, Quezon City
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPPING September 25- 27, 2013, National Engineering Center, UP Diliman, Quezon City
LECTURE 2 CONTENTS
Open Source Imperative: Open Geostack, Spatial Databases, PostGIS - What is FOSS - Why Use Open Source - The Open GeoStack - Open Data - Free Sources of Geospatial Data
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
FOSS
Free and Open Source Software (FOSS) A matter of freedom, not price, so think of "free speech", not of "free beer" Richard Stallman, founder Free Software Foundation [Steiniger, 2008] . "When we call software "free", we mean that it respects users' essential freedoms: [Stallman]
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
FREE SOFWARE
Free software pertains to the social and ethical importance of freedom and to the practical benefits it brings [Stallman in Wong, 2004]. Free software can be regarded as "the foundation of a learning society where we share our knowledge in a way that others can build upon" [Steiniger, 2008].
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
FREE SOFTWARE
Freedom 0: The freedom to run the program for any purpose Freedom 1: The freedom to study how the program works, and adapt it to your needs. Freedom 2: The freedom to redistribute copies so you can help your neighbour. Freedom 3: The freedom to improve the program, and to release your improvements to the public so that the whole community benefits.
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
OPEN SOURCE
A software is open source if its source code is accessible, can be studied, modified and redistributed by the general public [Ramsey, 2007].
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
OPEN STANDARDS
Open standards allow for the sharing of content and deployment of services accessible using different applications over a network and the internet.
It defines standard interfaces (requirements) or ICT systems and services and makes it possible to have a variety of interchangeable and interoperable products developed by different companies [Cerri, 2007].
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
OPEN STANDARDS
For geospatial and location based services, the Open Geospatial Consortium, Inc. (OGC), a non-profit, international, voluntary consensus standards organization leads and coordinates the development of standards [OGC]. OGC members include industry leaders, large and small companies, individuals, research institutes, government institutions and universities.
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
BENEFITS
Easy access to a software's source code stimulates innovation [Dunfey, 2006]. As a software development method, open source harnesses the power of distributed peer review and transparency of process to produce software with better quality, high reliability, more flexibility, with lower cost, and puts an end to predatory vendor lock-in [Ramsey].
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
FOSS LICENSE
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
FOSS LICENSE
GPL (GNU General Public License) is the most protective in guaranteeing all four freedoms [Steiniger, 2008]
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
FOSS LICENSE
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
FOSS ADOPTION
Success of FOSS projects are driven by the growth of FOSS communities Open source adoption in the Philippines is gradually expanding with early adopters coming from the private sector, an exception to the rule since the public and education sectors normally fill this role [Calimag, ZDNet Asia, 2009] From a CIO survey conducted by Springboard Research, the country has an OSS penetration rate of 45 percent with 24 percent of Philippine organizations with no current OSS implementations are expected to adopt OSS in the next two to three years [Calimag, ZDNet Asia, 2
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
FOSS ADOPTION
The open source phenomenon has a ubiquitous impact on society and the economy [Krogh, 2007]. It is a massive movement in which contributors, developers, governments, and firms collaborate to create a public good that shapes society [Krogh, 2007]. Using free and open source tools guarantees access to everyone and its increasing popularity opens up new development themes for research [Grohman,].
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
FOSS ADOPTION
FOSS is now used throughout the world even in mission critical environments such as financial systems and network backbones [Wong]. Governments of countries such as Brazil, China, Malaysia, South Africa and Vietnam are implementing nationwide policies or legislation promoting FOSS [Wong].
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
BENEFITS
Increased access, ownership and control of information and communication technologies and Provides a framework for the usage and sharing of intellectual capital; Aid the development of local capacity/industry,
reduces imports, conserve foreign exchange, increases the security of national ICT infrastructures, reduces copyright infringement and
BENEFITS
The Free/Open Source Software Act of 2007 (HB 1716) is being deliberated by the Committee on Information and Communications Technology (ICT) in the Philippine Congress [http://www.congress.gov.ph/]. This bill mandates the government to use open standards, open formats, and FOSS in its data storage, communications, documents and ICT goods and services [CPU].
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
BENEFITS
increased competition,
lowering ICT application cost and total cost of ownership, increasing access to powerful yet localized ICT applications,
increasing security of ICT applications and provides vendor independence
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
OPEN CONTENT
Includes freely available data that form the basis for knowledge initiatives such as the
OpenStreetMap project and other online platforms such as Sourceforge.org which provides an environment for software development; Eduforge.org - which aims to foster the sharing of ideas, research outcomes, and open content for education; and the Open Knowledge Foundation (okfn.org) and ScienceCommons.org which provide strategies and tools to develop, protect and share 'open' (i.e. free) knowledge [Steiniger, 2008].
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
OPEN CONTENT
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
OPEN DATA
Open data is the idea that certain data should be freely available to everyone to use and republish as they wish, without restrictions from copyright, patents or other mechanisms of control. (Wikipedia)
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
OPEN DATA
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
FOSS GIS
Increase in the number of projects started in the last couple of years; increase in financial support by governmental organizations for the foundation of FOS GIS projects; increase in the download rate for free desktop GIS software and; the increasing number of use cases of open source GIS software [Steiniger, 2008].
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
FOSS GIS
there is an increase in the number of research publications that mention the use of open source tools and libraries . Software and algorithms developed in research projects are increasingly being published under open source licenses
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
interoperable application environment; shared data space; and a method for exploring and accessing information and analytical resources made available in the network .
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
A great advantage of geospatial FOSS is the compliance with existing ISO/OGC standards [Craciunescu, 2009]. Some projects are reference implementations of standards such as Geoserver for WFS, WCS and WMS standards. Existing products are now undergoing rapid refinements and enhancements which can provide feature complete alternatives to proprietary software [Ramsey, 2007].
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
FOSS TRIBES
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
C TRIBE
The 'C' Tribe which have been around for a longer time, are more mature projects, includes developers working on UMN Mapserver, GRASS, GDAL/OGR, OSSIM, Proj, GEOS, PostGIS, QGIS and MapGuide OS. Also in this group are users of scripting languages namely Python, Perl and PHP.
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
JAVA TRIBE
The 'JAVA' Tribe includes developers working on GeoTools, uDig, Geoserver, JTS, JUMP and DeeGree.
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
Major Web Projects are shown Arrows indicate the possibility of cross access/collaboration.
Ka-Map
Mapserver
CartoWeb
WMS
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
.NET TRIBE
The '.Net' Tribe includes developers working on Worldwind, SharpMap, NTS and MapWindow. C and Java components can be fused to implement functions in .Net applications.
MapWindow
Proj.Net
Proj4
WorldWind
NTS JTS
SharpMap
GDAL
OGR
ONLINE GEOGRAPHIC INFORMATION SYSTEMS AND WEB MAPING October 22 - 23, 2012, National Engineering Center, UP Diliman, Quezon City
OpenGeoStack
Includes products that fill every level of an open spatial data infrastructure stack
FOSS GIS projects include software libraries, web servers, desktop GIS, spatial databases and GIS viewers [Steiniger, 2008]..
OpenGeoStack
PostGIS is the spatial extension of PostgreSQL object relational database system. It has become the standard spatial database back end for most open source GIS tools [Ramsey, 2007].
Network Configuration
Network Configuration
Network Configuration
Network Configuration
OpenGeoStack
OpenGeoStack
Jetty Servelet/ Apache Tomcat
SERVICES WMS, WFS, WFS-T
PostgreSQL PostGIS
Apache
CLOUD
THICK CLIENT
Desktop GIS QGIS UDIG
SERVICES WMS, WFS, WFS-T
OpenGeoSuite GEOSERVER
DATA
Openlayers
PostgreSQL PostGIS
Apache
SERVER
THIN CLIENT
Cloud Infrastructure
Jetty Servelet/ Apache Tomcat OpenGeoSuite GEOSERVER DATA OpenGeoSuite GEOSERVER DATA Jetty Servelet/ Apache Tomcat OpenGeoSuite GEOSERVER DATA Jetty Servelet/ Apache Tomcat OpenGeoSuite GEOSERVER DATA Jetty Servelet/ Apache Tomcat
PostgreSQL PostGIS
PostgreSQL PostGIS
PostgreSQL PostGIS
PostgreSQL PostGIS
Apache
Apache
Apache
Apache
OpenGeoStack - Sources
PostgreSQL
http://www.postgresql.org/
Enterprise DB
PostGIS
http://postgis.refractions.net/
Enterprise DB Stackbuilder
Enterprise DB Stackbuilder
Add-ons, tools and utilities Database Driver Database Server Registration-required Trial Products Web Applications Web Development
Enterprise DB Stackbuilder
EnterpriseDB pgPhoneHome for Apple iPhone v1.12 pgAgent v3.2.1-1 pgBouncer v1.5-1
Enterprise DB Stackbuilder
Database Driver
Enterprise DB Stackbuilder
Migration Toolkit v1.0-4 Update Monitor v1.0-1 XDB Replication Server v2.56-5
Enterprise DB Stackbuilder
Database Server
Enterprise DB Stackbuilder
Web Applications
Enterprise DB Stackbuilder
Web Development
LECTURE 2 CONTENTS
LECTURE 2 CONTENTS
LECTURE 2 CONTENTS
LAB 2 CONTENTS
Postgres, PostGIS Install and Configuration, Enterprise DB Stack, Install Drupal7**, Uploading Spatial Data, Uploading Attribute Data QIS Introduction