---
name: sigspatial-reproducibility
description: Use when recording spatial data versions, coordinate systems, geometry cleaning, and index builds behind SIGSPATIAL results. Does not package the release.
---

# SIGSPATIAL reproducibility

Use this before loading the first file. Spatial results are lost in conversions nobody wrote down.

Call: https://sigspatial2026.sigspatial.org/research-submission.html

## Layer card

```text
layer | source, URL, licence, attribution text | snapshot date | bbox | CRS (EPSG) as received -> as used
geometry type, count, vertices | invalid geometries found / fixed by <method> | duplicates | nulls
units | precision kept (decimals) | axis order checked | sha256
```

Axis order is worth its own field. Latitude and longitude swapped gives plausible points in the wrong ocean. Rounded coordinates merge distinct points: five decimals of a degree is about a metre at the equator.

Web services change. OpenStreetMap: keep the planet or extract date and replication number. Places and traffic APIs: keep request, response, and time, if terms allow.

## Operations with parameters

Buffer (distance, segments), simplification (tolerance), snapping, map matching (software, radius, model), geocoding (service, date, match level), projection for area and distance. Put them in a configuration file which the pipeline reads, with no defaults hidden in code. Library versions matter: geometry engines have changed the result of the same predicate.

```bash
python3 - <<'PY'
import importlib
for m in ("shapely", "pyproj", "geopandas", "rasterio", "osmnx", "h3"):
    try:
        k = importlib.import_module(m); print(m, getattr(k, "__version__", "?"))
        if m == "shapely": print(" geos", k.geos_version_string)
        if m == "pyproj": print(" proj", k.proj_version_str)
    except ImportError: print(m, "not installed")
PY
```

Grid versions too: H3 resolution and version, S2 level, or your own origin and cell size.

## Splits as geometry

Save fold polygons and buffers as a file, with the script and seed that made them. A list of ids cannot show that the buffer was respected. Draw the folds once and look.

## Runs

```text
run | commit | layer hashes | config hash | fold file | seed | hardware | warm/cold cache | time, memory | metric file
```

For query times: which pages were cached, number of threads, whether the first run was dropped. For models: checkpoint and training region.

## Maps and numbers

Each figure from one script, reading run outputs. The class breaks of a map belong in the script. Never adjust by hand in a GIS without saving the project file and exporting the style.

## People

Trajectories are people. Store raw data encrypted, remove ends of trips, log access, and set a date to delete. Keep the approval and the terms beside the data.

## Output

```text
[SIGSPATIAL record] layers <n>, cards complete <n>
[CRS] received -> used, axis order checked
[Geometry fixes] <n>, method <x>
[Libraries] geos <x>, proj <x>, grid <x>
[Folds] stored as polygons, drawn and inspected
[Runs] <n>, cache state recorded
[Personal data] terms, deletion <date>
```

## Reverify each cycle

- Licences and terms of each source, including attribution text.
