Strumenti Utente

Strumenti Sito


783AA Geospatial Analytics A.A. 2023/24



  • Giuliano Cornacchia, PhD student, University of Pisa
  • Giovanni Mauro, PhD student, University of Pisa
  • Daniele Gambetta, PhD student, University of Pisa

Hours and Rooms

Day of Week Hour Room
Thursday 09:00 - 11:00 Room Fib L1
Friday 09:00 - 11:00 Room Fib M1
  • Beginning of lectures: 21 September 2023
  • End of lectures: 7 December 2023
  • Possible lessons recovered: 8–15 December 2023

The lectures will be only in presence and will NOT be live-streamed

Learning goals

The analysis of geographic information, such as those describing human movements, is crucial due to its impact on several aspects of our society, such as disease spreading (e.g., the COVID-19 pandemic), urban planning, well-being, pollution, and more. This course will teach the fundamental concepts and techniques underlying the analysis of geographic and mobility data, presenting data sources (e.g., mobile phone records, GPS traces, geotagged social media posts), data preprocessing techniques, statistical patterns, predicting and generative algorithms, and real-world applications (e.g., diffusion of epidemics, socio-demographics, link prediction in social networks). The course will also provide a practical perspective through the use of advanced geoanalytics Python libraries.

The assessment of the course consists of: (1) an oral exam, aimed to test the knowledge acquired by the student during the course; (2) exercises to be done during the course; (3) the development of a project to test the practical ability acquired during the course.


  • Spatial Reference Systems
  • Data formats
  • Trajectory and Flows
  • Spatial Tessellations
  • Open-source tools for geospatial analysis
  • Digital spatial and mobility data
  • Preprocessing mobility data
  • Privacy issues in mobility data
  • Individual and collective mobility laws
  • Next-location and flow prediction
  • Trajectory and flow generation
  • Applications

Module 1: Spatial and Mobility Data

  • Fundamentals of Geographical Information Systems
    • Geographic coordinates systems
    • Vector data model
    • Trajectories
    • Spatial Tessellations
    • Flows
    • Practice: Python packages for geospatial analysis (Shapely, GeoPandas, folium, scikit-mobility)
  • Digital spatial and mobility data
    • Mobile Phone Data
    • GPS data
    • Social media data
    • Other data (POIs, Road Networks, etc.)
    • Practice: reading and exploring spatial and mobility datasets in Python
  • Preprocessing mobility data
    • filtering compression
    • stop detection
    • trajectory segmentation
    • trajectory similarity and clustering
    • Practice: data preprocessing with scikit-mobility

Module 2: Mobility Patterns and Laws

  • individual mobility laws/patterns
  • collective mobility laws/patterns
  • Practice: analyze mobility data with Python

Module 3: Predictive and Generative Models

  • Prediction
    • Next-location prediction
    • Crowd flow prediction
    • Spatial interpolation
  • Generation
    • Trajectory generation
    • Flow generation
  • Practice: mobility prediction and generation in Python

Module 4: Applications

  • Urban segregation models
  • Routing and navigation apps
  • Traffic simulation with SUMO


Day Topic Slides/Code Material Teacher
1. 21.09 09:00-11:00 Introduction to the Course [slides] About the course; [slides] Introduction to Geospatial Analytics [book chapter] Introduction to geographic information systems, Chapter 1; [paper] Human Mobility: Models and Applications, Section 1 Pappalardo, Nanni
2. 22.09 09:00-11:00 NO LESSON
3. 28.09 09:00-11:00 Fundamental Concepts - part 1 [slides] Fundamental Concepts [book chapter] Introduction to geographic information systems, Chapter 2 (Coordinate Systems); [paper] A survey of deep learning for human mobility, Section 2.1, Appendix A; Essentials of Geographic Information Systems,Chapter 4, Section 4.2 (Vector Data Models); [video] Intro to coordinate systems and UTM projection Pappalardo
4. 29.09 09:00-11:00 Fundamental Concepts - part 2 (practice) [code] Introduction to shapely, geopandas, folium, and scikit-mobility [book chapter] Automating GIS-processes, Lesson 1 (Shapely and geometric objects); [article] Analyze Geospatial Data in Python: GeoPandas and Shapely; [paper] scikit-mobility: a Python library for the Analysis, Generation, and Risk Assessment of Mobility Data, Sections 1, 2; Pappalardo, Mauro
5. 05.10 09:00-11:00 Geographic and Mobility data - part 1 [slides] Geospatial and Mobility data [paper] A survey of deep learning for human mobility , Appendix C.1, C.2, C.3; [paper] Evaluation of home detection algorithms on mobile phone data using individual-level ground truth , Sections “Introduction” and “Mobile phone datasets”; [paper] A survey of results on mobile phone datasets analysis , Sections “Introduction”, “Adding space - geographical networks”; [paper] Urban Human Mobility: Data-Driven Modeling and Prediction, Section 2.2; Nanni
6. 06.10 09:00-11:00 Geographic and Mobility data - part 2 (practice) [code] Geospatial and Mobility data in Python [paper] scikit-mobility: a Python library for the Analysis, Generation, and Risk Assessment of Mobility Data, Section 4; [video] scikit-mobility data module; [tutorial] OSMnx: Python for Street Networks; [paper] OSMnx: New methods for acquiring, constructing, analyzing, and visualizing complex street networks; [book chapter] Intro to Python GIS, Retrieving OpenStreetMap data ; Nanni
7. 12.10 09:00-11:00 Data preprocessing - part 1 [slides] Trajectory preprocessing [paper] Review and classification of trajectory summarisation algorithms: From compression to segmentation; [paper] Algorithms for the reduction of the number of points required to represent a digitized line or its caricature (Douglas-Peucker); [paper] Approximating the Fréchet Distance for Realistic Curves in Near Linear Time (Driemel–HarPeled–Wenk); [paper] A Trajectory Segmentation Map-Matching Approach for Large-Scale, High-Resolution GPS Data; [paper] Hidden Markov Map Matching Through Noise and Sparseness Nanni
8. 13.10 09:00-11:00 Data preprocessing - part 2 [slides] Semantic Enrichment [paper] Analysis of human mobility patterns from GPS trajectories and contextual information; [paper] Using Mobile Positioning Data to Model Locations Meaningful to Users of Mobile Phones; [paper] Dynamic population mapping using mobile phone data; [paper] Inferring human activities from GPS tracks Nanni
9. 19.10 09:00-11:00 Alternative Routing Pappalardo
11. 26.10 09:00-11:00 Individual Human Mobility Laws and Models - part 1 [slides] Individual mobility laws and models [paper] The scaling laws of human travel; [paper] Understanding individual human mobility patterns; [paper] Human Mobility: Models and Applications, Sections 3.1 and 4; [paper] Returners and Explorers dichotomy in Human Mobility; [paper] Limits of predictability in human mobility; [paper] Modelling the scaling properties of human mobility; Pappalardo
12. 27.10 09:00-11:00 Individual Human Mobility Laws and Models - part 2 (practice) [code] Mobility laws and models scikit-mobility documentation: measures, scikit-mobility documentation: models Pappalardo, Mauro
13. 02.11 09:00-11:00 Mobility Patterns [slides] Mobility Patterns [paper] A Survey on Trajectory Data Management, Analytics, and Learning, Section 3; [paper] Swarm: Mining Relaxed Temporal Moving Object Clusters; [paper] Computing longest duration flocks in trajectory data; [paper] Trajectory pattern mining; [paper] On Discovering Moving Clusters in Spatio-temporal Data Nanni
14. 03.11 09:00-11:00 Collective Mobility Laws and Models - part 1 [slides] Collective mobility laws and models [paper] Human Mobility: Models and Applications, Section 4.2; [paper] The P1 P2/D Hypothesis: On the Intercity Movement of Persons; [paper] Intervening Opportunities: A Theory Relating Mobility and Distance; [paper] A universal model for mobility and migration patterns; [paper] A tale of many cities: universal patterns in human urban mobility; [paper] Systematic comparison of trip distribution laws and models: [paper] A Deep Gravity model for mobility flows generation Pappalardo
15. 09.11 09:00-11:00 Next-Location Prediction [slides] Location prediction [code] Markov-chain-based location prediction HMMlearn library; [paper] Mobility Prediction: A Survey on State-of-the-Art Schemes and Future Applications; [paper] A Survey on Trajectory-Prediction Methods for Autonomous Driving, Sections IV and V; [book chapter] Speech and Language Processing, Chapter A - Hidden Markov Models; [paper] Do Fielders Know Where to Go to Catch the Ball...? Nanni
16. 10.11 09:00-11:00 Next-Location Prediction - part 2 Nanni
17. 16.11 09:00-11:00 Spatial segregation models - part 1 [slides] Segregation models [paper] Dynamic models of segregation, Schelling; [paper] Segregation in networks; [paper] Mobility patterns are associated with experienced income segregation in large US cities; Mauro
18. 17.11 09:00-11:00 Spatial segregation models - part 2 (practice) [code] Implementing the Schelling model with MESA [tutorial] Introduction to MESA Mauro, Gambetta
19. 23.11 09:00-11:00 Traffic Simulation with SUMO [slides] Traffic simulation with SUMO; [code] Traffic simulation with SUMO Cornacchia
20. 24.11 09:00-11:00 Traffic Simulation with SUMO - part 2 [code] Routing on road networks Cornacchia
21. 30.11 09:00-11:00 Presentation of projects/1 Pappalardo, Nanni, Cornacchia, Mauro
22. 01.12 9:00-11:00 Presentation of projects/2 Pappalardo, Nanni, Cornacchia, Mauro

Previous Geospatial Analytics websites

geospatialanalytics/gsa/start.txt · Ultima modifica: 27/09/2023 alle 09:10 (15 minuti fa) da Luca Pappalardo