coord_describe
Check if a coordinate string is valid, identify its notation, normalize it, and reveal the ground accuracy implied by its precision.
Instructions
Check whether a string is a valid coordinate and report its precision.
Identifies which notation it is, normalises it, and states the ground accuracy the notation implies -- a grid reference with four digits names a 1 km square, not a point, and a 5-character geohash is about 5 km wide. Returns is_valid=false with an explanation rather than failing, so it is safe to use for validating user input before acting on it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The coordinate string to inspect. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| input | Yes | ||
| problem | No | ||
| is_valid | Yes | ||
| latitude | No | ||
| longitude | No | ||
| normalized | No | ||
| detected_format | No | ||
| implied_precision_m | No |