kapi context places
kapi places [query]Look up places in this project's gazetteer: the world, the UN M49 regions, the ISO 3166-1 countries and ISO 3166-2 subdivisions, and the places the recipe declares under places:. A geo axis takes a place's id as its value.
With a query, list the places whose id or name matches it, ignoring case and accents. With --within, list the places directly below a place. With neither, list the places the recipe declares. Each line shows the id, the name, the type and the path from the world down to the place.
Try it
Runs in your browser against a small sample file. Edit the command before running, or press Run to execute it as shown.
kapi context places osloFlags
| Flag | Type | Default | Description |
|---|---|---|---|
| --project , -p | string | path to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted) | |
| --within | string | list the places directly below this place; with a query, list only the matches inside it |
More examples
kapi context places --within no kapi context places kapi context places akershus --json← Back to the Command Reference