MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts...
Transcript of MapServer and OGC Web Services in real life (and saving ......2 Mapgears Team of MapServer experts...
11
MapServer and OGC Web Servicesin real life
(and saving real lives)
Daniel Morissette, [email protected]
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
33
Quebec Ministry of Public Safety
Mission:
Reduce the vulnerabilityof Quebec's populationto disasters and crime.
44
Quebec Ministry of Public Safety
Geobase G.O.LOC
55
Quebec Ministry of Public Safety
Geobase G.O.LOC
66
Quebec Ministry of Public Safety
Geobase G.O.LOC
77
Quebec Ministry of Public Safety
S.A.G.(Autonomous
Geographic Service)
88
MPS Geobase
Geobase G.O.LOC
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
1010
MSP Geobase
PostGISGDAL/OGR
OGCWMS
TileCache (WMS-C/WMTS)
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
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
1313
G.O.LOC Portal
Geobase G.O.LOC
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
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
1616
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
1818
S.A.G. for 911 Centers
S.A.G.(Autonomous
Geographic Service)
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
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
2121
S.A.G. for 911 Centers
2222
Saving lives in real life
2323
Partnership Example
Quebec National Institute for Public Health
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
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
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)
2727
Quebec National Institute for Public Health
● Software:● Web Mapping portal shares several
components with G.O.LOC● 100% open source● Uses OGC Standards
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%
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]