← centrs docs

input/incomplete-gps

A device location was given without both coordinates: only lat or only lon, or a --gps value with fewer than two parts. Nothing was written.

Emitted by

devices add and set (--lat, --lon, --gps, or lat= and lon=) (code).

Context

Typical triggers

Fix

Set both at once: --gps <lat>,<lon>[,<altitude>[,<altitude-type>]], for example --gps 37.7749,-122.4194, or pass --lat and --lon together.