GSIP is building an open soil spectral reference library, with smartphones as the accessible capture and sample-linking tool. The library connects camera observations and metadata to instrument spectra and verified laboratory evidence; open AI models and the soil map are downstream goals. Ordinary RGB phone photos are optical observations, not wavelength-resolved spectra. See the library specification and implementation sequence.
The collection foundation includes a phone app and a no-install web app for guided, privacy-safe soil photography; no printed card is needed. A reference card is optional and free to print at home in two layouts: A6, or a credit-card-size node card (card guide). No printed node card can be ordered yet. Ordinary photo observations and explicitly registered library samples remain distinct; sample registration asks for real declared depth. See the phone-first capture scope. The current map supplies public soil-map priors; later evaluated library models will supply estimates with explicit uncertainty. Agents can read public cells, the protocol and dataset releases through a public API and an MCP server; see the agent guide.
GSIP is not a laboratory replacement. Public outputs locate observations by k-anonymous H3 cells, never precise coordinates. Photos are sanitized before canonical storage and checked again before release.
The whole GSIP software stack is open source. The public repository contains the apps, backend, data pipeline, library tools, modelling code, API, reference-card generator and tests. You can use, fork, modify, self-host and extend the software under MIT, including in your own products. You can also build on one component without running the whole service. Documentation is CC BY 4.0; released structured data is ODbL 1.0 and contributed photos are CC BY-SA 4.0. Third-party dependencies and model artifacts retain their own licences.
“Private local node” means that your records and credentials stay under your control. The node software itself is public. GSIP’s hosted-service and publication approvals protect contributors; they do not add restrictions to the open-source software licence. Names and marks remain separate under TRADEMARKS.md.
| Build with | Public source and starting point |
|---|---|
| Phone and web capture app | apps/capture-pwa/ · app build guide |
| Soil map and public website | apps/map-web/ · apps/site-web/ |
| Library store, optical extraction and synthetic demo | pipeline/ · library developer guide |
| Modelling and evaluation baseline | ml/ · synthetic demo and its limits |
| Shared schemas and exchange contracts | packages/schema/ · node exchange contract |
| Database, security policies and Edge Functions | supabase/ · local database commands |
| QA, rights, export and tile workers | pipeline/ · deployment runbook |
| Public REST API and MCP server | packages/schema/src/agent/ · agent guide |
| Reference cards (A6 and node card) and detectors | card/ · card guide |
| Card-aware photo checks and colour normalisation | pipeline/qa_cards.py · photo QA notes |
| Capture procedure, field kit and acquisition record | docs/capture-protocol.md · field kit |
| Tests and build workflows | tests/ · .github/workflows/ |
The implemented source and tests are available now, including development branches and pull requests. Public source is not a promise that every planned feature is complete: real peer exchange, verified field adapters, independently validated field models and public spectral releases remain scheduled/gated work. The iOS storage prototype is public in draft #73 and remains held on its native CI/device requirements. See BUILD_ORDER for acceptance criteria. Public capture and hosted library uploads remain closed.
- Estimate basis (proposed). SPEC §17
proposes a phone photo plus existing soil maps, never a photo alone, always with uncertainty.
It was merged in #112 as a
proposal and is not yet adopted by the owner. No soil-property estimator is built or approved;
ml/holds only a synthetic reconstruction demo. - Reference cards. Photo checks find either card, hide it from the soil checks and, when exactly one card can be read, fit a per-photo colour normalisation (#113). That normalisation is for a future estimator. It is not calibration: reference values are digital targets.
- Tested on generated photos only. No printed card or phone photo has been used to test this. Uneven light between card and soil is not reliably caught (#114).
- No field validation. Nothing here predicts real-world accuracy.
- A standard way to take the photos (proposed, untested). A reviewer from the soil spectroscopy community pointed out that the photo pipeline is only part of what is needed: light, distance, angle, phone hardware and phone software all change the colours recorded, so photos must be taken the same way every time, with a colour reference. In response there is now a written capture procedure, a field kit list and a plan for the first real test. None of it has been tried with a printed card or a phone. The procedure was written from general photographic practice; the three papers it cites were not read in full when it was written.
- What the app records about a capture. An optional checklist in the capture app records what the person says they did (light, locked white balance and exposure, HDR, filters and flash off, angle, distance). The app cannot read camera settings, and it does not detect the reference card: its detector is a stub, so every observation the app queues is marked uncalibrated. The record stays on the phone; the service has no place to store it yet.
- Calibrated and uncalibrated are kept apart, in one place only. Capture records written for dataset preparation go into separate calibrated and uncalibrated files. The public release format is unchanged: it still labels each photo's status inside one file.
Good places to start, each with its constraints written out:
- #114 Detect uneven light between the reference card and the soil.
- #115 Give the A6 card reader the same refusals as the node card.
- #116 Point us to open data: soil photos with laboratory values and locations.
- #117 Add the node card and the normalisation wording to public copy.
Questions and ideas are welcome in Discussions. To take an issue, comment on it. A maintainer registers the work package in BUILD_ORDER and gives you its id before you open a pull request. Then follow CONTRIBUTING.md: tests for every behaviour change, and no real contributor data anywhere in the repository. Hosted capture is closed, so nobody can submit soil photos to GSIP yet.
Requirements: Node 24+, pnpm 11.9.0, Python 3.11–3.13, and uv. The library CLI and synthetic demo need no GSIP account or production credential; follow the library guide to choose private output directories and run them.
git clone https://github.com/global-soil-intelligence/gsip.git
cd gsip
cp .env.example .env
pnpm install --frozen-lockfile
uv sync --frozen --all-groups
pnpm build
pnpm testKeep both activation flags in .env false. The example values are placeholders; no production
secret is needed to build the source. Start the public site with
pnpm --filter @gsip/site-web dev, the closed capture app with
pnpm --filter @gsip/capture-pwa dev, or the map with
pnpm --filter @gsip/map-web dev. Live backend reads require your own configured instance.
Additional checks have separate tooling requirements: Docker plus the local Supabase CLI stack for database checks; GDAL for the full tile tests; and Android SDK/Xcode for native builds. See CONTRIBUTING.md, AGENTS.md and the app build guide. Store signing and accounts are separate from source access. Use the deployment runbook when preparing an instance under your own operator authority; it does not authorize changes to GSIP’s canonical production service.
For the private soil-library record contract and local node commands, see the soil library developer guide. Private intake and compatible phone integration have merged source, including LIB-4C (#51). The LIB-5A exchange contract (#58) and LIB-5B synthetic local simulator (#64) are also merged. Hosted deployment and activation, real peer sharing and scientific model validation remain gated; these tools do not open capture.
Source for opt-in local sync reminders is merged in APP-2B (#63). The device, backup, store, legal and production gates remain separate from source completion.
- Architecture specification
- Build order
- Agent guide
- Governance and business guardrails
- Phase 1 deployment handoff
- Archived planning
Code is MIT. Databases and structured data are ODbL 1.0. Contributed photos are CC BY-SA 4.0 with recorded contributor grants and pre-launch legal review. Names and marks are covered by TRADEMARKS.md.
GSIP is preparing for collection; public capture is closed. Soil estimates are not laboratory results, and no model output
has been peer reviewed or field-validated. Most of the code was written with AI coding agents
(mainly OpenAI Codex, some Claude by Anthropic), as the Co-Authored-By trailers in the history
show; CONTRIBUTING.md sets the rules for agent-written contributions. Justin D.
Hart (Viridis LLC, ORCID 0009-0008-3082-2482) reviews
changes and is accountable for the project. Cite with CITATION.cff. This source is versioned 0.1.0, a
pre-release snapshot marked by the v0.1.0 tag; see the changelog. There is no
Zenodo record or DOI yet.
See CONTRIBUTING.md for the workflow, DCO sign-off and rules for agent-written contributions. Report vulnerabilities privately using SECURITY.md.
Software is MIT (see LICENSE). Documentation terms are recorded in DOCUMENTATION_LICENSE.md.