zoom sur openstreetmap - de l'open data dans vos sig
TRANSCRIPT
ZOOM SUR OPENSTREETMAP
FORMATION SIG 8 DÉCEMBRE 2015
Arnaud VandecasteeleGérant de la société Mapali
DE L’OPEN DATADANS VOS SIG
Plan d’intervention
1. Qu’est-ce que OpenStreetMap
2. Contribuer à OpenStreetMap
3. Intégrez OpenStreetMap dans vos SIG
AGORAH/MAPALI – FORMATION OPENSTREETMAP
Introduction
Conclusion
3/62
Arnaud VandecasteeleDocteur en géomatique (Mines ParisTech)
Post-Doc en Geomatique, Canada
Chercheur itinérant, artisan cartographe
Gérant de la société Mapali
MapaliSociété de services en géomatique
Plusieurs domaines d'activité :
Acquisition, analyse,
développement et accompagnement
INTRODUCTION : QUI SUIS-JE ?
4/62
Développement (applications métiers,
plugins, etc.)
Accompagnement (formation, audit, etc.)
Analyse de données géographiques (MNT, nuage de points, etc.)
Acquisition de données géographiques (drones,
mobiles, etc.)
INTRODUCTION : MAPALI
5/62
OBJECTIFS
Comprendre le phénomène d’information géographique volontaire1
Comprendre le projet OpenStreetMap2
Comprendre comment intégrer OpenStreetMap dans un SIG3
7/62
Qu’est-ce que OSM Contribuez à OSM OSM & SIG
L’INFORMATION GÉOGRAPHIQUE VOLONTAIRE (VGI)
Volunteered Geographic Information
”
The widespread engagement of large numbers of private citizens,
often with little in the way of formal qualifications, in the creation
of geographic informationGoodchild (2007)
“
8/62
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
EXEMPLES DE PROJETS VGI
Google Map Makerhttp://www.google.fr/mapmaker
OpenStreetMaphttp://www.openstreetmap.org
Facebook Placeshttps://www.facebook.com/places/
WikiMapiahttp://wikimapia.org
9/62
Etes vous conscient que vous êtes en train de produire de la donnée géographique ?
Les données produitesSont-elles libres ?
ContributedGeographicInformation
VolunteeredGeographic
Information
Volunteering comes with an explicit understanding of what we are contributing, how we are contributing,
and future possibilities of the collected information’s use
“
”Francis Harvey (2013)
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
TOUS LES PROJETS SONT-ILS LES MÊMES ?
10/62
+ =
OpenStreetMapWikipedia
OpenStreetMap (OSM) est un projet collaboratif dontl'objectif est de créer une base de données géographique
mondiale libre d'accès, d'utilisation et de modification
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
OSM, LE WIKIPEDIA DE LA CARTOGRAPHIE
11/62
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
GOOGLE, YAHOO, BING, ETC. QUELLES DIFFÉRENCES ?
12/62
Partage autorisé
Modification autorisée
Création d’œuvresdepuis la base de données autorisée
Attribution des auteurs obligatoire© OpenStreetMap contributors
Redistribution obligatoirement sous licence compatible
Si DRM sur version modifiée, une version sans DRM doit être disponible
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
UNE LICENCE ADAPTÉE AU PARTAGE DE DONNÉES
13/62
“ We started with absolutely nothing, a completely blank canvas [...]
Now most of the world has been mapped,in varying degrees of detail,
and can be viewed on openstreetmap.org ”
Steve CoastCreator of the OSM project
http://www.theguardian.com/theobserver/2012/feb/18/openstreetmap-world-map-radicals
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
OSM DÉBUTÉ PAR UNE SEULE PERSONNE
14/62
http://vimeo.com/2598878
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
À UN PROJET MONDIAL
15/62
State of the map
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
FÉDÉRANT UNE COMMUNAUTÉ DE PRATIQUE
16/62
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
ACTIVITÉ PAR PAYS
http://osmstats.neis-one.org/?item=countries
17/62
Source: http://wiki.openstreetmap.org/wiki/Stats
+ 2.3 millions d’utilisateurs
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
OSM DES MILLIONS D’INSCRITS
18/62
Source : http://www.geofabrik.de
Avril 2007Paris : Août 2006
Avril 2008
Dec 2008 Sept 2009Dec 2010
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
D’UN ESPACE VIERGE À…
20/62
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
UNE ÉVOLUTION SPECTACULAIRE MÊME À LA RÉUNION
21/62
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
VERS UNE OSM BD ADRESSE À LA RÉUNION ?
Merci à willy zettor ;)
22/62
+ 3 milliards de noeuds+ 300 millions de lignes+ 4.9 milliards de points GPS
> 600gb (planet)
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
OSM UNE BASE DE DONNÉES DE + 600 GIGAS
23/62
Une entité = géométrie + attributs*
Noeuds Ligne Polygone
amenity = drinking_water
highway = primary
building = yes
* KISS = Keep It Simple Stupid
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
MODÈLE DE DONNÉES OSM
24/62
Un peu trop simpliste ?Comment modéliser une ligne de bus de A vers B ?
relationtype = routeroute = bus
A
B
highway = id 3
highway = id 1
highway = id 2
C
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
MODÈLE DE DONNÉES OSM : LES RELATIONS
25/62
https://wiki.openstreetmap.org/wiki/Main_Page
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
DESCRIPTION DES ATTRIBUTS
26/62
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
RECHERCHER DES ATTRIBUTS
https://taginfo.openstreetmap.org/
27/62
Polygone attributs :landuse = forest
Ligne attributs :highway = primaryname = Route des plaines
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
ATTRIBUTS + GÉOMÉTRIE = DES DONNÉES OSM
28/62
+ 24h
+ 72h
28 Jours après
Tremblement de terred'Haiti en 2010
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
OSM QUELLES UTILISATIONS ?
29/62
Map InformationData from OpenStreetMap, GAUL, SRTM and JRC
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
DES CARTES OFFICIELLES BASÉES SUR OSM
30/62
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
OSM AVANT, SURTOUT, PENDANT MAIS SURTOUT APRÈS !
32/62
Aide à la mobilité
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
WHEELMAP.ORG – FACILITER LA MOBILITÉ
33/62
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
PLANS DE VILLES BASÉS SUR OSM
Plans de villes officiels
34/62
http://maposmatic.org/
Vos propres plans de villes
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
PLANS DE VILLES LA DEMANDE
35/62
Applications web
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
CARTOGRAPHIE EN LIGNE
https://umap.openstreetmap.fr/fr/
36/62
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
CALCUL D’ITINÉRAIRES
Calcul d'itinéraires
http://map.project-osrm.org/
37/62
http://demo.f4map.com/#lat=48.8613674&lon=2.3329068&zoom=17&camera.theta=39.612
Vues 3D
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
VISUALISATION 3D
41/62
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
PREMIÈRE ÉTAPE : INSCRIPTION
Première étape,
s'inscrire
https://www.openstreetmap.org/user/new
44/62
Mobile/Tablet (Vespucci, OSM Tracker)
Walking Paper
GPS
Du support papier À des applicationsmobiles
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
COLLECTE DE DONNÉES
45/62
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
COLLECTE EN GROUPE DE DONNÉES (MAPPING PARTIES)
46/62
Téléchargementdes données
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
TÉLÉCHARGEMENT DES DONNÉES
47/62
Téléchargementdes données récoltées
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
TÉLÉCHARGEMENT DES DONNÉES
48/62
Édition desattributs
Édition de la géométrie
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
ÉDITION DES DONNÉES
50/62
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
JOSM: L'ÉDITEUR BUREAUTIQUE
https://josm.openstreetmap.de/
54/62
Données téléchargeables
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
DONNÉES AU FORMAT SIG (SHP, ETC.)
55/62
Overpass Turbo
http://overpass-turbo.eu/
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
DONNÉES AU FORMAT SIG (SHP, ETC.)
56/62
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
OPENLAYERS PLUGIN : OSM INTÉGRÉ À QGIS (RASTER)
OpenLayers Plugin
57/62
Quick OSM Plugin
Directement dans QGIS
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
QUICK OSM : OSM INTÉGRÉ À QGIS (VECTEUR)
58/62
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
OSM EN BASE DE DONNÉES
Architecture informatique
59/62
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
OSM EN BASE DE DONNÉES
OSM2PGSQL1
1 https://github.com/openstreetmap/osm2pgsql
60/62
http://www.rencontres-sig-la-lettre.fr/wp-content/uploads/2012/01/R2012-Observation-Emery.pdfhttp://www.craig.fr/sites/default/files/reunions/1046-6-novembre-2013-journee-technique-
cartographie-libre-et-citoyenne/docs/metierscollectivitespacacraig2013-11.pdf
Qu’est-ce que OSM ? Contribuez à OSM OSM & SIG
VILLE D’ORANGE : UN SIG BASÉ SUR OSM
Cartes en ligne,Observatoire économique,Application transports,Etc.
61/62
Ressources utiles :
• Switch2OSM• OpenStreetMap.org• OpenStreetMap Communauté francophone• Licence OSM
CONCLUSION
62/62
CONCLUSION
Prochaines étapes :
• Création d’une association OSM locale,• Regroupements réguliers des contributeurs,• Organisation des premières Mapping Party 974,• Micro Mapping local,• Etc,.
Arnaud VandecasteeleGérant de la société Mapali
Pour plus d’informations :
www.agorah.com
[email protected] 06 25 81
mapali_gis