Skip to main content

Sources and measurements

Sources and measurements

Every number and fact in the chapters comes either from a cell output in the same chapter or from a row of this table. A chapter that writes ledger L1 points to row L1 below.

Each row has a status:

  • MEASURED: computed for this tutorial; the row names the command, script or notebook run.
  • CITED: read in a primary source on the date given; the row links to it.
  • VERIFY: believed but not yet confirmed. The chapters do not rely on these rows.

The table is in English on both language versions of this page.

Ledger

ID Fact Status Source
L1 The lines of Chapter 1 were run with GDAL 3.12.3 “Chicoutimi” (conda-forge), SpatiaLite 5.1.0 and SQLite 3.54.1 on Windows 11, in an existing environment that holds these packages, not in one freshly created from environment.yml MEASURED 2026-12-02 gdalinfo --version; ogrinfo -q world.gpkg -sql "select spatialite_version(), sqlite_version()"
L2 Since GDAL 3.11, parts of the GDAL utilities are available from one gdal program with commands for raster and vector data. The documentation calls it provisional: the project “reserves the right to modify, rename, reorganize, and change the behavior of the utility” until it is frozen. The older programs are listed as “traditional” applications. The help of gdal 3.12.3 carries the same warning CITED 2026-12-02 https://gdal.org/en/stable/programs/index.html
L3 A pipeline chains steps separated by the exclamation mark. gdal vector pipeline was added in GDAL 3.11 and gdal pipeline, which can mix raster and vector steps, in 3.12 CITED 2026-12-02 https://gdal.org/en/stable/programs/gdal_vector_pipeline.html, https://gdal.org/en/stable/programs/gdal_pipeline.html
L4 GDAL’s virtual file systems: /vsizip/ reads inside zip archives without unpacking them first, /vsicurl/ reads files from web servers without downloading them whole, and the two can be chained CITED 2026-12-02 https://gdal.org/en/stable/user/virtual_file_systems.html
L5 The SQLite SQL dialect can be used with any vector dataset GDAL opens, and has SpatiaLite’s spatial functions when GDAL is built with SpatiaLite CITED 2026-12-02 https://gdal.org/en/stable/user/sql_sqlite_dialect.html
L6 Natural Earth’s map data is in the public domain; credit is not required, and “Made with Natural Earth.” is the suggested short form CITED 2026-12-02 https://www.naturalearthdata.com/about/terms-of-use/
L7 Chapter 1 uses Natural Earth’s 1:50m countries, version 5.1.1 (the VERSION.txt in the zip), 242 features. The download page says that dependent overseas regions are not broken out in this layer, but in the separate map units layer. The town of Cayenne, in French Guiana, lies inside the polygon named France CITED and MEASURED 2026-12-02 https://www.naturalearthdata.com/downloads/50m-cultural-vectors/50m-admin-0-countries-2/; ogr2ogr -f CSV /vsistdout/ world.gpkg -sql "select t.name, l.admin from town t join land l on st_intersects(t.geom, l.geom) where t.name='Cayenne'"
L8 In PowerShell, text in single quotes is taken as it is, and in double quotes variables that start with $ are replaced; the backtick is the escape character CITED 2026-12-02 https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_quoting_rules
L9 What a program receives from cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash for text with single quotes, spaces, commas, &, ;, brackets, @, #, $, backtick, % and \". A bare comma without spaces arrived unchanged in all four MEASURED 2026-12-02 python tools/test_lines.py --habits, Windows 11
L10 All command lines of Chapter 1 printed the same text and left the same file contents in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1). bash and zsh 5.9 on Debian (WSL) passed the same arguments as cmd to a stub that stands in for GDAL. Not run on macOS, and GDAL itself not run on Linux MEASURED 2026-12-02 python tools/test_lines.py en/01-other-side-of-the-earth.ipynb --wsl Debian
L11 Git for Windows converts command-line arguments that start with a slash to Windows paths; MSYS_NO_PATHCONV=1 switches this off. Without it, the /vsizip/ and /vsistdout/ lines of Chapter 1 fail in Git Bash; with it they work CITED and MEASURED 2026-12-02 https://github.com/git-for-windows/build-extra/blob/main/ReleaseNotes.md (Known issues); the same lines run with and without the variable
L12 In SQLite, when a query has exactly one min() or max(), the columns outside the aggregate take their values from a row that holds that minimum or maximum CITED 2026-12-02 https://www.sqlite.org/lang_select.html#bareagg
L13 In GDAL 3.12.3 on Windows, a pipeline read world.gpkg --input-layer land ! sql "..." ! write ... ended in an access violation after writing its result (5 of 5 runs to the screen without a filter; 14 of 15 runs with a filter step). With --dialect SQLite on the sql step, or without --input-layer, 0 of 5. Not checked in other versions MEASURED 2026-12-02 gdal vector pipeline read world.gpkg --input-layer land ! sql "select count(*) n from land" ! write /vsistdout/ --output-format CSV, exit code
L14 In GDAL 3.12.3, ogr2ogr with both -where and -select on a GeoPackage or FlatGeobuf source wrote all columns to GeoJSON, without a warning. Not affected in the same test: a shapefile source, CSV output, -select without -where, and a run with --config OGR2OGR_USE_ARROW_API NO MEASURED 2026-12-02 ogr2ogr q.geojson world.gpkg land -where "ADMIN='Indonesia'" -select "ADMIN", then ogrinfo -so -al q.geojson
L15 Where Chapter 1’s places are. Of the three largest pieces of Indonesia’s antipode, Borneo’s falls 66% on Brazil, 19% on Venezuela and 15% on Colombia, and Sumatra’s 43% on Colombia and 28% on Ecuador; Papua’s falls on no country. In Natural Earth’s list, the towns nearest to 50 N 15 E are Pardubice and Prague (Czechia), and to 2.5 S 118 E Majene and Balikpapan (Indonesia) MEASURED 2026-12-02 antipode split with -explodecollections and intersected with overlap; town ordered by distance to the two points
L16 At 50 N the Mercator projection draws east-west distances 1.553 times (EPSG:3395) or 1.556 times (EPSG:3857, web maps) as long as at the equator MEASURED 2026-12-02 pyproj.Proj("epsg:3857").get_factors(15, 50).parallel_scale, pyproj in the same environment
L17 HYG v4.4 (“Hipparcos-Yale-Gliese”) combines every identifiable star of the Hipparcos, Yale Bright Star and Gliese catalogues; 119,614 stars; CC BY-SA 4.0. ra and dec are for epoch and equinox 2000.0, dist is in parsecs (“To convert parsecs to light years, multiply by 3.262”; 100,000 or more marks a missing or doubtful distance), mag is the apparent visual magnitude, absmag the magnitude from 10 parsecs, ci the blue minus the visual magnitude, and x, y, z count towards the vernal equinox, right ascension 6 hours and the north celestial pole CITED 2026-12-02 https://codeberg.org/astronexus/hyg (README.md, data/hyg/README.md)
L18 The constellation lines of d3-celestial are GeoJSON with right ascension turned into longitudes from -180 to 180 (12 to 24 hours become negative), for J2000; BSD 3-Clause, copyright 2015 Olaf Frohn CITED 2026-12-02 https://github.com/ofrohn/d3-celestial (readme.md, LICENSE)
L19 Greenwich mean sidereal time in hours is 6.697375 + 0.065709824279 D + 1.0027379 H + 0.0000258 T^2, modulo 24, with D the days from 2000 January 1.5 to the last midnight and H the hours since. East longitude divided by 15 is added for local time. Chapter 3 leaves out the term in T^2, 0.000002 h in 2026. For 2026-12-31 17:00 UT1 at 6.2 S 106.8 E, USNO gives a local mean sidereal time of 06:47:44.3165 CITED and MEASURED 2026-12-02 https://aa.usno.navy.mil/faq/GAST; https://aa.usno.navy.mil/api/siderealtime?date=2026-12-31&coords=-6.2,106.8&reps=1&intv_mag=1&intv_unit=minutes&time=17:00:00
L20 SQLite’s date functions work in UTC, and julianday() gives a number of days with its fraction. PROJ’s +axis=wnu makes x count to the west CITED 2026-12-02 https://www.sqlite.org/lang_datefunc.html; https://proj.org/en/stable/usage/projections.html
L21 sample-data/ch03/usno.csv: altitude (hc) and azimuth (zn) of the 28 navigation stars above the horizon at 6.2 S 106.8 E on 2026-12-31 17:00 UT1, from the US Naval Observatory. The same answer lists two planets above the horizon, Mars and Jupiter MEASURED 2026-12-02 python tools/check_sky.py fetch; service described at https://aa.usno.navy.mil/data/api
L22 With the catalogue’s positions for 2000, Chapter 3’s altitudes and azimuths differ from USNO’s by 0.299 degrees on average and 0.381 at most (28 stars). After precession to the date, by 0.005 and 0.008. USNO’s glossary describes precession as the smoothly changing orientation of an orbital plane or of the equator of a rotating body MEASURED and CITED 2026-12-02 python tools/check_sky.py compare sky.gpkg; https://aa.usno.navy.mil/faq/asa_glossary
L23 PROJ’s ob_tran projects a globe after rotating it; +o_lat_p and +o_lon_p give the old north pole in the new grid. The north pole of the galaxy is at right ascension 192.85948, declination +27.12825, and the plane of the galaxy crosses the equator at galactic longitude 32.93192. The old pole therefore has longitude 32.93192 + 90 = 122.93192, and +lon_0 is 192.85948 - 180 = 12.85948 CITED 2026-12-02, arithmetic ours https://proj.org/en/stable/operations/projections/ob_tran.html; https://gea.esac.esa.int/archive/documentation/GDR2/Data_processing/chap_cu3ast/sec_cu3ast_intro/ssec_cu3ast_intro_tansforms.html
L24 The Milky Way’s band across the sky “comes from seeing the disk of stars that forms the Milky Way from inside the disk” CITED 2026-12-02 https://imagine.gsfc.nasa.gov/science/objects/milkyway1.html
L25 ogr2ogr -wrapdateline splits shapes that cross 180 degrees, and -datelineoffset sets how near to it a shape must be, 10 degrees by default. Of the 8 pieces of the constellation figures that jump across 180 degrees, 6 were left with the default and none with 40 CITED and MEASURED 2026-12-02 https://gdal.org/en/stable/programs/ogr2ogr.html; the layer split with -explodecollections, pieces wider than 180 degrees counted
L26 On Chapter 3’s map of blue stars, the 356 blue stars of Orion lie around x 2425, y -269, where the map runs from -2828 to 2828 and from -1414 to 1414 MEASURED 2026-12-02 select con, count(*), avg(st_x(geom)), avg(st_y(geom)) from blue group by con on the chapter’s sky.gpkg
L27 All command lines of Chapter 3 printed the same text and left the same file contents in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1), and bash and zsh on Debian passed the same arguments to a stub MEASURED 2026-12-02 python tools/test_lines.py en/03-maps-of-the-night-sky.ipynb --wsl Debian
L28 In gdal pipeline, color-map ! resize -r average first averages the cells that the colours are made from and then colours the result. On a picture of 7 classes, 4,800 by 2,800 cells, shrunk to 1,600 by 933, the result had 7 different colours. With materialize between the two steps it had 4,179, the same cells as shrinking a colour picture saved to disk. gdaldem color-relief -of VRT followed by gdal_translate -r average behaves in the same way (GDAL 3.12.3) MEASURED 2026-12-03 The second picture of Chapter 4 written with and without materialize; checksums compared with gdalinfo -checksum
L29 The USGS event service takes a question as a web address and can answer in GeoJSON. One question gives at most 20,000 events, and a larger one the error “400 Bad Request”. Without starttime it gives the last 30 days. eventtype=earthquake leaves out events that are not earthquakes CITED 2026-12-03 https://earthquake.usgs.gov/fdsnws/event/1/
L30 In the catalogue, times are in milliseconds since 1970-01-01, in UTC. Depth is in kilometres, where the earthquake begins to rupture, and “the least-constrained parameter in the earthquake location”. When the data say too little, “the location program will set the depth at a fixed value”: often 33 km for shallow earthquakes, and 5 or 10 km in mid-continental areas and on mid-ocean ridges. The page does not mention 35 km CITED 2026-12-03 https://earthquake.usgs.gov/data/comcat/data-eventterms.php
L31 Shallow earthquakes are 0 to 70 km deep, intermediate ones 70 to 300 km and deep ones 300 to 700 km CITED 2026-12-03 https://www.usgs.gov/programs/earthquake-hazards/determining-depth-earthquake
L32 Data that the USGS makes are in the public domain in the United States, and it asks for credit CITED 2026-12-03 https://www.usgs.gov/information-policies-and-instructions/copyrights-and-credits
L33 Under Java the Australia plate moves north-northeast beneath the Sunda plate at about 6 cm a year. It lies 100 to 200 km below the island and reaches 600 km north of it CITED 2026-12-03 Tectonic summary of the Yogyakarta earthquake of 2006-05-26, https://earthquake.usgs.gov/earthquakes/eventpage/usp000ej1c
L34 Widiyantoro and van der Hilst (1996) describe earthquakes down to 670 km under Java with a gap between 350 and 500 km, none deeper than 300 km under Sumatra, and a plate that is probably continuous through the gap and perhaps thinner there. Cottam and others (2010) give the gap under East Java as about 250 to 500 km and read it as a hole in the plate CITED 2026-12-03 Science 271, 1566-1570, https://doi.org/10.1126/science.271.5255.1566, read at https://hilst.mit.edu/wp-content/uploads/2017/05/1996_science_271-1566-1570.pdf; https://meetingorganizer.copernicus.org/EGU2010/EGU2010-12437.pdf
L35 PROJ’s oblique Mercator: +lat_0 and +lonc are the centre, +alpha is the direction of the centre line, clockwise from north, and +gamma the direction it has on the map. With +alpha=-45 +gamma=0 around Padang, a point one degree east and north gives x 156.9 and y -0.5 km CITED and MEASURED 2026-12-03 https://proj.org/en/stable/operations/projections/omerc.html; cell output of Chapter 4, section 6
L36 The earthquake of 2004-12-26 (magnitude 9.1) was off the west coast of northern Sumatra. The break went north-west from the epicentre, the zone of aftershocks is more than 1,300 km long, and later models have significant slip up to about 1,500 km north of the epicentre CITED 2026-12-03 Tectonic summary, https://earthquake.usgs.gov/earthquakes/eventpage/official20041226005853450_30
L37 Energy from moment magnitude: log E = 5.24 + 1.44 Mw. The page gives no unit, and Chapter 4 only uses ratios. The same page also says “32 times more energy” for one whole magnitude, where its formula gives 10^1.44 = 27.5 CITED 2026-12-03, arithmetic ours https://www.usgs.gov/programs/earthquake-hazards/earthquake-magnitude-energy-release-and-shaking-intensity
L38 On points of a GeoPackage, st_distance(a, b, 1) in SQL printed “unknown SRID: 4326” for each pair and did not finish in 40 seconds, while st_length(makeline(a, b), 1) needed half a second for the whole of Chapter 4’s table (GDAL 3.12.3, SpatiaLite 5.1.0) MEASURED 2026-12-03 Section 10 of Chapter 4 with the one and with the other
L39 sample-data/ch04/usgs.gpkg.zip holds the layers quakes (11,622 events) and java (985) as the first two lines of Chapter 4 made them on 2026-12-03 MEASURED 2026-12-03 ogr2ogr -f GPKG usgs.gpkg.zip quakes.gpkg java quakes
L40 All command lines of Chapter 4 printed the same text and left the same file contents in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1), and bash and zsh on Debian passed the same arguments to a stub MEASURED 2026-12-03 python tools/test_lines.py en/04-earthquakes-by-depth.ipynb --wsl Debian
L41 IBTrACS v04r01 merges recent and historical tropical cyclone data from multiple agencies. Its files carry the licence “These data may be redistributed and used without restriction.” NOAA asks for a citation CITED 2026-12-03 https://www.ncei.noaa.gov/products/international-best-track-archive; the attribute license of IBTrACS.ACTIVE.v04r01.nc in the folder access/netcdf
L42 In IBTrACS, USA_WIND holds one-minute winds from the US agencies, in knots. Most other agencies use ten minutes, and winds of one agency “are not convertible” to those of another. Positions are interpolated to every 3 hours with splines, while most data are reported every 6 hours. main tracks have had some reanalysis, spur tracks are alternate or short-lived ones, and provisional tracks will be replaced. Classes by wind in knots: under 34 depression, 34 storm, 64 category 1, 96 category 3, 137 and more category 5 CITED 2026-12-03 https://www.ncei.noaa.gov/sites/default/files/2025-04/IBTrACS_version4r01_Technical_Details.pdf sections 3.2, 6.2 and 6.4 to 6.8; https://www.ncei.noaa.gov/sites/default/files/2025-09/IBTrACS_v04r01_column_documentation.pdf
L43 The documentation warns of large discrepancies at 180 degrees, “between the USA agencies and JMA”, because of differences in their procedures. Of the 647 tracks on Chapter 5’s map that end north of 30 N between 120 E and 240 E, 76 end within one degree of 180. In 72 of the 4,643 storms at least one step of more than two degrees of longitude keeps exactly the same latitude CITED and MEASURED 2026-12-03 https://www.ncei.noaa.gov/sites/default/files/2025-04/IBTrACS_version4r01_Technical_Details.pdf section 6.3; queries on track and pos of Chapter 5
L44 Tropical cyclones hardly form within 5 degrees of the equator, because the Coriolis force there is too small to generate a vortex. Vamei, in December 2001, was the first on record to form within 1.5 degrees CITED 2026-12-03 Hong Kong Observatory, https://www.hko.gov.hk/en/education/tropical-cyclone/intensity/00150-why-do-tropical-cyclones-always-form-more-than-5-degrees-of-latitude-away-from-the-equator.html; NOAA says the same, https://www.noaa.gov/jetstream/tropical/tropical-cyclone-introduction
L45 gdal_rasterize -init 0 marks 0 as no data, and resize with a smooth method then does not blend with those cells. In a pipeline, edit --nodata none directly before resize did not change the result, while edit --nodata none ! materialize did (GDAL 3.12.3) MEASURED 2026-12-03 The year map of Chapter 5 written with and without materialize
L46 Freddy (2023) lasted 36.0 days and travelled 12,785 km at tropical storm status or higher, and John (1994) lasted 29.75 days and travelled 13,159 km. The committee accepted only observations of at least tropical storm status, and rebuilt John’s numbers from best track data CITED 2026-12-03 World Meteorological Organization, 2 July 2024, https://wmo.int/news/media-centre/tropical-cyclone-freddy-longest-tropical-cyclone-record-36-days-wmo
L47 On a GeoPackage, ogr2ogr -sql cuts a query at an order by inside the brackets of a function, as in makeline(geom order by utc), and stops with “incomplete input”. The same happens with -dialect SQLite (GDAL 3.12.3, SQLite 3.54.1) MEASURED 2026-12-03 Section 2 of Chapter 5 written in that way
L48 All command lines of Chapter 5 printed the same text and left the same file contents in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1), and bash and zsh on Debian passed the same arguments to a stub. The files that partition writes into folders were not compared MEASURED 2026-12-03 python tools/test_lines.py en/05-storm-tracks-from-points.ipynb --wsl Debian
L49 Robert Simmon’s guidance on colour for data: of hue, saturation and lightness, lightness is the strongest, so a colour scale for a quantity should change evenly in lightness, best with a change of hue. Such a scale also works with colour blindness and in black and white print. Data around a middle value need two hues that meet in a neutral light colour, and classes need colours as distinct as possible. Missing data should be grey CITED 2026-12-03 NASA Earth Observatory, “Subtleties of Color” (2013), https://science.nasa.gov/blogs/earth-matters/2013/08/06/subtleties-of-color-part-2-of-6/ (part 2), https://science.nasa.gov/blogs/earth-matters/2013/08/12/subtleties-of-color-part-3-of-6/ (part 3), https://science.nasa.gov/blogs/earth-matters/2013/08/19/subtleties-of-color-part-4-of-6/ (part 4)
L50 Every colour file in sample-data keeps the promise in its first line: even or rising lightness for quantities and ordered classes, and a difference of at least 20 in CIE Lab* between the unordered classes it names, also for simulated red-green colour blindness MEASURED 2026-12-03 python tools/check_colours.py; matrices of Machado, Oliveira and Fernandes (2009), https://www.inf.ufrgs.br/~oliveira/pubs_files/CVD_Simulation/CVD_Simulation.html
L51 The server of the TransJakarta feed answers a HEAD request of GDAL 3.12.3 with code 500, and the GTFS driver then says that the required files are missing. With --config CPL_VSIL_CURL_USE_HEAD NO the same line works MEASURED 2026-12-03 Section 1 of Chapter 6 with and without the option
L52 The GTFS driver keeps the original tables, gives stops points and trips lines that join the stops, and adds the layer shapes_geom with lines made from shapes CITED 2026-12-03 GDAL documentation, https://gdal.org/en/stable/drivers/vector/gtfs.html
L53 The TransJakarta feed is published on a server of the company. The Mobility Database lists it as an official feed, which there means that the provider has confirmed that it should be shared with riders, and names no licence. The zip has no licence file either, and the pages of the company carry the line “Hak Cipta © 2024 PT Transportasi Jakarta Dilindungi Undang-Undang” (copyright, protected by law). On the same pages, BRT is the service in its own lanes, Mikrotrans goes into the neighbourhoods, and some routes reach Bogor, Depok, Tangerang and Bekasi CITED 2026-12-03 https://gtfs.transjakarta.co.id/files/file_gtfs.zip, https://mobilitydatabase.org/feeds/gtfs/mdb-1909, https://transjakarta.co.id/, https://transjakarta.co.id/tentang/profil-perusahaan
L54 In ogr2ogr -sql and the sql step of a pipeline on a GeoPackage, a column that is a plain fid does not become a column of the result, also under another name. fid+0 does (GDAL 3.12.3) MEASURED 2026-12-03 Section 2 of Chapter 6 with fid in place of fid+0: the colour file has three columns, and rasterize says “Failed to find field v”
L55 GTFS: exact_times = 0 is service without a fixed schedule, in which the operator tries to keep the interval. headway_secs is the time between departures from the same stop, from start_time to end_time. location_type 1 is a station, and 0 or empty is a stop or platform. Times after midnight of the service day are written as more than 24:00:00 CITED 2026-12-03 GTFS Schedule Reference, https://raw.githubusercontent.com/google/transit/master/gtfs/spec/en/reference.md
L56 Marey credits “M. Ibry” with the invention of the graphical tables that show all trains of a line against the hours of the day, and prints one for Paris to Lyon as figure 7. He also notes that such drawings assume a uniform speed between two stops, as a straight line CITED 2026-12-03 E.-J. Marey, “La méthode graphique”, printing of 1885, scan and text at https://archive.org/details/lamthodegraphiq00maregoog
L57 All 31 command lines of Chapter 6 printed the same text and left the same file contents in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1), and bash and zsh on Debian passed the same arguments to a stub MEASURED 2026-12-03 python tools/test_lines.py en/06-graphs-and-maps-from-a-timetable.ipynb --wsl Debian
L58 ETOPO 2022 joins topography, bathymetry and shorelines into one relief model of the world. The catalogue of the US government gives its licence as CC0 1.0 CITED 2026-12-03 NOAA NCEI, https://www.ncei.noaa.gov/products/etopo-global-relief-model; https://catalog.data.gov/dataset/etopo-2022-15-arc-second-global-relief-model; citation https://doi.org/10.25921/fd45-gt74
L59 On the WGS 84 ellipsoid, one degree of longitude on the equator is 111.3195 km long DERIVED 2026-12-03 6378.137 km (the equatorial radius of WGS 84) times 2 pi, divided by 360
L60 Two resize steps in a row in a GDAL pipeline act as one (GDAL 3.12.3). Making a raster of 5400 columns small (300) and large again left every cell unchanged. With materialize between the steps, the mean difference was 120 m on this relief MEASURED 2026-12-03 Line 2 of section 8 in Chapter 17, with and without the second materialize, starting from fine.tif
L61 The SIL Open Font License allows changed versions and other formats, if they keep the licence and do not use a reserved font name, and a graphic made with such a font is not bound by the licence. The letters of Chapter 17 come from Miriam Libre (Michal Sahar) and from a family by Eduardo Tunni whose name is reserved CITED 2026-12-03 https://openfontlicense.org/ofl-faq/ (sections 1.13, 1.20, 2.2 and 3.1); the files OFL-*.txt in sample-data/ch17
L62 “Nusantara” is a name for the whole area of the Indonesian archipelago. A usual custom for maps is to set the names of water in italic letters CITED 2026-12-03 Kamus Besar Bahasa Indonesia, edition III, as given by https://kbbi.web.id/nusantara; Axis Maps, Cartography Guide, https://www.axismaps.com/guide/labeling
L63 All command lines of Chapter 17 printed the same text and left the same file contents in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1), and bash and zsh on Debian passed the same arguments to a stub MEASURED 2026-12-03 python tools/test_lines.py en/17-complete-map-sheet.ipynb --wsl Debian
L64 GDAL reads a file from a GitHub repository by its address on raw.githubusercontent.com. The github.com/.../blob/... address of the same file gives “not recognized as being in a supported file format” MEASURED 2026-12-03 ogrinfo on autotest/ogr/data/poly.shp and autotest/ogr/data/shp/poly.zip of https://github.com/OSGeo/gdal, because the repository of this tutorial was not public yet
L65 The government of Indonesia launched an updated map of the country on 14 July 2017, on which the waters north of Natuna carry the name “Laut Natuna Utara” (North Natuna Sea). Chapter 17 uses this name for these waters, and “South China Sea” further north CITED 2026-12-03 Cabinet Secretariat of the Republic of Indonesia, https://setkab.go.id/tegaskan-batas-wilayah-nkri-pemerintah-terbitkan-peta-mutakhir/
L66 The administrative boundaries of Indonesia on HDX (dataset cod-ab-idn) have Badan Pusat Statistik as their source and the licence CC BY-IGO. They were created in April 2020, and reviewed in October 2025. They have 34 provinces, 522 units of level 2 and 81,912 of level 4 CITED 2026-12-03 OCHA, Humanitarian Data Exchange, https://data.humdata.org/dataset/cod-ab-idn; licence text https://creativecommons.org/licenses/by/3.0/igo/legalcode
L67 Four laws of 2022 list, in article 3, the districts of the new provinces: 4 for Papua Selatan (law 14), 8 for Papua Tengah (law 15), 8 for Papua Pegunungan (law 16) and 6 for Papua Barat Daya (law 29) CITED 2026-12-03 https://papuaselatan.go.id/data/files/uu-nomor-14-tahun-2022.pdf, https://peraturan.bpk.go.id/Details/217798, https://peraturan.bpk.go.id/Details/217799, https://peraturan.go.id/files/1.+Salinan+UU+Nomor+29+Tahun+2022.pdf
L68 simplify-coverage uses the algorithm of Visvalingam and Whyatt on shared boundaries, and needs GEOS 3.12. clean-coverage needs GEOS 3.14, and its default maximum gap width is zero, so that gaps stay open CITED 2026-12-03 GDAL documentation, https://gdal.org/en/stable/programs/gdal_vector_simplify_coverage.html, https://gdal.org/en/stable/programs/gdal_vector_clean_coverage.html
L69 Water lines are drawn parallel to a shore and get weaker and wider apart with distance. They were the work of well-paid specialists, and fell out of use over the last century CITED 2026-12-03 D. P. Huffman, “On Waterlines”, Cartographic Perspectives 66 (2010), https://cartographicperspectives.org/index.php/journal/article/download/cp66-huffman/pdf/815
L70 The four colour problem goes back to 1852, when Francis Guthrie coloured a map of the counties of England. The first proof that held is of 1976, by Appel and Haken CITED 2026-12-03 N. Robertson, D. P. Sanders, P. Seymour and R. Thomas, “The Four Color Theorem”, https://people.math.gatech.edu/~thomas/FC/fourcolor.html
L71 All 38 command lines of Chapter 7 printed the same text and left the same file contents in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1), and bash and zsh on Debian passed the same arguments to a stub MEASURED 2026-12-03 python tools/test_lines.py en/07-simplifying-borders.ipynb --wsl Debian
L72 gdal raster zonal-stats with --stat max_center_x and several zones crashes with the default strategy (GDAL 3.12.3): with 19 islands it wrote 3 rows and ended with a segmentation fault. With --strategy raster, or with other statistics, all 19 rows came out MEASURED 2026-12-03 Line 3 of section 5 in Chapter 8 without --strategy raster
L73 On the cylindrical equal-area projection with the equator as its true line, lengths at latitude f are changed by the factor 1/cos f from west to east, and cos f from south to north. At 10 degrees that is +1.5 and -1.5 percent DERIVED 2026-12-03 Sphere: 1/cos 10 = 1.0154, cos 10 = 0.9848
L74 Point Nemo, the place in the ocean that is farthest from land, lies at 48 degrees 52.6 minutes south and 123 degrees 23.6 minutes west, about 2,688 km from Ducie Island, Motu Nui and Maher Island. Maher Island lies at 72 degrees 58 minutes south and 126 degrees 22 minutes west CITED 2026-12-03 NOAA National Ocean Service, https://oceanservice.noaa.gov/facts/nemo.html. Position of Maher Island: https://en.wikipedia.org/wiki/Maher_Island, which refers to the USGS names database (GNIS, Antarctica ID 9286). That database was not opened, but the geodesic distance from NOAA’s point to this position is 2,687.4 km, as it should be
L75 OurAirports releases its data to the public domain, with no guarantee of accuracy, and updates the files every night. The column scheduled_service says whether an airport has airline service now CITED 2026-12-03 https://ourairports.com/data/, https://ourairports.com/help/data-dictionary.html
L76 The most inland point of Borneo in Chapter 8 (0.4257 north, 114.1662 east) lies in the district Murung Raya, Kalimantan Tengah, at 1,484 m in ETOPO 2022 MEASURED 2026-12-03 Point in polygon with the original districts of L66; gdallocationinfo on the relief of Chapter 17
L77 All 70 command lines of Chapter 8 printed the same text and left the same file contents in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1), and bash and zsh on Debian passed the same arguments to a stub MEASURED 2026-12-03 python tools/test_lines.py en/08-most-inland-place.ipynb --wsl Debian
L78 The stacked lines on the cover of “Unknown Pleasures” by Joy Division (1979) show radio pulses of the pulsar CP 1919. The plot was drawn by a computer at Arecibo, and comes from the doctoral thesis of Harold D. Craft Jr., September 1970 CITED 2026-12-03 J. Christiansen, Scientific American, 18 February 2015, https://www.scientificamerican.com/blog/sa-visual/pop-culture-pulsar-origin-story-of-joy-division-s-unknown-pleasures-album-cover-video/; https://en.wikipedia.org/wiki/Unknown_Pleasures
L79 WorldPop’s data for 2015 to 2030, release R2025A v1, give the estimated number of people in each cell. The numbers of larger areas are shared out with a statistical model that uses, among others, building footprints from satellite images. WorldPop calls the release an alpha version that may change. The licence is CC BY 4.0 CITED 2026-12-03 Release statement of September 2025, https://data.worldpop.org/repo/prj/Global_2015_2030/R2025A/doc/Global2_Release_Statement_R2025A_v1.pdf; licence: https://www.worldpop.org/faq/; citation: https://hub.worldpop.org/doi/10.5258/SOTON/WP00839
L80 Copernicus DEM GLO-30 is a surface model with buildings and vegetation, with heights above the geoid EGM2008. It is free for the general public under its licence, which asks for a fixed notice, also for changed data CITED 2026-12-03 https://registry.opendata.aws/copernicus-dem/, https://dataspace.copernicus.eu/explore-data/data-collections/copernicus-contributing-missions/collections-description/COP-DEM
L81 All 28 command lines of Chapter 9 printed the same text and left the same file contents in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1), and bash and zsh on Debian passed the same arguments to a stub MEASURED 2026-12-03 python tools/test_lines.py en/09-relief-with-profile-lines.ipynb --wsl Debian
L82 GDAL writes contour lines with the higher side on the right, so that a line runs clockwise around a top. --exp-base makes levels on a power scale, and MIN and MAX can stand in the list of --levels CITED 2026-12-03 https://gdal.org/en/stable/programs/gdal_contour.html, https://gdal.org/en/stable/programs/gdal_raster_contour.html. Checked in the checkpoint of Chapter 10 with st_ispolygoncw
L83 Shaded relief is lit from the upper left by convention. This is not realistic in the northern hemisphere. With light from the south, many readers see the relief inverted CITED 2026-12-03 https://en.wikipedia.org/wiki/Terrain_cartography
L84 K. Tanaka, “The Relief Contour Method of Representing Topography on Maps”, Geographical Review, 1950 CITED 2026-12-03 doi:10.2307/211219 (title and year from Crossref; the article itself was not opened); https://en.wikipedia.org/wiki/Terrain_cartography
L85 Hachures are strokes in the direction of the steepest slope, thicker and shorter where it is steeper. The topographer Johann Georg Lehmann gave them a standard in 1799 CITED 2026-12-03 https://en.wikipedia.org/wiki/Hachure_map
L86 Lake Batur: surface at 1,031 m, area 15.9 km2 CITED 2026-12-03 https://en.wikipedia.org/wiki/Lake_Batur
L87 In Chapter 10’s map of people, 19 areas inside Java and its neighbours have fewer than 8 people in a cell and are larger than 25 km2. In 18 of them the highest cell of ETOPO 2022 lies between 1,269 and 3,433 m. The last one, at 7.63 S 111.64 E, reaches 258 m only MEASURED 2026-12-03 Closed areas of the line of 8 people, joined with the table cell of Chapter 9 (sky.gpkg), largest height inside each
L88 All 32 command lines of Chapter 10 printed the same text and left the same file contents in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1), and bash and zsh on Debian passed the same arguments to a stub MEASURED 2026-12-03 python tools/test_lines.py en/10-contour-lines-with-light-and-shade.ipynb --wsl Debian
L89 Lake Toba lies in the caldera of the Toba volcano. Its surface is at about 900 m (905 m in the table), and its area is 1,130 km2. The island Samosir in it has 630 km2 and is the largest island within an island CITED 2026-12-03 https://en.wikipedia.org/wiki/Lake_Toba, https://en.wikipedia.org/wiki/Samosir
L90 The first 36 command lines of Chapter 0 and the 48 lines that the warm-ups of Chapters 1, 3 to 11 and 17 had at first, printed the same text and left the same file contents in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1), and bash and zsh on Debian passed the same arguments to a stub. The rows before this one counted the lines of the chapters without warm-ups MEASURED 2026-12-03 python tools/test_lines.py en/00-one-command-one-file.ipynb --wsl Debian, and the other chapters with --until "## 1." (Chapter 1: --until "## 2.")
L91 gdal raster hillshade fills the outermost cells, and gdaldem hillshade leaves them empty without -compute_edges. With this option both give the same raster (GDAL 3.12.3) MEASURED 2026-12-03 gdal raster compare on the relief of Chapter 0: 7,376 different cells without the option, none with it. The raster has 7,376 cells at its edge
L92 The towns of Chapter 0 are the 31 places of the GeoNames list cities500 in the window 98.3 to 99.4 E and 2.15 to 3.1 N, under CC BY 4.0. Their kinds are the GeoNames codes PPLA2 (here district seat), PPLA3 (subdistrict seat) and others. Lake Toba is up to 505 m deep. The volcano Pusuk Buhit (there Pusubukit) is 1,971 m high CITED 2026-12-03 https://download.geonames.org/export/dump/readme.txt; https://en.wikipedia.org/wiki/Lake_Toba. In the relief of Chapter 0 the highest cell of the volcano has 1,966 m
L93 Three faults or traps of GDAL 3.12.3 (conda-forge, Windows). (1) gdal raster info and gdal mdim info print nothing for an HDF5 file and end with code 0, while gdalinfo and gdalmdiminfo work; gdal raster convert writes a correct file, but its progress line stops at 0. (2) gdal raster calc --flatten --calc "sum(A > 200)" adds all bands and compares only the last one: it gave 1,161 to 5,136 in place of 0 to 12. (3) A two-dimensional HDF5 array without latitudes, opened with NETCDF:, comes out upside down unless GDAL_NETCDF_BOTTOMUP is NO MEASURED 2026-12-03 sea.h5 read with h5py and compared cell by cell; rain.tif of Chapter 0 at 98.95 E 2.65 N, where 5 of the 12 months have more than 200 mm
L94 CHIRPS v3.0 combines satellite estimates with rain gauges, on cells of 0.05 degrees, from 60 S to 60 N and from 1981 on. It is under CC BY 4.0, and the Climate Hazards Center waives its rights as far as possible CITED 2026-12-03 https://data.chc.ucsb.edu/products/CHIRPS/v3.0/README-CHIRPSv3.0.txt, https://www.chc.ucsb.edu/data/chirps3
L95 scene.tif is cut from the Sentinel-2 Level-2A images S2A 47NMC, 47NMD and 47NNC of 3 October 2021 (processing baseline 03.01), averaged to 100 m. The numbers are surface reflectance times 10,000. From baseline 04.00 on, an offset is added, so newer images need one more step. Use is free, and changed data carries the notice “Contains modified Copernicus Sentinel data [Year]” CITED 2026-12-03 https://developers.google.com/earth-engine/datasets/catalog/COPERNICUS_S2_SR, https://sentiwiki.copernicus.eu/web/s2-products; legal notice: https://sentinels.copernicus.eu/documents/247904/690755/Sentinel_Data_Legal_Notice; files: https://registry.opendata.aws/sentinel-2-l2a-cogs/
L96 CoralTemp v3.1 of NOAA Coral Reef Watch gives the daily temperature of the sea surface on cells of 5 km, stored in hundredths of a degree Celsius. The data may be used without restriction, with credit to NOAA Coral Reef Watch. sea.h5 (Chapter 0) and sst.tif (Chapter 11) are cut from the file of 1 September 2019 CITED 2026-12-03 Attributes license and comment of coraltemp_v3.1_20190901.nc; https://coralreefwatch.noaa.gov
L97 The vegetation condition index places a value between the lowest and the highest one of many years, in percent. The land surface temperature of MODIS (MOD11A1) is stored with the factor 0.02, in kelvin CITED 2026-12-03 UN-SPIDER, https://www.un-spider.org/links-and-resources/data-sources/daotm-vci; https://developers.google.com/earth-engine/datasets/catalog/MODIS_061_MOD11A1
L98 The annual files of CHIRPS v3.0 have straight steps. At 111.10 E, between 2 S and 2.5 N, the rain of 2023 falls by 226 mm on average from one column to the next, in 93 percent of 85 rows; the usual step there is 74 mm, and the mean rain near the line 3,508 mm. The files of 2010 and 2024 have a step at the same longitude (median +113 and -127 mm, usual 52 and 64). At 137.85 E, between 3.5 and 5 S, the median step is -394 mm in 2023, -570 in 2010 and -460 in 2024, with the same sign in all 30 rows. The reason was not looked for MEASURED 2026-12-03 Section 5 of Chapter 11; the other years with the same comparison of neighbouring columns in Python
L99 The batik pattern Alas-alasan, “living in the wild”, shows animals of the forest, among them horses, tigers, buffaloes, dogs, monkeys, fish, birds and caterpillars. It was made before 1891, measures 52 by 53.1 cm, and is in the Nationaal Museum van Wereldculturen, RV-847-100. The photograph is marked as public domain CITED 2026-12-03 Wikimedia Commons, “File:Collectie NMvWereldculturen, RV-847-100, Batikpatroon, ‘Alas-alasan’, voor 1891.jpg”
L100 Strong south-easterly winds along Java and Sumatra bring cold water to the surface. In 2019, with an extreme positive Indian Ocean Dipole, this was unusually strong. Tropical cyclones need water of at least 27 degrees Celsius (80 F) CITED 2026-12-03 I. Iskandar et al., “Extreme Positive Indian Ocean Dipole in 2019 and Its Impact on Indonesia”, Sustainability 2022, 14, 15155, doi:10.3390/su142215155; NOAA JetStream, https://www.noaa.gov/jetstream/tropical/tropical-cyclone-introduction
L101 Robert Simmon uses gdaldem color-relief for data that is no elevation, and thanks Joshua Stevens “for describing how to use gdaldem on non-elevation data” CITED 2026-12-03 R. Simmon, “A Gentle Introduction to GDAL Part 6.1: Visualizing Data”, Medium
L102 ESA WorldCover 2021 (v200): 10 tree cover, 30 grassland, 40 cropland, 50 built-up, 60 bare or sparse vegetation, 80 permanent water; cells of 10 m; CC BY 4.0 CITED 2026-12-03 https://developers.google.com/earth-engine/datasets/catalog/ESA_WorldCover_v200, https://registry.opendata.aws/esa-worldcover-vito/
L103 All 176 command lines of Chapter 0 printed the same text and left the same file contents in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1), and bash and zsh on Debian passed the same arguments to a stub MEASURED 2026-12-03 python tools/test_lines.py en/00-one-command-one-file.ipynb --wsl Debian. The loops of the section on folders were run by hand
L104 All 38 command lines of Chapter 11 printed the same text and left the same file contents in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1), and bash and zsh on Debian passed the same arguments to a stub MEASURED 2026-12-03 python tools/test_lines.py en/11-terrain-commands-for-other-data.ipynb --wsl Debian
L105 gdal raster as-features --skip-nodata left out cells that have a value (GDAL 3.12.3): it wrote 854 of 24,191 cells of the rain of Borneo. Without the option all 39,600 cells came out MEASURED 2026-12-03 borneo.tif of Chapter 11, with and without the option
L106 dekads.tif of Chapter 13 has the mean rain of each of the 36 dekads of the year, 1991 to 2020, in tenths of a millimetre, for 94.5 to 141.5 E and 11.5 S to 6.5 N. It was calculated from CHIRPS v3.0 (L94), and every land cell has all 30 years MEASURED 2026-12-03 tools/prep_ch13.py, from a local copy of the global dekads. Three dekads of this copy (1994, 2007 and 2020) were compared with the files on https://data.chc.ucsb.edu/products/CHIRPS/v3.0/dekads/global/tifs/: no difference in 98,174 land cells
L107 Aldrian and Susanto divide Indonesia into three rain regions. A, the south “from south Sumatera to Timor island”, has one peak, with the wet monsoon from November to March. B, the north-west from northern Sumatra to north-western Kalimantan, has two peaks, in October to November and in March to May. C, Maluku and northern Sulawesi, has one peak in June to July CITED 2026-12-03 E. Aldrian and R. D. Susanto, “Identification of three dominant rainfall regions within Indonesia and their relationship to sea surface temperature”, International Journal of Climatology 23, 2003, 1435-1452, doi:10.1002/joc.950, https://www2.atmos.umd.edu/~dwi/papers/aldrian_susanto_ijc.pdf
L108 BMKG sets the beginning of the rainy season at the dekad with 50 mm or more that is followed by two more such dekads, or at a dekad with 50 mm or more if the three dekads together have 150 mm or more. The dry season begins with the opposite rule, less than 50 mm CITED 2026-12-03 BMKG, Stasiun Klimatologi Sulawesi Utara, bulletin on the rainy season 2024/2025, https://staklim-sulut.bmkg.go.id/wp-content/uploads/2025/01/BULETIN-PMH-SULUT-2024-2025_print.pdf
L109 All 42 command lines of Chapter 13 printed the same text and left the same file contents in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1), and bash and zsh on Debian passed the same arguments to a stub MEASURED 2026-12-03 python tools/test_lines.py en/13-when-the-rain-peaks.ipynb --wsl Debian
L110 gdal vector rasterize and gdal vector grid mark 0 as “no data”, and gdal raster convert and scale write such cells into a PNG file as transparent. White shapes on a transparent ground cannot be seen on a white page. gdal raster edit --nodata none before the conversion keeps the ground MEASURED 2026-12-03 Reported by the reader of the first version of Chapter 0: 92 percent of lines.png were transparent. All pictures of all chapters were then checked with tools/check_pictures.py. The corrected warm-ups of Chapters 1, 3 and 7 (four lines more) passed tools/test_lines.py again
L111 world.tif of Chapter 2 is ETOPO1, ice surface, averaged from 1 arc-minute to cells of 0.15 degrees and rounded to metres. The data may be used and redistributed for free. NOAA calls ETOPO1 deprecated since ETOPO 2022; for a picture of the whole Earth this does not matter CITED 2026-12-03 C. Amante and B. W. Eakins, 2009, NOAA Technical Memorandum NESDIS NGDC-24, doi:10.7289/V5C8276M; attribute license of the netCDF file; https://www.ncei.noaa.gov/products/etopo-global-relief-model
L112 Mercator is conformal, and a course of constant heading is a straight line on it. On the gnomonic projection great circles are straight, for an ellipsoid approximately. Goode’s interrupted homolosine, ocean view, keeps areas and was published in 1925. Equal Earth is of 2018 and keeps areas. Airocean goes back to Buckminster Fuller, 1943 with a cuboctahedron and 1954 with an icosahedron, and is cut so that most interruptions lie in the ocean. spilhaus and airocean exist since PROJ 9.6.0 CITED 2026-12-03 Pages merc, gnom, igh_o, eqearth, airocean and spilhaus of https://proj.org/en/stable/operations/projections/index.html; Mercator 1569: https://en.wikipedia.org/wiki/Mercator_projection. PROJ 9.7.1 lists 183 projections (proj -l)
L113 The Indonesian seas are “the only pathway that connects different ocean basins in the tropics”, and water flows through them from the Pacific to the Indian Ocean CITED 2026-12-03 J. Sprintall and others, “The Indonesian seas and their role in the coupled ocean-climate system”, Nature Geoscience 7, 2014, doi:10.1038/ngeo2188
L114 The numbers of Monas in Jakarta (106.8272 E, 6.1754 S), read with the datum Batavia (EPSG:4211), are a place 168 m away in WGS 84; with ID74 (EPSG:4238) 27 m, with DGN95 (EPSG:4755) 0 m and with SRGI2013 (EPSG:9470) under 1 m. For Batavia, PROJ takes the operation EPSG:8452 (6 m; Bali, Java, western Sumatra) MEASURED 2026-12-03 Section 9 of Chapter 2, with gdaltransform, SpatiaLite and projinfo. Position of Monas: OpenStreetMap way 1159084257. The Kaaba (39.8262 E, 21.4225 N): OpenStreetMap way 103914569
L115 Without -et 0 -wo SAMPLE_STEPS=ALL, gdalwarp left holes in the projections bonne and airocean, and airocean also needed -wo SOURCE_EXTRA=100 for the South Pole (GDAL 3.12.3). gdal raster reproject of a raster from 0 to 360 degrees into a projection centred on 118 E, without --bbox, lost everything to the west of Greenwich MEASURED 2026-12-03 The pictures of Chapter 2 and of group Q of Chapter 0, with and without the options
L116 before.tif is cut from the Sentinel-2 Level-2A images S2B 47NMC, 47NMD and 47NNC of 6 June 2018 (red and near infrared), averaged to 100 m on the grid of scene.tif. Of 5,148 hectares that seemed to have lost their plants until 3 October 2021, 4,152 were below a bright (cloudy) cell of the later image MEASURED 2026-12-03 tools/prep_ch00b.py; group T of Chapter 0. Conditions: near infrared above 1,000 on both dates, NDVI lower by more than 0.3, places of 20 hectares or more, and for the second number blue below 700
L117 scan.jpg is a piece of “Map of Lake Toba.jpg” on Wikimedia Commons, composed by the user Geoethno from the sheets NA 47-6 and NA 47-7 of Indonesia 1:250,000, Edition 1, U. S. Army Map Service, and marked there as public domain (work of the U. S. Army). The date of the map is not given. It spells Tandjung, which the reform of 17 August 1972 changed to Tanjung CITED 2026-12-03 https://commons.wikimedia.org/wiki/File:Map_of_Lake_Toba.jpg; https://en.wikipedia.org/wiki/Indonesian_orthography. The link came from the user
L118 The black grid of this map is EPSG:3001, Batavia / NEIEZ. Its line 268 stands 700 m to the east of the mark for 99 degrees east, where PROJ has 2,679,301 m. With four crossings as control points, a fifth one in the middle was 90 m and 14 m off. The shore of the lake fitted the shore in the relief (901 m) best after a shift of 100 m to the west and 50 m to the north, in steps of 50 m MEASURED 2026-12-03 Lines found in the picture by their darkness; shore: overlap of the blue cells with the water of toba.tif, for shifts up to 600 m
L119 Heights of Lake Toba guessed from 80 random cells of the relief: mean error 139 m with triangles (linear), 170 m with the nearest point and 189 m with inverse distances, against the relief averaged to 0.0025 degrees MEASURED 2026-12-03 samples.csv of Chapter 0, made with seed 80 in tools/prep_ch00b.py; calc and zonal-stats for all three
L120 All 45 command lines of Chapter 2, and all 223 lines of Chapter 0 with its five new groups, printed the same text and left the same file contents in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1), and bash and zsh on Debian passed the same arguments to a stub MEASURED 2026-12-03 python tools/test_lines.py en/02-choosing-a-map-projection.ipynb --wsl Debian, and the same for en/00-one-command-one-file.ipynb
L121 GDAL’s viewshed lowers each cell by coefficient * distance^2 / diameter of the Earth. The coefficient is 1 minus the refraction, and 0.85714 by default, which is 1 - 1/7, for visible light. An observer outside the raster is allowed, and the ground between them is taken to hide nothing. The modes DEM and ground give the lowest height at which something becomes visible CITED 2026-12-03 GDAL documentation, https://gdal.org/en/stable/programs/gdal_raster_viewshed.html and https://gdal.org/en/stable/programs/gdal_viewshed.html
L122 With normal refraction, the distance to the horizon is about 3.86 km times the square root of the height in metres, and 3.57 km without it. The page adds that this holds within a few per cent, most of the time CITED 2026-12-03 A. T. Young, San Diego State University, https://aty.sdsu.edu/explain/atmos_refr/horizon.html
L123 relief.tif of Chapter 12 is cut from ETOPO 2022, ice surface, with cells of 15 arc-seconds, and everything below sea level is set to 0. In this file, the highest cell of Christmas Island (105.6 E, 10.5 S) has 1,633 m. In Copernicus GLO-90 it has 366 m MEASURED 2026-12-03 gdalinfo -stats on the window 105.45 to 105.8 E, 10.65 to 10.35 S, and on the tile S11 E105 of GLO-90. Licence of ETOPO 2022: L58. Resolutions: https://www.ncei.noaa.gov/products/etopo-global-relief-model
L124 In Balinese, kaja means to the mountain or upstream, and kelod to the sea or downstream. For the south of Bali kaja is north, and for the north it is south CITED 2026-12-03 P. R. Dasen and R. C. Mishra, Development of Geocentric Spatial Language and Cognition, Cambridge University Press, summary of chapter 4, https://www.cambridge.org/core/books/development-of-geocentric-spatial-language-and-cognition/pilot-study-in-bali-and-first-study-india-and-nepal-19992000/6AD32870E7890A42317D18FFE024A8C0; for north and south: https://www.nowbali.co.id/asta-kosala-kosali-ordering-space-mirroring-the-cosmos/ (a magazine)
L125 Seen from Agung (115.498 E, 8.3407 S), the sun stood at an azimuth of 65.7 degrees and a height of 3.75 degrees at 06:50 of 21 June 2026 (Bali time), and at 65.5 and 4.84 degrees five minutes later. At 07:05 it was 7.0 degrees high CITED 2026-12-03 JPL Horizons, sun as seen from this place, with refraction, https://ssd.jpl.nasa.gov/horizons/. The time 06:51 and 4.0 degrees are between the first two
L126 J. A. C. Oudemans led the triangulation of Java in the 19th century. It had 114 points that had to see each other, and they were therefore usually put on mountains. It was finished in 1880 CITED 2026-12-03 https://en.wikipedia.org/wiki/Jean_Abraham_Chr%C3%A9tien_Oudemans; http://geoexpose.blogspot.com/2012/02/datum-indonesia.html (points, mountains); http://ankalucio.blogspot.com/2014/05/sejarah-geodesi-di-indonesia.html (1880, after Schepers 1931). The two blogs are secondary sources; Oudemans’ own work, Die Triangulation von Java, was not read
L127 Chapter 12 against a finer relief (Copernicus GLO-90). The five jumps of the chain of fires pass 134, 302, 105, 498 and 200 m above the land. From Agung, in cells of 200 m, 7,420 km2 of land and 108,485 km2 of sea are seen, where the chapter has 9,280 and 105,968. The panorama and viewshed agree within 200 km for 95.4 percent of the land and 99.4 percent of the sea. The shadow of Agung ends 35 to 36.5 km from the summit, and 66 percent of its land beyond 3 km faces the sun MEASURED 2026-12-03 tools/measure_ch12.py. Summits: highest cells near those of the chapter; sights without the first and last 1.5 km; eyes 2 m above the ground
L128 The longest line of sight on Earth in a photograph has 493.07 km. Richard Jezik took it at Giresun, Turkiye, on 15 December 2024, and it shows the Caucasus CITED 2026-12-03 Guinness World Records, https://www.guinnessworldrecords.com/world-records/66661-longest-line-of-sight-on-earth; the mountain (Shkhara): https://en.wikipedia.org/wiki/Long_distance_observations
L129 The highest point of Agung is on the western side of its crater, which has steep walls and is 800 m wide. The Global Volcanism Program gives 2,997 m and the position 8.343 S, 115.508 E. Other sources give between 3,014 and 3,148 m CITED 2026-12-03 Data of the Smithsonian Global Volcanism Program as shown by https://www.volcanosatlas.com/volcano/agung and https://volcanodb.com/438/Agung; other heights: https://en.wikipedia.org/wiki/Mount_Agung, https://en.wikipedia.org/wiki/List_of_mountains_in_Bali
L130 All 60 command lines of Chapter 12 printed the same text and left the same file contents (51 files) in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1), and bash and zsh on Debian passed the same arguments to a stub MEASURED 2026-12-03 python tools/test_lines.py en/12-visible-from-a-summit.ipynb --wsl Debian
L131 The catalogue of the University of Hawaii library lists the sheets NA 47-6 Pangururan (1955) and NA 47-7 Tandjungbalai (1954) of Indonesia 1:250,000, Edition 1. This was seen in the results of a search engine only, because the pages of the catalogue did not open for automatic reading. So the date of the map is probable, and not proved CITED 2026-12-04, weak Search results for the sheets of L117 (University of Hawaii at Manoa Library, map collection)
L132 The mean level of Lake Toba was 905.2 m in the years 1957 to 1983, and 904.1 m in 1984 to 2020. The operating limits are 902.4 and 905.0 m CITED 2026-12-04 Rosid et al. 2025, Environmental Challenges 18, 101071, https://www2.atmos.umd.edu/~dwi/papers/Rosid_2025_Lake_toba_Env.pdf
L133 Sentinel-2 Level-2A: since processing baseline 04.00 (25 January 2022), an offset of 1,000 is added to the values. The scene classes of the file SCL are 3 cloud shadow, 4 vegetation, 5 not vegetated, 6 water, 7 unclassified, 8 and 9 clouds, 10 thin cirrus. In Earth Search, the field earthsearch:boa_offset_applied says whether the offset has been taken away. In the file of 20 February 2022 (tile 47NMC, 3.7 percent clouds, baseline 04.00, field false), open water of Lake Toba has 1,118 in B12, and on 28 August 2026 it has 123 CITED and MEASURED 2026-12-04 https://sentiwiki.copernicus.eu/web/s2-products, https://sentiwiki.copernicus.eu/web/s2-processing, https://forum.step.esa.int/t/info-introduction-of-additional-radiometric-offset-in-pb04-00-products/35431, https://github.com/Element84/earth-search/issues/9; tools/measure_ch14.py, part 6
L134 The normalized burn ratio is (NIR - SWIR) / (NIR + SWIR), with the short-wave infrared near 2.2 micrometres. Healthy plants reflect much near infrared and little short-wave infrared, and burnt ground the opposite. Yearly series of it show harvests, too CITED 2026-12-04 https://un-spider.org/node/10959; Cansler and McKenzie 2012, after Key and Benson, https://research.fs.usda.gov/download/treesearch/40868.pdf; harvest: Kennedy, Yang and Cohen 2010, https://andrewsforest.oregonstate.edu/sites/default/files/lter/pubs/pdf/pub4696.pdf
L135 The hills of Tele, west of Lake Toba, had a concession for eucalyptus for pulp (PT Toba Pulp Lestari, sector Tele). Near Toba, the trees are cut after about 6 to 7 years. This age was not found for Tele itself. The permit was revoked by a decree of the Forestry Minister of 26 January 2026 CITED 2026-12-04 https://garuda.kemdiktisaintek.go.id/documents/detail/1426353 (2016, sector Tele); https://repository.ipb.ac.id/handle/123456789/49795 and https://ejournal.um-sorong.ac.id/index.php/median/article/download/1824/1133 (age); https://mongabay.co.id/2026/03/28/menanti-langkah-pemerintah-pasca-cabut-izin-pt-toba-pulp-lestari/ (permit)
L136 Fires at the western shore of Lake Toba: 1 July 2025 in Turpuk Limbong, Harian, 40 ha, and 2 July in Partungko Naginjang, Harian, about 50 ha. By 18 July, there had been 12 fires in the regency of Samosir CITED 2026-12-04 News reports with numbers of the authorities: CNBC Indonesia (1 July), rctiplus (2 July), metrotvnews (18 July). News, not official statistics
L137 Hansen Global Forest Change v1.12 has the year of the first loss of tree cover since 2001, in cells of about 30 m, from Landsat. On the map of section 5 of Chapter 14, 82 percent of the cells with a fall in 2019 to 2024 have a loss there before 2019, and 87 percent in any year. Of the 7,704 cells with a loss in 2019 to 2024 in both maps, 63 percent have the same year, and 88 percent differ by one year at most. The largest piece of 2024 has 2,051 ha, and 95 percent of it have a first loss before 2019, most of them in 2007 to 2012 CITED and MEASURED 2026-12-04 Hansen et al. 2013, Science 342, 850-853, doi 10.1126/science.1244693, data CC BY 4.0, Source: Hansen/UMD/Google/USGS/NASA, https://storage.googleapis.com/earthenginepartners-hansen/GFC-2024-v1.12/download.html; first loss only: https://gfr.wri.org/annual-tree-cover-loss-data-explained; tools/measure_ch14.py, part 3
L138 The canal Tano Ponggol at Pangururan was dug in the Dutch time, early in the 20th century. Sources differ on the year (1905 to 1913). It was about 1,200 m long and 25 to 30 m wide. The contract for widening it from 25 to 80 m, and for deepening it from 3 to 8 m, is of December 2017. The new bridge Aek Tano Ponggol was inaugurated on 25 August 2023 CITED 2026-12-04 https://talentaconfseries.usu.ac.id/ee/article/download/387/334 (old canal); https://setkab.go.id/pemerintah-lebarkan-alur-tano-ponggol-agar-permudah-kapal-wisata-keliling-pulau-samosir/ (12 June 2020); https://setneg.go.id/baca/index/presiden_jokowi_resmikan_spam_regional_mebidang_dan_jembatan_aek_tano_ponggol
L139 From 15 July 2025 on, fish died in the lake at Tanjung Bunga, Pangururan, and the water changed its colour. The first finding of the ministry: strong wind turned the water over and lifted sediment CITED 2026-12-04 Ministry of Marine Affairs and Fisheries, https://ppid.kkp.go.id/media/uploads/document_information_public/Kejadian_kematian_ikan_di_danau_toba.pdf. No source was found for what made the canal yellow-green on 24 July 2025
L140 Chapter 14, not printed by its cells: one dot of the scan is 36.6 m wide. 79 percent of neighbouring errors of the flat fit point into the same half circle. The old outer shore is 57 m from the new one in the median, and a shift of the whole old lake by one cell (40 m to the west and to the north) makes the fit only a little better. On the nine days, a cell has 6.7 clear looks on average. The places that fell went typically from 60 to 20 (normalized burn ratio times 100, medians of each year). 10 of the 15 days of 2025 in years.tif are from June to October, and 4 to 8 in the other years. The canal was free of clouds on 110 days from December 2017 to 1 December 2026, and 29 October 2019 is the first one with more than 2.4 ha of water in the box MEASURED 2026-12-04 tools/measure_ch14.py
L141 All 63 command lines of Chapter 14 printed the same text and left the same file contents (61 files) in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1), and bash and zsh on Debian passed the same arguments to a stub MEASURED 2026-12-04 python tools/test_lines.py en/14-old-map-and-satellite-images.ipynb --wsl Debian
L142 DeltaDTM is a model of the ground of the coasts of the world, in cells of 1 arc second (about 30 m). It was made from the Copernicus DEM with heights of the lasers ICESat-2 and GEDI, by taking away the bias of plants and buildings. Version 1.1 ends at 30 m above the sea. Water has no data (-9999). Mean absolute error of v1.1: 0.43 m. Licence CC BY 4.0. The tiles of Asia are in one zip file of 17,279,481,550 bytes CITED 2026-12-04 Pronk et al. 2024, Scientific Data 11, 273, doi 10.1038/s41597-024-03091-9; README and files: https://data.4tu.nl/datasets/1da2e70f-6c4d-4b03-86bd-b53e789cc629, doi 10.4121/21997565
L143 Against laser heights from aeroplanes, in built-up places, the Copernicus DEM GLO-30 is 1.59 m too high in the mean (mean absolute error 1.73 m), and DeltaDTM 0.24 m too low (0.57 m). None of the test places is in Padang CITED 2026-12-04 Table 6 of the paper in L142
L144 In 1797 and 1833, great earthquakes off West Sumatra sent tsunamis to Padang. The megathrust there has collected strain since. Estimates for the arrival of the next wave at Padang: about 20 minutes (Muhari), about 30 (Schlurmann), and about 40 in the middle, from 23 to 65 (Taubenbock). Computed waves go between 0.6 and 2.4 km into the city CITED 2026-12-04 History: Natawidjaja et al. 2006, abstract, https://experts.umn.edu/en/publications/source-parameters-of-the-great-sumatran-megathrust-earthquakes-of/; Borrero et al. 2006, https://pmc.ncbi.nlm.nih.gov/articles/PMC1750885. Arrival: https://nhess.copernicus.org/articles/11/3107/2011/nhess-11-3107-2011.pdf, https://icce-ojs-tamu.tdl.org/icce/article/download/1100/pdf_32/8224, https://epub.ub.uni-muenchen.de/14730/1/nhess-9-1509-2009.pdf. Distance: Borrero (0.6 to 2 km) and Schlurmann (1,570 and 2,410 m along the flood relief channel)
L145 Published numbers of people in the danger zone of Padang go from about 217,000 to 500,000, because the zones are different. One study counts 265,000, and more than 95,000 of them need more than 30 minutes to a safe place CITED 2026-12-04 Schlurmann et al. 2010 and Taubenbock et al. 2009 (L144); 321,281 below 10 m: Lammel and Nagel 2008, https://svn.vsp.tu-berlin.de/repos/public-svn/publications/vspwp/2008/08-13/2008_11_14.pdf; about 500,000: an official in L148. Background only, the chapter does not print them
L146 Walking: 0.91 m/s as the slowest value in a study of Padang; 1.10 m/s for a slow and 1.52 m/s for a fast walk (Wood et al., as cited by Yosritzal et al.). In a drill at Padang in October 2017, 18 volunteers went 1.70 m/s. Time before people start: 5 minutes for the warning, 3 to pass it on and 7 to react, together 15 CITED 2026-12-04 Muhammad, Goda, Alexander, Kongko and Muhari 2017, Nat. Hazards Earth Syst. Sci. 17, 2245-2270, doi 10.5194/nhess-17-2245-2017 (CC BY 3.0); read in the last version of the manuscript, https://nhess.copernicus.org/preprints/nhess-2017-75/nhess-2017-75-manuscript-version4.pdf; Yosritzal et al. 2019, https://www.atlantis-press.com/article/125935152.pdf (second hand for Wood et al.)
L147 The evacuation plan of the city in 2009 had a red zone from 0 to 5 m, a yellow one from 5 to 10 m, and a green one above 15 m. A study of 2008 took everything above 10 m as safe. No official safe distance from the sea was found CITED 2026-12-04 EERI (L148); Lammel and Nagel 2008 (L145)
L148 On 30 September 2009, an earthquake of magnitude 7.6 shook Padang. It made no dangerous tsunami. Over 90 percent of the people of the red zone left it, said an official, mostly by car and motorcycle. The streets were blocked, and the evacuation took several hours. About 80 percent of some 30 visited evacuation buildings were damaged enough to be closed CITED 2026-12-04 EERI Special Earthquake Report, December 2009, https://escweb.wr.usgs.gov/share/mooney/134.pdf
L149 23 evacuation buildings of Padang, with their places (together 58,200), floors and positions. 1 m2 of floor is needed for each person. The same computed tsunami floods 16.04 km2 of Padang on a local relief with cells of 5 m, 7.32 km2 on SRTM and 0.74 km2 on ASTER GDEM2 CITED 2026-12-04 Muhammad, Goda, Alexander, Kongko and Muhari 2017, Nat. Hazards Earth Syst. Sci. 17, 2245-2270, doi 10.5194/nhess-17-2245-2017 (CC BY 3.0); read in the last version of the manuscript, https://nhess.copernicus.org/preprints/nhess-2017-75/nhess-2017-75-manuscript-version4.pdf; buildings: Table 2, typed from the page into sample-data/ch15/shelters.csv. The positions of the Mercure hotel and of the school at Purus agree with OpenStreetMap within 25 m
L150 Padang has shelters of its own. Shelter Darussalam is in the kelurahan Bungo Pasang, and Shelter Nurul Haq in Parupuk Tabing (both Koto Tangah), for about 5,000 people each. For the drill of 5 November 2025, the mayor asked the people of the danger zone to leave at once and by themselves, walking fast for 20 to 30 minutes and not running, to a shelter or to safe ground CITED 2026-12-04 Places: https://infopublik.id/kategori/nusantara/867876/ancaman-megathrust-mentawai-pemkot-padang-siapkan-shelter-darurat-untuk-hadapi-tsunami (8 September 2024); size: Purnama et al. 2025, https://journal.unespadang.ac.id/JIEE/article/download/621/506/3911, after BPBD; drill: circular of 30 October 2025, https://padang.go.id/storage/documents/Ex5i4KBh5kNffMpCCuHZlnhT9eTM32Lduk47ApvP.pdf
L151 110 million people live on land below the high tide line of today, with the relief CoastalDEM. With SRTM, it was 28 million CITED 2026-12-04 Kulp and Strauss 2019, Nature Communications 10, 4844, https://par.nsf.gov/servlets/purl/10166059. The later author correction was not read
L152 In Padang, the way to the nearest safe cell along the roads and paths of OpenStreetMap is 1.41 times as long as the straight line, for all people of the danger zone together. The median of the cells is 1.41, and the middle half has 1.27 to 1.70. With the roads, 276,000 people need more than 15 minutes, and with the straight line times 1.4, 262,000. At the north bank of the Arau it is 15 minutes against 12 MEASURED 2026-12-04 tools/measure_ch15.py, part 5. Extract of Sumatra by Geofabrik, 3,218 km of ways in the box, without motorways; middle world of the chapter. For comparison, 40 cities of the USA have 1.14 to 1.49 (Boeing 2017, https://arxiv.org/pdf/1708.00836)
L153 Chapter 15, not printed by its cells: the box has 956,091 people, 948,363 of them in Kota Padang, and 6,690 on water cells. 20 other sets of 150 spots give 221,405 to 306,272 people below 5 m with the nearest spot, and 198,221 to 266,191 with triangles. On the wrong side of 5 m are 86,754 and 77,292 people in the mean, and 122,821 with the roofs. 47 safe pieces have fewer than 30 cells. The largest has 23,400 m2 and 13,711 people within 707 m. The sum of nine distances in section 4 differs from the rule in 118 cells with 789 people MEASURED 2026-12-04 tools/measure_ch15.py
L154 All 72 command lines of Chapter 15 printed the same text and left the same file contents (53 files) in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1), and bash and zsh on Debian passed the same arguments to a stub MEASURED 2026-12-04 python tools/test_lines.py en/15-tsunami-walking-times.ipynb --wsl Debian
L155 A .gdalg.json file holds a command line of gdal. GDAL runs it when the file is opened for reading. The driver is there since GDAL 3.11, and names of input files are looked for next to the file CITED 2026-12-04 https://gdal.org/en/stable/drivers/vector/gdalg.html
L156 Names of columns in a shapefile can have up to 10 characters. GeoJSON after RFC 7946 is in WGS 84, with 7 decimals by default. gdal vector partition and gdal raster compare are there since GDAL 3.12, gdal vector concat and gdal raster tile since 3.11, and the driver GTI since 3.9. compare returns the number of differences as its exit code CITED 2026-12-04 https://gdal.org/en/stable/drivers/vector/shapefile.html, https://gdal.org/en/stable/drivers/vector/geojson.html, https://gdal.org/en/stable/programs/gdal_vector_partition.html, https://gdal.org/en/stable/programs/gdal_raster_compare.html, https://gdal.org/en/stable/programs/gdal_vector_concat.html, https://gdal.org/en/stable/programs/gdal_raster_tile.html, https://gdal.org/en/stable/drivers/raster/gti.html
L157 SOZip is a way to write a normal ZIP file in which a program can jump to a place inside of a packed file. GDAL knows it since version 3.7 CITED 2026-12-04 https://github.com/sozip/sozip-spec
L158 Chapter 16, not printed by its cells: the 101 lines of section 4 took 364 s one after the other and 52 s eight at a time, with the same files (Git Bash, one connection in Indonesia; in three runs of the notebook 52 to 66 s). The whole chapter received 489 MB. From 21 December 2004 to 19 January 2005, the box of section 1 has 724 earthquakes of magnitude 4 and more. 623 of them are later than the earthquake of 26 December (magnitude 9.1) and west of 97 E. Two volcanoes of Indonesia are called Sumbing. The WEBP picture differs from the original by up to 26 of 255 steps, 1.3 in the mean. The corners of the villages had 7 decimals from the beginning. morning.bat and morning.sh keep the old picture when the address does not exist, and give back 1 MEASURED 2026-12-04 tools/measure_ch16.py
L159 Programs for other questions: pgRouting and OSRM (ways on roads), GRASS r.watershed, TauDEM and WhiteboxTools (water), gstat and PyKrige (kriging), PDAL (point clouds), Nominatim and Photon (addresses, with data of OpenStreetMap) CITED 2026-12-04 Their own pages: https://pgrouting.org/, https://project-osrm.org/, https://grass.osgeo.org/grass-stable/manuals/r.watershed.html, http://hydrology.usu.edu/taudem/taudem5/index.html, https://www.whiteboxgeo.com/, https://r-spatial.github.io/gstat/, https://geostat-framework.readthedocs.io/projects/pykrige/en/stable/, https://pdal.org/, https://nominatim.org/, https://github.com/komoot/photon
L160 schtasks /create /sc daily /tn NAME /tr PROGRAM /st 06:00 makes a daily task in Windows. In a crontab, the five fields are minute, hour, day of the month, month, and day of the week. Neither was run for this tutorial, because they change the settings of a computer CITED 2026-12-04 https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/schtasks-create, https://man7.org/linux/man-pages/man5/crontab.5.html
L161 The list of volcanoes with eruptions in the Holocene of the Global Volcanism Program has 101 entries for Indonesia, 75 of them with a year of the last eruption. Its data service names no fees and no limits of access. The citation is of version 5.4.0, 7 August 2026 MEASURED and CITED 2026-12-04 Data and the service’s own description (GetCapabilities): https://webservices.volcano.si.edu/geoserver/GVP-VOTW/ows. Citation as shown by a search engine for https://volcano.si.edu/gvp_votw.cfm, because the pages of the program refuse automatic reading
L162 All 57 command lines of Chapter 16 ran without an error in cmd, Windows PowerShell 5.1, PowerShell 7 and Git Bash (with MSYS_NO_PATHCONV=1). They printed the same text and left the same file contents (1,348 files). Three lines depend on the day and were only tested for success. Each shell ran its own loop from the text of section 4, and the 101 files were the same. bash and zsh on Debian passed the same arguments to a stub (56 lines, without the loop) MEASURED 2026-12-04 python tools/test_lines.py en/16-repeating-and-sharing.ipynb --wsl Debian
L163 Two things that the first test of Chapter 16 in four shells found. (1) With boxes on whole degrees, tambora.tif differed between two pairs of shells in 1,014 cells, all in the column at 118 degrees east, by up to 48.7 m. The tile S09_00_E118_00 begins at 117.999861, half a cell west of the degree. With boxes moved by half a cell, all cells are equal to the cells of the two tiles. (2) november.jpg differed at one earthquake, 132 km south of Wonosari, which the USGS revised at 08:02:49 local time between the two runs. From 19:00 on 3 December to 08:26 on 4 December 2026, it revised twelve earthquakes of November in the box of section 1 (magnitude 4 and more) MEASURED 2026-12-04 tools/test_lines.py, a comparison of the cells with GDAL in Python, and the same USGS address with &updatedafter=2026-12-03T12:00:00
L164 The %%line cells of the 18 chapters hold 1,025 command lines. They use 69 commands of the gdal program, nine classic programs of GDAL and OGR (ogr2ogr, gdalwarp, gdal_translate, gdaltransform, ogrinfo, gdallocationinfo, gdal_rasterize, gdalinfo, gdaldem), projinfo of PROJ, and 54 spatial functions of SpatiaLite, not counting the queries in files of their own. Every chapter was tested in four shells on Windows 11 with GDAL 3.12.3, and with a stub in bash and zsh on Debian: L10, L27, L40, L48, L57, L63, L71, L77, L81, L88, L103, L104, L109, L120, L130, L141, L154, L162. GDAL was not run on Linux or macOS, and no new environment was made from environment.yml MEASURED 2026-12-04 python tools/count_commands.py