SlideShare a Scribd company logo
1 of 27
OpenStreetMap history
    challenges – methods – reasons
Relevance of Historical Data

    What did the map look
     like two years ago?

      Who was involved in
     editing object X / region Y?

        What exactly happened
            in changeset Z?
Relevance of Historical Data


   Historical visualization


       Retracing vandalism


             Data analysis
OpenStreetMap consists of   • nodes
                            • ways
                            • relations
• nodes
• ways
• relations
              each of those have a version and a
              timestamp, among other things
each of those have a version and a
• nodes       timestamp, among other things
• ways
• relations
              So in theory it’s possible to recreate
              the full history of all objects in
              OpenStreetMap
in practice
this is more
complicated
in practice
this is more
complicated    ways and
               relations
               only have
               references
               to node IDs
in practice
this is more
complicated
ways and
relations      this poses two
only have      problems.
references
to node IDs
1. Moving a node does not
 cause a new way version
1. Moving a node does not
 cause a new way version




     2. References in ways and
    relations do not point to a
          specific version
way version 1


1

v1                               3
                2
                                 v1
                v1




     1. Moving a node does not
      cause a new way version
way version 1

                   2

                   v2
1

v1                               3

                                 v1




     1. Moving a node does not
      cause a new way version
2. References in ways and
relations do not point to a
      specific version
2. References in ways and
relations do not point to a
      specific version
2. References in ways and
relations do not point to a
      specific version
2. References in ways and
relations do not point to a
      specific version
Also, the data is not readily accessible
Also, the data is not readily accessible
        Full history dump is 451GB of XML,
      containing 1.7 billion node versions, 170
               million way versions, and
             4.5 million relation versions.
What is needed?
What is needed?


        • A suitable DB schema
        • PBF format support
        • importer (support)
What is needed?


         • A suitable DB schema
         • PBF format support
         • importer (support)


   .....and ideally, a history API
• A suitable DB schema
• PBF format support
• importer support (osmosis, imposm)
• A suitable DB schema
• PBF format support
• importer support (osmosis, imposm)


       History Hack Weekend
       http://bit.ly/osmhistoryhack
History Hack Weekend
http://bit.ly/osmhistoryhack


        June 10-12
        LinuxHotel
      Essen, Germany
thanks

  OSM > mvexel
twitter > @mvexel
Martijn van Exel


all photos from flickr commons

More Related Content

More from Martijn van Exel (6)

MapRoulette Cooperative Challenges
MapRoulette Cooperative ChallengesMapRoulette Cooperative Challenges
MapRoulette Cooperative Challenges
 
The Golden Age of GIS - Keynote for GIS day 2019
The Golden Age of GIS - Keynote for GIS day 2019The Golden Age of GIS - Keynote for GIS day 2019
The Golden Age of GIS - Keynote for GIS day 2019
 
OpenStreetMap
OpenStreetMapOpenStreetMap
OpenStreetMap
 
Open Places Platform
Open Places PlatformOpen Places Platform
Open Places Platform
 
OpenStreetMap voor IMG100k
OpenStreetMap voor IMG100kOpenStreetMap voor IMG100k
OpenStreetMap voor IMG100k
 
OpenStreetMap Netherlands Since AND import
OpenStreetMap Netherlands Since AND importOpenStreetMap Netherlands Since AND import
OpenStreetMap Netherlands Since AND import
 

Recently uploaded

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

Dealing with historical data in OpenStreetMap

  • 1. OpenStreetMap history challenges – methods – reasons
  • 2. Relevance of Historical Data What did the map look like two years ago? Who was involved in editing object X / region Y? What exactly happened in changeset Z?
  • 3. Relevance of Historical Data Historical visualization Retracing vandalism Data analysis
  • 4. OpenStreetMap consists of • nodes • ways • relations
  • 5. • nodes • ways • relations each of those have a version and a timestamp, among other things
  • 6. each of those have a version and a • nodes timestamp, among other things • ways • relations So in theory it’s possible to recreate the full history of all objects in OpenStreetMap
  • 7. in practice this is more complicated
  • 8. in practice this is more complicated ways and relations only have references to node IDs
  • 9. in practice this is more complicated ways and relations this poses two only have problems. references to node IDs
  • 10. 1. Moving a node does not cause a new way version
  • 11. 1. Moving a node does not cause a new way version 2. References in ways and relations do not point to a specific version
  • 12. way version 1 1 v1 3 2 v1 v1 1. Moving a node does not cause a new way version
  • 13. way version 1 2 v2 1 v1 3 v1 1. Moving a node does not cause a new way version
  • 14. 2. References in ways and relations do not point to a specific version
  • 15. 2. References in ways and relations do not point to a specific version
  • 16. 2. References in ways and relations do not point to a specific version
  • 17. 2. References in ways and relations do not point to a specific version
  • 18. Also, the data is not readily accessible
  • 19. Also, the data is not readily accessible Full history dump is 451GB of XML, containing 1.7 billion node versions, 170 million way versions, and 4.5 million relation versions.
  • 21. What is needed? • A suitable DB schema • PBF format support • importer (support)
  • 22. What is needed? • A suitable DB schema • PBF format support • importer (support) .....and ideally, a history API
  • 23. • A suitable DB schema • PBF format support • importer support (osmosis, imposm)
  • 24. • A suitable DB schema • PBF format support • importer support (osmosis, imposm) History Hack Weekend http://bit.ly/osmhistoryhack
  • 25.
  • 26. History Hack Weekend http://bit.ly/osmhistoryhack June 10-12 LinuxHotel Essen, Germany
  • 27. thanks OSM > mvexel twitter > @mvexel Martijn van Exel all photos from flickr commons

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n