logo

Part I - Python essentials

  • 1: Getting started
    • Motivation
    • Computers and programs
    • Why Python?
    • Writing and running Python code
    • Using JupyterLab for writing code
    • Installing Python and adding libraries
  • 2: Basic programming concepts
    • Basic elements of Python
    • for loops
    • Conditional statements
    • Functions
    • Writing script files
    • Loading and using modules
    • Exercises
  • 3: Introduction to data analysis with Python
    • Getting started with data analysis
    • Common tabular operations in pandas
    • Data wrangling, grouping and aggregation
    • Working with temporal data
    • Exercises
  • 4: Introduction to data visualization
    • Plotting in Python
    • Plotting with pandas and matplotlib
    • Creating subplots
    • Effective plot design: line plots
    • Exercises

Part II - Introduction to GIS with Python

  • 5: Getting started
    • Motivation
    • Introduction to geographic data in Python
  • 6: Vector data processing
    • Introduction to spatial data analysis with geopandas
    • Data in/out: Preparing GeoDataFrames from spatial data
    • Coordinate Reference Systems
    • Geometric data manipulations
    • Operations between multiple datasets
    • Exercises
  • 7: Raster data processing
    • Introduction to raster processing with Python
    • Reading raster files
    • Common raster operations
    • Raster operations between multiple layers
    • Exercises
  • 8: Geographic data visualization
    • Introduction to geographic visualization
    • Static maps
    • Visualizing raster layers
    • Interactive maps
    • Designing maps
    • Exercises
  • 9: Using online geographic data sources
    • Retrieving OpenStreetMap data
    • Retrieving data from Web Feature Service (WFS)
    • Retrieving data from Web Coverage Service (WCS)
    • Reading data from spatial databases
    • Exercises

Part III - Case studies

  • 10: Spatial interpolation
    • Introduction to spatial interpolation
    • Inverse Distance Weighting interpolation with Python
    • Exercises
  • 11: Spatial network analysis
    • Introduction to spatial network analysis
    • Multimodal spatial accessibility analysis with Python
    • Exercises
  • 12: Terrain analysis
    • Introduction to terrain analysis
    • Interpreting topographic features from raster data
    • Exercises
  • 13: Conclusions

Back matter

  • Acknowledgements
  • Appendices
    • Version control with git
    • Collaborative coding with GitHub
    • Using Python script files
    • Testing and debugging your code
    • Solutions to questions
    • Exercise solutions
  • Glossary
  • References
  • About the authors

Datasets

  • Overview
  • NOAA Weather data
Theme by the Executable Book Project
  • .rst

5: Getting started

5: Getting started#

Sections:

  • Motivation
  • Introduction to geographic data in Python

previous

Exercises

next

Motivation

By Henrikki Tenkanen, Vuokko Heikinheimo, David Whipp
© Copyright 2020-2022, Henrikki Tenkanen, Vuokko Heikinheimo, David Whipp.