use of foss4g in hybrid systems

22
Michael Terner, Executive Vice President September, 2014 The role of geospatial open source (FOSS4G) as a component of hybrid systems

Upload: michael-terner

Post on 25-May-2015

343 views

Category:

Technology


1 download

DESCRIPTION

Presentation given at International FOSS4G Conference in Portland, OR in Sept, 2014. Presentation describes the role of open source tools as part of hybrid systems for geospatial/mapping web application. Presentation focuses on four specific use cases that involve both commercial and open source components.

TRANSCRIPT

Page 1: Use of FOSS4G in hybrid systems

Michael Terner, Executive Vice PresidentSeptember, 2014

The role of geospatial open source (FOSS4G) as a component of hybrid systems

Page 2: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 2

Terner’s definition of “hybrid system”

A solution that involves more than one technology component, or stack.

Components may have commercial and/or open source origins.

Page 3: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 3

Esri blog pieceBy Victoria Kouyoumjian, October, 2011

“It should not be a choice of ‘closed’ or ‘open’ taken in isolation—it’s based on the best business model for you and your organization, and the most appropriate tool that provides Fitness of Purpose…”

Page 4: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 4

Do you need to choose just one?Or, is it a best of breed world?

Page 5: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 5

But, choosing can be difficult when there are so many choices

• Desktop vs. server vs. cloud

• Open source vs. commercial

• Open source vs. open source

Page 6: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 6

In context of FOSS4G, hybrid can be a gateway to Open Source

What is the plan?

• It’s a second database for awhile (it’s OK)

• Train up your staff, they already have the core skills

• Migrate in increments to learn and gain confidence

From yesterday’s presentation on “PostGIS for Managers” by Paul Ramsey, of Boundless

• Bringing in new technology can be difficult– There are sunk costs

– Which make near-term savings more elusive

• Use of Open source does not need to be an all, or nothing decision

Page 7: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 7

Why commercial?

• Esri: Legacy systems and sunk costs

– Esri pre-dates Open Source offerings

– Costs in cash and staff know-how

– Really strong professional desktop: cartography/analysis

– Mature business ecosystem

• Google: Unique platform capabilities

– Scalability

– Familiar UI

– All device orientation

Page 8: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 8

Four use case examples of hybrid

What?

Why?

How?

Page 9: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 9

What?

• Ontario-based media company holding 114 newspapers

• Has an on-line real estate listing

• Listings can be viewed/queried based on neighborhoods (aka “dissemination areas”)

• Neighborhoods are groupings of census geometry

• Neighborhood boundaries are periodically changed by Metroland

– Need for regular polygon aggregation

Page 10: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 1 0

Why?Had been using Google as their publication platform

• End-user familiarity

• Curated base map data

• Ability to handle scale

• BUT, Google Maps Engine (GME) does not support polygon aggregation

• So, AppGeo constructed polygon aggregation component using PostGIS

Page 11: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 1 1

LinuxNode.js

PostGIS

How?Architecture

Web Server

5. Public use of listings with new

dissemination areas

www.clker.com

1. Metroland initiates process by creating a new “dissemination file” that specifies

aggregation

2. Aggregation file is read and initiates PostGIS polygon aggregation.

3. PostGIS aggregates polygons to create new dissemination

area boundaries

4. New dissemination area boundaries are pushed into GME.

Page 12: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 1 2

Crucial Habitat Assessment ToolWhat?

Page 13: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 1 3

Crucial Habitat Assessment Tool

• WGA did not specify a technology in their RFP

• RFP required hosting for 1 year; afterwards TBD

• WGA does not have an in-house GIS operation– No in-house infrastructure; no existing licenses

• Relatively simple geo capabilities, but

• Wanted highly customized site– “Unique web destination”

• High performance publishing of 1 large data set

Why?

Page 14: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 1 4

How?Hybrid Components

http://westgovchat.org• OpenGeo:

– GeoServer + GeoWebCache for tile making

– PostGIS for geometry and query serving

• Goo– Google Maps API for mapping JavaScript

framework

– Google base maps

• Esri:– Used by states and University of KS for

data management/data aggregation

Page 15: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 1 5

How?Architecture

Page 16: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 1 6

What?DriveTexas.org

• Public traveler information system

• Chose Google for scalability requirements– Stress tested to 100k queries per

second

• Road conditions data maintained in Esri– Pushed to Google Maps Engine

every 10 minutes

Page 17: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 1 7

Why?Component runs every 10 min to synch Esri with Google

Try it at: www.DriveTexas.org (on any device)

Page 18: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 1 8

How?Architecture

On-premise Esri DB of road

conditions

1. Custom Esri apps for maintaining road conditions

2. Esri web services publishing current

road conditions

LinuxNode.js3. Component

accesses Esri service to ID conditions changes

and pushes to GME

4. Public use at Google scale

www.clker.com

Page 19: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 1 9

Node module for GME access is open

• Node.js tool is built with open components

• Guts of the new AppGeo node code for accessing GME is open source– Used on additional AppGeo projects

(e.g., Metroland)

• Available under MIT license and in AppGeo github organization

Page 20: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 2 0

MapGeo migration to Google GMEHosted parcel viewer for local govt.

• Existing tool is built with PostGIS and uses GeoServer/GeoWebCache for tiling

• Moving to Google Maps Engine to ease tiling burden

• PostGIS will remain part of the solution

Page 21: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 2 1

Conclusions

• Several models of supplementing commercial solutions with open components

• Cost effective way of extending commercial platforms

• Can be a gateways to organizational use of Open Source

• Share, and share alike

Page 22: Use of FOSS4G in hybrid systems

© 2 0 1 4 A p p l i e d G e o g r a p h i c s , I n c . S l i d e 2 2

Questions

?Michael Terner

[email protected]