The platform docs are in Bahasa Indonesia. This page is an English summary.
What it does
- Accepts CSV with a GID column and value columns.
- Rejects the whole upload when a row is wrong. The error names the row number. Values are never changed silently.
- Stores each dataset with a manifest that records the profile, registry and library versions.
- Never overwrites a dataset. The same upload sent twice returns 409.
Required upload fields
Two fields are required. Without them the upload fails with 422.
license: the licence or terms of the source data.share_policy:internal,k_anon_onlyorpublic.
Run it locally
terminal
uv sync --extra test
uv run pytest -q
uv run uvicorn geosquare_platform.app:app --reloadOpen http://127.0.0.1:8000/docs for the interactive API page.
Settings
| Variable | What it does | Default |
|---|---|---|
GSQ_PLATFORM_DATA | Folder where datasets are stored | data/cells |
GSQ_INTERNAL_ROUTES | Set to 1 to open internal routes. This is not authentication. Do not set it on a public server. | not set |