MapServer and OGC Standards in real life (and saving real lives) Daniel Morissette, Mapgears dmorissette@mapgears.com 1
Mapgears Team of MapServer experts (we're the 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 2
Quebec Ministry of Public Safety Mission: Reduce the vulnerability of Quebec's population to disasters and crime. 3
Quebec Ministry of Public Safety Geobase G.O.LOC 4
Quebec Ministry of Public Safety Geobase G.O.LOC 5
Quebec Ministry of Public Safety Geobase G.O.LOC 6
Quebec Ministry of Public Safety S.A.G. (Autonomous Geographic Service) 7
MPS Geobase Geobase G.O.LOC 8
Objective: MPS Geobase Provide a uniform geobase to all stakeholders 300+ data layers (imagery and vectors) 1.5 TB Data sources: Government Cities, Municipalities Health Private companies (e.g. utilities) OpenStreetMap 9
MSP Geobase TileCache (WMS-C/WMTS) OGC WMS GDAL/OGR PostGIS 10
OGC 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 thew raw data VERY widely supported 11
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 12
G.O.LOC Portal Geobase G.O.LOC 13
G.O.LOC Portal For 9-1-1 centers and emergency response 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 14
G.O.LOC Portal Web application OSGeo technologies: OpenLayers MapFish GeoExt/ExtJS Connects to OGC WMS data sources (internal and external) MPS Geocoding Service Leverages the Adresses Quebec database 15
16
G.O.LOC portal 8 Partner Organizations 50 9-1-1 Centers 500-2000 unique visits per day ~1000 internal users ~500 external users 17
S.A.G. for 911 Centers S.A.G. (Autonomous Geographic Service) 18
S.A.G. for 911 Centers 19
Autonomous Geographic Service (S.A.G.) Designed for 911 centers and emergency response teams 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 20
Autonomous Geographic Service (S.A.G.) 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 Can be deployed in local mode to any PC or server in case of emergency 21
Saving lives in real life 22
Partnership Example Quebec National Institute for Public Health 23
Quebec National Institute for Public Health Partnership with MPS for the sharing of Development resources Software components Common source code repository (SVN) Data layers 24
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 25
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) 26
Quebec National Institute for Public Health Software: Web Mapping portal shares several components with G.O.LOC 100% open source Uses OGC Standards 27
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% 28
Open Source Software and Open Standards are mature technologies They are used in real life around the world They helped save real lives, at least in Quebec Daniel Morissette, Mapgears dmorissette@mapgears.com 29