2013 enterprise track, building gis, decision support, and location intelligence applications using...

45
Turning Big Data into Change You Can See GIS, Decision Support, Monitoring and Evaluation TerraFrame 2013© 1

Upload: gis-in-the-rockies

Post on 30-Jun-2015

551 views

Category:

Documents


1 download

DESCRIPTION

There is a growing need for GIS, decision support, and location intelligence applications. Maps can be more than just static and read only artifacts. Rather, they can be fully integrated within an application to allow users to interact directly with their data. Furthermore, user interfaces can be created that abstract the complexity of GIS and provide non-GIS professionals with a user interface metaphor for their business domain. Open source GIS software tools, such as OpenLayers, GeoServer, and PostGIS, are incredibly powerful and are often viable alternatives to commercial GIS tools. However, building an enterprise-class geospatial application using these tools is a daunting task. We will demonstrate how to quickly integrate open source GIS tools with an open source data management framework to build GIS and decision support applications. By using ontologies to model geographical locations, called geo-ontologies, we will demonstrate how to build location intelligence applications.

TRANSCRIPT

Page 1: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Turning Big Data into Change You Can See GIS, Decision Support, Monitoring and Evaluation

TerraFrame 2013© 1

Page 2: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Building GIS, Decision Support, and Location Intelligence Applications Using

Open Source Tools

TerraFrame 2013© 2

Turning Data into Actionable Information

Page 3: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Where the Industry was Yesterday

TerraFrame 2013© 3

Page 4: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Where the Industry is Today

TerraFrame 2013© 4

Page 5: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Where the Industry is Headed

TerraFrame 2013© 5

Page 6: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Where the Industry is Headed

TerraFrame 2013© 6

Page 7: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

How to build Location Intelligence Applications

Open source now allows us to build industry specific geospatial applications with: • Enhanced spatial analytics • Intelligently aggregate and analyze data from

multiple sources – NO DATA SILOS!

Improve information exchange! TerraFrame 2013© 7

Page 8: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Commercial vs. Open Source GIS Software Commercial GIS Software • Is powerful, mature, but, generic (one size fits all) • Requires a GIS professional to use • Is difficult to build industry specific applications • Is very expensive

Commercial vendors cannot meet the wide demand for industry specific GIS applications

TerraFrame 2013© 8

Page 9: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Commercial vs. Open Source GIS Software Open Source Tools • Have traditionally been software developer toolkits and

not standalone applications • Require software developers to heavily customize • Are more modular for building industry specific

applications Open source software enables us to build industry specific applications for less cost than commercial tools and without any reoccurring licensing fees

TerraFrame 2013© 9

Page 10: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Open Source Tool Landscape

• PostGIS – Geospatial database • GeoServer – Mapping server • OpenLayers – Web mapping front end

TerraFrame 2013© 10

Page 11: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

The Case for Open Source • Open standards historically:

– Lead to breakthroughs in information exchange

– Encourage technological innovation – Enrich the masses

• Closed standards historically: – Are understood by an educated elite – Hinder information exchange – Enrich an elite class

TerraFrame 2013© 11

Page 12: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Critical Components to Interoperability

• Compatible

– Data Format – Data Structure – Content Semantics

TerraFrame 2013© 12

Page 13: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

TerraFrame 2013© 13

Phaistos Disc – 1,700 BC

Page 14: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

TerraFrame 2013© 14

Compatible Phaistos Chinese Gutenberg

Data Format Yes Yes Yes

Data Structure/Language

No Not Quite Yes

Semantics No No No

Comparing Movable Type Technologies

Page 15: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

TerraFrame 2013© 15

Compatible Commercial Tools

Open Source

Data Format Yes Yes

Data Structure/Language

No No

Semantics No No

GIS Tools

Page 16: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Introduction to Ontologies

• Formally represents knowledge as a set of concepts within a domain

• Used in artificial intelligence • Allows software to make human-like inferences from

data • Ideal for semantic conflict resolution • Can enhance spatial reasoning

TerraFrame 2013© 16

Page 17: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Ontologies

TerraFrame 2010© 17

Subject Object Predicate

Page 18: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Ontologies

TerraFrame 2010© 18

Nathan Person Is a Living

Being Is a

Name Coordinates Nathan POINT <X,Y>

Person Record

Page 19: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Ontologies

TerraFrame 2013© 19

Page 20: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Mapping Attributes with the Ontology

TerraFrame 2013© 20

Page 21: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Mapping Values with the Ontology

TerraFrame 2013© 21

Page 22: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Ontologies

• Describes a domain (e.g. medical)

• Stores relationships – e.g. “is-a”, “has-a”

• Provides knowledge representation about the domain

• Captures human knowledge into machine representation, enables automated reasoning

TerraFrame 2013© 22

Page 23: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Ontologies

TerraFrame 2013© 23

Compatible

Commercial Tools

Open Source Ontologies

Data Format Yes Yes No

Data Structure No No Yes

Semantics No No Yes

Page 24: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Architecting a Location Intelligence Application

It’s the Metadata, Stupid!

TerraFrame 2013© 24

Page 25: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Geo-Universals – Boundary Classifications

TerraFrame 2010©

State Country City Is Allowed In Is Allowed In

Page 26: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Geo-Ontologies

TerraFrame 2010©

Colorado

USA

Is Located In Name Coordinates USA MULTI POLYGON<….> Colorado POLYGON <….>

Geoentity

Page 27: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Geo-Universals GeoEntities

TerraFrame 2013© 27

Page 28: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

TerraFrame 2013© 28

Page 29: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

TerraFrame 2013© 29

Page 30: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Geo-Ontologies

TerraFrame 2013© 30

Page 31: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Geo-Ontology

TerraFrame 2013© 31

Page 32: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Enhance spatial reasoning by representing locations as an object node graph

TerraFrame 2013© 32

Page 33: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

TerraFrame 2013© 33

Creating Multi-Thematic Maps with Open Source Tools

Page 34: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Traditional Architecture

Application/Data Source

•Custom Application

•Web Service •MS Access, SQL

Server, PostGIS

Data Conversion

•Shapefile •Excel •CSV •KML, GeoJSON,

etc.

GIS Stack

•ESRI software suite

•GeoServer •Map Server •Quantum GIS

Page 35: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Integrated Architecture

Application Stack

Client

Server

GIS Stack

OpenLayers

GeoServer

PostGIS

Page 36: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

The GIS Stack (OpenLayers + GeoServer + PostGIS)

OpenLayers

PostGIS

GeoServer

Client/Browser

JavaScript

HTTP Image

SQL Result Set

Render

Example: A WMS request for a layer defined in PostGIS

Page 37: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

The Map Structure

Map

Layer 1

Layer 2

Layer N

Page 38: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

A Standard Layer

Layer Data

Geometry

Attribute* Style

Page 39: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

A Thematic Layer

Layer

Data

Style

Thematic Attribute Style

Page 40: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Modeling the Style

Style

• Polygon Fill • Polygon Width • Polygon Stroke • Polygon Opacity

• Point Size • Point Stroke • Point Opacity

• Label Size • Label Font • Label Opacity

• Layer Opacity • Text Placement

Generate the style from an intermediary object

SLD

KML

Carto

Page 41: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Automated Map Cycle

Initial Map Request

Generate the SQL and SLD

Create a new layer in GeoServer

Serialize the layer into JSON

Convert the layer JSON into JavaScript

Invoke OpenLayers and request the

layer

GeoServer renders an image (WMS)

OpenLayers places the image in the

DOM

*transactional

Page 42: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Runway SDKtm

• Open source enterprise data management platform – Dynamic type creation – Role based access control – Support for mobile

• Integrated ontology engine

Available now on GitHub under LGPL

TerraFrame 2013© 42

Page 43: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Runway GIStm

• Manages: – PostGIS – Geospatial database – GeoServer – Mapping server – OpenLayers – Web mapping front end

• Integrated GIS and location intelligence

Available soon on GitHub under LGPL

TerraFrame 2013© 43

Page 44: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

Runway GeoDashboardtm

Available in early 2014 under LGPL TerraFrame 2013© 44

Page 45: 2013 Enterprise Track, Building GIS, Decision Support, and Location Intelligence Applications Using Open Source Tools by Justin Naifeh and Nathan McEachen

TerraFrame 2013© 45

Existing Closed Platforms