Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
11fec69
Restructure the content
HTenkanen May 30, 2025
984e1c1
Fix footnote reference
HTenkanen May 30, 2025
0d94626
Minor edits
HTenkanen May 30, 2025
72743f1
Reorganize materials
HTenkanen May 30, 2025
cf70f98
Reorganize materials
HTenkanen May 30, 2025
52c1b4e
Reorganize materials
HTenkanen May 30, 2025
9e43b4e
Reorganize materials
HTenkanen May 30, 2025
aed1b11
Add learning goals
HTenkanen May 30, 2025
dd6aade
Update figure and question numbering
VuokkoH Jun 6, 2025
9fb7aad
Update back matter question numbering and clean up sections
VuokkoH Jun 6, 2025
472d1ae
Update ch9 index
VuokkoH Jun 6, 2025
24d8c94
Add intro to networks
HTenkanen Aug 15, 2025
1104900
Merge remote-tracking branch 'origin/develop' into develop
HTenkanen Aug 15, 2025
1df4a00
Update materials for creating a simple graph from scratch
HTenkanen Aug 15, 2025
dc6228b
Update materials for creating a simple graph from scratch
HTenkanen Aug 18, 2025
66ef4d7
Update materials for creating a directed graph from street network
HTenkanen Aug 19, 2025
19124ac
Update materials for creating a directed graph from street network
HTenkanen Aug 20, 2025
7025de5
Update materials for creating a directed graph from street network
HTenkanen Aug 20, 2025
76c0bb0
Update materials for creating a directed graph from street network
HTenkanen Aug 20, 2025
77b3c29
Update networks materials
HTenkanen Aug 21, 2025
0124090
Update networks materials
HTenkanen Aug 22, 2025
6c11b98
Update networks materials
HTenkanen Sep 1, 2025
957157a
Update networks intro
HTenkanen Sep 4, 2025
f132c20
Ignore DS_Store
HTenkanen Sep 4, 2025
c71bd15
Add undirected graph materials
HTenkanen Sep 4, 2025
82ba11c
Fix heading levels
HTenkanen Sep 4, 2025
544fa94
Update directed graph materials
HTenkanen Sep 4, 2025
e522de0
Update networks materials
HTenkanen Sep 5, 2025
070001f
Reorganize and rename the notebooks
HTenkanen Sep 19, 2025
b2d7a3a
Add materials about creating undirected graph from geometries
HTenkanen Sep 19, 2025
40e416d
Add materials about creating directed graph from geometries
HTenkanen Sep 20, 2025
2f09a5b
Process data using approach from Chapter 7; add option for masking sea
davewhipp Oct 15, 2025
80ce260
Update preprocessing script to follow book format of merging
davewhipp Oct 23, 2025
203b6f0
Add dem data version number
davewhipp Oct 23, 2025
bc79418
Add data version number and details about masking
davewhipp Oct 23, 2025
5e45dc0
Minor edits to address reviewer comments; edits to improve content ov…
davewhipp Oct 24, 2025
3b52caa
Remove preprocessing script
davewhipp Oct 24, 2025
ca55ef9
Format code with black
davewhipp Oct 24, 2025
b0ac9b2
Add link to download preprocessing script
davewhipp Oct 24, 2025
89df472
Rename files to fit index structure
davewhipp Mar 24, 2026
061a266
Update markdown files to match notebooks for chapter 8
davewhipp Mar 24, 2026
8c8c61e
Add to gitignore
HTenkanen Aug 28, 2026
ed30665
Ignore nb cache
HTenkanen Aug 28, 2026
b007dc5
Fix terminology
HTenkanen Aug 28, 2026
7e1e967
Add digiroad mods readme
HTenkanen Aug 28, 2026
100c2e2
Mention modifications to Digiroad
HTenkanen Aug 28, 2026
d326c7f
Update materials
HTenkanen Aug 28, 2026
7f1fd9c
Merge remote
HTenkanen Aug 28, 2026
ef1d66e
Update the Figure 5.10 with a drawing
HTenkanen Sep 4, 2026
5de50d8
Restore chapter 8 section file naming to match index
HTenkanen Sep 4, 2026
90fcb63
Fix typo in the package name
HTenkanen Sep 4, 2026
563893d
Update network intro materials
HTenkanen Sep 4, 2026
dc80f79
Add saving a graph to disk
HTenkanen Sep 4, 2026
2e576c4
Remove and update author notes
HTenkanen Sep 4, 2026
65456f1
Add graph saving/loading section to Chapter 8.1
HTenkanen Sep 4, 2026
57986dd
Remove redundant comment in Chapter 8.1 graph-saving cell
HTenkanen Sep 4, 2026
5039b7b
Pin sphinx-book-theme==1.1.4 to fix mobile menu toggle
HTenkanen Sep 4, 2026
c3280fa
Restructure Chapter 8.2 around OSM routing
HTenkanen Sep 4, 2026
45d387a
Update metadata for chapter 2 notebooks for new env
davewhipp Sep 25, 2026
d24c77c
Update metadata for chapter 3 notebooks for new env
davewhipp Sep 25, 2026
fa0ba3a
Update metadata for chapter 4 notebooks for new env
davewhipp Sep 25, 2026
046700e
Update book environment files
davewhipp Sep 25, 2026
d0c9460
Update watershed analysis notebook
davewhipp Sep 25, 2026
34c0c87
Fix missing image for table joins
davewhipp Sep 28, 2026
834c396
Add missing image
davewhipp Sep 28, 2026
11c5333
Update content about copies versus views for pandas 3
davewhipp Oct 2, 2026
6dd6640
Expand Chapter 8.2 routing section
HTenkanen Oct 2, 2026
3009a99
Merge remote-tracking branch 'origin/develop' into develop
HTenkanen Oct 2, 2026
bce2288
Re-run Chapter 8.1 notebook in the new environment
HTenkanen Oct 2, 2026
2b057b3
Add contents plan to Chapter 8.3
HTenkanen Oct 2, 2026
0c8b9d9
Update black to 26.5.1, reformat notebooks and fix raster plot typo
HTenkanen Oct 12, 2026
410f390
Sync Chapter 5.2 Markdown with the updated Figure 5.10
HTenkanen Oct 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@ latex
.ipynb_checkpoints
krantz
temp
docs
docs
.DS_Store
CLAUDE.md
plans/

# Notebook caches (r5py/osmnx etc.)
**/nb/cache/
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 26.5.1
hooks:
- id: black
language_version: python3
Expand Down
72 changes: 37 additions & 35 deletions binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,50 +4,52 @@ channels:
- conda-forge

dependencies:
- python=3.12.9
- myst-nb=1.2.0
- git=2.48.1
- jupyterlab=4.3.6
- jupyterlab-git=0.51.0
- jupyterlab-myst=2.4.2
- contextily=1.6.2
- dask=2025.2.0
- dask-geopandas=0.4.3
- datashader=0.17.0
- folium=0.19.5
- python=3.12.12
- myst-nb=1.4.0
- git=2.55.0
- jupyterlab=4.6.4
- jupyterlab-git=0.54.1
- jupyterlab-myst=2.7.0
- contextily=1.7.1
- dask=2026.8.0
- dask-geopandas=0.5.0
- datashader=0.19.1
- folium=0.20.0
- fiona=1.10.1
- geocube=0.7.1
- geodatasets=2024.8.0
- geojson=3.2.0
- geopandas=1.0.1
- geodatasets=2026.5.1
- geojson=3.3.0
- geopandas=1.1.4
- geoplot=0.5.1
- geopy=2.4.1
- hvplot=0.11.2
- lonboard=0.10.4
- matplotlib=3.10.1
- geopy=2.5.0
- hvplot=0.12.2
- lonboard=0.16.0
- matplotlib=3.11.2
- matplotlib-scalebar=0.9.0
- netcdf4=1.7.4
- numpy=1.26.4
- openjdk=23.0.2
- openjdk=25.0.2
- openpyxl=3.1.5
- osmnx=2.0.1
- overturemaps=0.12.0
- owslib=0.32.1
- osmnx=2.1.1
- overturemaps=1.0.2
- owslib=0.36.0
- palettable=3.3.3
- pandas=2.2.3
- pyinterpolate=0.4.2
- pyrosm=0.6.2
- pandas=3.0.6
- pyinterpolate=1.2.1
- pyrosm=0.13.1
- pysal=25.1
- pysheds=0.4
- rasterio=1.4.3
- r5py=1.0.1
- pysheds=0.5
- rasterio=1.5.1
- r5py=1.1.7
- r5py.sampledata.helsinki>=0.1.1dev2
- r5py.sampledata.sao_paulo>=0.1.1dev2
- rasterstats=0.20.0
- rioxarray=0.18.2
- scipy=1.15.2
- rasterstats=0.21.0
- rioxarray=0.20.0
- scipy=1.17.1
- seaborn=0.13.2
- shapely=2.0.7
- xarray=2025.1.2
- shapely=2.1.2
- xarray=2026.7.0
- xarray_leaflet=0.2.3
- xarray-spatial=0.4.0
- zarr=2.18.4
- xarray-spatial=0.10.18
- xvec=0.5.2
- zarr=3.1.5
2 changes: 1 addition & 1 deletion ci/build-website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
- jupyter-sphinx
- nbsphinx
- myst-nb
- sphinx-book-theme
- sphinx-book-theme=1.1.4
- sphinxcontrib-bibtex
- sphinx-design
- sphinx-thebe
72 changes: 37 additions & 35 deletions ci/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,50 +4,52 @@ channels:
- conda-forge

dependencies:
- python=3.12.9
- myst-nb=1.2.0
- git=2.48.1
- jupyterlab=4.3.6
- jupyterlab-git=0.51.0
- jupyterlab-myst=2.4.2
- contextily=1.6.2
- dask=2025.2.0
- dask-geopandas=0.4.3
- datashader=0.17.0
- folium=0.19.5
- python=3.12.12
- myst-nb=1.4.0
- git=2.55.0
- jupyterlab=4.6.4
- jupyterlab-git=0.54.1
- jupyterlab-myst=2.7.0
- contextily=1.7.1
- dask=2026.8.0
- dask-geopandas=0.5.0
- datashader=0.19.1
- folium=0.20.0
- fiona=1.10.1
- geocube=0.7.1
- geodatasets=2024.8.0
- geojson=3.2.0
- geopandas=1.0.1
- geodatasets=2026.5.1
- geojson=3.3.0
- geopandas=1.1.4
- geoplot=0.5.1
- geopy=2.4.1
- hvplot=0.11.2
- lonboard=0.10.4
- matplotlib=3.10.1
- geopy=2.5.0
- hvplot=0.12.2
- lonboard=0.16.0
- matplotlib=3.11.2
- matplotlib-scalebar=0.9.0
- netcdf4=1.7.4
- numpy=1.26.4
- openjdk=23.0.2
- openjdk=25.0.2
- openpyxl=3.1.5
- osmnx=2.0.1
- overturemaps=0.12.0
- owslib=0.32.1
- osmnx=2.1.1
- overturemaps=1.0.2
- owslib=0.36.0
- palettable=3.3.3
- pandas=2.2.3
- pyinterpolate=0.4.2
- pyrosm=0.6.2
- pandas=3.0.6
- pyinterpolate=1.2.1
- pyrosm=0.13.1
- pysal=25.1
- pysheds=0.4
- rasterio=1.4.3
- r5py=1.0.1
- pysheds=0.5
- rasterio=1.5.1
- r5py=1.1.7
- r5py.sampledata.helsinki>=0.1.1dev2
- r5py.sampledata.sao_paulo>=0.1.1dev2
- rasterstats=0.20.0
- rioxarray=0.18.2
- scipy=1.15.2
- rasterstats=0.21.0
- rioxarray=0.20.0
- scipy=1.17.1
- seaborn=0.13.2
- shapely=2.0.7
- xarray=2025.1.2
- shapely=2.1.2
- xarray=2026.7.0
- xarray_leaflet=0.2.3
- xarray-spatial=0.4.0
- zarr=2.18.4
- xarray-spatial=0.10.18
- xvec=0.5.2
- zarr=3.1.5
104 changes: 52 additions & 52 deletions ci/py312-book-building.yaml
Original file line number Diff line number Diff line change
@@ -1,76 +1,76 @@
name: python-gis-book
name: pythongis-book-build

channels:
- conda-forge

dependencies:
- python=3.12.9
- sphinx=8.2.3
- ipython=9.0.2
- ipykernel=6.29.5
- nbsphinx=0.9.7
- myst-nb=1.2.0
- sphinx-book-theme=1.1.4
- sphinxcontrib-bibtex=2.6.3
- boto3=1.35.95
- git=2.48.1
- python=3.12.12
- sphinx=9.1.0
- ipython=9.17.1
- ipykernel=7.3.0
- nbsphinx=0.9.8
- myst-nb=1.4.0
- sphinx-book-theme=1.4.0
- sphinxcontrib-bibtex=2.7.0
- boto3=1.43.98
- git=2.55.0

# Writing environment
- jupyterlab=4.3.6
- jupytext=1.16.7
- black=25.1.0
- black-jupyter=25.1.0
- jupyterlab-spellchecker=0.8.4
- jupyterlab-git=0.51.0
- jupyterlab-myst=2.4.2
- jupyterlab=4.6.4
- jupytext=1.19.5
- black=26.5.1
- black-jupyter=26.5.1
- jupyterlab-spellchecker=0.9.0
- jupyterlab-git=0.54.1
- jupyterlab-myst=2.7.0

# GIS environment
- contextily=1.6.2
- dask=2025.2.0
- dask-geopandas=0.4.3
- datashader=0.17.0
- folium=0.19.5
- contextily=1.7.1
- dask=2026.8.0
- dask-geopandas=0.5.0
- datashader=0.19.1
- folium=0.20.0
- fiona=1.10.1
- geocube=0.7.1
- geodatasets=2024.8.0
- geojson=3.2.0
- geopandas=1.0.1
- geodatasets=2026.5.1
- geojson=3.3.0
- geopandas=1.1.4
- geoplot=0.5.1
- geopy=2.4.1
- hvplot=0.11.2
- lonboard=0.10.4
- matplotlib=3.10.1
- geopy=2.5.0
- hvplot=0.12.2
- lonboard=0.16.0
- matplotlib=3.11.2
- matplotlib-scalebar=0.9.0
- netcdf=1.7.2
- netcdf4=1.7.4
- numpy=1.26.4
- openjdk=23.0.2
- openjdk=25.0.2
- openpyxl=3.1.5
- osmnx=2.0.1
- overturemaps=0.12.0
- owslib=0.32.1
- osmnx=2.1.1
- overturemaps=1.0.2
- owslib=0.36.0
- palettable=3.3.3
- pandas=2.2.3
- pyinterpolate=0.4.2
- pyrosm=0.6.2
- pandas=3.0.6
- pyinterpolate=1.2.1
- pyrosm=0.13.1
- pysal=25.1
- pysheds=0.4
- rasterio=1.4.3
- r5py=1.0.1
- pysheds=0.5
- rasterio=1.5.1
- r5py=1.1.7
- r5py.sampledata.helsinki>=0.1.1dev2
- r5py.sampledata.sao_paulo>=0.1.1dev2
- rasterstats=0.20.0
- rioxarray=0.18.2
- scipy=1.15.2
- rasterstats=0.21.0
- rioxarray=0.20.0
- scipy=1.17.1
- seaborn=0.13.2
- shapely=2.0.7
- xarray=2025.1.2
- shapely=2.1.2
- xarray=2026.7.0
- xarray_leaflet=0.2.3
- xarray-spatial=0.4.0
- xvec=0.4.0
- zarr=2.18.4
- xarray-spatial=0.10.18
- xvec=0.5.2
- zarr=3.1.5
# PDF building
- nbconvert=7.16.6
- pip=25.0.1
- pandoc=3.1.13
- nbconvert=7.17.1
- pip=26.2.1
- pandoc=3.11
- pip:
- nbmerge==0.0.4
2 changes: 1 addition & 1 deletion readthedocs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sphinx-book-theme
sphinx-book-theme==1.1.4
sphinx
ipython
jupyter-sphinx
Expand Down
Loading
Loading