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

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
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...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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?
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 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