SlideShare uma empresa 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

Mais conteúdo relacionado

Semelhante a 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 AAndrew 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
 
neurisa_11_09_rosenthal
neurisa_11_09_rosenthalneurisa_11_09_rosenthal
neurisa_11_09_rosenthaltutorialsruby
 
neurisa_11_09_rosenthal
neurisa_11_09_rosenthalneurisa_11_09_rosenthal
neurisa_11_09_rosenthaltutorialsruby
 
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 Synthesisindogpr
 
OpenStreetMap : Open Licensed GeoData
OpenStreetMap : Open Licensed GeoDataOpenStreetMap : Open Licensed GeoData
OpenStreetMap : Open Licensed GeoData
gssg
 

Semelhante a 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
 

Último

Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 

Último (20)

Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 

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