SlideShare une entreprise Scribd logo
OpenStreetMap
Carsten Keßler
Center for Advanced Research of Spatial Information and Department of Geography,
Hunter College, City University of New York
Presented by : Mohamed Nageh
1
Roadmap
• Introduction
• Map Services in the Market
• Why can’t we use google maps ?
• Why OpenStreetMap Was Created ?
• The Wikipedia of Maps
• Contribution Statistics Summary
• Data Model
• Core OpenStreetMap Elements
• Node
• Way
• Relation
• Tags
• Technology Stack
• OpenStreetMap Data Editors
• Servers
• Data Paths
• Database Schema
• Data Quality
2
Roadmap
• Introduction
• Map Services in the Market
• Why can’t we use google maps ?
• Why OpenStreetMap Was Created ?
• The Wikipedia of Maps
• Contribution Statistics Summary
• Data Model
• Core OpenStreetMap Elements
• Node
• Way
• Relation
• Tags
• Technology Stack
• OpenStreetMap Data Editors
• Servers
• Data Paths
• Database Schema
• Data Quality
3
Map Services
• Google Maps
• Apple Maps
• Here
• Bing Maps
• TomTom
• Waze
• OpenStreetMap
4
Why can’t we use google maps ?
• Wonderful hi-res aerial imagery
• License their data from teleatlas who license data from Navteq /
Teleatlas
• Google terms & conditions
• Doesn't allow deriving data from their maps
• Doesn't allow copying & re-distributing with a different license
5
Why OpenStreetMap Was Created ?
• Geographical data and maps are generally not free.
• The OpenStreetMap project was born in UK in 2004 to create User-
Generated Street Maps as free geospatial data for anybody to use and
share.
• OpenStreetMap is free and editable map of the world built by
volunteers.
• People and commercial companies can use the map data.
6
The Wikipedia of Maps
7
OpenStreetMap is The Wikipedia of Maps
Contribution Statistics Summary
• 7.5 Million registered
users
• 7 Billion nodes, way,
and relation creation
• 7.5 Million user gpx
uploads
• 4 Million map
update/day
• 1.6 Million different
user contributors
Source 8
Contributions
• There are 3 main ways to contribute to OSM:
• Outdoor/Field Mapping
• Requires to have knowledge of the area to be mapped, data are captured using specific
hardware, e.g. GPS receivers
• Armchair /Remote Mapping
• Consists of digitizing elements (roads, buildings, etc.) in areas for which users have no
previous knowledge, data are usually obtained from aerial/satellite imagery
• Community/Bulk Import
• Consists of the direct import of data which is available with an open (and compatible)
license; this mapping method is not for beginners and can introduce problems if not
correctly performed.
9
Roadmap
• Introduction
• Map Services in the Market
• Why can’t we use google maps ?
• Why OpenStreetMap Was Created ?
• The Wikipedia of Maps
• Contribution Statistics Summary
• Data Model
• Core OpenStreetMap Elements
• Node
• Way
• Relation
• Tags
• Technology Stack
• OpenStreetMap Data Editors
• Servers
• Data Paths
• Database Schema
• Data Quality
10
Data Model
A geographic feature (object) is represented by geometry and tags that
describe the attributes of the feature
for example a path with a tag for classification (e.g. highway=footway).
11
Core OpenStreetMap Elements
• In OSM there are 3 core elements that define geometries:
• 1. NODE
• defining points in space (e.g. tree, gate, trash bin, etc.)
• Has latitude and longitude
• Can stand alone, or form part of a way
12
Core OpenStreetMap Elements
• In OSM there are 3 core elements that define geometries:
• 2. WAY
• defining linear features (e.g. road, river, etc.) and area boundaries (e.g. building, park,
etc.)
• Joins together several nodes
• Direction sometimes matters
• Can form a 'closed way' (area)
13
Core OpenStreetMap Elements
• In OSM there are 3 core elements that define geometries:
• 3. RELATION
• providing explanation on how other elements work together (e.g. building with
courtyard, etc.)
• For complex things such as routes
14
Tags
• Each element is characterized by at least one tag corresponding to a
specific attribute
• Tags are composed of two parts: a key and a value
• Conventions are agreed on the meaning and use of tags, which are
captured in Wiki (in the next slide)
15
Tags
16
Source
Multiple Tags for Elements
17
• A road (polyline) along which people live, for which the maximum
legal speed is 50 km/h and whose name is ‘Via Roma’ will have tags:
Key Value
Highway = residential
Maxspeed = 50
Name = Via Roma
Examples : Node
18
Examples : Node
19
<node id="25496583" lat="51.5173639" lon="-0.140043"
version="1" changeset="203496" user="80n" uid="1238“
visible="true" timestamp="2007-01-28T11:40:26Z">
<tag k="highway" v="traffic_signals"/></node>
Examples : Way (Polyline)
20
Examples : Way (Polyline)
21
<way id="5090250" visible="true“
timestamp="2009-01-19T19:07:25Z“
version="8" changeset="816806“
user="Blumpsy" uid="64226">
<nd ref="822403"/>
<nd ref="21533912"/>
<nd ref="821601"/>
<nd ref="21533910"/>
<nd ref="135791608"/>
<nd ref="333725784"/>
<nd ref="333725781"/>
<nd ref="333725774"/>
<nd ref="333725776"/>
<nd ref="823771"/>
<tag k="highway" v="residential"/>
<tag k="name" v="Clipstone Street"/>
<tag k="oneway" v="yes"/>
</way>
Examples : Way (Polygon)
22
Examples : Relation (Multi-polygon)
23
Relations of type multipolygon are used, for example, to represent complex areas.
Roadmap
• Introduction
• Map Services in the Market
• Why can’t we use google maps ?
• Why OpenStreetMap Was Created ?
• The Wikipedia of Maps
• Contribution Statistics Summary
• Data Model
• Core OpenStreetMap Elements
• Node
• Way
• Relation
• Tags
• Technology Stack
• OpenStreetMap Data Editors
• Servers
• Data Paths
• Database Schema
• Data Quality
24
Technology Stack
• OpenStreetMap runs entirely on an open-source software stack,
consisting of components that handle the editing, storage,
processing, rendering, and delivery of the map
25
OpenStreetMap Data Editors
• ID Editor : web-based editor, suitable for beginners. ~Link
• JOSM (Java OpenStreetMap Editor) : is a feature-rich desktop editor,
suitable for advanced users. ~Link
• Vespucci : A full editor for OpenStreetMap that works both on small
(phones) and large (tablet) screen Android devices. ~Link
• And many other tools available that enable Creating, editing and
deleting nodes, ways, relationships and tags.
26
Servers
27
Around 15 servers hosted at UCL(University College of London) Source
Database Server
28
Source
• Motherboard
• Supermicro X7DWN
• Motherboard with Intel 5400 (Seaburg) Chipset
• CPU
• 2x Intel Xeon Processor E5420 Quad Core 2.5Ghz
• Memory
• 32GB DDR2 667 ECC
• Disk
• 2x 73GB (3.5) SAS 15K
• 10x 450GB (3.5) SAS 15K
• Since 2009
Data Paths
29
Source
Database - MySQL
• Generally fast and scalable enough
• Quadtile indexing extension
• Several annoying flaws:
• schema changes cause table copies
• different features on different db engines
• silently accepts invalid utf8
• some non-standard SQL syntax
30
Database - Postgres
• Addresses a lot of MySQL flaws:
• Faster schema changes
• Better support for transactions, utf8, etc
• Personal preference of OSM system admins
31
Database Schema
32
Database Schema
• Users
• users / user_tokens / user_preferences / user_roles / user_blocks
• Geodata
• changesets / changeset_tags / changeset_comments / ...
• current_nodes / current_node_tags / nodes / node_tags
• current_ways / current_way_tags / current_way_nodes / …
• current_relations / current_relation_tags / current_relation_members / …
• GPS Data
• gpx_files / gpx_file_tags / gps_points
• Notes
• notes / note_comments
33
Database Schema
34
Database Schema
35
Database Schema
36
Database Schema
37
Roadmap
• Introduction
• Map Services in the Market
• Why can’t we use google maps ?
• Why OpenStreetMap Was Created ?
• The Wikipedia of Maps
• Contribution Statistics Summary
• Data Model
• Core OpenStreetMap Elements
• Node
• Way
• Relation
• Tags
• Technology Stack
• OpenStreetMap Data Editors
• Servers
• Data Paths
• Database Schema
• Data Quality
38
Data Quality
• Built by a large online community
• Many hands make light work
• Openly editable (and easy)
• Poor quality contributions?
• Gradual refinement
• Assume good faith
• Monitoring and correction
39
Sources
• OpenStreetMap: User-Generated Street Maps | IEEE Journals &
Magazine | IEEE Xplore ~ 2008
• OpenStreetMap Carsten Keßler Center for Advanced Research of
Spatial Information and Department of Geography, Hunter College,
City University of New York, New York, NY, USA
• OpenStreetMap Wiki
40
Questions
• How is a polygon represented?
• Multiple (sequence) nodes create Way.
• A way is either an open polyline or closed polyline(closed if the start and end
nodes are identical).
• A polygon is a closed polyline with tag area = yes
• It can be both with extra tags (area with exterior line)
41
Questions
42
How is a polygon represented?
Questions
• How is a multi-polygon represented?
• Multi-Polygon is represented as a relation between more than one
polygon(way)
• Every polygon is a member of the relation and has its own properties(tags).
• The tag (role) defines the + or – of a polygon
43
Questions
• How is a multi-polygon represented?
• Multi-Polygon is represented as a relation between more than one
polygon(way)
• Every polygon is a member of the relation and has its own properties(tags).
• The tag (role) defines the + or – of a polygon
44
Questions
• How is a multi-polygon represented?
• Multi-Polygon is represented as a relation between more than one
polygon(way)
• Every polygon is a member of the relation and has its own properties(tags).
• The tag (role) defines the + or – of a polygon
45
Questions
• How is a multi-polygon represented?
• Multi-Polygon is represented as a relation between more than one
polygon(way)
• Every polygon is a member of the relation and has its own properties(tags).
• The tag (role) defines the + or – of a polygon
46
Questions
• How is a multi-polygon represented?
• Multi-Polygon is represented as a relation between more than one
polygon(way)
• Every polygon is a member of the relation and has its own properties(tags).
• The tag (role) defines the + or – of a polygon
47
Questions
• What if a way has many sub-ways with different characteristics ?
• A relation between multi-way ( maintainable)
• every way is a member of the relation with its own tags.
48
Questions
• What about altitude ?
• The OSM Data Model stores the 2D position (latitude and longitude) of
points, and elevation is just an "afterthought" stored in the tag system under
the ele=* and its subkeys.
• The following keys are recommended:
• ele=* – Used to store the elevation relative to a EGM96 geoid
• ele:wgs84=* – Used to store the ellipsoidal height in WGS84
49
Questions
• Database columns in tables ?
• Sequence_id
• Member_role
• Member_type
50
51

Contenu connexe

Similaire à Openstreetmap

OpenStreetMap
OpenStreetMapOpenStreetMap
OpenStreetMap
Said Türksever
 
GEOGRAPHICAL INFORMATION SYSTEM (GIS)
GEOGRAPHICAL INFORMATION SYSTEM (GIS)GEOGRAPHICAL INFORMATION SYSTEM (GIS)
GEOGRAPHICAL INFORMATION SYSTEM (GIS)
subhashB10
 
Humanitarian OpenStreetMap Team [H.O.T.] Training for SBTF
Humanitarian OpenStreetMap Team [H.O.T.] Training for SBTFHumanitarian OpenStreetMap Team [H.O.T.] Training for SBTF
Humanitarian OpenStreetMap Team [H.O.T.] Training for SBTF
Standby Task Force
 
OSM HOT SBTF 2013_03_16
OSM HOT SBTF 2013_03_16OSM HOT SBTF 2013_03_16
OSM HOT SBTF 2013_03_16
Frédéric Bonifas
 
Geoscience For Gis A
Geoscience For Gis AGeoscience For Gis A
Geoscience For Gis A
Andrew Zolnai
 
OpenStreetMap in 3D - current developments
OpenStreetMap in 3D - current developmentsOpenStreetMap in 3D - current developments
OpenStreetMap in 3D - current developments
virtualcitySYSTEMS GmbH
 
“Accident Reconstruction” by Aleksis Liekna from Scope Technologies at Auto f...
“Accident Reconstruction” by Aleksis Liekna from Scope Technologies at Auto f...“Accident Reconstruction” by Aleksis Liekna from Scope Technologies at Auto f...
“Accident Reconstruction” by Aleksis Liekna from Scope Technologies at Auto f...
DevClub_lv
 
Mobile LBS
Mobile LBSMobile LBS
Mobile LBS
Jaak Laineste
 
neurisa_11_09_rosenthal
neurisa_11_09_rosenthalneurisa_11_09_rosenthal
neurisa_11_09_rosenthal
tutorialsruby
 
neurisa_11_09_rosenthal
neurisa_11_09_rosenthalneurisa_11_09_rosenthal
neurisa_11_09_rosenthal
tutorialsruby
 
Whitebox GAT - an introduction by its developer
Whitebox GAT - an introduction by its developerWhitebox GAT - an introduction by its developer
Whitebox GAT - an introduction by its developer
Robin Lovelace
 
Network Visualization and Analysis with Cytoscape
Network Visualization and Analysis with CytoscapeNetwork Visualization and Analysis with Cytoscape
Network Visualization and Analysis with Cytoscape
Alexander Pico
 
Be Location Intelligent with MapInfo Pro v2019
Be Location Intelligent with MapInfo Pro v2019Be Location Intelligent with MapInfo Pro v2019
Be Location Intelligent with MapInfo Pro v2019
Peter Horsbøll Møller
 
USING E-INFRASTRUCTURES FOR BIODIVERSITY CONSERVATION - Module 2
USING E-INFRASTRUCTURES FOR BIODIVERSITY CONSERVATION - Module 2USING E-INFRASTRUCTURES FOR BIODIVERSITY CONSERVATION - Module 2
USING E-INFRASTRUCTURES FOR BIODIVERSITY CONSERVATION - Module 2
Gianpaolo Coro
 
Gis capabilities on Big Data Systems
Gis capabilities on Big Data SystemsGis capabilities on Big Data Systems
Gis capabilities on Big Data Systems
Ahmad Jawwad
 
GIS Introduction.ppt
GIS Introduction.pptGIS Introduction.ppt
GIS Introduction.ppt
misterjis
 
Use of AI in commuting
Use of AI in commutingUse of AI in commuting
Use of AI in commuting
Bansi Mehta
 
WORLDMAP: A SPATIAL INFRASTRUCTURE TO SUPPORT TEACHING AND RESEARCH (BROWN BA...
WORLDMAP: A SPATIAL INFRASTRUCTURE TO SUPPORT TEACHING AND RESEARCH (BROWN BA...WORLDMAP: A SPATIAL INFRASTRUCTURE TO SUPPORT TEACHING AND RESEARCH (BROWN BA...
WORLDMAP: A SPATIAL INFRASTRUCTURE TO SUPPORT TEACHING AND RESEARCH (BROWN BA...
Micah Altman
 
Service-Oriented Architecture as a Tool for Map Synthesis
Service-Oriented Architecture as a Tool for Map SynthesisService-Oriented Architecture as a Tool for Map Synthesis
Service-Oriented Architecture as a Tool for Map Synthesis
indogpr
 
OpenStreetMap : Open Licensed GeoData
OpenStreetMap : Open Licensed GeoDataOpenStreetMap : Open Licensed GeoData
OpenStreetMap : Open Licensed GeoData
gssg
 

Similaire à Openstreetmap (20)

OpenStreetMap
OpenStreetMapOpenStreetMap
OpenStreetMap
 
GEOGRAPHICAL INFORMATION SYSTEM (GIS)
GEOGRAPHICAL INFORMATION SYSTEM (GIS)GEOGRAPHICAL INFORMATION SYSTEM (GIS)
GEOGRAPHICAL INFORMATION SYSTEM (GIS)
 
Humanitarian OpenStreetMap Team [H.O.T.] Training for SBTF
Humanitarian OpenStreetMap Team [H.O.T.] Training for SBTFHumanitarian OpenStreetMap Team [H.O.T.] Training for SBTF
Humanitarian OpenStreetMap Team [H.O.T.] Training for SBTF
 
OSM HOT SBTF 2013_03_16
OSM HOT SBTF 2013_03_16OSM HOT SBTF 2013_03_16
OSM HOT SBTF 2013_03_16
 
Geoscience For Gis A
Geoscience For Gis AGeoscience For Gis A
Geoscience For Gis A
 
OpenStreetMap in 3D - current developments
OpenStreetMap in 3D - current developmentsOpenStreetMap in 3D - current developments
OpenStreetMap in 3D - current developments
 
“Accident Reconstruction” by Aleksis Liekna from Scope Technologies at Auto f...
“Accident Reconstruction” by Aleksis Liekna from Scope Technologies at Auto f...“Accident Reconstruction” by Aleksis Liekna from Scope Technologies at Auto f...
“Accident Reconstruction” by Aleksis Liekna from Scope Technologies at Auto f...
 
Mobile LBS
Mobile LBSMobile LBS
Mobile LBS
 
neurisa_11_09_rosenthal
neurisa_11_09_rosenthalneurisa_11_09_rosenthal
neurisa_11_09_rosenthal
 
neurisa_11_09_rosenthal
neurisa_11_09_rosenthalneurisa_11_09_rosenthal
neurisa_11_09_rosenthal
 
Whitebox GAT - an introduction by its developer
Whitebox GAT - an introduction by its developerWhitebox GAT - an introduction by its developer
Whitebox GAT - an introduction by its developer
 
Network Visualization and Analysis with Cytoscape
Network Visualization and Analysis with CytoscapeNetwork Visualization and Analysis with Cytoscape
Network Visualization and Analysis with Cytoscape
 
Be Location Intelligent with MapInfo Pro v2019
Be Location Intelligent with MapInfo Pro v2019Be Location Intelligent with MapInfo Pro v2019
Be Location Intelligent with MapInfo Pro v2019
 
USING E-INFRASTRUCTURES FOR BIODIVERSITY CONSERVATION - Module 2
USING E-INFRASTRUCTURES FOR BIODIVERSITY CONSERVATION - Module 2USING E-INFRASTRUCTURES FOR BIODIVERSITY CONSERVATION - Module 2
USING E-INFRASTRUCTURES FOR BIODIVERSITY CONSERVATION - Module 2
 
Gis capabilities on Big Data Systems
Gis capabilities on Big Data SystemsGis capabilities on Big Data Systems
Gis capabilities on Big Data Systems
 
GIS Introduction.ppt
GIS Introduction.pptGIS Introduction.ppt
GIS Introduction.ppt
 
Use of AI in commuting
Use of AI in commutingUse of AI in commuting
Use of AI in commuting
 
WORLDMAP: A SPATIAL INFRASTRUCTURE TO SUPPORT TEACHING AND RESEARCH (BROWN BA...
WORLDMAP: A SPATIAL INFRASTRUCTURE TO SUPPORT TEACHING AND RESEARCH (BROWN BA...WORLDMAP: A SPATIAL INFRASTRUCTURE TO SUPPORT TEACHING AND RESEARCH (BROWN BA...
WORLDMAP: A SPATIAL INFRASTRUCTURE TO SUPPORT TEACHING AND RESEARCH (BROWN BA...
 
Service-Oriented Architecture as a Tool for Map Synthesis
Service-Oriented Architecture as a Tool for Map SynthesisService-Oriented Architecture as a Tool for Map Synthesis
Service-Oriented Architecture as a Tool for Map Synthesis
 
OpenStreetMap : Open Licensed GeoData
OpenStreetMap : Open Licensed GeoDataOpenStreetMap : Open Licensed GeoData
OpenStreetMap : Open Licensed GeoData
 

Dernier

Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Project Management Semester Long Project - Acuity
Project Management Semester Long Project - AcuityProject Management Semester Long Project - Acuity
Project Management Semester Long Project - Acuity
jpupo2018
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
fredae14
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
David Brossard
 

Dernier (20)

Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Project Management Semester Long Project - Acuity
Project Management Semester Long Project - AcuityProject Management Semester Long Project - Acuity
Project Management Semester Long Project - Acuity
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
 

Openstreetmap

  • 1. OpenStreetMap Carsten Keßler Center for Advanced Research of Spatial Information and Department of Geography, Hunter College, City University of New York Presented by : Mohamed Nageh 1
  • 2. Roadmap • Introduction • Map Services in the Market • Why can’t we use google maps ? • Why OpenStreetMap Was Created ? • The Wikipedia of Maps • Contribution Statistics Summary • Data Model • Core OpenStreetMap Elements • Node • Way • Relation • Tags • Technology Stack • OpenStreetMap Data Editors • Servers • Data Paths • Database Schema • Data Quality 2
  • 3. Roadmap • Introduction • Map Services in the Market • Why can’t we use google maps ? • Why OpenStreetMap Was Created ? • The Wikipedia of Maps • Contribution Statistics Summary • Data Model • Core OpenStreetMap Elements • Node • Way • Relation • Tags • Technology Stack • OpenStreetMap Data Editors • Servers • Data Paths • Database Schema • Data Quality 3
  • 4. Map Services • Google Maps • Apple Maps • Here • Bing Maps • TomTom • Waze • OpenStreetMap 4
  • 5. Why can’t we use google maps ? • Wonderful hi-res aerial imagery • License their data from teleatlas who license data from Navteq / Teleatlas • Google terms & conditions • Doesn't allow deriving data from their maps • Doesn't allow copying & re-distributing with a different license 5
  • 6. Why OpenStreetMap Was Created ? • Geographical data and maps are generally not free. • The OpenStreetMap project was born in UK in 2004 to create User- Generated Street Maps as free geospatial data for anybody to use and share. • OpenStreetMap is free and editable map of the world built by volunteers. • People and commercial companies can use the map data. 6
  • 7. The Wikipedia of Maps 7 OpenStreetMap is The Wikipedia of Maps
  • 8. Contribution Statistics Summary • 7.5 Million registered users • 7 Billion nodes, way, and relation creation • 7.5 Million user gpx uploads • 4 Million map update/day • 1.6 Million different user contributors Source 8
  • 9. Contributions • There are 3 main ways to contribute to OSM: • Outdoor/Field Mapping • Requires to have knowledge of the area to be mapped, data are captured using specific hardware, e.g. GPS receivers • Armchair /Remote Mapping • Consists of digitizing elements (roads, buildings, etc.) in areas for which users have no previous knowledge, data are usually obtained from aerial/satellite imagery • Community/Bulk Import • Consists of the direct import of data which is available with an open (and compatible) license; this mapping method is not for beginners and can introduce problems if not correctly performed. 9
  • 10. Roadmap • Introduction • Map Services in the Market • Why can’t we use google maps ? • Why OpenStreetMap Was Created ? • The Wikipedia of Maps • Contribution Statistics Summary • Data Model • Core OpenStreetMap Elements • Node • Way • Relation • Tags • Technology Stack • OpenStreetMap Data Editors • Servers • Data Paths • Database Schema • Data Quality 10
  • 11. Data Model A geographic feature (object) is represented by geometry and tags that describe the attributes of the feature for example a path with a tag for classification (e.g. highway=footway). 11
  • 12. Core OpenStreetMap Elements • In OSM there are 3 core elements that define geometries: • 1. NODE • defining points in space (e.g. tree, gate, trash bin, etc.) • Has latitude and longitude • Can stand alone, or form part of a way 12
  • 13. Core OpenStreetMap Elements • In OSM there are 3 core elements that define geometries: • 2. WAY • defining linear features (e.g. road, river, etc.) and area boundaries (e.g. building, park, etc.) • Joins together several nodes • Direction sometimes matters • Can form a 'closed way' (area) 13
  • 14. Core OpenStreetMap Elements • In OSM there are 3 core elements that define geometries: • 3. RELATION • providing explanation on how other elements work together (e.g. building with courtyard, etc.) • For complex things such as routes 14
  • 15. Tags • Each element is characterized by at least one tag corresponding to a specific attribute • Tags are composed of two parts: a key and a value • Conventions are agreed on the meaning and use of tags, which are captured in Wiki (in the next slide) 15
  • 17. Multiple Tags for Elements 17 • A road (polyline) along which people live, for which the maximum legal speed is 50 km/h and whose name is ‘Via Roma’ will have tags: Key Value Highway = residential Maxspeed = 50 Name = Via Roma
  • 19. Examples : Node 19 <node id="25496583" lat="51.5173639" lon="-0.140043" version="1" changeset="203496" user="80n" uid="1238“ visible="true" timestamp="2007-01-28T11:40:26Z"> <tag k="highway" v="traffic_signals"/></node>
  • 20. Examples : Way (Polyline) 20
  • 21. Examples : Way (Polyline) 21 <way id="5090250" visible="true“ timestamp="2009-01-19T19:07:25Z“ version="8" changeset="816806“ user="Blumpsy" uid="64226"> <nd ref="822403"/> <nd ref="21533912"/> <nd ref="821601"/> <nd ref="21533910"/> <nd ref="135791608"/> <nd ref="333725784"/> <nd ref="333725781"/> <nd ref="333725774"/> <nd ref="333725776"/> <nd ref="823771"/> <tag k="highway" v="residential"/> <tag k="name" v="Clipstone Street"/> <tag k="oneway" v="yes"/> </way>
  • 22. Examples : Way (Polygon) 22
  • 23. Examples : Relation (Multi-polygon) 23 Relations of type multipolygon are used, for example, to represent complex areas.
  • 24. Roadmap • Introduction • Map Services in the Market • Why can’t we use google maps ? • Why OpenStreetMap Was Created ? • The Wikipedia of Maps • Contribution Statistics Summary • Data Model • Core OpenStreetMap Elements • Node • Way • Relation • Tags • Technology Stack • OpenStreetMap Data Editors • Servers • Data Paths • Database Schema • Data Quality 24
  • 25. Technology Stack • OpenStreetMap runs entirely on an open-source software stack, consisting of components that handle the editing, storage, processing, rendering, and delivery of the map 25
  • 26. OpenStreetMap Data Editors • ID Editor : web-based editor, suitable for beginners. ~Link • JOSM (Java OpenStreetMap Editor) : is a feature-rich desktop editor, suitable for advanced users. ~Link • Vespucci : A full editor for OpenStreetMap that works both on small (phones) and large (tablet) screen Android devices. ~Link • And many other tools available that enable Creating, editing and deleting nodes, ways, relationships and tags. 26
  • 27. Servers 27 Around 15 servers hosted at UCL(University College of London) Source
  • 28. Database Server 28 Source • Motherboard • Supermicro X7DWN • Motherboard with Intel 5400 (Seaburg) Chipset • CPU • 2x Intel Xeon Processor E5420 Quad Core 2.5Ghz • Memory • 32GB DDR2 667 ECC • Disk • 2x 73GB (3.5) SAS 15K • 10x 450GB (3.5) SAS 15K • Since 2009
  • 30. Database - MySQL • Generally fast and scalable enough • Quadtile indexing extension • Several annoying flaws: • schema changes cause table copies • different features on different db engines • silently accepts invalid utf8 • some non-standard SQL syntax 30
  • 31. Database - Postgres • Addresses a lot of MySQL flaws: • Faster schema changes • Better support for transactions, utf8, etc • Personal preference of OSM system admins 31
  • 33. Database Schema • Users • users / user_tokens / user_preferences / user_roles / user_blocks • Geodata • changesets / changeset_tags / changeset_comments / ... • current_nodes / current_node_tags / nodes / node_tags • current_ways / current_way_tags / current_way_nodes / … • current_relations / current_relation_tags / current_relation_members / … • GPS Data • gpx_files / gpx_file_tags / gps_points • Notes • notes / note_comments 33
  • 38. Roadmap • Introduction • Map Services in the Market • Why can’t we use google maps ? • Why OpenStreetMap Was Created ? • The Wikipedia of Maps • Contribution Statistics Summary • Data Model • Core OpenStreetMap Elements • Node • Way • Relation • Tags • Technology Stack • OpenStreetMap Data Editors • Servers • Data Paths • Database Schema • Data Quality 38
  • 39. Data Quality • Built by a large online community • Many hands make light work • Openly editable (and easy) • Poor quality contributions? • Gradual refinement • Assume good faith • Monitoring and correction 39
  • 40. Sources • OpenStreetMap: User-Generated Street Maps | IEEE Journals & Magazine | IEEE Xplore ~ 2008 • OpenStreetMap Carsten Keßler Center for Advanced Research of Spatial Information and Department of Geography, Hunter College, City University of New York, New York, NY, USA • OpenStreetMap Wiki 40
  • 41. Questions • How is a polygon represented? • Multiple (sequence) nodes create Way. • A way is either an open polyline or closed polyline(closed if the start and end nodes are identical). • A polygon is a closed polyline with tag area = yes • It can be both with extra tags (area with exterior line) 41
  • 42. Questions 42 How is a polygon represented?
  • 43. Questions • How is a multi-polygon represented? • Multi-Polygon is represented as a relation between more than one polygon(way) • Every polygon is a member of the relation and has its own properties(tags). • The tag (role) defines the + or – of a polygon 43
  • 44. Questions • How is a multi-polygon represented? • Multi-Polygon is represented as a relation between more than one polygon(way) • Every polygon is a member of the relation and has its own properties(tags). • The tag (role) defines the + or – of a polygon 44
  • 45. Questions • How is a multi-polygon represented? • Multi-Polygon is represented as a relation between more than one polygon(way) • Every polygon is a member of the relation and has its own properties(tags). • The tag (role) defines the + or – of a polygon 45
  • 46. Questions • How is a multi-polygon represented? • Multi-Polygon is represented as a relation between more than one polygon(way) • Every polygon is a member of the relation and has its own properties(tags). • The tag (role) defines the + or – of a polygon 46
  • 47. Questions • How is a multi-polygon represented? • Multi-Polygon is represented as a relation between more than one polygon(way) • Every polygon is a member of the relation and has its own properties(tags). • The tag (role) defines the + or – of a polygon 47
  • 48. Questions • What if a way has many sub-ways with different characteristics ? • A relation between multi-way ( maintainable) • every way is a member of the relation with its own tags. 48
  • 49. Questions • What about altitude ? • The OSM Data Model stores the 2D position (latitude and longitude) of points, and elevation is just an "afterthought" stored in the tag system under the ele=* and its subkeys. • The following keys are recommended: • ele=* – Used to store the elevation relative to a EGM96 geoid • ele:wgs84=* – Used to store the ellipsoidal height in WGS84 49
  • 50. Questions • Database columns in tables ? • Sequence_id • Member_role • Member_type 50
  • 51. 51