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

MapRoulette Cooperative Challenges
MapRoulette Cooperative ChallengesMapRoulette Cooperative Challenges
MapRoulette Cooperative ChallengesMartijn van Exel
 
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 2019Martijn van Exel
 
OpenStreetMap voor IMG100k
OpenStreetMap voor IMG100kOpenStreetMap voor IMG100k
OpenStreetMap voor IMG100kMartijn van Exel
 
OpenStreetMap Netherlands Since AND import
OpenStreetMap Netherlands Since AND importOpenStreetMap Netherlands Since AND import
OpenStreetMap Netherlands Since AND importMartijn van Exel
 

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

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 

Recently uploaded (20)

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 

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