Sunday, 28 October 2007

Path to Ubiquitous OSGeo Software and Documentation

The time is ripe to integrate our Open Source Geospatial (OSGeo) applications, and build supporting documentation. The goal:
Powerful, Simple, Integrated, Documented, Ubiquitous Open Source Geospatial Applications
Ease of installation will pave the way for mainstream OSGeo adoption, increase users and developers exponentially and greatly increase OSGeo offerings.
Here I define achievable steps to reach the goal and likely resources for each step.
Current status
We already have powerful Open Source Geospatial applications, but we still need geeks to install and then use a full stack of OSGeo software.
Our applications are often easy to install by themselves, but project release schedules are independent of each other and it is hard to keep up with which versions of software work with each other.
There has been good work getting many OSGeo packages into linux, notably UbuntuGIS, DebianGIS and liveCD. A windows distribution is needed.
Documentation and training material is in an early phase. This material needs to be cross project, and match versions of OSGeo Software.
Key Steps
Set up project version dependency matrix (OSGeoMatrix)
A table which lists, for each project version, the other project versions it depends upon. The OSGeoMatrix should be seeded by existing efforts from UbuntuGIS, DebianGIS and liveCD projects.
OSGeoMatrix would feed into the various linux and windows distributions.
Once the OSGeoMatrix exists, the onus on updating it will become the responsibility of projects and should become an entry criteria for the OSGeo graduation process.
OSGeoMatrix will require release, testing and feedback processes to maintain quality control. These processes should start from existing linux distribution projects.
For efficiency, it would help to align OSGeoMatrix release schedules with linux distribution schedules.
OSGeo Workshops & Tutorials
I see an immediate opportunity to present OSGeo Workshops at Geospatial Conferences. Agencies want to learn about OSGeo, and workshops are a great advertising tool for companies looking for OSGeo work.
Together we can collectively build quality workshops, and we have the resources (potential presenters) to develop the documentation.
These workshops require a stable set of software, so should provide volunteers to help seed the OSGeoMatrix.
Further documentation
Comprehensive documentation which has already started in the education committee should be able to tap into and get a boost from the workshops and tutorials. I'll let others comment on the path this should take.
Dependencies
The project dependencies I see are:

+-OSGeo Packages
..+-OSGeo Matrix Project
....+-LiveCD
....+-MandrivaGIS
....+-DebianGIS
......+-UbuntuGIS
........+-Ubuntu
....+-WindowsGIS (yet to be started)
....+-Other distributions

....+- Distributions
......+-OpenSource Workshops
......+-Documentation

Actions:
The effort required to achieve all the above is huge. But there are already many people working on each of these sections, and by integrating our efforts we are all going to benefit.

So I suggest the following:
1. Get buy in from the existing linux geospatial projects: LiveCD, UbuntuGIS, DebianGIS and MandrivaGIS. These projects are already doing much of the effort required for an OSGeoMatrix project and can seed OSGeoMatrix. The benefit for the linux distributions is that they will reduce their overhead by sharing integration efforts with other distributions, and after OSGeoMatrix has started, projects will maintain dependencies for their own project.

2. Start an OSGeoMatrix project. It should contain:
  • Web page
  • Email list
  • Version dependency matrix (how should we store this)
  • Build processes
  • Test processes
  • Release schedule
This project would be an excellent candidate for OSGeo Labs.

3. Have projects like UbuntuGIS, DebianGIS, liveCD use OSGeoMatrix as the core for building their own distributions, which in turn will ensure that testing, bug fixes etc all feed back into the core repository.
How to get involved?
Do you have a piece of the puzzle or some spare time or strong opinions on how to make Ubiquitous OSGeo a reality? Let yourself be known. Speak up on the OSGeo Discussion list, or IRC channel irc://freenode.net#osgeo, leave a comment on this article, or you can contact me directly. I want to get in touch with all the key players who are required to make this happen.
References

Monday, 8 October 2007

Engaging the OGC in R&D

Attached is a presentation given to the Department of Primary Industries in Victoria which addressed:
  • Overview of Open Geospatial Consortium (OGC) Standards
  • How to engage the OGC in your Research and Development
  • The Open Source Geospatial Stack which implements the standards
  • Commercial Open Source Support
PDF - 2 Meg

GeospatialStandardsSpatialSciencesWorkshop3.ppt

Wednesday, 15 August 2007

Open Standards, Open Source, Open Data
Below is a presentation delivered at the GITA conference in Brisbane, August 2007.
It covers the benefits from using Open Standards and Open Source, how to effectively engage Open Source, sources of Australian map data, advantages of using Creative Commons licence for Open Data, and proposed extensions to Creative Commons for proprietary data.

Unfortunately I had a bicycle crash a couple of days before I was due to present and my face was too ugly to put on stage, so Tim Bowden kindly stepped in on my behalf.
PDF - 1 MByte.
Powerpoint - 10 MBytes.

Wednesday, 30 May 2007

Federated Geo-synchronization

Standards and tools for reliable data synchronization in Spatial Data Infrastructure and field based data collection.

Overview

This article describes the issues and technical solutions associated with Federated Geo-synchronization.

Lisasoft aims to contribute to these solutions as part of the OGC’s Open Web Services Testbed 5.2.

To strengthen and refine our requirements, we are looking for Agencies which would benefit from solutions identified here. Please leave a comment, or contact me if you are interested.

Technical Problem Statement

As spatial databases become distributed and collaboratively maintained, traditional database transaction models ineffectively handle modern scenarios.

Figure 1 Synchronising databases in a Spatial Data Infrastructure

Users require current data from remote agencies. Data may be stored on a slow or unreliable server or behind an unreliable internet connection.

Updates may come from remote field workers, trusted external organizations, or general internet users. Identities must be confirmed, updates validated and applied, or rolled back to a previous version.


Technical Design

Figure 2 Caching WFS-T in field, local and remote networks

This project will:

  • Make a Spatial Data Infrastructure (SDI) fast and robust by caching remote WFSs locally.

  • Provide WFS Synchronization to allow real time data updates between agencies.

  • Ensure interoperability between agencies and applications by proposing required extensions to Open Standards.

  • Ensure wide adoption by providing all components free as Open Source Software.

  • Provide desktop and mobile, field based data collection tools.

Version WFS-T

A Transactional Web Feature Service (WFS-T) provides an OGC standards compliant web interface for downloading and updating vector features over the internet. To date the WFS-T standard doesn’t address version history.

Versioned WFS-T enables users to roll back to previous versions, track update history, check differences between updates. A versioned WFS is required to support a cached WFS.

Version WFS-T Development

Geoserver developers have developed a Versioned WFS-T by extending the WFS-T specification to include standard version attributes. As at May 2007, the Geotools version code is complete, but still in alpha state. It requires configuration web pages to ease operator use, packaging into a release and real world testing.

The extensions to the WFS-T specification need to go through the OGC standards process.

Security

Security involves: authentication (to verify who a user is) and authorization (to specify what a user can view or update).

Security Development

Geoserver has prototype authorization and authentication code. Access is provided to the level of WFS. Granular access to a layer or a specific feature is not supported. The code still requires refinement, a user interface and integration with the baseline.

Clients like Udig, Mapbuilder and OpenLayers require security logic. Some of this will be addressed during the Canadian Geographic Data Infrastructure Interoperability Pilot, due to complete October 2007.

Cached WFS-T

A Cached WFS mirrors a remote WFS locally. A Cached WFS-T also caches WFS-T updates when disconnected from the remote WFS.

A Cached WFS-T is used when:

  • The remote WFS uptime is not guaranteed.

  • The remote WFS connection is unreliable or unable to handle traffic required.

Cached WFS-T depends upon the Version WFS-T protocol.

Cached WFS-T Development

An alpha version of Cached WFS (read only) is implemented by Geoserver. A friendly user interface is required to bring this to COTS quality.

Minimal development is required to implement Cached WFS-T (with writes) which has a basic conflict management interface.

Business rules for managing updates and conflicts from disconnected clients will be addressed in a second development phase.


Desktop Mapper

Figure 3 JGrass desktop mapping application

Desktop Mapping offers powerful data manipulation and analysis. There are a number of clients available both proprietary and open source with varying levels of functionality and standards compliance.

Desktop Mapper Development

A prime candidate for an Open Source Desktop Mapper is UDig and JGrass which are combining forces to provide:

  • User friendly mapping interface.

  • Extensive map analysis tools from Grass.

  • Access to numerous mapping format and data sources from Geotools.

  • Extensible architecture from Eclipse

Development is required to include:

  • Embedded cached WFS-T from Geoserver (developed but requires integration and testing)

  • Embedded data store using H2 (in development)

  • Access to images in a compressed format like ECW or JPG2000.

More work is required to add:

  • Business logic, views and reports to manage collaborative editing and information from a versioned WFS-T.


Mobile Mapper

Field operators need to create or update geographic data while in the field.

A typical use case involves:

  • Download geographic data while in the office

  • Disconnect from the network

  • Modify, create and delete features and datasets. Interface with a GPS to collect feature information.

  • Synchronize changes with local or remote data-stores via Standards compliant WFS-T protocol.

Mobile Mapper - Tablet Development

Figure 4 Ultra Mobile PC with slide down keyboard

A Tablet or Ruggedized PC provides the same operating environment as a desktop PC. So the Desktop Mapper will port directly to the Tablet.

Integration with a GPS is the only extra development required for the Mobile Tablet.

Mobile Mapper - PDA Development

Figure 5 Mapping on a PDA

PDAs are often used for field work because they are cheaper and smaller than laptops. Along with smaller size they are also less powerful and have less storage capacity.

Cut down versions of Windows (Windows CE) and Java (J2ME) run on most PDAs.

Investigation is required to determine effort required to port the Desktop Mapper to the PDA and whether alternative development would be more effective.

Browser Editor

Figure 6 Mapbuilder, a browser map editor/viewer

Browser editors efficiently enable data collection from the public or remote workers.

Browser clients can also publish public map data.

Browser Editor Development

Openlayers and Mapbuilder are working together to produce Open Source, Open Standards Browser Based mapping client. WFS-T editing is supported but needs to include business logic associated with user authentication and access rights.

Open Standards

Multiple agencies tend to run multiple technical solutions. This is fine so long as they interoperate through Open Standards.

The Versioned WFS-T protocol will be presented to the OGC to be formalized as an Open Standard.

Open Source

Free tools reduce entry costs to a Spatial Data Infrastructure which will maximize participation.

Open Source software already provides the majority of the functionality required by this project which means tools can be built for minimal cost.


Deliverables

Essential Deliverables

Essential Deliverables are required to meet immediate customer needs. These phases are low risk as the functionality already exists in tested or prototype code.

Phase 1: Mirror remote WFS locally

  • Cached WFS (view only). Builds upon Geoserver/PostGIS.

  • Standard UDig for WFS viewing

Phase 2: Update remote WFS-T from remote or disconnected client

  • Cached WFS-T (read/write). Builds upon Geoserver/PostGIS. Add simple update business rules.

  • Standard UDig for WFS-T editing

Phase 3: Security - Role based editing and views

  • Security added to Geoserver

  • Role based options available in UDig

Optional Deliverables

Optional Deliverables are nice to have and involve further development with associated risk.

Phase 4: Universal Client for easy install

  • UDig with embedded database (H2) and Cached WFS (Geoserver)

Phase 5: Universal Client on PDA

  • Port universal client to PDA

Schedule

OWS 5.1


RFQ (5.1) Issued

May 11, 2007

OWS 5.2


Revised RFQ issued

July 9, 2007

Questions Due & Bidders’ Conference

July 16, 2007 (TBR)

Clarifications Posted

July 23, 2007 (TBR)

RFQ Responses Due

August 3, 2007

Kickoff Meeting

week of September 10, 2007

Interim Milestone

week of November 12, 2007

Demonstration Milestone

week of January 7, 2008

Final Delivery

February 18 – February 22, 2008

Commercialize product, provide support, consulting and customized solutions.

March 2008 – 2009.


Sunday, 20 May 2007

Geospatial Industry moves Web Publishing to Open Source

James Free writes his observations of ESRI MVP types moving away from ESRI servers (ArcGIS Server, ArcIMS, ArcSDE) to Open Source for web publishing. The MVPs report Open Source is faster and offers better value.
This lines up with anecdotal reports I'm hearing from developers. For instance, developers on the West Australia's Landgate project compared optimized Oracle Spatial + ESRI SDE with unoptimized PostGIS and found PostGIS ten times faster for the queries they were running.

Saturday, 19 May 2007

Open Standards & Open Source at SSC Conference, Hobart, Australia.

There was significant buzz about Open Standards and Open Source around the Terrapages/Lisasoft and OSGeo stands at the Australian Spatial Sciences Institute conference 14-18 May 2007 in Hobart, Australia.
Open Standards and testbeds
There was a lot of interest from a number of Government Departments in using Open Standards. Some departments like Landgate in Western Australia have already made major inroads into a Spatial Data Infrastructure using Open Standards and a lot of Open Source.
Opportunities to tap into international testbeds exist for Australian Industry and Government Departments. Investment in international testbeds allows best practices from Overseas to be deployed locally, and for local industry to break into international markets.
Federated Geo-synchronisation
Federated Geo-synchronisation involves synchronising a remote WFS locally so that the local WFS users don't require a stable internet connection.
Many people noted their desire to have this functionality for current needs. This is an unfunded thread in the upcoming OGC Testbed (OWS5) but I think there is enough desire to initiate Australian funding for this functionality.
Metadata collection
A few people, including Rob Atkinson from Socialchange Online discussed automating much of the metadata entry for Web Services, which can then be fed into Catalogs.
Rob talked about the need to create default Metadata schemas for different industries which services can subscribe to. There is room for a Research Project here, and backing implementation.
A number of agencies discussed their needs to comply with ANZLIC metadata standards. Again, there are opportunities for agencies to work together on this problem to create a shared solution.
Canadian Geographic Data Infrastructure Interoperability Pilot
The CGDI IP will provide widespread, cross agency dissemination of data which can be updated locally. This same use case is similar to the Federated Geosynchronisation required by the Australian Spatial Data Infrastructure and we should be looking to deploy results of this project locally.
Lisasoft is negotiating to build an integrated, browser based client for this application.
Open Web Services Testbed 5
OWS Testbed 5 is this year's major testbed sponsored by the OGC. There are significant opportunities for Australian Government Departments and Australian Industry to participate in these testbeds.
Open Source
Geoff Zeiss from Autodesk talked about the Open Source business. Unfortunately I wasn't able to make his talk, but heard a lot about it from enlightened people walking past our booth.
A high government official noted that it was important for the Australian government to promote Open Standards for interoperability and to a lesser extent, to support Open Source to promote adoption of technologies being developed.
We announced our Commercial Support for Open Source Geospatial Software. This attracted a lot of positive response. One techie noted that he would be recommending his department buy support after he left so that his applications would keep running. Another talked about having problems running Open Source applications after their key techie left. We hope Commercial Open Source Support will provide the stepping stone required to migrate to Open Source.
Open Source Education
We had a fruitful conversation with Anthony O Flaherty from South Australia TAFE. Anthony noted that some of his students were using Open Source and was happy to encourage it. We pointed out that we'd be happy to provide industry relevance to his training and would be looking at his graduates in future when hiring. In particular, we pointed Anthony at Ian Turton's Open Web Mapping Course.

Sunday, 13 May 2007

The Economic Motivation of Open Source Software: Stakeholder Perspectives

Dirk Riehle provides an excellent explanation of business behind Open and Closed Source Software: http://www.riehle.org/computer-science/research/2007/computer-2007-article.html.

LISASoft/TerraPages apply these Open Source business principles to Geospatial Software. LISASoft provide value using Open Source Geospatial Software.

Using free Open Source allows Systems Integrators to increase services or reduce price.

The price of dominant, closed source software reflects market demand rather than development cost. As open source projects mature, their cost undercuts closed source competitors. Dominant projects are forced to use lock in tactics or to open source as well.
Many Open Source Geospatial Products offer equivalent functionality and quality to existing dominant Closed Source products. Initial costly development is complete and Open Source offers better value for money.

Sunday, 22 April 2007

Open Webmapping Course

Ian Turton has completed an Open Web Mapping course well worth studying:
... I was busy writing and delivering a new course for PennState on Open Web Mapping. Finally its all over and its time to give back to the community first there is a page of student projects the majority are a built with GeoServer and MapBuilder at http://webmapping.mgis.psu.edu/mapbuilder/demo/index2.html. PennState has also generously agreed to give away the course ware under a CCSA license so you can all see what I've been saying about your projects at https://courseware.e-education.psu.edu/courses/geog585/content/home.html. If any one would like to take the two case study lessons and roll them in to tutorials you're welcome.

In general all the students were very happy about the quality and ease of use of the open source tools they used, mostly they wanted more MapBuilder documentation and more projections.

Wednesday, 21 February 2007

WebService Security - Problem Description

Background
We offer web based services like Web Map Service layers and Geocoders to developers and organisations. We need to associate Web Service requests to Web Host customers for billing purposes.
Web pages which use our web services (at the Web Host) will be implemented by third parties. The services should be available via a simple javascript API.

Actors
Web Service - Application or service on offer
Web Host - Actor offering application or service to end user
Browser - The End User

Statement of Problem
To provide Web Hosts a secure, online service to our Web Services, for their end user Browser applications. A Web Host must be authorized as having access to the Web Service requested.

Once authorization is established, the Browser will be allowed use of the Web Service on behalf of the Web Host. The Browser will have access to the Web Service.

Authorization must be invisible to the Browser, the authorization is between the Web Host and Web Service. This may require distinction from how the Browser interacts with the Web Service once authorized. The Browser must be informed if authorization fails.

Web Service Access levels supported is allow or deny. Tiered level of access is not addressed yet. Access of data and services will be determined by the web service.

Friday, 9 February 2007

Multi touch interface

Here is an excellent interface for viewing maps - even if it has been around for ages. Project the maps on the wall, then move the maps around by stroking the wall with your hands.
http://www.bassictech.com/blogs/bassictech_news_blog/archive/2007/01/20/remapping-the-universe-using-this-gui.aspx

Monday, 22 January 2007

Why Gender Matters

I listened to a very interesting arguments against co-education of children based on boys and girls sight, hearing, and smell being wired differently which caused them to learn differently.

http://www.abc.net.au/rn/lifematters/
Monday 22 January.

Interviewee was Leonard Sax, http://www.whygendermatters.com/#1

Summary
Forget everything you think you know about gender differences in children. Forget "boys are competitive, girls are collaborative." In recent years, scientists have discovered that differences between girls and boys are more profound than anybody guessed. Specifically:
    The brain develops differently. In girls, the language areas of the brain develop before the areas used for spatial relations and for geometry. In boys, it's the other way around. A curriculum which ignores those differences will produce boys who can't write and girls who think they're "dumb at math."
    The brain is wired differently. In girls, emotion is processed in the same area of the brain that processes language. So, it's easy for most girls to talk about their emotions. In boys, the brain regions involved in talking are separate from the regions involved in feeling. The hardest question for many boys to answer is: "Tell me how you feel."
    Girls hear better. The typical teenage girl has a sense of hearing seven times more acute than a teenage boy. That's why daughters so often complain that their fathers are shouting at them. Dad doesn't think he's shouting, but Dad doesn't hear his voice the way his daughter does.
    Girls and boys respond to stress differently - not just in our species, but in every mammal scientists have studied. Stress enhances learning in males. The same stress impairs learning in females.

These differences matter. Some experts now believe that the neglect of hardwired gender differences in childrearing may increase a son's risk of becoming a reckless street racer, or a daughter's risk of experiencing an unwanted pregnancy.

Since the mid-1970's, educators have made a virtue of ignoring gender differences. The assumption was that by teaching girls and boys the same subjects in the same way at the same age, gender gaps in achievement would be eradicated. That approach has failed. Gender gaps in some areas have widened in the past three decades. The pro-portion of girls studying subjects such as physics and computer science has dropped in half. Boys are less likely to study subjects such as foreign languages, history, and music than they were three decades ago. The ironic result of three decades of gender blindness has been an intensifying of gender stereotypes.

For parents, Dr. Sax provides concrete guidelines regarding the tough issues of discipline, sex, and drug abuse, and other problem areas.

For educators, Dr. Sax offers practical suggestions to help break down gender stereotypes and help all children to reach their potential.

For everybody, Dr. Sax offers a provocative analysis of how gender influences every aspect of our lives.

Friday, 19 January 2007

OSGeo stand at Linux Australia conference

I've just come off the OSGeo stand at Linux Australia. Behind the stand were:
  • Tim Bowden
  • Milton Lofberg
  • Antel (sp?)
  • Myself

Data
Every second person at the stand asked about data, to which we explained that there is very limited "free" data in Australia. Many of the participants were excited by the idea of an Open Street Map idea and said they would be keen to enter data if the project existed in Australia.
Education
There were a few teachers and lecturers who came past. The guy I talked to said he used the ESRI stack for teaching. It was noted that if people are to use the Open Source stack then we need to start at the educational institutions. Teachers in this area should feed their notes back into the OSGeo Education group.
Proprietary verses Open Stack
There were a significant number of questions from users of the proprietary stack about equivalent applications for their current ESRI product. I used Arron Raciot's slide which shows a comparison between stacks a number of times. This slide should be converted into a handout and/or poster.
Packaging
A guy from Red Hat offered his help to package up the Geospatial stack for the Red Had distribution. Apparently we need to look into "yum".
A guy from Gentoo showed me that QGIS is already being packaged for Gentoo. To get other packages included, we should add a bug report and set up a list of dependencies and documentation.
Wearable Computing
We chatting for a bit with Wayne Piekarski about wearable computing. He had some very sexy stuff. Wearing Virtual Reality glasses he could walk around an area and mix real backgrounds with virtual objects. There are opportunities to work with OSGeo here but we did not get much time to talk details before the crowds came and we had to go back to our tables.