MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts...

29
1 1 MapServer and OGC Web Services in real life (and saving real lives) Daniel Morissette, Mapgears [email protected]

Transcript of MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts...

Page 1: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

11

MapServer and OGC Web Servicesin real life

(and saving real lives)

Daniel Morissette, [email protected]

Page 2: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

22

Mapgears

● Team of MapServer experts (developers) assisting application developers & integrators in their journey in the Web Mapping world

● Professional Support services for MapServer and related technologies (OpenLayers, GeoExt, GDAL/OGR, PostGIS, ...)

● Services:● Training ● Technical support● Software development

Page 3: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

33

Quebec Ministry of Public Safety

Mission:

Reduce the vulnerabilityof Quebec's populationto disasters and crime.

Page 4: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

44

Quebec Ministry of Public Safety

Geobase G.O.LOC

Page 5: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

55

Quebec Ministry of Public Safety

Geobase G.O.LOC

Page 6: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

66

Quebec Ministry of Public Safety

Geobase G.O.LOC

Page 7: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

77

Quebec Ministry of Public Safety

S.A.G.(Autonomous

Geographic Service)

Page 8: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

88

MPS Geobase

Geobase G.O.LOC

Page 9: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

99

MPS Geobase● Objective:

Provide a uniform geobaseto all stakeholders

● 300+ data layers (imagery and vectors)● 1.5 TB● Data sources:

● Government● Cities, Municipalities● Health● Private companies (e.g. utilities)● OpenStreetMap

Page 10: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

1010

MSP Geobase

PostGISGDAL/OGR

OGCWMS

TileCache (WMS-C/WMTS)

Page 11: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

1111

OGC Web Map Service (WMS) Protocol

● Portrayal Service● Returns map images for a given request:

● LAYERS: name(s) of layer(s) to draw● FORMAT: GIF, PNG, JPEG, ...● WIDTH, HEIGHT: image size● BBOX: geospatial extent● CRS: coordinate system● STYLE: optional, rendering style

● Does not transport the raw data● VERY widely supported

Page 12: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

1212

OGC WMS Benefits

● WMS Data Services can be reused by partner organizations in their own application

● Partner organizations can make their own data available to MPS via WMS

● No copies: data is always fresh from the source

● WMS is Portrayal only: raw data not exposed, solves some licensing and political headaches

Page 13: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

1313

G.O.LOC Portal

Geobase G.O.LOC

Page 14: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

1414

G.O.LOC Portal

● For 9-1-1 centers and emergencyresponse people

● Web based: no software to install● Quick and simple to use● Provides access to the whole Geobase (WMS)● Can also access partner data (WMS)● Can easily be customized for specific use

cases

Page 15: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

1515

G.O.LOC Portal

● Web application based on OSGeotechnologies:

● OpenLayers● GeoExt/ExtJS

● Connects to● OGC WMS data sources (internal and

external)● MPS Geocoding Service

• Leverages the “Adresses Quebec” database

Page 16: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

1616

Page 17: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

1717

G.O.LOC portal

● 10 Partner Organizations● 35 9-1-1 Centers● 1000-2000 geolocation requests per day● ~500 internal users● ~500 external users

Page 18: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

1818

S.A.G. for 911 Centers

S.A.G.(Autonomous

Geographic Service)

Page 19: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

1919

Autonomous Geographic Service (S.A.G.)

● Designed for 911 centers and emergency response teams

● Includes G.O.LOC and all Geobase layers (WMS)

● 100% open source software ● OpenSUSE Linux, Apache● MapServer, PostgreSQL/PostGIS,

GDAL/OGR● OpenLayers, MapFish, GeoExt, etc

Page 20: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

2020

Autonomous Geographic Service (S.A.G.)

● Completely autonomous:● All software and data is local● Does not rely on any external

data source● Not vulnerable to:

• Power failures• Internet downtime or slowdown• Downtime of an external data provider

● Can be deployed in local mode to any PC or server in case of emergency

Page 21: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

2121

S.A.G. for 911 Centers

Page 22: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

2222

Saving lives in real life

Page 23: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

2323

Partnership Example

Quebec National Institute for Public Health

Page 24: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

2424

Quebec National Institute for Public Health

● Partnership with MPS for the sharing of● Development resources● Software components● Common source code repository (SVN)● Data layers

Page 25: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

2525

Quebec National Institute for Public Health

● System for Real Time Surveillance of Extreme Meteorological Events Impacts on Public Health

● First application: Heat Wave Surveillance and Decision System

● Tested in real life during the July 4-8, 2010 heat wave

Page 26: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

2626

Quebec National Institute for Public Health

● Inputs:● Meteorological data and public warnings ● Health Data● Air Quality● Geospatial Data

● Automated Surveillance System (alerts)● Decision System (maps, etc)

Page 27: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

2727

Quebec National Institute for Public Health

● Software:● Web Mapping portal shares several

components with G.O.LOC● 100% open source● Uses OGC Standards

Page 28: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

2828

Quebec National Institute for Public Health

● System deployed June 1st, 2010● July 4-8, 2010 Heat Wave:

● July 5: system started reporting alerts● Regions started deploying action plan early● Statistics show +30% mortality variation● In previous episodes (1987 and 1994), the

variation was over 100%

Page 29: MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts (developers) assisting application developers & integrators in their journey in the

2929

● The Open Source “MapServer stack” and Open Standards (OGC WMS) are mature and robust technologies

● They are used in real life around the world● They helped save real lives, at least in Quebec

Daniel Morissette, [email protected]